KR20150131543A - Apparatus and method for three-dimensional calibration of video image - Google Patents

Apparatus and method for three-dimensional calibration of video image Download PDF

Info

Publication number
KR20150131543A
KR20150131543A KR1020140058335A KR20140058335A KR20150131543A KR 20150131543 A KR20150131543 A KR 20150131543A KR 1020140058335 A KR1020140058335 A KR 1020140058335A KR 20140058335 A KR20140058335 A KR 20140058335A KR 20150131543 A KR20150131543 A KR 20150131543A
Authority
KR
South Korea
Prior art keywords
image
template
candidate
dimensional
real object
Prior art date
Application number
KR1020140058335A
Other languages
Korean (ko)
Other versions
KR102264111B1 (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 KR1020140058335A priority Critical patent/KR102264111B1/en
Priority to PCT/KR2015/004762 priority patent/WO2015174724A1/en
Publication of KR20150131543A publication Critical patent/KR20150131543A/en
Application granted granted Critical
Publication of KR102264111B1 publication Critical patent/KR102264111B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Abstract

Disclosed are a device to three-dimensionally correct an image, and a method thereof. According to an embodiment of the present invention, the device to three-dimensionally correct an image comprises: a template overlapping module to obtain the image, and overlap a 3D template with the obtained image to generate an overlay image; and a template adjusting module to arrange a preset virtual object in an overlay image, adjusting a feature parameter of the 3D template by comparing features of the arranged virtual object with features of a real object in the image, thus making the 3D template to effectively be overlaid with an image of a monitoring camera or the like.

Description

영상의 3차원 보정 장치 및 방법{APPARATUS AND METHOD FOR THREE-DIMENSIONAL CALIBRATION OF VIDEO IMAGE}[0001] APPARATUS AND METHOD FOR THREE-DIMENSIONAL CALIBRATION OF VIDEO IMAGE [0002]

본 발명의 실시예들은 카메라를 이용한 영상 내 객체 인식 기술과 관련된다.
Embodiments of the present invention relate to object recognition technology in an image using a camera.

CCTV(Closed-Circuit Television) 등의 감시 카메라가 일반화되면서, 용의자 또는 용의 차량 등의 이동 경로를 추적하기 위하여 비디오 데이터를 이용하는 경우가 증가하고 있다. CCTV를 활용한 관제는 주로 특정 장소에 설치된 카메라의 감시 영상 분석(Video Analysis)을 통해 영상 내 객체(사람, 또는 차량 등의 물체)의 크기 및 움직임을 감지하는, 이벤트에 기초한(Event Driven) 관제가 주로 이루어진다.As surveillance cameras such as CCTV (Closed-Circuit Television) are becoming common, video data is increasingly used to track movement paths of suspects or vehicles. The CCTV-based control is mainly based on event-driven control that detects the size and movement of objects (people, vehicles, etc.) in the video through video analysis of cameras installed in specific places. .

카메라 등을 통하여 촬영되는 영상은 2차원인 반면 실제 촬영되는 피사체는 3차원이므로, 2차원 화면 상에서 3차원 객체를 감지하기 위해서는 현재 설치된 카메라의 시야각, 높이, 화각 등의 정보가 필요하다. 이를 위하여, 종래에는 시스템 운영자 등이 수작업으로 화면을 보면서 상기 정보들을 입력하였다. 그러나 이는 운영자의 오랜 경험 및 시행 착오가 필요한 작업이어서 작업 시간이 매우 오래 소요됨은 물론 전 과정이 수작업으로 이루어지므로 정확도에 있어서도 한계가 있었다.
Since an image photographed through a camera or the like is two-dimensional, a subject actually photographed is three-dimensional. Therefore, in order to detect a three-dimensional object on a two-dimensional screen, information such as a viewing angle, height, In order to achieve this, conventionally, the system operator manually inputs the information while viewing the screen. However, since it is a task requiring a long experience and trial and error of the operator, it takes a very long time to work, and the whole process is performed by hand.

대한민국 등록특허공보 제 10-0863507호 (2008. 10. 08)Korean Registered Patent No. 10-0863507 (2008. 10. 08)

본 발명의 실시예들은 감시 카메라 등의 영상에 3차원 템플릿을 효과적으로 오버레이하기 위한 수단을 제공하기 위한 것이다.
Embodiments of the present invention are intended to provide a means for effectively overlaying a three-dimensional template on an image of a surveillance camera or the like.

본 발명의 예시적인 실시예에 따르면, 영상을 획득하고, 획득된 상기 영상에 3차원 템플릿을 중첩하여 오버레이 영상을 생성하는 템플릿 중첩 모듈; 및 상기 오버레이 영상에 기 설정된 가상 객체를 배치하고, 배치된 상기 가상 객체와 상기 영상 내 실 객체와의 특징 비교를 통해 상기 3차원 템플릿의 특성 파라미터를 조정하는 템플릿 조정 모듈을 포함하는 영상의 3차원 보정 장치가 제공된다.According to an exemplary embodiment of the present invention, there is provided a template superposition module for acquiring an image, superimposing a three-dimensional template on the acquired image to generate an overlay image, And a template adjustment module for arranging a virtual object preset in the overlay image and adjusting characteristic parameters of the three-dimensional template through feature comparison between the virtual object and the real object in the image, A correction device is provided.

상기 템플릿 중첩 모듈은, 획득된 상기 영상과 함께 상기 하나 이상의 기 저장된 후보 템플릿을 화면 상에 디스플레이하며, 디스플레이된 상기 하나 이상의 후보 템플릿 중 어느 하나의 후보 템플릿이 선택됨에 따라, 선택된 후보 템플릿을 상기 영상에 중첩하여 오버레이 영상을 생성할 수 있다.Wherein the template overlapping module displays the one or more previously stored candidate templates together with the obtained image on the screen and selects one of the one or more candidate templates displayed, So that the overlay image can be generated.

상기 템플릿 중첩 모듈은, 상기 영상으로부터 상기 영상의 특징 정보를 추출하고, 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택하여 상기 오버레이 영상을 생성할 수 있다.The template superposition module may extract the feature information of the image from the image and generate the overlay image by selecting a candidate template having the highest degree of similarity with the feature information extracted from the previously stored candidate template.

상기 템플릿 중첩 모듈은, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택할 수 있다.The template superimposing module may select a candidate template having the highest degree of similarity to the feature information extracted from the previously stored candidate templates based on at least one of the name of the photographing area of the camera that captured the image or the keyword stored in association with the camera have.

상기 템플릿 조정 모듈은, 기 저장된 하나 이상의 후보 가상 객체 중 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 상기 오버레이 영상에 배치할 수 있다.The template adjustment module may arrange, in the overlay image, a candidate virtual object having the highest degree of similarity to the real object among the one or more candidate virtual objects previously stored.

상기 템플릿 조정 모듈은, 사용자로부터 입력된 상기 실 객체의 크기와 저장된 상기 하나 이상의 후보 가상 객체의 크기를 비교함으로써 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 선택할 수 있다.The template adjustment module may select a candidate virtual object having the highest degree of similarity with the real object by comparing the size of the real object input from the user with the size of the stored one or more candidate virtual objects.

상기 템플릿 조정 모듈은, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 가상 객체 중 상기 오버레이 영상에 배치할 후보 가상 객체를 선택할 수 있다.The template adjustment module may select a candidate virtual object to be placed in the overlay image among previously stored candidate virtual objects based on at least one of the name of the shooting area of the camera that captured the image or the keyword stored in association with the camera.

상기 템플릿 조정 모듈은, 상기 실 객체가 상기 영상 내에서 이동함에 따라 측정되는 상기 실 객체의 상기 영상 내에서의 크기 변화, 및 상기 실 객체와 동일 위치에서 계산되는 상기 실 객체의 상기 3차원 템플릿 상에서의 크기 변화를 비교하고, 상기 비교 결과에 따라 상기 3차원 템플릿의 특성 파라미터를 조정할 수 있다.Wherein the template adjustment module is configured to calculate a size change in the image of the real object measured as the real object moves in the image and a size change in the image of the real object calculated at the same position as the real object Dimensional template, and adjust the characteristic parameters of the three-dimensional template according to the comparison result.

상기 특성 파라미터는, 상기 3차원 템플릿의 투사 높이, 투사 방향, 기울기, 화각 및 초점 위치 중 하나 이상을 포함할 수 있다.The characteristic parameter may include at least one of a projection height, a projection direction, a slope, an angle of view, and a focus position of the three-dimensional template.

상기 템플릿 조정 모듈은, 사용자로부터 상기 3차원 템플릿의 특성 파라미터 보정값이 입력되는 경우, 입력된 상기 입력값을 반영하여 상기 3차원 템플릿의 특성 파라미터를 조정할 수 있다.The template adjustment module may adjust the characteristic parameter of the three-dimensional template by reflecting the inputted input value when the characteristic parameter correction value of the three-dimensional template is inputted from the user.

본 발명의 다른 예시적인 실시예에 따르면, 영상을 획득하고, 획득된 상기 영상에 3차원 템플릿을 중첩하여 오버레이 영상을 생성하는 단계; 및 상기 오버레이 영상에 기 설정된 가상 객체를 배치하고, 배치된 상기 가상 객체와 상기 영상 내 실 객체와의 특징 비교를 통해 상기 3차원 템플릿의 특성 파라미터를 조정하는 단계를 포함하는 영상의 3차원 보정 방법이 제공된다.According to another exemplary embodiment of the present invention, there is provided an image processing method comprising the steps of: acquiring an image; superimposing a three-dimensional template on the acquired image to generate an overlay image; And a step of arranging virtual objects preset in the overlay image and adjusting characteristic parameters of the three-dimensional template through feature comparison between the arranged virtual objects and the real objects in the image, / RTI >

상기 오버레이 영상을 생성하는 단계는, 기 저장된 하나 이상의 후보 템플릿을 획득된 상기 영상과 함께 화면 상에 디스플레이하는 단계; 및 디스플레이된 상기 하나 이상의 후보 템플릿 중 어느 하나의 후보 템플릿이 선택됨에 따라, 선택된 후보 템플릿을 상기 영상에 중첩하는 단계를 더 포함할 수 있다.The generating of the overlay image may include displaying at least one candidate template previously stored on the screen together with the acquired image; And superimposing the selected candidate template on the image as the candidate template of the displayed one or more candidate templates is selected.

상기 특성 파라미터를 조정하는 단계는, 기 저장된 하나 이상의 후보 가상 객체 중 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 상기 오버레이 영상에 배치할 수 있다.In the step of adjusting the characteristic parameter, a candidate virtual object having the highest degree of similarity to the real object may be arranged in the overlay image among the previously stored one or more candidate virtual objects.

상기 오버레이 영상을 생성하는 단계는, 상기 영상으로부터 상기 영상의 특징 정보를 추출하고, 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택하여 상기 오버레이 영상을 생성할 수 있다.The generating of the overlay image may extract the feature information of the image from the image and generate the overlay image by selecting a candidate template having the highest degree of similarity with the feature information extracted from the stored candidate template.

상기 템플릿 중첩 모듈은, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택할 수 있다.The template superimposing module may select a candidate template having the highest degree of similarity to the feature information extracted from the previously stored candidate templates based on at least one of the name of the photographing area of the camera that captured the image or the keyword stored in association with the camera have.

상기 특성 파라미터를 조정하는 단계는, 사용자로부터 입력된 상기 실 객체의 크기와 저장된 상기 하나 이상의 후보 가상 객체의 크기를 비교함으로써 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 선택할 수 있다.The step of adjusting the characteristic parameter may select a candidate virtual object having the highest degree of similarity with the real object by comparing the size of the real object inputted from the user with the size of the stored one or more candidate virtual objects.

상기 특성 파라미터를 조정하는 단계는, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 가상 객체 중 상기 오버레이 영상에 배치할 후보 가상 객체를 선택할 수 있다.Wherein the step of adjusting the characteristic parameter comprises the step of selecting a candidate virtual object to be placed in the overlay image among the previously stored candidate virtual objects based on at least one of the name of the shooting area of the camera and the keyword stored in association with the camera .

상기 특성 파라미터를 조정하는 단계는, 상기 실 객체가 상기 영상 내에서 이동함에 따라 측정되는 상기 실 객체의 상기 영상 내에서의 크기 변화, 및 상기 실 객체와 동일 위치에서 계산되는 상기 실 객체의 상기 3차원 템플릿 상에서의 크기 변화를 비교하고, 상기 비교 결과에 따라 상기 3차원 템플릿의 특성 파라미터를 조정할 수 있다.Wherein the step of adjusting the characteristic parameter includes a step of changing a size of the real object in the image measured as the real object moves in the image and a change of the size of the real object calculated at the same position as the real object, Dimensional template, and adjust characteristic parameters of the three-dimensional template according to the comparison result.

상기 특성 파라미터는, 상기 3차원 템플릿의 투사 높이, 투사 방향, 기울기 화각 및 초점 위치 중 하나 이상을 포함할 수 있다.The characteristic parameter may include at least one of a projection height, a projection direction, a tilt angle, and a focus position of the three-dimensional template.

상기 특성 파라미터를 조정하는 단계는, 사용자로부터 상기 3차원 템플릿의 특성 파라미터 보정값이 입력되는 경우, 입력된 상기 입력값을 반영하여 상기 3차원 템플릿의 특성 파라미터를 조정할 수 있다.
The step of adjusting the characteristic parameter may adjust the characteristic parameter of the three-dimensional template by reflecting the inputted input value when the characteristic parameter correction value of the three-dimensional template is input from the user.

본 발명의 실시예들에 따르면, 다양한 종류 및 형태의 3차원 템플릿을 미리 저장하여 두었다가, 촬영되는 영상의 특징에 따라 저장된 템플릿 중 적절하다고 판단되는 템플릿을 이용하여 실제 영상에 중첩함으로써 빠르고 용이하게 촬영 영상의 3차원 영상 보정 작업을 수행할 수 있다.According to embodiments of the present invention, various types and types of three-dimensional templates can be stored in advance, and then superimposed on actual images using templates determined to be appropriate among templates stored according to characteristics of images to be photographed, A three-dimensional image correction operation of the image can be performed.

또한, 본 발명의 실시예들에 따르면 기 저장된 가상 객체를 상기 3차원 템플릿에 배치하고, 상기 가상 객체와 영상 내 실 객체 간의 특징 비교를 통해 상기 오버레이된 3차원 템플릿의 파라미터를 보정하여 줌으로써 3차원 영상 보정의 정확도를 향상시킬 수 있게 된다.According to embodiments of the present invention, a previously stored virtual object is arranged in the three-dimensional template, and parameters of the overlaid three-dimensional template are corrected through feature comparison between the virtual object and the real object in the image, The accuracy of the image correction can be improved.

아울러, 본 발명의 실시예들에 따를 경우, 객체의 거리 변화 뿐만 아니라 카메라의 시야각 변화에 따른 객체의 크기 변화까지 보정이 가능하게 되는 장점이 있다.
In addition, according to embodiments of the present invention, there is an advantage that not only the distance of the object but also the size change of the object according to the change of the viewing angle of the camera can be corrected.

도 1은 본 발명의 일 실시예에 따른 영상의 3차원 보정 장치(100)를 설명하기 위한 블록도
도 2는 본 발명의 일 실시예에 따른 3차원 템플릿을 설명하기 위한 예시도
도 3은 도 2에 도시된 3차원 템플릿이 영상에 중첩된 예를 나타낸 예시도
도 4는 도 3에 도시된 오버레이 영상에 가상 객체를 배치한 예를 나타낸 예시도
도 5는 본 발명의 일 실시예에 다른 템플릿 조정 모듈(106)에서의 3차원 템플릿의 특성 파라미터를 조정하는 과정을 설명하기 위한 예시도
도 6 및 도 7은 본 발명의 일 실시예에 따른 카메라의 특성값을 계산하기 위한 과정을 설명하기 위한 예시도
도 8은 본 발명의 일 실시예에 따른 영상의 3차원 보정 방법(800)을 설명하기 위한 흐름도
1 is a block diagram for explaining an apparatus 100 for correcting three-dimensional images according to an embodiment of the present invention.
2 is an exemplary diagram illustrating a three-dimensional template according to an embodiment of the present invention.
3 is an exemplary diagram showing an example in which the three-dimensional template shown in FIG. 2 is superimposed on an image
4 is an exemplary diagram showing an example in which a virtual object is arranged in the overlay image shown in Fig.
5 is an exemplary diagram for explaining a process of adjusting characteristic parameters of a three-dimensional template in the template adjustment module 106 according to an embodiment of the present invention
6 and 7 are diagrams for explaining a process for calculating a characteristic value of a camera according to an embodiment of the present invention.
8 is a flowchart for explaining a three-dimensional correction method 800 of an image according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 구체적인 실시형태를 설명하기로 한다. 이하의 상세한 설명은 본 명세서에서 기술된 방법, 장치 및/또는 시스템에 대한 포괄적인 이해를 돕기 위해 제공된다. 그러나 이는 예시에 불과하며 본 발명은 이에 제한되지 않는다.Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. The following detailed description is provided to provide a comprehensive understanding of the methods, apparatus, and / or systems described herein. However, this is merely an example and the present invention is not limited thereto.

본 발명의 실시예들을 설명함에 있어서, 본 발명과 관련된 공지기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. 상세한 설명에서 사용되는 용어는 단지 본 발명의 실시예들을 기술하기 위한 것이며, 결코 제한적이어서는 안 된다. 명확하게 달리 사용되지 않는 한, 단수 형태의 표현은 복수 형태의 의미를 포함한다. 본 설명에서, "포함" 또는 "구비"와 같은 표현은 어떤 특성들, 숫자들, 단계들, 동작들, 요소들, 이들의 일부 또는 조합을 가리키기 위한 것이며, 기술된 것 이외에 하나 또는 그 이상의 다른 특성, 숫자, 단계, 동작, 요소, 이들의 일부 또는 조합의 존재 또는 가능성을 배제하도록 해석되어서는 안 된다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intention or custom of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification. The terms used in the detailed description are intended only to describe embodiments of the invention and should in no way be limiting. Unless specifically stated otherwise, the singular form of a term includes plural forms of meaning. In this description, the expressions "comprising" or "comprising" are intended to indicate certain features, numbers, steps, operations, elements, parts or combinations thereof, Should not be construed to preclude the presence or possibility of other features, numbers, steps, operations, elements, portions or combinations thereof.

도 1은 본 발명의 일 실시예에 따른 영상의 3차원 보정 장치(100)를 설명하기 위한 블록도이다. 본 발명의 일 실시예에 따른 영상의 3차원 보정 장치(100)는 2차원 영상에 3차원 템플릿을 중첩함으로써 상기 2차원 영상 내의 객체(피사체)의 3차원 공간상의 위치를 계산할 수 있도록 하기 위한 장치이다. 본 발명의 일 실시예에 따른 영상의 3차원 보정 장치(100)는 감시 카메라 등의 카메라 장치 내부의 일 요소로 포함되거나, 또는 감시 카메라 등과는 별도의 장치로 구성되어 상기 감시 카메라와 연결되도록 구성될 수 있다. 도시된 바와 같이, 본 발명의 일 실시예에 따른 영상의 3차원 보정 장치(100)는 데이터 저장 모듈(102), 템플릿 중첩 모듈(104) 및 템플릿 조정 모듈(106)을 포함한다.FIG. 1 is a block diagram for explaining an apparatus 100 for correcting three-dimensional images according to an embodiment of the present invention. An apparatus for correcting three-dimensional images 100 according to an embodiment of the present invention includes a device 100 for calculating a position on a three-dimensional space of an object (object) in the two-dimensional image by superimposing a three- to be. The three-dimensional image correcting apparatus 100 according to an exemplary embodiment of the present invention may be included as a component in a camera device such as a surveillance camera or may be configured as a separate device from a surveillance camera, . As shown, the apparatus for correcting three-dimensional images 100 according to an exemplary embodiment of the present invention includes a data storage module 102, a template superposition module 104, and a template adjustment module 106.

데이터 저장 모듈(102)은 감시 카메라 등으로부터 촬영된 영상에 중첩(overlay)될 하나 이상의 3차원 템플릿 및 하나 이상의 가상 객체를 저장하는 공간이다.The data storage module 102 is a space for storing one or more 3D templates and one or more virtual objects to be overlaid on an image photographed from a surveillance camera or the like.

본 발명의 일 실시예에서, 3차원 템플릿은 영상 내에 위치한 객체의 3차원 공간상의 위치를 계산하기 위한 일종의 가이드 라인으로서, 도 2에 도시된 바와 같이 화면 상의 바닥 또는 벽면 등을 표현하기 위한 복수 개의 격자(grid)를 포함하여 구성될 수 있다. 상기 3차원 템플릿을 구성하는 각각의 격자들은 2차원 화면 상에서는 그 크기가 모두 다른 것으로 보이더라도 실제 공간 내에서는 동일한 크기의 공간에 해당하는 바, 영상에 중첩된 상기 3차원 템플릿을 이용하면 화면 상 객체의 실제 공간 상에서의 크기 및 위치를 계산할 수 있게 된다. 도 3은 도 2에 도시된 3차원 템플릿이 영상에 중첩된 예를 나타낸 것이다.In one embodiment of the present invention, a three-dimensional template is a kind of a guide line for calculating a position on a three-dimensional space of an object located in an image. As shown in FIG. 2, And may include a grid. Although each of the grids constituting the three-dimensional template may appear to be different in size on the two-dimensional screen, it corresponds to a space of the same size in the actual space. If the three-dimensional template superimposed on the image is used, The size and position of the object in the actual space can be calculated. FIG. 3 shows an example in which the three-dimensional template shown in FIG. 2 is superimposed on an image.

데이터 저장 모듈(102)은 서로 다른 하나 이상의 3차원 템플릿을 저장할 수 있다. 예를 들어, 데이터 저장 모듈(102)는 평지, 도로, 교차로, 출입구, 사무실, 복도 등 공간의 특성에 따라 서로 다른 형태를 가진 3차원 템플릿을 저장해 둘 수 있다.The data storage module 102 may store one or more different three-dimensional templates. For example, the data storage module 102 may store three-dimensional templates having different shapes according to characteristics of a space such as a flat, a road, an intersection, an entrance, an office, a corridor, and the like.

또한, 가상 객체는 영상 내에 3차원 템플릿과 함께 중첩되어 표시되기 위한 일종의 가상 물체로서, 사람(남자, 여자, 아이 등), 차량(승합차, 버스, 승용차 등), 가로수, 가로등 등의 형상을 가질 수 있다. 데이터 저장 모듈(102)은 상기 가상 객체와 함께 각 객체의 크기 정보(높이, 넓이 등)을 함께 저장할 수 있다. 상기 가상 객체는 영상 내 실 객체와의 비교를 통해 상기 3차원 템플릿을 보정하는 데 이용된다. 도 4는 도 3에 도시된 오버레이 영상에 가상 객체(나무, 사람, 자동차 등)를 배치한 예를 나타낸 것이다.The virtual object is a kind of virtual object to be superimposed and displayed together with the three-dimensional template in the image and has a shape such as a person (man, woman, child), a vehicle (vans, buses, passenger cars) . The data storage module 102 may store size information (height, area, etc.) of each object together with the virtual object. The virtual object is used to correct the three-dimensional template through comparison with a real object in an image. FIG. 4 shows an example in which a virtual object (a tree, a person, an automobile, etc.) is arranged in the overlay image shown in FIG.

템플릿 중첩 모듈(104)은 카메라 등으로부터 영상을 획득하고, 획득된 상기 영상에 3차원 템플릿을 중첩하여 오버레이 영상을 생성한다. The template superposition module 104 acquires an image from a camera or the like, and superimposes the three-dimensional template on the acquired image to generate an overlay image.

일 실시예에서, 템플릿 중첩 모듈(104)은 영상에 중첩될 하나 이상의 3차원 템플릿(후보 템플릿)의 정보를 데이터 저장 모듈(102)에 저장 및 관리하고, 획득된 상기 영상과 함께 상기 하나 이상의 3차원 템플릿을 화면 상에 디스플레이할 수 있다. 그러면 사용자는 상기 디스플레이된 3차원 템플릿 중 어느 하나를 선택하며, 템플릿 중첩 모듈(104)은 선택된 후보 템플릿을 상기 영상에 중첩하여 오버레이 영상을 생성할 수 있다. In one embodiment, the template superposition module 104 stores and manages the information of one or more three-dimensional templates (candidate templates) to be superimposed on the image in the data storage module 102, Dimensional template can be displayed on the screen. Then, the user selects one of the displayed three-dimensional templates, and the template superimposing module 104 may generate an overlay image by superimposing the selected candidate template on the image.

다른 실시예에서 템플릿 중첩 모듈(104)은 획득된 상기 영상의 특성(화상 내 지평선 존재 유무, 주요 특징 선의 위치 및 연결 관계 등)을 도출하고, 도출된 특성에 맞는 최적의 3차원 템플릿을 자동으로 선택하도록 구성될 수도 있다. 이를 위하여, 템플릿 중첩 모듈(104)은 영상 내 특성 정보를 도출할 수 있는 다양한 알고리즘을 이용할 수 있다. 또한, 이를 위하여 템플릿 중첩 모듈(104)은 영상 내 주요 특징선의 위치 및 연결 관계를 정확하게 인식하기 위하여, 화면 내의 객체 및 그 유형(자동차, 사람 등)을 인식하는 알고리즘을 포함할 수 있다.In another embodiment, the template superimposing module 104 derives the characteristics of the acquired image (presence / absence of horizon in the image, position of the main feature line, connection relation, etc.) and automatically selects the optimal three- May be configured to select. For this, the template superposition module 104 may use various algorithms to derive in-image feature information. For this purpose, the template superposition module 104 may include an algorithm for recognizing an object in the screen and its type (automobile, person, etc.) in order to accurately recognize the position and connection relation of the main feature lines in the image.

또한, 템플릿 중첩 모듈(104)은 영상을 촬영한 카메라의 정보를 이용하여 최적의 3차원 템플릿을 선택할 수도 있다. 예를 들어, 영상을 촬영한 카메라에 촬영 구역 또는 촬영 지역 등에 대한 명칭(포스코 사거리, 남산1호터널 등)이 부가되어 있거나, 이와 별도로 촬영 구역의 형태를 인식할 수 있는 키워드 등(출입구, 사거리, 회의실, 복도 등)이 부가되어 있는 경우, 템플릿 중첩 모듈(104)은 이를 기초로 기 저장된 템플릿 중 최적의 템플릿을 선택하는 데 이용할 수 있다. In addition, the template superposition module 104 may select an optimal three-dimensional template using information of the camera that has captured the image. For example, a name of a shooting area or a shooting area (POSCO INTERSECTION, NAMSAN 1 NO. TUNNEL, etc.) is added to the camera in which the image is captured, or a keyword such as a doorway, A conference room, a corridor, etc.) is added, the template superposition module 104 can use it to select an optimal template among pre-stored templates.

템플릿 조정 모듈(106)은 템플릿 중첩 모듈(104)에서 생성된 상기 오버레이 영상에 가상 객체를 배치하고, 배치된 상기 가상 객체와 상기 영상 내 실 객체와의 특징 비교를 통해 상기 3차원 템플릿의 특성 파라미터를 조정한다.The template adjustment module 106 arranges a virtual object in the overlay image generated by the template overlap module 104 and compares the characteristic parameter of the three-dimensional template with the real object in the image, .

본 발명의 실시예에서, 상기 특성 파라미터란 상기 3차원 템플릿의 투사 높이, 투사 방향, 기울기, 화각 및 초점 위치 중 하나 이상을 포함하는 정보로서, 주로 상기 3차원 템플릿의 지면 부분을 실제 영상의 지면과 일치시키는 데 필요한 정보를 의미한다. 상기 특성 파라미터는 영상을 촬영한 카메라 등의 설치 높이, 렌즈 종류(초점거리 등), 틸트각 등에 따라 달라지게 되므로, 상기 3차원 템플릿의 특성 파라미터가 계산되면 이로부터 카메라의 설치 높이, 각도 피사체로부터의 거리, 화각 등의 정보를 계산할 수 있게 된다.In an embodiment of the present invention, the characteristic parameter is information including at least one of a projection height, a projection direction, a slope, an angle of view, and a focus position of the three-dimensional template, ≪ / RTI > Since the characteristic parameters depend on the installation height of the camera or the like, the lens type (focal length, etc.), the tilt angle, and the like, when the characteristic parameters of the three-dimensional template are calculated, The angle of view, and the like.

구체적으로, 템플릿 조정 모듈(106)은, 데이터 저장 모듈(102)에 저장된 하나 이상의 가상 객체 중 영상 내 실 객체의 크기와 유사도가 가장 높은 후보 가상 객체를 선택하여 오버레이 영상에 배치할 수 있다. 이를 위하여 템플릿 조정 모듈(106)은 사용자로부터 상기 영상 내 실 객체의 크기 정보(키 또는 넓이 등)을 입력받을 수 있다. 예를 들어, 화면 상에 키 160센티미터의 여성이 존재하는 경우, 템플릿 조정 모듈(106)은 상기 여성과 동일한 키를 가지는 가상 객체를 오버레이 영상에 배치할 수 있다. 또한, 템플릿 조정 모듈(106)은 상기 영상의 특성에 따라 자동으로 최적의 가상 객체를 오버레이 영상에 배치할 수 있다. 예를 들어 상기 영상이 교차로일 경우 차량을, 복도 또는 출입구의 경우에는 사람을 가상 객체로 배치할 수 있다. 이와 같은 영상의 특성은 전술한 바와 같은 영상을 촬영한 카메라의 명칭 또는 키워드 등을 이용하여 알아낼 수 있다.Specifically, the template adjustment module 106 may select a candidate virtual object having the highest degree of similarity with the size of a real object in the image among the one or more virtual objects stored in the data storage module 102, and may arrange the candidate virtual object in the overlay image. For this, the template adjustment module 106 may receive the size information (key or area, etc.) of the real object in the image from the user. For example, if there is a woman with a height of 160 centimeters on the screen, the template adjustment module 106 may place a virtual object having the same key as the woman on the overlay image. In addition, the template adjustment module 106 may automatically place an optimal virtual object on the overlay image according to the characteristics of the image. For example, a vehicle may be arranged as a virtual object when the image is an intersection, and a person may be arranged as a virtual object in the case of a hallway or an entrance. Such characteristics of the image can be obtained by using the name or keyword of the camera that captured the image as described above.

상기 가상 객체의 영상 내에서의 크기는 영상 내 상기 가상 객체의 위치 및 중첩된 3차원 템플릿으로부터 획득된 정보에 따라 달라지게 된다. 예를 들어 동일한 크기의 가상 객체라도 3차원 템플릿 상에서 카메라에서 멀리 떨어진 거리에 있는 것으로 판단되는 위치의 가상 객체는 그보다 가까운 거리에 있는 것으로 판단되는 위치의 가상 객체보다 화면상의 크기가 작아지게 된다.The size of the virtual object in the image depends on the position of the virtual object in the image and the information obtained from the overlapped three-dimensional template. For example, even if a virtual object of the same size is located on a three-dimensional template, the virtual object at a position distant from the camera is smaller in size than the virtual object at a position determined to be located at a shorter distance.

상기와 같이 오버레이 영상 내에 가상 객체가 배치되면, 템플릿 조정 모듈(106)은 영상 내 실 객체와 가상 객체를 비교함으로써 상기 3차원 템플릿의 특성 파라미터를 조정한다. 구체적으로, 템플릿 조정 모듈(106)은 상기 실 객체가 상기 영상 내에서 이동함에 따라 측정되는 상기 실 객체의 상기 영상 내에서의 크기 변화 및, 상기 실 객체와 동일 위치에서 계산되는 상기 실 객체의 상기 3차원 템플릿 상에서의 크기 변화를 비교하고, 상기 비교 결과에 따라 상기 3차원 템플릿의 특성 파라미터를 조정하게 된다. 즉, 본 발명에서 실 객체 또는 가상 객체의 특징이란 해당 객체가 영상 내에서 이동할 때의 크기 변화의 정도를 의미한다. 이를 좀 더 구체적으로 설명하면 다음과 같다.When the virtual objects are arranged in the overlay image as described above, the template adjustment module 106 adjusts the characteristic parameters of the three-dimensional template by comparing the real objects in the image with the virtual objects. Specifically, the template adjustment module 106 adjusts the size of the real object in the image, which is measured as the real object moves in the image, and the size of the real object, which is calculated at the same position as the real object, The size variation on the three-dimensional template is compared, and the characteristic parameters of the three-dimensional template are adjusted according to the comparison result. That is, in the present invention, the feature of a real object or a virtual object means a degree of magnitude change when the corresponding object moves in the image. This will be described in more detail as follows.

도 5는 본 발명의 일 실시예에 다른 템플릿 조정 모듈(106)에서의 3차원 템플릿의 특성 파라미터를 조정하는 과정을 설명하기 위한 예시도이다. 도시된 예에서 502는 영상 내 실 객체를, 504는 가상 객체를 각각 나타낸다. 도시된 바와 같이, 영상 내의 실 객체(예를 들어, 사람)이 위치 A에서 위치 B로 이동함에 따라 그 높이(키)가 h1에서 h1'로 변경되었다고, 같은 위치에서 가상 객체 504의 경우 그 높이(키)가 h2에서 h2'로 변경되었다고 가정하자. 전술한 바와 같이, 가상 객체의 영상 내에서의 크기는 영상에 중첩된 3차원 템플릿의 특성 파라미터에 따라 결정된다. 따라서 만약 h1는 h2와 동일한데, h1'이 h2'와 동일하지 아니할 경우에는 중첩된 3차원 템플릿의 특성 파라미터가 실제 공간과 일치하지 않음을 의미하므로, 템플릿 조정 모듈(106)은 상기 3차원 템플릿의 투사 높이, 투사 방향, 기울기, 화각 및 초점 위치 중 하나 이상을 변경함으로써 상기 특성 파라미터를 조정하게 된다. 이와 같은 조정은 영상 내 실 객체의 이동에 따른 변화가 가상 객체와 동일해질 때까지 반복된다. 5 is an exemplary diagram for explaining a process of adjusting characteristic parameters of a three-dimensional template in the template adjustment module 106 according to an embodiment of the present invention. In the illustrated example, 502 represents a real object in an image and 504 represents a virtual object. As shown, the height (key) is changed from h1 to h1 'as a real object (e.g., a person) in the image moves from position A to position B, and at the same position, (Key) is changed from h2 to h2 '. As described above, the size of the virtual object in the image is determined according to the characteristic parameter of the three-dimensional template superimposed on the image. Therefore, if h1 is equal to h2, h1 'is not equal to h2', it means that the characteristic parameter of the overlapped three-dimensional template does not coincide with the actual space. Therefore, The projection angle, the projection angle, the projection angle, the tilt angle, the angle of view, and the focus position. Such an adjustment is repeated until the change due to the movement of the real object in the image becomes equal to the virtual object.

또한, 템플릿 조정 모듈(106)은 사용자로부터 상기 특성 파라미터에 대한 보정값을 입력받고 이를 상기 특성 파라미터 조정에 반영할 수 있다. 이를 위하여 템플릿 조정 모듈(106)은 사용자가 키보드, 마우스 또는 화면 터치 등을 이용하여 직관적으로 템플릿을 조정하기 위한 인터페이스를 제공할 수 있다. 이와 같이 템플릿 조정 모듈(106)에서 영상 내 객체의 크기 변화와 함께 사용자로부터 입력된 보정값을 사용할 경우 상기 특성 파라미터의 정확성을 한층 높일 수 있게 된다.In addition, the template adjustment module 106 may receive a correction value for the characteristic parameter from the user and reflect it in the characteristic parameter adjustment. For this, the template adjustment module 106 may provide an interface for the user to intuitively adjust the template using a keyboard, a mouse, a screen touch, or the like. As described above, when the template adjustment module 106 changes the size of the object in the image and uses the correction value input from the user, the accuracy of the characteristic parameter can be further increased.

상기와 같이 3차원 템플릿이 조정되면, 영상 내 객체로부터 카메라의 설치 특성 값을 계산할 수 있다. 도 6 및 도 7은 이를 설명하기 위한 것이다. 도시된 바와 같이, 화면상에 객체 A 및 객체 B의 두 객체가 존재하고, 객체 A는 카메라로부터 연결되는 중심선(점선으로 표시) 상에 위치하며, 객체 B는 객체 A와 각도 x 만큼 떨어진 곳에 위치한다고 가정하자.When the three-dimensional template is adjusted as described above, the installation characteristic value of the camera can be calculated from the object in the image. 6 and 7 are for explaining this. As shown, there are two objects, object A and object B on the screen, object A is located on a center line (indicated by a dotted line) connected from the camera, object B is located at an angle x .

객체 A와 객체 B의 거리를 y, 객체 B와 중심선과의 거리를 z라 하면, 카메라의 설치 위치(cl)은 다음과 같이 계산될 수 있다.
If the distance between the object A and the object B is y and the distance between the object B and the center line is z, the installation position cl of the camera can be calculated as follows.

cl = z / tan(x) + y
cl = z / tan (x) + y

객체 A의 화면상의 크기를 ah, 객체B의 화면상의 크기를 bh라 하면, 카메라 설치 높이(ch)는 다음과 같이 계산될 수 있다.
If the size of the object A on the screen is ah and the size of the object B on the screen is bh, the camera installation height (ch) can be calculated as follows.

ch = (bh - ah) * cl / y
ch = (bh-ah) * cl / y

이로부터 카메라의 화각(cv) 및 설치각(ct)은 다음과 같이 계산될 수 있다.
From this, the angle of view (cv) and the angle of installation (ct) of the camera can be calculated as follows.

cv = arctan(ch / cl)cv = arctan (ch / cl)

ct = 90 - arctan(ch / cl)
ct = 90 - arctan (ch / cl)

도 8은 본 발명의 일 실시예에 따른 영상의 3차원 보정 방법(800)을 설명하기 위한 흐름도이다.FIG. 8 is a flowchart illustrating a three-dimensional correction method 800 of an image according to an exemplary embodiment of the present invention.

단계 802에서, 템플릿 중첩 모듈(104)은 사용자 등으로부터 영상이 중첩할 3차원 템플릿을 선택받는다. 이를 위하여 템플릿 중첩 모듈(102)은 사용자가 시각적으로 기 저장된 템플릿을 열람하고 이 중 영상에 적합한 템플릿을 선택하도록 하기 위한 적절한 인터페이스를 제공할 수 있다. 예를 들어, 템플릿 중첩 모듈(104)은 기 저장된 하나 이상의 후보 템플릿을 획득된 상기 영상과 함께 화면 상에 디스플레이하고, 디스플레이된 상기 하나 이상의 후보 템플릿 중 어느 하나의 후보 템플릿이 선택되도록 할 수 있다.In step 802, the template superposition module 104 selects a three-dimensional template to be superimposed with an image from a user or the like. For this, the template superposition module 102 may provide an appropriate interface for allowing a user to visually browse pre-stored templates and select a template suitable for the images. For example, the template superposition module 104 may display one or more previously stored candidate templates together with the acquired images on the screen, and select one of the displayed one or more candidate templates.

단계 804에서, 템플릿 중첩 모듈(104)은 선택된 템플릿에 대한 설정값(특성 파라미터 등)에 대한 입력이 필요한지 여부를 판단하고, 만약 필요하다고 판단되는 경우에는 단계 806에서 사용자로부터 이를 입력받는다.In step 804, the template superposition module 104 determines whether an input is required for a set value (characteristic parameter, etc.) for the selected template, and if it is determined to be necessary, the template superposition module 104 receives the input from the user in step 806.

단계 808에서, 템플릿 조정 모듈(106)은 사용자 등으로부터 영상에 배치할 가상 객체를 입력받는다. 이때 상기 가상 객체는 기 저장된 하나 이상의 후보 가상 객체 중에서 상기 실 객체와 유사도가 가장 높은 후보 가상 객체일 수 있다.In step 808, the template adjustment module 106 receives a virtual object to be placed on the image from a user or the like. At this time, the virtual object may be a candidate virtual object having the highest degree of similarity to the real object among one or more previously stored candidate virtual objects.

단계 810에서, 템플릿 조정 모듈(106)은 선택된 가상 객체에 대한 설정값(객체의 높이 또는 길이 등)에 대한 입력이 필요한지 여부를 판단하고, 만약 필요하다고 판단되는 경우에는 단계 812에서 사용자로부터 이를 입력받는다.In step 810, the template adjustment module 106 determines whether an input for a set value (height or length of the object, etc.) for the selected virtual object is required. If it is determined to be necessary, Receive.

단계 814에서, 템플릿 조정 모듈(106)은 영상 내에 배치된 상기 가상 객체와 상기 영상 내 실 객체와의 특징 비교를 통해 가상 객체와 실 개체의 특징이 일치하는지의 여부를 판단한다. 전술한 바와 같이, 템플릿 조정 모듈(106)은 상기 실 객체가 상기 영상 내에서 이동함에 따라 측정되는 상기 실 객체의 상기 영상 내에서의 크기 변화, 및 상기 실 객체와 동일 위치에서 계산되는 상기 실 객체의 상기 3차원 템플릿 상에서의 크기 변화를 비교하고, 상기 비교 결과에 따라 상기 3차원 템플릿의 특성 파라미터를 조정할 수 있다.In step 814, the template adjustment module 106 determines whether or not the characteristics of the virtual object and the real object coincide with each other through a feature comparison between the virtual object disposed in the image and the real object in the image. As described above, the template adjustment module 106 adjusts the size of the real object in the image, which is measured as the real object moves in the image, and the size of the real object, which is calculated at the same position as the real object Dimensional template on the three-dimensional template, and adjust the characteristic parameter of the three-dimensional template according to the comparison result.

만약 상기 814 단계의 판단 결과 실 객체와 가상 객체의 특징이 일치하지 않는 경우, 단계 816에서 템플릿 조정 모듈(106)은 상기 특징이 일치할 때 까지 템플릿의 특성 파라미터를 조절한다.If it is determined in step 814 that the characteristics of the real object and the virtual object do not match, the template adjustment module 106 adjusts the characteristic parameters of the template until the feature matches.

단계 818에서, 템플릿 조정 모듈(106)은 사용자로부터 가상 객체의 추가 요청이 수신되는지의 여부를 판단하고, 가상 객체의 추가 요청이 있는 경우 새로 선택된 가상 객체에 대하여 상기 808 단계 이하를 반복 수행한다.
In step 818, the template adjustment module 106 determines whether or not a request to add a virtual object is received from the user, and if there is a request to add a virtual object, the template adjustment module 106 repeats the steps below step 808 for the newly selected virtual object.

한편, 본 발명의 실시예는 본 명세서에서 기술한 방법들을 컴퓨터상에서 수행하기 위한 프로그램을 포함하는 컴퓨터 판독 가능 기록매체를 포함할 수 있다. 상기 컴퓨터 판독 가능 기록매체는 프로그램 명령, 로컬 데이터 파일, 로컬 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나, 또는 컴퓨터 소프트웨어 분야에서 통상적으로 사용 가능한 것일 수 있다. 컴퓨터 판독 가능 기록매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광 기록 매체, 플로피 디스크와 같은 자기-광 매체, 및 롬, 램, 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다.On the other hand, an embodiment of the present invention may include a computer-readable recording medium including a program for performing the methods described herein on a computer. The computer-readable recording medium may include a program command, a local data file, a local data structure, or the like, alone or in combination. The media may be those specially designed and constructed for the present invention, or may be those that are commonly used in the field of computer software. Examples of computer readable media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floppy disks, and magnetic media such as ROMs, And hardware devices specifically configured to store and execute program instructions. Examples of program instructions may include machine language code such as those generated by a compiler, as well as high-level language code that may be executed by a computer using an interpreter or the like.

이상에서 본 발명의 대표적인 실시예들을 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, . Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.

100: 영상의 3차원 보정 장치
102: 데이터 저장 모듈
104: 템플릿 중첩 모듈
106: 템플릿 조정 모듈
100: Three-dimensional correction device of image
102: Data storage module
104: Template Overlap Module
106: template adjustment module

Claims (20)

영상을 획득하고, 획득된 상기 영상에 3차원 템플릿을 중첩하여 오버레이 영상을 생성하는 템플릿 중첩 모듈; 및
상기 오버레이 영상에 기 설정된 가상 객체를 배치하고, 배치된 상기 가상 객체와 상기 영상 내 실 객체와의 특징 비교를 통해 상기 3차원 템플릿의 특성 파라미터를 조정하는 템플릿 조정 모듈을 포함하는 영상의 3차원 보정 장치.
A template superposition module for acquiring an image and superimposing a three-dimensional template on the acquired image to generate an overlay image; And
And a template adjustment module for arranging a virtual object preset in the overlay image and adjusting characteristic parameters of the three-dimensional template through feature comparison between the virtual object and the real object in the image, Device.
청구항 1에 있어서,
상기 템플릿 중첩 모듈은,
획득된 상기 영상과 함께 상기 하나 이상의 기 저장된 후보 템플릿을 화면 상에 디스플레이하며,
디스플레이된 상기 하나 이상의 후보 템플릿 중 어느 하나의 후보 템플릿이 선택됨에 따라, 선택된 후보 템플릿을 상기 영상에 중첩하여 오버레이 영상을 생성하는, 영상의 3차원 보정 장치.
The method according to claim 1,
Wherein the template superposition module comprises:
Displaying the one or more previously stored candidate templates together with the acquired image on a screen,
And the overlay image is generated by superimposing the selected candidate template on the image as one of the candidate templates displayed on the displayed one or more candidate templates is selected.
청구항 1에 있어서,
상기 템플릿 중첩 모듈은, 상기 영상으로부터 상기 영상의 특징 정보를 추출하고, 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택하여 상기 오버레이 영상을 생성하는, 영상의 3차원 보정 장치.
The method according to claim 1,
Wherein the template superposition module extracts feature information of the image from the image and generates the overlay image by selecting a candidate template having the highest degree of similarity to the feature information extracted from the previously stored candidate template, Device.
청구항 3에 있어서,
상기 템플릿 중첩 모듈은, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택하는, 영상의 3차원 보정 장치.
The method of claim 3,
The template overlap module selects a candidate template having the highest degree of similarity with the feature information extracted from previously stored candidate templates based on at least one of the name of the shooting area of the camera that captured the image or the keyword stored in association with the camera , A three-dimensional correction device for an image.
청구항 1에 있어서,
상기 템플릿 조정 모듈은, 기 저장된 하나 이상의 후보 가상 객체 중 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 상기 오버레이 영상에 배치하는, 영상의 3차원 보정 장치.
The method according to claim 1,
Wherein the template adjustment module disposes the candidate virtual object having the highest degree of similarity with the real object among the one or more candidate virtual objects stored in the overlay image.
청구항 5에 있어서,
상기 템플릿 조정 모듈은, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 가상 객체 중 상기 오버레이 영상에 배치할 후보 가상 객체를 선택하는, 영상의 3차원 보정 장치.
The method of claim 5,
Wherein the template adjustment module selects a candidate virtual object to be placed in the overlay image among previously stored candidate virtual objects on the basis of at least one of a name of the shooting area of the camera that captured the image or a keyword stored in association with the camera / RTI >
청구항 5에 있어서,
상기 템플릿 조정 모듈은, 사용자로부터 입력된 상기 실 객체의 크기와 저장된 상기 하나 이상의 후보 가상 객체의 크기를 비교함으로써 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 선택하는, 영상의 3차원 보정 장치.
The method of claim 5,
Wherein the template adjustment module selects a candidate virtual object having the highest degree of similarity with the real object by comparing the size of the real object input from the user with the size of the stored one or more candidate virtual objects.
청구항 5에 있어서,
상기 템플릿 조정 모듈은, 상기 실 객체가 상기 영상 내에서 이동함에 따라 측정되는 상기 실 객체의 상기 영상 내에서의 크기 변화, 및 상기 실 객체와 동일 위치에서 계산되는 상기 실 객체의 상기 3차원 템플릿 상에서의 크기 변화를 비교하고, 상기 비교 결과에 따라 상기 3차원 템플릿의 특성 파라미터를 조정하는, 영상의 3차원 보정 장치.
The method of claim 5,
Wherein the template adjustment module is configured to calculate a size change in the image of the real object measured as the real object moves in the image and a size change in the image of the real object calculated at the same position as the real object Dimensional template, and adjusts the characteristic parameter of the three-dimensional template according to the comparison result.
청구항 8에 있어서,
상기 특성 파라미터는, 상기 3차원 템플릿의 투사 높이, 투사 방향, 기울기, 화각 및 초점 위치 중 하나 이상을 포함하는, 영상의 3차원 보정 장치.
The method of claim 8,
Wherein the characteristic parameter includes at least one of a projection height, a projection direction, a slope, an angle of view, and a focus position of the three-dimensional template.
청구항 8에 있어서,
상기 템플릿 조정 모듈은, 사용자로부터 상기 3차원 템플릿의 특성 파라미터 보정값이 입력되는 경우, 입력된 상기 입력값을 반영하여 상기 3차원 템플릿의 특성 파라미터를 조정하는, 영상의 3차원 보정 장치.
The method of claim 8,
Wherein the template adjustment module adjusts a characteristic parameter of the three-dimensional template by reflecting the input value when the characteristic parameter correction value of the three-dimensional template is input from a user.
영상을 획득하고, 획득된 상기 영상에 3차원 템플릿을 중첩하여 오버레이 영상을 생성하는 단계; 및
상기 오버레이 영상에 기 설정된 가상 객체를 배치하고, 배치된 상기 가상 객체와 상기 영상 내 실 객체와의 특징 비교를 통해 상기 3차원 템플릿의 특성 파라미터를 조정하는 단계를 포함하는 영상의 3차원 보정 방법.
Generating an overlay image by superimposing a three-dimensional template on the acquired image; And
Arranging a virtual object preset in the overlay image, and adjusting characteristic parameters of the three-dimensional template through feature comparison between the arranged virtual object and a real object in the image.
청구항 11에 있어서,
상기 오버레이 영상을 생성하는 단계는,
기 저장된 하나 이상의 후보 템플릿을 획득된 상기 영상과 함께 화면 상에 디스플레이하는 단계; 및
디스플레이된 상기 하나 이상의 후보 템플릿 중 어느 하나의 후보 템플릿이 선택됨에 따라, 선택된 후보 템플릿을 상기 영상에 중첩하는 단계를 더 포함하는, 영상의 3차원 보정 방법.
The method of claim 11,
Wherein the generating the overlay image comprises:
Displaying one or more pre-stored candidate templates on the screen together with the acquired images; And
Further comprising superimposing the selected candidate template on the image as the candidate template selected from the displayed one or more candidate templates is selected.
청구항 11에 있어서,
상기 오버레이 영상을 생성하는 단계는,
상기 영상으로부터 상기 영상의 특징 정보를 추출하고, 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택하여 상기 오버레이 영상을 생성하는, 영상의 3차원 보정 방법.
The method of claim 11,
Wherein the generating the overlay image comprises:
Extracting feature information of the image from the image and selecting the candidate template having the highest degree of similarity with the feature information extracted from the stored candidate template to generate the overlay image.
청구항 11에 있어서,
상기 템플릿 중첩 모듈은, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 템플릿 중 추출된 상기 특징 정보와 유사도가 가장 높은 후보 템플릿을 선택하는, 영상의 3차원 보정 방법.
The method of claim 11,
The template overlap module selects a candidate template having the highest degree of similarity with the feature information extracted from previously stored candidate templates based on at least one of the name of the shooting area of the camera that captured the image or the keyword stored in association with the camera , A three-dimensional correction method of an image.
청구항 11에 있어서,
상기 특성 파라미터를 조정하는 단계는, 기 저장된 하나 이상의 후보 가상 객체 중 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 상기 오버레이 영상에 배치하는, 영상의 3차원 보정 방법.
The method of claim 11,
Wherein the step of adjusting the characteristic parameter includes placing a candidate virtual object having the highest degree of similarity with the real object among the one or more candidate virtual objects previously stored in the overlay image.
청구항 15에 있어서,
상기 특성 파라미터를 조정하는 단계는, 상기 영상을 촬영한 카메라의 촬영 구역 명칭 또는 상기 카메라와 연관되어 저장된 키워드 중 하나 이상에 기초하여 기 저장된 후보 가상 객체 중 상기 오버레이 영상에 배치할 후보 가상 객체를 선택하는, 영상의 3차원 보정 방법.
16. The method of claim 15,
Wherein the step of adjusting the characteristic parameter comprises the step of selecting a candidate virtual object to be placed in the overlay image among previously stored candidate virtual objects based on at least one of a name of the shooting area of the camera and a keyword stored in association with the camera A three-dimensional correction method of an image.
청구항 15에 있어서,
상기 특성 파라미터를 조정하는 단계는, 사용자로부터 입력된 상기 실 객체의 크기와 저장된 상기 하나 이상의 후보 가상 객체의 크기를 비교함으로써 상기 실 객체와 유사도가 가장 높은 후보 가상 객체를 선택하는, 영상의 3차원 보정 방법.
16. The method of claim 15,
Wherein the step of adjusting the characteristic parameter comprises: comparing a size of the real object input from a user with a size of the stored one or more candidate virtual objects, thereby selecting a candidate virtual object having the highest degree of similarity with the real object; Correction method.
청구항 15에 있어서,
상기 특성 파라미터를 조정하는 단계는,
상기 실 객체가 상기 영상 내에서 이동함에 따라 측정되는 상기 실 객체의 상기 영상 내에서의 크기 변화, 및 상기 실 객체와 동일 위치에서 계산되는 상기 실 객체의 상기 3차원 템플릿 상에서의 크기 변화를 비교하고, 상기 비교 결과에 따라 상기 3차원 템플릿의 특성 파라미터를 조정하는, 영상의 3차원 보정 방법.
16. The method of claim 15,
Wherein adjusting the characteristic parameter comprises:
A size change in the image of the real object measured as the real object moves in the image and a change in size of the real object calculated on the same position as the real object on the three- And adjusting characteristic parameters of the three-dimensional template according to the comparison result.
청구항 18에 있어서,
상기 특성 파라미터는, 상기 3차원 템플릿의 투사 높이, 투사 방향, 기울기 화각 및 초점 위치 중 하나 이상을 포함하는, 영상의 3차원 보정 방법.
19. The method of claim 18,
Wherein the characteristic parameter includes at least one of a projection height, a projection direction, a tilt angle, and a focus position of the three-dimensional template.
청구항 18에 있어서,
상기 특성 파라미터를 조정하는 단계는, 사용자로부터 상기 3차원 템플릿의 특성 파라미터 보정값이 입력되는 경우, 입력된 상기 입력값을 반영하여 상기 3차원 템플릿의 특성 파라미터를 조정하는, 영상의 3차원 보정 방법.
19. The method of claim 18,
Wherein the step of adjusting the characteristic parameter comprises the steps of adjusting a characteristic parameter of the three-dimensional template by reflecting the inputted input value when a characteristic parameter correction value of the three-dimensional template is input from a user, .
KR1020140058335A 2014-05-15 2014-05-15 Apparatus and method for three-dimensional calibration of video image KR102264111B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020140058335A KR102264111B1 (en) 2014-05-15 2014-05-15 Apparatus and method for three-dimensional calibration of video image
PCT/KR2015/004762 WO2015174724A1 (en) 2014-05-15 2015-05-12 Device and method for three-dimensionally correcting image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140058335A KR102264111B1 (en) 2014-05-15 2014-05-15 Apparatus and method for three-dimensional calibration of video image

Publications (2)

Publication Number Publication Date
KR20150131543A true KR20150131543A (en) 2015-11-25
KR102264111B1 KR102264111B1 (en) 2021-06-10

Family

ID=54480207

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140058335A KR102264111B1 (en) 2014-05-15 2014-05-15 Apparatus and method for three-dimensional calibration of video image

Country Status (2)

Country Link
KR (1) KR102264111B1 (en)
WO (1) WO2015174724A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107462392A (en) * 2017-09-01 2017-12-12 南京航空航天大学 High Precision Automatic scaling method based on virtual template

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969682B (en) * 2019-11-27 2021-03-02 深圳追一科技有限公司 Virtual image switching method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100863507B1 (en) 2007-05-02 2008-10-15 한국도로공사 Multi-area monitoring system from single cctv having a camera quadratic curved surface mirror structure and unwrapping method for the same
KR20120026707A (en) * 2010-09-10 2012-03-20 주식회사 인스프리트 Device for displaying virtual object corresponding respective distance
KR101126449B1 (en) * 2011-06-30 2012-03-29 양재일 System and method for augmented reality service
KR20130110339A (en) * 2012-03-29 2013-10-10 한국과학기술원 Method and apparatus for generating 3d stereoscopic image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8570343B2 (en) * 2010-04-20 2013-10-29 Dassault Systemes Automatic generation of 3D models from packaged goods product images
KR100997084B1 (en) * 2010-06-22 2010-11-29 (주)올포랜드 A method and system for providing real time information of underground object, and a sever and method for providing information of the same, and recording medium storing a program thereof
KR101339900B1 (en) * 2012-03-09 2014-01-08 한국과학기술연구원 Three dimensional montage generation system and method based on two dimensinal single image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100863507B1 (en) 2007-05-02 2008-10-15 한국도로공사 Multi-area monitoring system from single cctv having a camera quadratic curved surface mirror structure and unwrapping method for the same
KR20120026707A (en) * 2010-09-10 2012-03-20 주식회사 인스프리트 Device for displaying virtual object corresponding respective distance
KR101126449B1 (en) * 2011-06-30 2012-03-29 양재일 System and method for augmented reality service
KR20130110339A (en) * 2012-03-29 2013-10-10 한국과학기술원 Method and apparatus for generating 3d stereoscopic image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107462392A (en) * 2017-09-01 2017-12-12 南京航空航天大学 High Precision Automatic scaling method based on virtual template

Also Published As

Publication number Publication date
WO2015174724A1 (en) 2015-11-19
KR102264111B1 (en) 2021-06-10

Similar Documents

Publication Publication Date Title
US10452931B2 (en) Processing method for distinguishing a three dimensional object from a two dimensional object using a vehicular system
US9667952B2 (en) Calibration for directional display device
WO2020206708A1 (en) Obstacle recognition method and apparatus, computer device, and storage medium
JP6484587B2 (en) Method and system for determining spatial characteristics of a camera
JP4246195B2 (en) Car navigation system
JP5792091B2 (en) Object detection apparatus and object detection method
KR101373854B1 (en) Parking guidance system using image improvement technique based on sensor
US20180114067A1 (en) Apparatus and method for extracting objects in view point of moving vehicle
US9791934B2 (en) Priority control for directional display device
US9442561B2 (en) Display direction control for directional display device
US20160086322A1 (en) Image measurement device
WO2015146068A1 (en) Information display device, information display method, and program
US9633450B2 (en) Image measurement device, and recording medium
JP2010117800A (en) Parking lot monitoring device and method
US20170259830A1 (en) Moving amount derivation apparatus
US20150049185A1 (en) Method and apparatus for detecting posture of surveillance camera
JP2014093071A (en) Apparatus and method for tracking position of surrounding vehicle
WO2018134897A1 (en) Position and posture detection device, ar display device, position and posture detection method, and ar display method
JP5539250B2 (en) Approaching object detection device and approaching object detection method
US20190075250A1 (en) Image display apparatus
JP2016009432A (en) Image forming apparatus, image forming system, and image forming program
KR101504335B1 (en) Device, method and vehicle for providing around view
JP2014154062A (en) Object detector
JP2018503195A (en) Object detection method and object detection apparatus
KR20150131543A (en) Apparatus and method for three-dimensional calibration of video image

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant