KR102402087B1 - Parking assistance apparatus and control method for the same - Google Patents

Parking assistance apparatus and control method for the same Download PDF

Info

Publication number
KR102402087B1
KR102402087B1 KR1020150111797A KR20150111797A KR102402087B1 KR 102402087 B1 KR102402087 B1 KR 102402087B1 KR 1020150111797 A KR1020150111797 A KR 1020150111797A KR 20150111797 A KR20150111797 A KR 20150111797A KR 102402087 B1 KR102402087 B1 KR 102402087B1
Authority
KR
South Korea
Prior art keywords
parking
line
image
coordinate system
surrounding image
Prior art date
Application number
KR1020150111797A
Other languages
Korean (ko)
Other versions
KR20170017617A (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 KR1020150111797A priority Critical patent/KR102402087B1/en
Publication of KR20170017617A publication Critical patent/KR20170017617A/en
Application granted granted Critical
Publication of KR102402087B1 publication Critical patent/KR102402087B1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/168Driving aids for parking, e.g. acoustic or visual feedback on parking space
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q9/00Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling
    • B60Q9/002Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling for parking purposes, e.g. for warning the driver that his vehicle has contacted or is about to contact an obstacle
    • B60Q9/004Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling for parking purposes, e.g. for warning the driver that his vehicle has contacted or is about to contact an obstacle using wave sensors
    • B60Q9/005Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling for parking purposes, e.g. for warning the driver that his vehicle has contacted or is about to contact an obstacle using wave sensors using a video camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road

Abstract

본 발명은 주차 보조 장치 및 그 제어 방법에 관한 것으로서, 본 발명의 일 실시예에 따른 주차 보조 장치의 제어 방법은, 차량에 장착된 카메라를 이용하여, 제1 좌표계의 제1 주변 영상을 생성하는 단계; 상기 제1 주변 영상을 제2 좌표계의 제2 주변 영상으로 변환하는 단계; 상기 제2 주변 영상으로부터 주차선을 인식하는 단계; 상기 주차선을 기초로, 상기 제2 좌표계의 제1 주차 보조선을 생성하는 단계; 상기 제1 주차 보조선을 상기 제1 좌표계의 제2 주차 보조선으로 변환하는 단계; 및 상기 제2 주차 보조선을 상기 제1 주변 영상에 합성하여 주차 보조 영상을 생성하는 단계; 및 상기 주차 보조 영상을 출력하는 단계;를 포함할 수 있다.The present invention relates to a parking assistance apparatus and a control method thereof, and the method for controlling the parking assistance apparatus according to an embodiment of the present invention includes generating a first surrounding image of a first coordinate system using a camera mounted on a vehicle. step; converting the first surrounding image into a second surrounding image of a second coordinate system; recognizing a parking line from the second surrounding image; generating a first parking assistance line of the second coordinate system based on the parking line; converting the first parking assistance line into a second parking assistance line of the first coordinate system; and generating a parking assist image by synthesizing the second parking assist line with the first surrounding image. and outputting the parking assistance image.

Description

주차 보조 장치 및 그 제어 방법{PARKING ASSISTANCE APPARATUS AND CONTROL METHOD FOR THE SAME}Parking assist device and its control method

본 발명은 주차 보조 장치 및 그 제어 방법에 관한 것으로서, 보다 상세하게는, 차량의 주차 시, 카메라의 장착 각도 또는 장착 위치에 발생한 오차로 인해, 영상에 반영되는 실제 주차선에 대응하는 부분과 주차 보조선 간의 불일치를 제거하는 주차 보조 장치 및 그 제어 방법에 관한 것이다.The present invention relates to a parking assist device and a control method thereof, and more particularly, to a part corresponding to an actual parking line reflected in an image due to an error occurring in a mounting angle or mounting position of a camera when a vehicle is parked and parking A parking assist device for eliminating mismatch between auxiliary lines and a method for controlling the same.

차량이란, 어느 한 장소로부터 다른 장소까지 사람이나 화물 등을 운송하는 장치를 말한다. 최근, 운전자의 편의를 증대시키기 위한 기술 개발의 일환으로, 주차 보조 장치가 개발되어 상용화 단계에 이르렀다.A vehicle refers to a device that transports people, cargo, etc. from one place to another. Recently, as part of technology development to increase driver's convenience, a parking assist device has been developed and has reached the commercialization stage.

주차 보조 장치이란, 적어도 하나 이상의 카메라나 초음파 센서 등을 활용하여 주차 공간의 길이를 측정함으로써 주차가 가능한지 여부를 알려주거나, 필요시 음향신호 또는 광신호를 이용하여 운전자에게 위험 상황에 대한 경보를 출력한다. 또한, 경우에 따라서는 주차를 위한 조향 및 속도에 대한 제어를 담당한다.The parking assist device indicates whether parking is possible by measuring the length of a parking space using at least one camera or an ultrasonic sensor, or outputs an alert about a dangerous situation to the driver using an acoustic signal or an optical signal if necessary do. In addition, in some cases, it is responsible for steering and speed control for parking.

이러한 주차 보조 장치가 활성화되면, 예컨대 차량에 구비된 디스플레이에 차량의 후방 영상이 출력되고, 이와 동시에 차량의 주차 경로를 가이드하기 위한 주차 보조선이 오버레이될 수 있다.When such a parking assist device is activated, for example, a rear image of the vehicle may be output on a display provided in the vehicle, and at the same time, a parking assist line for guiding a parking path of the vehicle may be overlaid.

한편, 차량에 장착되어 주차 시에 출력할 주변 영상을 생성하는 카메라는, 차량의 노후화 또는 외력 등의 다양한 원인으로 인하여, 최초 설계된 정확한 장착 위치 또는 장착 각도로부터 어긋난 상태가 될 수 있다.On the other hand, a camera that is mounted on a vehicle and generates a surrounding image to be output when parking may be deviated from the initially designed accurate mounting position or mounting angle due to various causes such as aging of the vehicle or external force.

이 경우, 도 1에 도시된 바와 같이, 영상 속 실제 주차선(11)과 이를 운전자에게 가이드하기 위해 주차 보조선(12) 간의 불일치 영역(13)이 형성될 수 있다.In this case, as shown in FIG. 1 , a discrepancy area 13 between the actual parking line 11 in the image and the parking assist line 12 to guide the driver may be formed.

하지만, 종래의 주차 보조 장치는, 카메라의 정렬 오차가 발생하더라도, 항상 고정된 위치, 형상 및 크기를 가지는 주차 보조선만을 디스플레이하여, 운전자의 편의 및 안전에 악영향을 줄 수 있다는 문제점이 있다.However, the conventional parking assistance apparatus has a problem that, even if an alignment error of the camera occurs, only the parking assistance line having a fixed position, shape, and size is always displayed, thereby adversely affecting the convenience and safety of the driver.

본 발명은 전술한 문제점을 해결하기 위해서 안출된 것으로서, 본 발명의 실시예들에 따르면, 차량의 주차 시, 카메라의 장착 각도 또는 장착 위치에 발생한 오차로 인해, 영상에 반영되는 실제 주차선과 주차 보조선 사이의 불일치를 제거하는 주차 보조 장치 및 그 제어 방법을 제공하는 것을 목적으로 한다.The present invention has been devised to solve the above problems, and according to embodiments of the present invention, when the vehicle is parked, due to an error occurring in the mounting angle or mounting position of the camera, the actual parking line and parking information reflected in the image An object of the present invention is to provide a parking assist device for eliminating inconsistencies between shipbuilding and a method for controlling the same.

본 발명의 과제들은 이상에서 언급한 과제들로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The problems of the present invention are not limited to the problems mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

상기 또는 다른 목적을 달성하기 위해 본 발명의 일 측면에 따르면, 차량에 장착된 카메라를 이용하여, 제1 좌표계의 제1 주변 영상을 생성하는 단계, 상기 제1 주변 영상을 제2 좌표계의 제2 주변 영상으로 변환하는 단계, 상기 제2 주변 영상으로부터 주차선을 인식하는 단계, 상기 주차선을 기초로, 상기 제2 좌표계의 제1 주차 보조선을 생성하는 단계, 상기 제1 주차 보조선을 상기 제1 좌표계의 제2 주차 보조선으로 변환하는 단계, 상기 제2 주차 보조선을 상기 제1 주변 영상에 합성하여 주차 보조 영상을 생성하는 단계 및 상기 주차 보조 영상을 출력하는 단계를 포함하고, 상기 제2 좌표계의 제1 주차 보조선을 생성하는 단계는 상기 주차선의 형상, 위치 및 크기를 산출하는 단계 및 상기 주차선의 형상, 위치 및 크기 각각에 대응하는 형상, 위치 및 크기를 가지는 상기 제1 주차 보조선을 생성하는 단계를 포함한다.According to an aspect of the present invention to achieve the above or other object, generating a first surrounding image of a first coordinate system using a camera mounted on a vehicle, and converting the first surrounding image into a second of a second coordinate system converting into a surrounding image, recognizing a parking line from the second surrounding image, generating a first parking assist line of the second coordinate system based on the parking line, and setting the first parking assist line converting to a second parking assist line of a first coordinate system, generating a parking assist image by synthesizing the second parking assist line with the first surrounding image, and outputting the parking assist image, The generating of the first parking assistance line of the second coordinate system includes calculating the shape, position and size of the parking line and the first parking having a shape, position and size corresponding to each of the shape, position and size of the parking line. generating an auxiliary line.

또한, 상기 카메라는 상기 차량의 후방 일측에 장착되고, 상기 제1 주변 영상은, 상기 차량에 대한 후방 영상일 수 있다.In addition, the camera may be mounted on one rear side of the vehicle, and the first surrounding image may be a rear image of the vehicle.

또한, 상기 제2 주변 영상은, 상기 제1 주변 영상에 대한 버즈 아이 뷰(bird's eye view) 영상일 수 있다.Also, the second surrounding image may be a bird's eye view image of the first surrounding image.

또한, 상기 제2 주변 영상으로부터 주차선 및 주차선을 인식하는 단계는, 상기 제2 주변 영상으로부터 적어도 둘 이상의 에지(edge)를 검출하는 단계; 및 상기 둘 이상의 에지 중, 기 저장된 주차선 패턴과 매칭되는 둘 이상의 에지를, 상기 제2 주차선으로 인식하는 단계;를 포함할 수 있다.In addition, the step of recognizing a parking line and a parking line from the second surrounding image may include: detecting at least two or more edges from the second surrounding image; and recognizing, among the two or more edges, two or more edges matching a previously stored parking line pattern as the second parking line.

삭제delete

본 발명에 따른 주차 보조 장치 및 그 제어 방법의 효과에 대해 설명하면 다음과 같다.The effects of the parking assist device and the control method thereof according to the present invention will be described as follows.

본 발명의 실시예들 중 적어도 하나에 의하면, 차량의 주차 시, 카메라의 장착 각도 또는 장착 위치에 발생한 오차로 인해, 영상에 반영되는 실제 주차선과 주차 보조선 사이의 불일치를 제거할 수 있다. According to at least one of the embodiments of the present invention, it is possible to remove the discrepancy between the actual parking line and the parking assist line reflected in the image due to an error occurring in the mounting angle or mounting position of the camera when the vehicle is parked.

이에 따라, 운전자의 혼란을 저감함과 아울러 차량이 운전자가 목표로 한 주차 위치에 정확히 주차될 수 있도록 지원할 수 있으며, 특히 차량이 그 주변에 존재하는 장애물과 충돌하는 상황을 미연에 방지하는 데에 도움을 줄 수 있다.Accordingly, the driver's confusion can be reduced and the vehicle can be accurately parked in the parking position targeted by the driver, and in particular, it is important to prevent a situation in which the vehicle collides with an obstacle existing around it. can help

본 발명의 효과들은 이상에서 언급한 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 청구범위의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.Effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description of the claims.

도 1은 종래 기술의 문제점을 설명하기 위해 참조되는 도면이다.
도 2는 본 발명의 일 실시예에 따른 주차 보조 장치의 블록 다이어그램을 보여준다.
도 3은 본 발명의 일 실시예에 따른 주차 보조 장치의 제어 방법을 보여주는 순서도이다.
도 4a 및 도 4b는 본 발명의 일 실시예에 따른 주차 보조 장치가 주변 영상으로부터 주차선을 검출하는 동작을 설명하기 위해 참조되는 도면이다.
1 is a diagram referenced to explain the problems of the prior art.
2 shows a block diagram of a parking assistance device according to an embodiment of the present invention.
3 is a flowchart illustrating a method for controlling a parking assistance device according to an embodiment of the present invention.
4A and 4B are diagrams referenced for explaining an operation of detecting a parking line from a surrounding image by the parking assist device according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.Hereinafter, the embodiments disclosed in the present specification will be described in detail with reference to the accompanying drawings, but the same or similar components are assigned the same reference numbers regardless of reference numerals, and redundant description thereof will be omitted. The suffixes "module" and "part" for the components used in the following description are given or mixed in consideration of only the ease of writing the specification, and do not have distinct meanings or roles by themselves. In addition, in describing the embodiments disclosed in the present specification, if it is determined that detailed descriptions of related known technologies may obscure the gist of the embodiments disclosed in the present specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are only for easy understanding of the embodiments disclosed in the present specification, and the technical idea disclosed herein is not limited by the accompanying drawings, and all changes included in the spirit and scope of the present invention , should be understood to include equivalents or substitutes.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms including an ordinal number such as 1st, 2nd, etc. may be used to describe various elements, but the elements are not limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When an element is referred to as being “connected” or “connected” to another element, it is understood that it may be directly connected or connected to the other element, but other elements may exist in between. it should be On the other hand, when it is said that a certain element is "directly connected" or "directly connected" to another element, it should be understood that the other element does not exist in the middle.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. The singular expression includes the plural expression unless the context clearly dictates otherwise.

본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In the present application, terms such as “comprises” or “have” are intended to designate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but one or more other features It should be understood that this does not preclude the existence or addition of numbers, steps, operations, components, parts, or combinations thereof.

도 2는 본 발명의 일 실시예에 따른 주차 보조 장치(100)의 블록 다이어그램을 보여준다. 2 shows a block diagram of a parking assistance apparatus 100 according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 주차 보조 장치(100)는, 센서부(110), 정보 저장부(120), 주차선 검출부(130), 주차 보조선 생성부(140), 영상 합성부(150) 및 인터페이스부(160)를 포함한다.Referring to FIG. 2 , the parking assistance apparatus 100 according to an embodiment of the present invention includes a sensor unit 110 , an information storage unit 120 , a parking line detection unit 130 , and a parking assistance line generation unit 140 . , an image synthesizing unit 150 and an interface unit 160 .

센서부(110)는 차량 주변에 존재하는 각종 오브젝트를 감지하여, 그에 대응하는 센싱 신호를 출력한다. 이때, 센싱 신호는 센서부(110)가 감지 영역에 대한 감지 결과로서 출력하는 신호일 수 있다.The sensor unit 110 detects various objects existing around the vehicle, and outputs a sensing signal corresponding thereto. In this case, the sensing signal may be a signal output by the sensor unit 110 as a sensing result for the sensing region.

이러한, 센서부(110)는 적어도 하나 이상의 센서를 포함한다. 구체적으로 센서부(110)는 카메라(112a-112d) 및 초음파 센서(114) 중 적어도 어느 하나를 포함할 수 있다. 다만, 센서의 종류가 이에 한정되는 것은 아니며, 레이더나 라이다 등 그 밖에 오브젝트를 감지할 수 있는 센서라면 특별히 한정하지 않는다.The sensor unit 110 includes at least one sensor. Specifically, the sensor unit 110 may include at least one of the cameras 112a - 112d and the ultrasonic sensor 114 . However, the type of sensor is not limited thereto, and if it is a sensor capable of detecting other objects, such as radar or lidar, it is not particularly limited.

카메라(112a-112d)는 차량의 주변을 촬영하여, 주변 영상을 생성할 수 있다. The cameras 112a - 112d may generate an image of the surroundings by photographing the surroundings of the vehicle.

예를 들어, 카메라(112a-112d) 중 어느 하나(112a)는 차량의 전방 일측에 장착되어, 차량의 전방 영상을 생성할 수 있다. For example, any one of the cameras 112a - 112d 112a may be mounted on one side of the front of the vehicle to generate a front image of the vehicle.

다른 예를 들어, 카메라(112a-112d)는 차량의 전후좌우의 일측에 각각 하나씩 순서대로 장착되어, 전방 영상, 후방 영상, 좌측방 영상 및 우측방 영상을 생성할 수 있으며, 이러한 복수개의 영상들은 후술할 영상 합성부(150)에 의해 합성될 수 있다. 이러한 합성 과정에 의해, 차량을 마치 위에서 아래로 내려보다는 것과 같은 어라운드 뷰 영상이 생성될 수 있다. For another example, the cameras 112a-112d may be sequentially mounted on one side of each of the front, rear, left, and right sides of the vehicle to generate a front image, a rear image, a left image and a right image, and the plurality of images are It may be synthesized by the image synthesizing unit 150 to be described later. By this synthesizing process, an around-view image as if looking down the vehicle from top to bottom may be generated.

또 다른 예를 들어, 차량의 기어가 주차 위치에 놓여진 경우, 복수의 카메라(112a-112d) 중 후방 카메라(112b)가 활성화되어 차량의 후방 영상을 생성할 수 있다.As another example, when the gear of the vehicle is placed in the parking position, the rear camera 112b among the plurality of cameras 112a - 112d may be activated to generate a rear image of the vehicle.

한편, 도 2에는 카메라(112a-112d)가 4개인 것으로 도시되어 있으나, 더 작거나 많은 카메라가 센서부(110)에 포함될 수 있는 것으로 이해되어야 한다.Meanwhile, although 4 cameras 112a - 112d are illustrated in FIG. 2 , it should be understood that smaller or more cameras may be included in the sensor unit 110 .

초음파 센서(114)는 차량 주변의 장애물을 감지하여, 감지된 장애물에 대응하는 센싱 신호를 출력한다. 예컨대, 제1 시점에 방출된 초음파 신호가 장애물에 의해 반사되어 되돌아 오는 제2 시점 및 반사된 신호의 파형이나 세기 등에 대응하는 센싱 신호를 출력할 수 있다.The ultrasonic sensor 114 detects an obstacle around the vehicle and outputs a sensing signal corresponding to the detected obstacle. For example, a sensing signal corresponding to a second time point at which the ultrasound signal emitted at a first time point is reflected by an obstacle and returns, and a waveform or intensity of the reflected signal may be output.

정보 저장부(120)는 주차 구획 및 차량과 관련된 각종 정보를 저장한다. The information storage unit 120 stores various information related to the parking area and the vehicle.

구체적으로, 정보 저장부(120)는 좌표 변환 정보를 저장할 수 있다. 좌표 변환 정보란, 어느 한 좌표계를 다른 좌표계로 변환하기 위한 정보이다. 이러한 좌표 변환 정보는, 예컨대 행렬 형식일 수 있다. Specifically, the information storage unit 120 may store coordinate transformation information. The coordinate transformation information is information for transforming one coordinate system into another coordinate system. Such coordinate transformation information may be, for example, in a matrix format.

예를 들어, 카메라(112a-112d)에 의해 생성된 주변 영상은 2차원의 제1 좌표계로 나타낼 수 있으며, 정보 저장부(120)는 이러한 제1 좌표계를 제2 좌표계로 변환하기 위한 좌표 변환 행렬을 저장할 수 있다. 제2 좌표계는 버즈 아이 뷰(bird's eye view)에 대응하는 2차원 좌표계일 수 있다. 이에 따라, 제1 좌표계의 어느 한 점은 제2 좌표계의 어느 한 점으로 투영될 수 있고, 반대로 제2 좌표계의 어느 한 점은 제1 좌표계의 어느 한 점으로 투영될 수 있다.For example, the surrounding images generated by the cameras 112a - 112d may be represented by a two-dimensional first coordinate system, and the information storage unit 120 is a coordinate transformation matrix for converting the first coordinate system into a second coordinate system. can be saved. The second coordinate system may be a two-dimensional coordinate system corresponding to a bird's eye view. Accordingly, any one point in the first coordinate system may be projected to any one point in the second coordinate system, and conversely, any one point in the second coordinate system may be projected to any one point in the first coordinate system.

또한, 정보 저장부(120)는 센서부(110)에 의해 출력된 센싱 신호를 영구적 또는 임시적으로 저장할 수 있다.Also, the information storage unit 120 may permanently or temporarily store the sensing signal output by the sensor unit 110 .

또한, 정보 저장부(120)는 주차선 검출부(130), 주차 보조선 생성부(140), 영상 합성부(150) 및 인터페이스부(160)의 동작을 위한 각종 프로그램이나, 입출력되는 데이터들을 임저장할 수도 있다.In addition, the information storage unit 120 includes various programs for the operation of the parking line detection unit 130 , the parking auxiliary line generation unit 140 , the image synthesis unit 150 , and the interface unit 160 or input/output data. You can also save it.

또한, 정보 저장부(120)는 후술한 주차선 검출부(130), 주차 보조선 생성부(140), 영상 합성부(150) 및 인터페이스부(160)의 요청에 따라, 기 저장된 각종 정보 중 적어도 일부를 주차선 검출부(130), 주차 보조선 생성부(140), 영상 합성부(150) 및 인터페이스부(160)로 제공할 수 있다. In addition, the information storage unit 120, according to the request of the parking line detection unit 130, the parking auxiliary line generation unit 140, the image synthesis unit 150, and the interface unit 160 to be described later, at least among various pre-stored information A portion may be provided to the parking line detecting unit 130 , the parking auxiliary line generating unit 140 , the image synthesizing unit 150 , and the interface unit 160 .

또한, 정보 저장부(120)는 후술할 인터페이스부(160)가 출력할 상황별 알람 메시지를 미리 저장할 수 있다. Also, the information storage unit 120 may store in advance an alarm message for each situation to be output by the interface unit 160, which will be described later.

또한, 정보 저장부(120)는 카메라(112a-112d)별 내부 파라미터 및 외부 파라미터를 저장할 수 있다.Also, the information storage unit 120 may store internal parameters and external parameters for each camera 112a - 112d.

이러한 정보 저장부(120)는, 램(random access memory; RAM), 롬(read-only memory; ROM), EEPROM(electrically erasable programmable read-only memory), PROM(programmable read-only memory), SSD 타입(Solid State Disk type), 플래시 정보 저장부(120) 타입(flash memory type), 하드디스크 타입(hard disk type), 카드 타입의 정보 저장부(120), 자기 디스크, 광디스크 등의 각종 타입의 저장매체 중 적어도 하나를 포함할 수 있다. The information storage unit 120 includes a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), and an SSD type. Various types of storage such as (Solid State Disk type), flash information storage unit 120 type (flash memory type), hard disk type, card type information storage unit 120, magnetic disk, optical disk, etc. It may include at least one of the media.

주차선 검출부(130)는 카메라(112a-112d)로부터 제공되는 주변 영상으로부터 적어도 하나 이상의 주차선을 인식할 수 있다. The parking line detector 130 may recognize at least one or more parking lines from surrounding images provided from the cameras 112a - 112d.

이러한, 주차선 검출부(130)는 변환 모듈(132), 에지 검출 모듈(134) 및 주차선 검출 모듈(136)을 포함할 수 있다.The parking line detection unit 130 may include a conversion module 132 , an edge detection module 134 , and a parking line detection module 136 .

변환 모듈(132)은 카메라(112a-112d)에 의해 생성된 주변 영상이 다뤄지는 좌표계를 다른 좌표계로 변환할 수 있다. 예를 들어, 카메라(112a-112d)는 제1 좌표계의 제1 주변 영상을 생성하고, 변환 모듈(132)은 이러한 제1 주변 영상의 픽셀들 각각의 좌표값을 제1 좌표계와는 다른 제2 좌표계의 좌표값으로 변환하여, 제2 주변 영상을 생성할 수 있다. 즉, 변환 모듈(132)은 제1 좌표계의 제1 주변 영상을 제2 좌표계의 제2 주변 영상으로 변환할 수 있다. 이하에서는, 설명의 편의를 위해, 제2 좌표계는 버즈 아이 뷰에 대응하는 평면 좌표계인 것으로 가정하기로 한다.The conversion module 132 may convert the coordinate system in which the surrounding images generated by the cameras 112a - 112d are handled into another coordinate system. For example, the cameras 112a - 112d generate a first peripheral image of a first coordinate system, and the transformation module 132 converts the coordinate values of each pixel of the first peripheral image to a second coordinate value different from the first coordinate system. A second surrounding image may be generated by converting the coordinate values of the coordinate system. That is, the transformation module 132 may convert the first peripheral image of the first coordinate system into the second peripheral image of the second coordinate system. Hereinafter, for convenience of description, it is assumed that the second coordinate system is a plane coordinate system corresponding to the buzz-eye view.

에지 검출 모듈(134)은 제2 좌표계의 제2 주변 영상으로부터, 적어도 둘 이상의 에지를 검출한다. 예컨대, 제2 주변 영상 속 픽셀들 각각의 그레이 스케일을 산출하고, 산출된 그레이 스케일을 기초로, 직선을 형성하는 에지들을 검출할 수 있다.The edge detection module 134 detects at least two or more edges from the second peripheral image of the second coordinate system. For example, a gray scale of each of the pixels in the second peripheral image may be calculated, and edges forming a straight line may be detected based on the calculated gray scale.

주차선 검출 모듈(136)은 에지 검출 모듈(134)에 의해 검출된 에지들 중, 기 설정된 주차선 패턴을 가지는 에지들을 전술한 실제 주차선으로 인식할 수 있다.The parking line detection module 136 may recognize, among the edges detected by the edge detection module 134 , edges having a preset parking line pattern as the aforementioned actual parking lines.

주차 보조선 생성부(140)는 주차선 검출부(130)에 의해 인식된 주차선을 기초로, 해당 주차선을 가이드하기 위한 주차 보조선을 생성한다. 예컨대, 주차선 검출부(130)은 제2 좌표계의 제2 주변 영상으로부터 전술한 주차선을 인식하는바, 주차 보조선 생성부(140)는 제2 좌표계의 제1 주차 보조선을 생성한 후, 이를 제1 좌표계의 제2 주차 보조선으로 변환할 수 있다.The parking assist line generating unit 140 generates a parking assist line for guiding the corresponding parking line based on the parking line recognized by the parking line detecting unit 130 . For example, the parking line detection unit 130 recognizes the aforementioned parking line from the second surrounding image of the second coordinate system, and the parking assistance line generator 140 generates the first parking assistance line of the second coordinate system, This may be converted into a second parking assist line of the first coordinate system.

한편, 제1 주차 보조선의 형상, 위치 및 크기는 주차선 검출부(130)에 의해 인식된 주차선의 형상, 위치 및 크기와 각각 대응할 수 있다.Meanwhile, the shape, position, and size of the first parking assistance line may correspond to the shape, position, and size of the parking line recognized by the parking line detection unit 130 , respectively.

영상 합성부(150)는 제2 주차 보조선을 전술한 제1 주변 영상과 합성하여 주차 보조 영상을 생성할 수 있다. 제2 주차 보조선과 제1 주변 영상은 모두 제1 좌표계로 표현되는 것인바, 이 둘을 합성하여 주차 보조 영상을 생성할 수 있다.The image synthesizing unit 150 may generate a parking assist image by synthesizing the second parking assist line with the above-described first surrounding image. Since both the second parking assist line and the first surrounding image are expressed in the first coordinate system, a parking assist image may be generated by synthesizing the two.

인터페이스부(160)는 차량 또는 주차 구획과 관련된 각종 정보를 사용자가 인지할 수 있는 형태의 신호로 출력하거나, 운전자로부터 각종 명령을 입력받는다. The interface unit 160 outputs various types of information related to a vehicle or a parking section as signals in a form that can be recognized by the user, or receives various commands from the driver.

또한, 인터페이스부(160)는 운전자로부터 주차 명령, 출차 명령, 조향 명령, 가속 명령, 감속 명령 등을 입력받을 수 있다.In addition, the interface unit 160 may receive a parking command, an exit command, a steering command, an acceleration command, a deceleration command, and the like from the driver.

이를 위해, 인터페이스부(160)는 음향 모듈(162) 및 디스플레이 모듈(164)을 포함할 수 있다. To this end, the interface unit 160 may include a sound module 162 and a display module 164 .

음향 모듈(142)은 이에 구비된 스피커 등을 이용하여 각종 메시지를 청각적 신호로 출력하고, 마이크로폰 등을 이용하여 운전자의 음성 명령을 입력받아 이에 대응하는 전기 신호로 변환한 후, 주차선 검출부(130), 주차 보조선 생성부(140), 영상 합성부(150) 및 인터페이스부(160) 중 적어도 어느 하나로 제공할 수 있다.The sound module 142 outputs various messages as an audible signal using a speaker provided therein, receives the driver's voice command using a microphone, etc. and converts it into an electric signal corresponding thereto, and then includes a parking line detection unit ( 130 ), the parking assist line generating unit 140 , the image synthesizing unit 150 , and the interface unit 160 may be provided.

디스플레이 모듈(164)은 이에 구비된 HUD(Head Up Display) 등을 이용하여 각종 메시지를 시각적 신호로 출력할 수 있다. 또한, 디스플레이 모듈(144)은 영상 합성부(150)에 의해 생성된 주차 보조 영상을 디스플레이할 수 있다.The display module 164 may output various messages as visual signals using a head-up display (HUD) provided therein. In addition, the display module 144 may display the parking assistance image generated by the image synthesizing unit 150 .

또한, 인터페이스부(160)는 이에 구비된 터치 센서나 버튼 등을 이용하여 운전자의 터치 등 각종 명령을 입력받아 이에 대응하는 전기 신호로 변환한 후, 주차선 검출부(130), 주차 보조선 생성부(140), 영상 합성부(150) 및 인터페이스부(160) 중 적어도 어느 하나로 제공할 수 있다.In addition, the interface unit 160 receives various commands, such as a driver's touch, by using a touch sensor or button provided therein, and converts it into an electric signal corresponding thereto, and then the parking line detection unit 130 and the parking assist line generation unit. 140 , the image synthesis unit 150 , and the interface unit 160 may provide at least one of them.

한편, 도 2를 참조하여 전술한 주차 보조 장치(100)는 차량에 장착될 수 있다.Meanwhile, the parking assistance apparatus 100 described above with reference to FIG. 2 may be mounted on a vehicle.

도 3은 본 발명의 일 실시예에 따른 주차 보조 장치(100)의 제어 방법을 보여주는 순서도이다. 이해를 돕기 위해, 도 2에 도시된 복수의 카메라(112a-112d)들 중 후방 카메라(112d)가 생성하는 영상을 기준으로 설명하기로 한다.3 is a flowchart illustrating a control method of the parking assistance apparatus 100 according to an embodiment of the present invention. For better understanding, an image generated by the rear camera 112d among the plurality of cameras 112a to 112d shown in FIG. 2 will be described as a reference.

도 3을 참조하면, 카메라(112d)는 제1 좌표계의 제1 주변 영상을 생성한다(S310). 예컨대, 제1 좌표계는 카메라 좌표계일 수 있으며, 이 경우 제1 주변 영상은 카메라(112d)의 장착 위치 및 장착 각도에서 카메라(112d)에 의해 촬영된 원본 영상일 수 있다.Referring to FIG. 3 , the camera 112d generates a first surrounding image of the first coordinate system ( S310 ). For example, the first coordinate system may be a camera coordinate system, and in this case, the first surrounding image may be an original image captured by the camera 112d at a mounting position and a mounting angle of the camera 112d.

이어서, 주차선 검출부(130)는 제1 주변 영상을 제2 좌표계의 제2 주변 영상으로 변환한다(S320). 예컨대, 단계 S320을 통해 제1 주변 영상은 버즈 아이 뷰에 대응하는 2차원 평면 좌표계의 제2 주변 영상으로 변환될 수 있다. 이때, 주차선 검출부(130)는 정보 저장부(120)에 저장된 제1 좌표 변환 행렬을 이용하여, 제1 주변 영상을 제2 주변 영상으로 변환할 수 있다. 여기서, 제1 좌표 변환 행렬은 제1 좌표계를 제2 좌표계로 변환하기 위한 행렬이다. 이로써, 제1 좌표계의 어느 한 점은 제2 좌표계의 어느 한 점으로 일대일 매칭될 수 있다.Next, the parking line detection unit 130 converts the first surrounding image into a second surrounding image of the second coordinate system (S320). For example, in step S320, the first surrounding image may be converted into a second surrounding image of a two-dimensional planar coordinate system corresponding to the buzz-eye view. In this case, the parking line detection unit 130 may convert the first surrounding image into the second surrounding image by using the first coordinate transformation matrix stored in the information storage unit 120 . Here, the first coordinate transformation matrix is a matrix for transforming the first coordinate system into the second coordinate system. Accordingly, any one point in the first coordinate system may be matched one-to-one with any one point in the second coordinate system.

다음으로, 주차선 검출부(130)는 제2 주변 영상으로부터 주차선을 인식할 수 있다(S330). 제2 주변 영상이 버즈 아이 뷰인 경우, 제1 주변 영상에 비하여 실제에 더 가까운 주차선이 나타날 수 있는바, 제2 주변 영상으로의 변환 과정 없이 제1 주변 영상으로부터 이에 나타난 주차선을 인식하는 방식에 비하여, 주차선 인식 정확도가 향상될 수 있다.Next, the parking line detection unit 130 may recognize the parking line from the second surrounding image (S330). When the second surrounding image is the buzz-eye view, a parking line closer to the real one may appear compared to the first surrounding image. A method of recognizing a parking line appearing in the first surrounding image without a conversion process to the second surrounding image In comparison, parking line recognition accuracy may be improved.

이어서, 주차 보조선 생성부(140)는 단계 S330을 통해 인식된 제2 좌표계의 주차선을 기초로, 제2 좌표계의 제1 주차 보조선을 생성할 수 있다(S340). 구체적으로, 주차 보조선 생성부(140)는 단계 S330을 통해 인식된 주차선의 형상, 위치 및 크기를 산출한 후, 산출된 주차선의 형상, 위치 및 크기 각각에 대응하는 형상, 위치 및 크기를 가지는 제1 주차 보조선을 생성할 수 있다. 즉, 카메라(112d)의 장착 위치 및 장착 각도에 오차가 발생하더라도, 단계 S340을 통해, 카메라(112d)의 정렬 오차를 반영한 제1 주차 보조선을 생성함으로써, 종래 기술에 따른 주차선과 주차 보조선 간의 불일치 문제가 제거될 수 있다.Next, the parking assistance line generator 140 may generate a first parking assistance line of the second coordinate system based on the parking line of the second coordinate system recognized through step S330 ( S340 ). Specifically, after calculating the shape, position, and size of the parking line recognized through step S330, the parking assist line generating unit 140 has a shape, position, and size corresponding to each of the calculated shape, position, and size of the parking line. A first parking assist line may be generated. That is, even if an error occurs in the mounting position and mounting angle of the camera 112d, through step S340, the first parking assist line reflecting the alignment error of the camera 112d is generated, and thus the parking line and the parking assist line according to the prior art The problem of inconsistency between the two can be eliminated.

다음으로, 주차 보조선 생성부(140)는 제2 좌표계의 제1 주차 보조선을 제1 좌표계의 제2 주차 보조선으로 변환할 수 있다(S350). 이때, 주차 보조선 생성부(140)는 정보 저장부(120)에 저장된 제2 좌표 변환 행렬을 이용하여, 제1 주차 보조선을 제2 주차 보조선으로 변환할 수 있다. 여기서, 제2 좌표 변환 행렬은 제2 좌표계를 제1 좌표계로 변환하기 위한 행렬이다. 이로써, 제2 좌표계의 어느 한 점은 제1 좌표계의 어느 한 점으로 일대일 매칭될 수 있다. 한편, 제2 좌표 변환 행렬은 단계 S320의 설명에서 전술한 제1 좌표 변환 행렬의 역행렬일 수 있다.Next, the parking assistance line generator 140 may convert the first parking assistance line of the second coordinate system into the second parking assistance line of the first coordinate system ( S350 ). In this case, the parking assistance line generator 140 may convert the first parking assistance line into the second parking assistance line by using the second coordinate transformation matrix stored in the information storage unit 120 . Here, the second coordinate transformation matrix is a matrix for transforming the second coordinate system into the first coordinate system. Accordingly, any one point in the second coordinate system may be matched one-to-one with any one point in the first coordinate system. Meanwhile, the second coordinate transformation matrix may be an inverse matrix of the first coordinate transformation matrix described above in the description of step S320.

이어서, 영상 합성부(150)는 단계 S310을 통해 생성된 제1 주변 영상과 단계 S350을 통해 생성된 제2 주차 보조선을 합성하여 주차 보조 영상을 생성한다(S360). 제1 주변 영상과 제2 주차 보조선는 모두 동일한 좌표계인 제1 좌표계로 표현되는 것이므로, 이 둘을 합성 시 별도의 좌표 변환 과정은 필요치 않을 수 있다.Next, the image synthesizing unit 150 generates a parking assist image by synthesizing the first surrounding image generated in step S310 and the second parking assist line generated in step S350 ( S360 ). Since both the first surrounding image and the second parking assistance line are expressed in the first coordinate system, which is the same coordinate system, a separate coordinate transformation process may not be required when combining the two.

한편, 단계 S360에서의 제1 주변 영상과 제2 주차 보조선 간 합성은, 제2 주차 보조선을 제1 주변 영상에 오버레이하는 방식으로 수행될 수 있다. 전술한 바와 같이, 제1 주차 보조선은 제2 주변 영상에 나타나는 주차선의 형상, 위치 및 크기와 대응되는 특징을 가지므로, 이것이 변환된 제2 주차 보조선 역시 제1 주변 영상에 나타나는 주차선의 형상, 위치 및 크기와 대응될 수 있다.Meanwhile, the synthesis between the first surrounding image and the second parking assistance line in step S360 may be performed by overlaying the second parking assistance line on the first surrounding image. As described above, since the first parking assist line has characteristics corresponding to the shape, position, and size of the parking line appearing in the second surrounding image, the converted second parking assist line also has the shape of the parking line appearing in the first surrounding image. , may correspond to the location and size.

또한, 제1 주변 영상과 제2 주차 보조선 간의 합성 시, 영상 합성부(150)는 제1 주변 영상에 나타나는 주차선의 위치에 제2 주차 보조선을 표시할 수 있다.In addition, when synthesizing the first surrounding image and the second parking assist line, the image synthesizing unit 150 may display the second parking assist line at the location of the parking line appearing in the first surrounding image.

다음으로, 디스플레이 모듈(164)은 단계 S360을 통해 생성된 주차 보조 영상을 출력할 수 있다(S370). 주차 보조 영상이 표시되는 경우, 제1 주변 영상에 나타나는 주차선과 제2 주차 보조선 중 어느 하나는 다른 하나에 오버레이될 수 있다.Next, the display module 164 may output the parking assistance image generated through step S360 (S370). When the parking assist image is displayed, any one of the parking line and the second parking assist line appearing in the first surrounding image may be overlaid on the other.

도 4a 및 도 4b는 본 발명의 일 실시예에 따른 주차 보조 장치(100)가 주변 영상으로부터 주차선을 검출하는 동작을 설명하기 위해 참조되는 도면이다.4A and 4B are diagrams referenced for explaining an operation of detecting a parking line from a surrounding image by the parking assistance apparatus 100 according to an embodiment of the present invention.

우선 도 4a의 (a)는, 차량(400)의 중심선(C1)과 주차선(410)으로 이루어진 주차 구획의 중심선(C2)이 일치하는 경우의 탑뷰를 예시한다. 카메라(112d)는 차량(400) 후방의 소정 각도 범위를 촬영하여, 이에 대응하는 주변 영상을 생성할 수 있다.First, FIG. 4A (a) illustrates a top view when the center line C1 of the vehicle 400 and the center line C2 of the parking section formed of the parking line 410 coincide. The camera 112d may capture a predetermined angular range behind the vehicle 400 to generate a surrounding image corresponding thereto.

한편, 도 4a의 (a)와 같이 차량(400)에 장착된 카메라(112d)의 장착 위치 및 장착 각도에 오차가 존재할 수 있다. 예컨대, 카메라(112d)의 장착 위치 및 각도에 오차가 없는 경우에는 차량의 중심선(C1)을 기준으로 대칭적인 제1 범위(S1)를 정상적으로 촬영하게 되지만, 정렬 오차가 발생한 경우, 제1 범위(S1)로부터 소정 각도(θ)만큼 회전된 제2 범위(S2)를 촬영하게 될 수 있다.Meanwhile, errors may exist in the mounting position and mounting angle of the camera 112d mounted on the vehicle 400 as shown in (a) of FIG. 4A . For example, if there is no error in the mounting position and angle of the camera 112d, the first range S1 symmetrical with respect to the center line C1 of the vehicle is normally photographed, but when an alignment error occurs, the first range ( The second range S2 rotated from S1 by a predetermined angle θ may be photographed.

이 경우, 차량의 중심선(C1)과 주차 구획의 중심선(C2)이 일치하더라도, 카메라(112d)에 의해 생성된 제1 좌표계의 제1 주변 영상(420)이 디스플레이 모듈(164)을 통해 표시되는 경우, 도 4a의 (b)에 도시된 것처럼 실제 주차선(410)에 대응하는 그래픽 객체(421)가 영상(420)의 수직 중앙축(C3)을 중심으로 대칭적이지 않고 한쪽으로 치우친 형태로 나타날 수 있다. 이러한 경우를 위하여, 실제 주차선(410)에 대응하는 그래픽 객체(421)를 가이드하기 위한 주차 보조선(후술할 도 4b의 (a)의 부호 451 참조) 역시 영상(420)의 수직 중앙축(C3)을 중심으로 한쪽으로 치우친 형태로 표시되어야 할 필요가 있다.In this case, even if the center line C1 of the vehicle and the center line C2 of the parking section coincide, the first peripheral image 420 of the first coordinate system generated by the camera 112d is displayed through the display module 164 In this case, as shown in (b) of FIG. 4A , the graphic object 421 corresponding to the actual parking line 410 is not symmetrical about the vertical central axis C3 of the image 420 and is skewed to one side. may appear For this case, the parking assist line for guiding the graphic object 421 corresponding to the actual parking line 410 (see reference numeral 451 of FIG. 4B (a) to be described later) is also the vertical central axis of the image 420 ( It needs to be displayed in a form skewed to one side around C3).

다음으로, 도 4b는 도 4a의 (a)의 상황에서 생성된 제1 주변 영상(420)을 이용하여, 주차 보조 영상을 생성하는 동작을 설명하기 위해 참조되는 도면이다.Next, FIG. 4B is a diagram referenced to explain an operation of generating a parking assistance image by using the first surrounding image 420 generated in the situation of FIG. 4A (a).

주차선 검출부(130)는 제2 범위(S2)에 대한 제1 좌표계의 제1 주변 영상(420)을, 도 4b의 (a)와 같은 제2 좌표계의 제2 주변 영상(430)으로 변환할 수 있다. 제1 주변 영상(420)을 제2 주변 영상(430)으로 변환하는 과정에서, 제1 주변 영상(420)의 일부분은 변환 대상에서 제외시킬 수 있다.The parking line detector 130 converts the first peripheral image 420 of the first coordinate system with respect to the second range S2 to the second peripheral image 430 of the second coordinate system as shown in (a) of FIG. 4B . can In the process of converting the first surrounding image 420 into the second surrounding image 430 , a portion of the first surrounding image 420 may be excluded from the conversion target.

제2 좌표계가 버즈 아이 뷰에 대응하는 평면 좌표계인 경우, 제2 주변 영상(430)에는 도 4b의 (a)에 도시된 것처럼, 실제 주차선(410)에 대응하는 그래픽 객체(422)가 나타난다. When the second coordinate system is a plane coordinate system corresponding to the bird's eye view, a graphic object 422 corresponding to the actual parking line 410 appears in the second surrounding image 430 as shown in (a) of FIG. 4B . .

주차선 검출부(130)는 제2 주변 영상(430)에 대한 에지 검출을 수행하여, 직선 형태의 에지를 검출하는데, 실제 주차선(410)을 이루는 4개의 모서리는 모두 직선 형태인바, 그래픽 객체(431)를 이루는 4개의 모서리에 대응하는 에지들 역시 직선 형태를 가지게 되므로, 주차선 검출부(130)는 그래픽 객체(431)를 주차선으로 인식할 수 있다. The parking line detection unit 130 detects a straight edge by performing edge detection on the second surrounding image 430, and since all four corners constituting the actual parking line 410 are straight, a graphic object ( Since the edges corresponding to the four corners constituting 431 also have a straight shape, the parking line detection unit 130 may recognize the graphic object 431 as a parking line.

한편, 주차 보조선 생성부(140)는 도 4b의 (a)에서 인식된 주차선(431)에 대한 정보를 산출할 수 있다. 예를 들어, 주차 보조선 생성부(140)는 인식된 주차선(431)의 폭(W1), 길이(L1), 기울기(α) 및 위치(P1)를 산출할 수 있다. Meanwhile, the parking assistance line generator 140 may calculate information on the parking line 431 recognized in (a) of FIG. 4B . For example, the parking assist line generator 140 may calculate the recognized width W1 , the length L1 , the slope α , and the position P1 of the parking line 431 .

여기서, 기울기(α)는 주차선(431)으로 이루어진 직사각형의 중심선(C5)이 제2 주변 영상(430)의 수직 중앙축(C4)과 이루는 각도일 수 있다. 또한, 주차선(431)으로 이루어진 직사각형의 위치(P1)는 주차선(431)으로 이루어진 직사각형의 중심 위치일 수 있다.Here, the inclination α may be an angle between the rectangular center line C5 of the parking line 431 and the vertical central axis C4 of the second peripheral image 430 . Also, the position P1 of the rectangle formed by the parking line 431 may be a center position of the rectangle formed by the parking line 431 .

이어, 주차 보조선 생성부(140)는 주차선(431)에 대한 정보를 기초로, 제2 좌표계의 제1 주차 보조선(441)을 생성할 수 있다. 도 4b의 (b)를 참조하면, 제1 주차 보조선(441)은 주차선(431)으로 이루어진 직사각형의 폭(W1), 길이(L1), 기울기(α) 및 위치(P1) 각각에 대응하는 폭(W2), 길이(L2), 기울기(β) 및 위치(P2)를 가질 수 있다. 여기서, 기울기(β)는 제1 주차 보조선(441)으로 이루어진 직사각형의 중심선(C6)이 제2 주변 영상(430)의 수직 중앙축(C4)과 이루는 각도일 수 있다. 또한, 제1 주차 보조선(441)으로 이루어진 직사각형의 위치(P2)는 제1 주차 보조선(441)으로 이루어진 직사각형의 중심 위치일 수 있다. 이때, 주차선(431)으로 이루어진 직사각형의 폭(W1), 길이(H1), 기울기(α) 및 위치(P1)와 제1 주차 보조선(441)의 폭(W2), 길이(L2), 기울기(β) 및 위치(P2)는 각각 동일할 수 있다.Next, the parking assistance line generator 140 may generate a first parking assistance line 441 of the second coordinate system based on the information on the parking line 431 . Referring to FIG. 4B (b), the first parking assistance line 441 corresponds to each of the width W1, the length L1, the slope α, and the position P1 of the rectangle made of the parking line 431 . may have a width W2, a length L2, a slope β, and a position P2. Here, the slope β may be an angle formed by the rectangular center line C6 of the first parking assistance line 441 and the vertical central axis C4 of the second peripheral image 430 . In addition, the position P2 of the rectangle formed by the first parking assistance line 441 may be a center position of the rectangle formed by the first parking assistance line 441 . At this time, the width W1, the length H1, the slope α and the position P1 of the rectangle made of the parking line 431 and the width W2, the length L2 of the first parking auxiliary line 441, The slope β and the position P2 may each be the same.

주차 보조선 생성부(140)는 도 4b의 (b)에 도시된 제2 좌표계의 제1 주차 보조선(441)을, 도 4b의 (c)에 도시된 바와 같이, 제1 좌표계의 제2 주차 보조선(451)으로 변환할 수 있다. The parking assistance line generator 140 generates a first parking assistance line 441 of the second coordinate system shown in (b) of FIG. 4B, and a second parking assistance line 441 of the second coordinate system shown in FIG. It can be converted into a parking assist line 451 .

이어, 영상 합성부(150)는 도 4b의 (c)에 도시된 제2 주차 보조선(451)을, 도 4a의 (b)에 도시된 제1 주변 영상(420)에 합성하여, 주차 보조 영상을 생성할 수 있다. 이때, 제2 주차 보조선(451)은 제1 주변 영상(420)에 나타나는 주차선(421)에 대응하는 형상, 위치 및 크기를 가지게 된다. Next, the image synthesizing unit 150 synthesizes the second parking assist line 451 shown in (c) of FIG. 4B with the first surrounding image 420 shown in (b) of FIG. 4A to assist parking. You can create an image. In this case, the second parking assistance line 451 has a shape, position, and size corresponding to the parking line 421 appearing in the first surrounding image 420 .

또한, 주차 보조 영상을 디스플레이 모듈(164)을 통해 표시하는 경우, 영상 합성부(150)는 제2 주차 보조선(451)과 주차선(421) 중 어느 하나를 다른 하나에 오버레이하여 표시할 수 있다.In addition, when the parking assistance image is displayed through the display module 164, the image synthesis unit 150 overlays any one of the second parking assistance line 451 and the parking line 421 on the other. have.

이상에서 설명한 본 발명의 실시예는 장치 및 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다.The embodiment of the present invention described above is not implemented only through the apparatus and method, and may be implemented through a program for realizing a function corresponding to the configuration of the embodiment of the present invention or a recording medium in which the program is recorded. The implementation can be easily implemented by those skilled in the art to which the present invention pertains from the description of the above-described embodiments.

또한, 이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니라, 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수 있다.In addition, the present invention described above, various substitutions, modifications and changes are possible within the scope that does not depart from the technical spirit of the present invention for those of ordinary skill in the art to which the present invention pertains, so the above-described embodiment and It is not limited by the accompanying drawings, and all or part of each embodiment may be selectively combined so that various modifications may be made.

100: 주차 보조 장치
110: 센서부
120: 정보 저장부
130: 주차선 검출부
140: 주차 보조선 생성부
150: 영상 합성부
160: 인터페이스부
100: parking aid
110: sensor unit
120: information storage unit
130: parking line detection unit
140: parking aid line generation unit
150: image synthesis unit
160: interface unit

Claims (5)

차량에 장착된 카메라를 이용하여, 제1 좌표계의 제1 주변 영상을 생성하는 단계;
상기 제1 주변 영상을 제2 좌표계의 제2 주변 영상으로 변환하는 단계;
상기 제2 주변 영상으로부터 주차선을 인식하는 단계;
상기 주차선을 기초로, 상기 제2 좌표계의 제1 주차 보조선을 생성하는 단계;
상기 제1 주차 보조선을 상기 제1 좌표계의 제2 주차 보조선으로 변환하는 단계;
상기 제2 주차 보조선을 상기 제1 주변 영상에 합성하여 주차 보조 영상을 생성하는 단계; 및
상기 주차 보조 영상을 출력하는 단계;
를 포함하고,
상기 제2 좌표계의 제1 주차 보조선을 생성하는 단계는,
상기 주차선의 형상, 위치 및 크기를 산출하는 단계; 및
상기 주차선의 형상, 위치 및 크기 각각에 대응하는 형상, 위치 및 크기를 가지는 상기 제1 주차 보조선을 생성하는 단계;
를 포함하는 주차 보조 장치의 제어 방법.
generating a first surrounding image of a first coordinate system using a camera mounted on a vehicle;
converting the first surrounding image into a second surrounding image of a second coordinate system;
recognizing a parking line from the second surrounding image;
generating a first parking assistance line of the second coordinate system based on the parking line;
converting the first parking assistance line into a second parking assistance line of the first coordinate system;
generating a parking assist image by synthesizing the second parking assist line with the first surrounding image; and
outputting the parking assistance image;
including,
The step of generating the first parking assistance line of the second coordinate system comprises:
calculating the shape, position and size of the parking line; and
generating the first parking assist line having a shape, position, and size corresponding to each of the shape, position, and size of the parking line;
A control method of a parking assist device comprising a.
제1항에 있어서,
상기 카메라는 상기 차량의 후방 일측에 장착되고,
상기 제1 주변 영상은, 상기 차량에 대한 후방 영상인, 주차 보조 장치의 제어 방법.
The method of claim 1,
The camera is mounted on the rear side of the vehicle,
The first surrounding image is a rear image of the vehicle, the control method of the parking assist device.
제1항에 있어서,
상기 제2 주변 영상은,
상기 제1 주변 영상에 대한 버즈 아이 뷰(bird's eye view) 영상인, 주차 보조 장치의 제어 방법.
The method of claim 1,
The second surrounding image,
A method of controlling a parking assist device, which is a bird's eye view image for the first surrounding image.
제1항에 있어서,
상기 제2 주변 영상으로부터 주차선을 인식하는 단계는,
상기 제2 주변 영상으로부터 적어도 둘 이상의 에지(edge)를 검출하는 단계; 및
상기 둘 이상의 에지 중, 기 저장된 주차선 패턴과 매칭되는 둘 이상의 에지를, 상기 제2 주차 보조선으로 인식하는 단계;
를 포함하는, 주차 보조 장치의 제어 방법.
The method of claim 1,
Recognizing a parking line from the second surrounding image comprises:
detecting at least two or more edges from the second surrounding image; and
recognizing, among the two or more edges, two or more edges matching a previously stored parking line pattern as the second parking assist line;
A control method of a parking assist device comprising a.
삭제delete
KR1020150111797A 2015-08-07 2015-08-07 Parking assistance apparatus and control method for the same KR102402087B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150111797A KR102402087B1 (en) 2015-08-07 2015-08-07 Parking assistance apparatus and control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150111797A KR102402087B1 (en) 2015-08-07 2015-08-07 Parking assistance apparatus and control method for the same

Publications (2)

Publication Number Publication Date
KR20170017617A KR20170017617A (en) 2017-02-15
KR102402087B1 true KR102402087B1 (en) 2022-05-25

Family

ID=58111992

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150111797A KR102402087B1 (en) 2015-08-07 2015-08-07 Parking assistance apparatus and control method for the same

Country Status (1)

Country Link
KR (1) KR102402087B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101470240B1 (en) * 2013-11-14 2014-12-08 현대자동차주식회사 Parking area detecting apparatus and method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090088210A (en) * 2008-02-14 2009-08-19 주식회사 만도 Method and apparatus for detecting target parking location by using two reference point and parking assist system using same
KR20120086574A (en) * 2011-01-26 2012-08-03 현대모비스 주식회사 Parking guidance method of vehicles
KR20140080874A (en) * 2012-12-20 2014-07-01 현대오트론 주식회사 Apparatus and method for guiding parking with steering assist

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101470240B1 (en) * 2013-11-14 2014-12-08 현대자동차주식회사 Parking area detecting apparatus and method thereof

Also Published As

Publication number Publication date
KR20170017617A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
JP5053043B2 (en) Vehicle peripheral image generation device and vehicle peripheral image distortion correction method
US8854463B2 (en) Method and apparatus for generating a bird's-eye view image
US8330816B2 (en) Image processing device
EP3229204A1 (en) Around view provision apparatus and vehicle including the same
US20080170122A1 (en) Image processor, driving assistance system, and out-of-position detecting method
JP6425991B2 (en) Towing vehicle surrounding image generating apparatus and method for generating towing vehicle surrounding image
US10467789B2 (en) Image processing device for vehicle
JP2009524171A (en) How to combine multiple images into a bird's eye view image
US20100066516A1 (en) Image displaying in-vehicle system, image displaying control in-vehicle apparatus and computer readable medium comprising program for the same
JP5959264B2 (en) Image processing apparatus and method, and computer program
US20120236287A1 (en) External environment visualization apparatus and method
JP5003395B2 (en) Vehicle periphery image processing apparatus and vehicle periphery state presentation method
JPWO2016067574A1 (en) Display control apparatus and display control program
WO2016027289A1 (en) Drive assist device, drive assist method, and program
WO2016147584A1 (en) Vehicle monitoring device, vehicle monitoring method, and vehicle monitoring program
JP2014134912A (en) Playback device, playback system, playback method and program
KR20160090677A (en) Parking guide system and method for controlling the same
JP7163418B2 (en) Driving support device
WO2018074085A1 (en) Rangefinder and rangefinder control method
KR20220052172A (en) Surround view monitoring system and providing method of the same
KR102402087B1 (en) Parking assistance apparatus and control method for the same
KR20180094717A (en) Driving assistance apparatus using avm
EP4156125A1 (en) Image processing system, mobile object, image processing method, and storage medium
US10303957B2 (en) Vehicle control system based on user input and method thereof
KR102071720B1 (en) Method for matching radar target list and target of vision image

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