KR20190043956A - Method and apparatus for displaying augmented reality - Google Patents

Method and apparatus for displaying augmented reality Download PDF

Info

Publication number
KR20190043956A
KR20190043956A KR1020170136112A KR20170136112A KR20190043956A KR 20190043956 A KR20190043956 A KR 20190043956A KR 1020170136112 A KR1020170136112 A KR 1020170136112A KR 20170136112 A KR20170136112 A KR 20170136112A KR 20190043956 A KR20190043956 A KR 20190043956A
Authority
KR
South Korea
Prior art keywords
image
augmented reality
virtual object
rendering
representative color
Prior art date
Application number
KR1020170136112A
Other languages
Korean (ko)
Other versions
KR102005526B1 (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 KR1020170136112A priority Critical patent/KR102005526B1/en
Publication of KR20190043956A publication Critical patent/KR20190043956A/en
Application granted granted Critical
Publication of KR102005526B1 publication Critical patent/KR102005526B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A method for displaying augmented reality performed by an apparatus for displaying augmented reality comprises the steps of: dividing a background image into a plurality of image sections; extracting each representative color for one or more image sections among the plurality of image sections; and rendering a virtual object in the background image by reflecting the representative color.

Description

증강 현실 표시 방법 및 장치{METHOD AND APPARATUS FOR DISPLAYING AUGMENTED REALITY}TECHNICAL FIELD [0001] The present invention relates to a method and an apparatus for displaying augmented reality,

본 발명은 증강 현실(Augmented reality) 표시 방법 및 장치에 관한 것으로, 더욱 상세하게는 배경 영상에 가상 객체를 렌더링하는 증강 현실 표시 방법 및 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an Augmented Reality display method and apparatus, and more particularly, to a method and apparatus for displaying augmented reality in which a virtual object is rendered on a background image.

주지하고 있는 바와 같이, 증강 현실 기술은 현실의 배경 영상에 가상 객체를 함께 표현하여 특수 효과를 제공하는 기술로서, 가상 객체가 현실 세계에 존재하는 것처럼 느끼는 착각을 일으키게 한다.As is well known, augmented reality technology is a technique of providing a special effect by expressing a virtual object together with a background image of a real world, causing an illusion that a virtual object feels as if it exists in the real world.

이러한 증강 현실 기술 분야에서는 증강 현실 영상에 대한 현실감을 향상시키기 위한 노력이 지속되고 있다.In such augmented reality technology field, efforts to improve the reality of the augmented reality image are continuing.

종래에는 배경 영상에 가상 객체를 어떻게 표시할 것인지에 대한 방향으로 주로 연구가 이루어졌으며, 그 예로서 배경 영상으로부터 전체의 환경광을 추정한 후에 추정된 환경광을 반영하여 배경 영상에 가상 객체를 렌더링하였다.Conventionally, studies have been made mainly on how to display a virtual object on a background image. For example, after estimating the ambient light from the background image, a virtual object is rendered on the background image by reflecting the estimated ambient light .

그러나 배경 영상의 전체 영역이 단일의 색상으로 구현되는 경우보다 배경 영상 내의 구역별로 다양한 색상으로 구현되는 경우가 많기 때문에, 배경 영상으로부터 전체의 환경광을 추정하여 가상 객체의 렌더링에 반영하는 종래 기술로는 증강 현실 영상에 대한 현실감을 향상시키기에는 한계가 있었다.However, since the entire area of the background image is often embodied in various colors in different areas within the background image than in the case of a single color, the conventional art in which the entire environment light is estimated from the background image and reflected in the rendering of the virtual object There is a limit to improve the reality of the augmented reality image.

대한민국 공개특허공보 제10-2011-0107545호, 공개일자 2011년 10월 04일.Korean Patent Publication No. 10-2011-0107545, published on October 04, 2011.

본 발명의 실시예에 의하면, 배경 영상을 복수의 영상 구역으로 분할한 후에 분할된 영상 구역에서 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링하는 증강 현실 표시 방법 및 장치를 제공한다.According to an embodiment of the present invention, there is provided an augmented reality display method and apparatus for rendering a virtual object in a background image by dividing a background image into a plurality of image regions and reflecting representative colors extracted from the divided image regions.

본 발명의 해결하고자 하는 과제는 이상에서 언급한 것으로 제한되지 않으며, 언급되지 않은 또 다른 해결하고자 하는 과제는 아래의 기재로부터 본 발명이 속하는 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The problems to be solved by the present invention are not limited to those mentioned above, and another problem to be solved can be clearly understood by those skilled in the art from the following description.

본 발명의 일 관점에 따른 증강 현실 표시 장치에서 수행되는 증강 현실 표시 방법은, 배경 영상을 복수의 영상 구역으로 분할하는 단계와, 상기 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출하는 단계와, 상기 대표 색상을 반영하여 상기 배경 영상에 가상 객체를 렌더링하는 단계를 포함한다.According to an aspect of the present invention, an augmented reality display method performed in an augmented reality display apparatus includes: dividing a background image into a plurality of image regions; extracting representative colors from the plurality of image regions, And rendering the virtual object in the background image by reflecting the representative color.

본 발명의 다른 관점에 따른 증강 현실 표지 장치는, 표시부와, 상기 표시부를 통해 보여지는 배경 영상에 대한 데이터를 획득하는 정보 획득부와, 제어부를 포함하되, 상기 제어부는, 배경 영상을 복수의 영상 구역으로 분할하고, 상기 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출하며, 상기 대표 색상을 반영하여 상기 배경 영상에 가상 객체를 렌더링하고, 상기 배경 영상 및 상기 가상 객체를 포함하는 상기 증강 현실 영상을 생성하며, 상기 생성된 증강 현실 영상을 출력하도록 상기 표시부를 제어한다.According to another aspect of the present invention, there is provided an augmented reality display apparatus including a display unit, an information acquiring unit acquiring data on a background image viewed through the display unit, and a control unit, A representative color is extracted for each of at least one of the plurality of image regions, and a virtual object is rendered on the background image by reflecting the representative color, and the background image and the virtual object Generates the augmented reality image, and controls the display unit to output the generated augmented reality image.

본 발명의 실시예에 의하면, 배경 영상을 복수의 영상 구역으로 분할한 후에 분할된 영상 구역에서 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링한다.According to an embodiment of the present invention, a background image is divided into a plurality of image regions, and a virtual object is rendered on a background image by reflecting a representative color extracted from the divided image regions.

따라서, 배경 영상의 전체 영역이 단일의 색상으로 구현되지 않고 배경 영상 내의 구역별로 다양한 색상으로 구현되는 경우라도 구역별로 서로 다를 수 있는 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링 함으로써, 증강 현실 영상에 대한 현실감이 증대되는 효과가 있다.Accordingly, even if the entire area of the background image is not realized as a single color but is implemented in various colors in each area in the background image, the virtual object may be rendered in the background image by reflecting the representative color, There is an effect of increasing the sense of reality.

도 1은 본 발명의 일 실시예에 따른 증강 현실 표시 장치의 블록 구성도이다.
도 2는 본 발명의 일 실시예에 따른 증강 현실 표시 장치가 수행하는 증강 현실 표시 방법을 설명하기 위한 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 과정에 대한 일 예를 설명하기 위한 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 과정에 대한 다른 예를 설명하기 위한 흐름도이다.
도 5는 본 발명의 다른 실시예에 따른 증강 현실 표시 방법을 설명하기 위한 흐름도이다.
도 6은 본 발명의 다른 실시예에 따른 증강 현실 표시 방법의 수행 중에 대표 색상을 추출하는 과정을 보인 예시도이다.
1 is a block diagram of an augmented reality display apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a method of displaying an augmented reality performed by the augmented reality display apparatus according to an embodiment of the present invention.
3 is a flowchart illustrating an example of a process of rendering a virtual object during a method of displaying an augmented reality according to an embodiment of the present invention.
4 is a flowchart for explaining another example of a process of rendering a virtual object while performing the augmented reality display method according to an embodiment of the present invention.
5 is a flowchart illustrating a method of displaying an augmented reality according to another embodiment of the present invention.
FIG. 6 is a diagram illustrating a process of extracting a representative color during execution of the augmented reality display method according to another embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다.BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. To fully disclose the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims.

본 발명의 실시예들을 설명함에 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명의 실시예에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The following terms are defined in consideration of the functions in the embodiments of the present invention, which may vary depending on the intention of the user, the intention or the custom of the operator. Therefore, the definition should be based on the contents throughout this specification.

도 1은 본 발명의 일 실시예에 따른 증강 현실 표시 장치의 블록 구성도이다.1 is a block diagram of an augmented reality display apparatus according to an embodiment of the present invention.

도 1에 나타낸 바와 같이 일 실시예에 따른 증강 현실 표시 장치(100)는 정보 획득부(110), 제어부(120), 저장부(130), 표시부(140)를 포함한다.1, the augmented reality display apparatus 100 includes an information obtaining unit 110, a control unit 120, a storage unit 130, and a display unit 140. As shown in FIG.

정보 획득부(110)는 증강 현실 영상을 위한 배경 영상에 대한 데이터를 획득한다. 즉, 정보 획득부(110)는 제어부(120)가 증강 현실 영상을 생성할 때에 이용하는 배경 영상에 대한 데이터를 획득한다. 예를 들어, 정보 획득부(110)는 현실 세계를 촬영하는 카메라를 포함할 수 있고, 이 경우에는 카메라를 이용하여 증강 현실 영상의 배경 영상에 대한 2차원 영상 정보를 직접 생성할 수 있다. 또는, 정보 획득부(110)는 증강 현실 표시 장치(100)와는 별도로 구비된 카메라부터 정보를 입력받을 수 있는 통신 인터페이스를 포함할 수 있다. 이 경우라면, 별도의 카메라에 의해 2차원 영상 정보가 생성되며, 정보 획득부(110)는 통신 인터페이스를 통해 2차원 영상 정보를 입력받아 획득할 수 있다.The information acquisition unit 110 acquires data on a background image for an augmented reality image. That is, the information obtaining unit 110 obtains data on the background image used when the control unit 120 generates the augmented reality image. For example, the information obtaining unit 110 may include a camera for photographing a real world. In this case, a two-dimensional image information for a background image of an augmented reality image can be directly generated using a camera. Alternatively, the information obtaining unit 110 may include a communication interface for receiving information from a camera provided separately from the augmented reality display device 100. In this case, the two-dimensional image information is generated by a separate camera, and the information obtaining unit 110 can receive and acquire the two-dimensional image information through the communication interface.

저장부(130)에는 제어부(120)에 의한 실행시에, 증강 현실 표시 과정을 전반적으로 제어할 수 있는 프로세스를 수행하는 컴퓨터 실행가능 명령어가 저장된다. 그리고, 증강 현실 영상에 표시하고자 하는 가상 객체에 대응하는 3차원 모델 데이터가 저장될 수 있다. 또, 정보 획득부(110)에 의해 획득된 증강 현실 영상의 배경 영상에 대한 2차원 영상 정보가 저장될 수 있다. 예를 들어, 저장부(130)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리, 램, 롬 중 적어도 하나의 타입의 컴퓨터로 읽을 수 있는 기록매체를 포함할 수 있다.The storage unit 130 stores a computer-executable instruction for performing a process of controlling the augmented reality display process at the time of execution by the control unit 120. [ The 3D model data corresponding to the virtual object to be displayed on the augmented reality image may be stored. In addition, the two-dimensional image information on the background image of the augmented reality image acquired by the information acquisition unit 110 can be stored. For example, the storage unit 130 may store at least one of a flash memory type, a hard disk type, a multimedia card micro type, a card type memory, a RAM, and a ROM Readable < / RTI > type of recording medium.

제어부(120)는 저장부(130)에 저장된 컴퓨터 실행가능 명령어를 실행하여 증강 현실 영상의 표시 과정을 전반적으로 제어할 수 있는 프로세스를 수행한다. 이러한 프로세스에 의하면, 정보 획득부(110)에 의해 획득된 배경 영상을 복수의 영상 구역으로 분할하고, 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출하며, 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링하고, 배경 영상 및 가상 객체를 포함하는 증강 현실 영상을 생성하며, 생성된 증강 현실 영상을 출력하도록 표시부(140)를 제어한다. 예를 들어, 제어부(120)는 CPU(Central Processing Unit)나 GPU(Graphics Processing Unit) 등과 같은 프로세서를 포함할 수 있다.The control unit 120 performs a process of controlling the display process of the augmented reality image by executing computer executable instructions stored in the storage unit 130. [ According to this process, the background image obtained by the information obtaining unit 110 is divided into a plurality of image regions, representative colors are respectively extracted for one or more image regions among the plurality of image regions, and the extracted representative colors are reflected And generates an augmented reality image including a background image and a virtual object, and controls the display unit 140 to output the generated augmented reality image. For example, the control unit 120 may include a processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit).

표시부(140)는 제어부(120)에 의해 수행되는 프로세스의 결과에 의한 제어신호에 따라, 배경 영상 및 가상 객체가 함께 출력되는 증강 현실 영상을 표시한다. 예를 들어, 출력부(140)는 LCD(Liquid Crystal Display) 등과 같은 평판 디스플레이 소자를 포함할 수 있다.The display unit 140 displays an augmented reality image in which a background image and a virtual object are output together according to a control signal resulting from a process performed by the control unit 120. [ For example, the output unit 140 may include a flat panel display device such as a liquid crystal display (LCD) or the like.

도 2는 본 발명의 일 실시예에 따른 증강 현실 표시 장치가 수행하는 증강 현실 표시 방법을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a method of displaying an augmented reality performed by the augmented reality display apparatus according to an embodiment of the present invention.

도 2를 참조하면, 일 실시예에 따른 증강 현실 표시 방법은, 증강 현실 영상을 위한 배경 영상에 대한 데이터를 획득하고, 획득된 배경 영상을 복수의 영상 구역으로 분할하는 단계(S210)를 포함한다. 예를 들어, 배경 영상을 바둑판 형태로 갖도록 분할하여 X*Y개의 사각형 영상 구역으로 분할할 수 있다.Referring to FIG. 2, the method for displaying augmented reality according to an exemplary embodiment includes obtaining data on a background image for an augmented reality image and dividing the acquired background image into a plurality of image regions (S210) . For example, it is possible to divide the background image so as to have a checkerboard shape and divide it into X * Y rectangular image regions.

그리고, 일 실시예에 따른 증강 현실 표시 방법은, 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출하는 단계(S220)를 더 포함한다. 예를 들어, 복수의 영상 구역마다 각각 대표 색상을 추출할 수 있다. 이때, 해당 영상 구역을 형성하는 화소들의 적색(Redness)값 평균치, 녹색(Greenness)값 평균치 및 청색(Blueness)값 평균치를 가지는 색상을 대표 색상으로서 추출할 수 있다. 또는, 대표 색상을 추출할 때에 해당 영상 구역을 형성하는 화소들의 밝기(Brightness)값 평균치, 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 대표 색상으로서 추출할 수도 있다.In addition, the method for displaying an augmented reality according to an exemplary embodiment further includes extracting a representative color for each of at least one image region from among a plurality of image regions (S220). For example, representative colors can be extracted for each of a plurality of image regions. At this time, a color having a redness average value, a greenness average value, and a blueness average value of the pixels forming the image region can be extracted as a representative color. Alternatively, a representative color may be extracted as a representative color having a brightness value average value, a red value average value, an average green value value, and a blue value average value of pixels forming the image region.

아울러, 일 실시예에 따른 증강 현실 표시 방법은, 적어도 2개 이상의 영상 구역에서 대표 색상이 추출된 경우에, 적어도 2개의 영상 구역 중에서 인접한 영상 구역들 간의 대표 색상을 비교한 결과를 기초로 인접한 영상 구역들을 병합하는 단계(S230)를 더 포함할 수 있다. 이처럼, 인접한 영상 구역들을 병합하는 과정은 생략될 수도 있다.According to another aspect of the present invention, there is provided a method of displaying an augmented reality according to an embodiment of the present invention, in which, when representative colors are extracted from at least two or more image regions, And merging the zones (S230). As such, the process of merging adjacent video regions may be omitted.

그리고, 일 실시예에 따른 증강 현실 표시 방법은, 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링하는 단계(S240)를 더 포함한다. 이처럼, 배경 영상에 가상 객체를 렌더링하는 과정은 다양한 실시예의 형태로 구현할 수 있으며, 이러한 다양한 실시예에 대해서는 도 3 내지 도 5를 참조하여 아래에서 설명하기로 한다.In addition, the method of displaying an augmented reality according to an exemplary embodiment further includes a step S240 of rendering a virtual object in the background image by reflecting the extracted representative color. As described above, the process of rendering a virtual object in a background image can be implemented in various embodiments. Various embodiments will be described below with reference to FIG. 3 to FIG.

도 3은 본 발명의 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 과정에 대한 일 예를 설명하기 위한 흐름도이다.3 is a flowchart illustrating an example of a process of rendering a virtual object during a method of displaying an augmented reality according to an embodiment of the present invention.

도 3을 참조하면, 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 단계의 일 예는, 적어도 2개 이상의 영상 구역에서 추출한 대표 색상을 반영하여 대표 색상이 추출된 영상 구역마다 가상 조명을 생성하여 할당하는 단계(S310)를 포함한다.Referring to FIG. 3, an example of a step of rendering a virtual object during the augmented reality display method according to an exemplary embodiment of the present invention includes the steps of: And generating and allocating a virtual illumination (S310).

이어서, 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 단계의 일 예는, 복수의 영상 구역 중에서 가상 객체의 위치를 포함하는 렌더링 영상 구역을 판별하는 단계(S320)를 더 포함한다.One example of the step of rendering a virtual object during the AR method according to an embodiment further includes a step S320 of discriminating a rendering image region including a position of a virtual object among a plurality of image regions do.

그리고, 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 단계의 일 예는, 렌더링 영상 구역에 할당된 가상 조명이 있는 경우, 할당된 가상 조명이 존재하는 환경에서 배경 영상에 가상 객체를 렌더링하는 단계(S330)를 더 포함한다.One example of a step of rendering a virtual object during the method of displaying an augmented reality according to an embodiment is to display a virtual image on a background image in an environment where the virtual light is allocated, And rendering the object (S330).

도 4는 본 발명의 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 과정에 대한 다른 예를 설명하기 위한 흐름도이다.4 is a flowchart for explaining another example of a process of rendering a virtual object while performing the augmented reality display method according to an embodiment of the present invention.

도 4를 참조하면, 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 단계의 다른 예는, 복수의 영상 구역 중에서 가상 객체의 위치를 포함하는 렌더링 영상 구역을 판별하는 단계(S410)를 포함한다.Referring to FIG. 4, another example of a step of rendering a virtual object during performing the augmented reality display method according to an embodiment includes determining a rendering image zone including a position of a virtual object among a plurality of image zones (S410 ).

그리고, 일 실시예에 따른 증강 현실 표시 방법의 수행 중에 가상 객체를 렌더링하는 단계의 다른 예는, 판별된 렌더링 영상 구역의 대표 색상을 가상 객체의 주변 색상에 반영하여 배경 영상에 가상 객체를 렌더링하는 단계(S420)를 더 포함한다.Another example of the step of rendering a virtual object during the method of displaying the augmented reality according to an embodiment is to render the virtual object in the background image by reflecting the representative color of the determined rendered image area on the surrounding color of the virtual object And further includes step S420.

이하, 도 1 내지 도 4를 참조하여 본 발명의 일 실시예에 따른 증강 현실 표시 장치(100)에 의해 수행되는 증강 현실 표시 방법에 대해 더 자세히 살펴보기로 한다.Hereinafter, a method of displaying an augmented reality performed by the augmented reality display apparatus 100 according to an embodiment of the present invention will be described in more detail with reference to Figs.

먼저, 증강 현실 표시 장치(100)의 저장부(130)에는 증강 현실 표시 장치(100)의 제어부(120)에 의한 실행시에, 증강 현실 표시 과정을 전반적으로 제어할 수 있는 프로세스를 수행하는 컴퓨터 실행가능 명령어가 저장된다. 그리고, 증강 현실 영상 상에 표시하고자 하는 가상 객체에 대응하는 3차원 모델 데이터가 저장될 수 있다.The storage unit 130 of the augmented reality display apparatus 100 includes a computer 120 for performing a process of controlling the augmented reality display process at the time of execution by the control unit 120 of the augmented reality display apparatus 100. [ Executable instructions are stored. Then, the 3D model data corresponding to the virtual object to be displayed on the augmented reality image may be stored.

이러한 상태에서 제어부(120)는 저장부(130)에 저장되어 있는 컴퓨터 실행가능 명령어를 실행하여 증강 현실 표시 과정을 전반적으로 제어할 수 있는 프로세스를 수행하게 된다. 제어부(120)에 의해 해당 프로세스가 수행되면, 증강 현실 표시 장치(100)의 정보 획득부(110)는 증강 현실 영상에 이용할 배경 영상을 획득한다. 예를 들어, 정보 획득부(110)는 카메라를 이용해 현실 영상을 촬영하여 배경 영상을 직접 획득할 수 있다. 또는, 정보 획득부(110)가 증강 현실 표시 장치(100)와는 별도로 구비된 카메라로부터 정보를 입력 받을 수 있는 통신 인터페이스를 포함하는 경우라면, 정보 획득부(110)는 통신 인터페이스를 통해 외부로부터 배경 영상을 입력 받을 수 있다.In this state, the controller 120 executes the computer executable instructions stored in the storage unit 130 to perform a process of controlling the augmented reality display process as a whole. When the control unit 120 performs the process, the information obtaining unit 110 of the augmented reality display apparatus 100 obtains a background image to be used for the augmented reality image. For example, the information obtaining unit 110 can directly capture a background image by photographing a real image using a camera. Alternatively, if the information obtaining unit 110 includes a communication interface capable of receiving information from the camera provided separately from the augmented reality display device 100, the information obtaining unit 110 may obtain information from the outside through the communication interface, Images can be input.

그리고, 제어부(120)는 획득된 배경 영상을 복수의 영상 구역으로 분할한다. 예를 들어, 배경 영상을 바둑판 형태로 갖도록 분할하여 X*Y개의 사각형 영상 구역으로 분할할 수 있다. 여기서, 배경 영상을 몇 개의 영상 구역으로 분할할 것인지 또는 어떤 형태의 영상 구역으로 분할할 것인지는 사전 설정에 따라 얼마든지 변화될 수 있다(S210).Then, the control unit 120 divides the acquired background image into a plurality of image regions. For example, it is possible to divide the background image so as to have a checkerboard shape and divide it into X * Y rectangular image regions. Here, the number of image regions to be divided into the image regions or the types of image regions to be divided may vary depending on the presetting (S210).

이어서, 제어부(120)는 배경 영상을 분할한 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출한다. 예를 들어, 제어부(120)는 복수의 영상 구역마다 각각 대표 색상을 추출할 수 있다. 이때, 해당 영상 구역을 형성하는 화소들의 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 대표 색상으로서 추출할 수 있다. 또는, 대표 색상을 추출할 때에 해당 영상 구역을 형성하는 화소들의 밝기값 평균치, 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 대표 색상으로서 추출할 수도 있다(S220).Then, the control unit 120 extracts representative colors for at least one of the plurality of image regions obtained by dividing the background image. For example, the control unit 120 may extract a representative color for each of a plurality of image regions. At this time, the color having the average value of the red value, the average value of the green value, and the average value of the blue value of the pixels forming the image region can be extracted as the representative color. Alternatively, when a representative color is extracted, a color having an average of brightness values, an average of red values, an average of green values, and a blue value of pixels forming the image region may be extracted as a representative color (S220).

그리고, 제어부(120)는 적어도 2개 이상의 영상 구역에서 대표 색상이 추출된 경우에, 적어도 2개의 영상 구역 중에서 인접한 영상 구역들 간의 대표 색상을 비교한 결과를 기초로 인접한 영상 구역들을 병합할 수 있다. 예를 들어, 제어부(120)는 복수의 영상 구역 중에서 서로 인접한 위치에 있는 제 1 영상 구역의 대표 색상과 제 2 영상 구역의 대표 색상을 비교하며, 색상이나 색감 또는 밝기의 차이가 기 설정된 임계값 이내일 경우에는 제 1 영상 구역과 제 2 영상 구역을 하나의 영상 구역으로 병합하면서 두 대표 색상의 평균치를 병합된 영상 구역의 새로운 대표 색상으로 추출할 수 있다. 이어서, 병합된 영상 구역과 제 3 영상 구역이 인접한 경우에, 제어부(120)는 앞서 병합된 영상 구역의 새로운 대표 색상과 제 3 영상 구역의 대표 색상을 비교하며, 색상이나 색감 또는 밝기의 차이가 기 설정된 임계값 이내일 경우에는 앞서 병합된 영상 구역과 제 3 영상 구역을 하나의 영상 구역으로 병합할 수 있다. 이때도, 제 1 영상 구역과 제 2 영상 구역을 병합할 때와 마찬가지로 새로 병합된 영상 구역의 새로운 대표 색상을 추출할 수 있다. 예컨대, 제 1 영상 구역의 대표 색상과 제 2 영상 구역의 대표 색상 및 제 3 영상 구역의 대표 색상의 평균치를 새로 병합된 영상 구역의 새로운 대표 색상으로 추출할 수 있다(S230). 다만, 단계 S230을 통한 영상 구역 병합 과정은 생략될 수도 있다.In addition, when the representative color is extracted from at least two image regions, the control unit 120 may merge adjacent image regions based on a result of comparing representative colors among adjacent image regions among at least two image regions . For example, the control unit 120 compares the representative color of the first image region and the representative color of the second image region, which are adjacent to each other in the plurality of image regions, and determines whether the difference in color, The average values of the two representative colors can be extracted as a new representative color of the merged image region by merging the first image region and the second image region into one image region. Then, when the merged image zone and the third image zone are adjacent to each other, the controller 120 compares the representative color of the merged image zone with the representative color of the third image zone, and if there is a difference in color, If it is within a predetermined threshold value, the merged image area and the third image area can be merged into one image area. At this time, a new representative color of the newly merged image region can be extracted as in the case of merging the first image region and the second image region. For example, the representative color of the first video zone, the representative color of the second video zone, and the representative color of the third video zone may be extracted as a new representative color of the newly merged video zone (S230). However, the merging process of the image region through step S230 may be omitted.

다음으로, 제어부(120)는 저장부(130)에 저장된 3차원 모델 데이터를 읽어 들이며, 읽어 들인 3차원 모델 데이터의 좌표 정보를 기초로 복수의 영상 구역 중에서 대응하는 구역을 확인하고, 단계 S210에서 획득된 현실 영상에 확인된 좌표 정보에 따라 3차원 모델 데이터에 대응하는 가상 객체를 배치한다. 이때, 제어부(120)는 해당 영상 구역에서 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링한다(S240).Next, the controller 120 reads the three-dimensional model data stored in the storage unit 130, identifies a corresponding region among a plurality of image regions based on the coordinate information of the read three-dimensional model data, and in Step S210 And arranges the virtual objects corresponding to the three-dimensional model data according to the coordinate information confirmed in the obtained real image. At this time, the controller 120 reflects the representative color extracted in the corresponding image region to render a virtual object in the background image (S240).

여기서, 제어부(120)는 도 3에 예시한 바와 같이 해당 영상 구역에서 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링할 때에 대표 색상이 추출된 영상 구역마다 가상 조명을 생성하여 할당하고(S310), 복수의 영상 구역 중에서 가상 객체의 위치를 포함하는 렌더링 영상 구역을 판별하며(S320), 판별된 렌더링 영상 구역에 할당된 가상 조명이 존재하는 환경에서 배경 영상에 가상 객체를 렌더링할 수 있다(S330). 또는, 제어부(120)는 도 4에 예시한 바와 같이 복수의 영상 구역 중에서 가상 객체의 위치를 포함하는 렌더링 영상 구역을 판별하고(S410), 판별된 렌더링 영상 구역의 대표 색상을 가상 객체의 주변 색상에 반영하여 배경 영상에 가상 객체를 렌더링할 수도 있다(S420).3, when the virtual object is rendered on the background image by reflecting the representative color extracted from the corresponding image region, the controller 120 generates and allocates a virtual illumination for each of the extracted image regions S310), a rendering image region including a position of a virtual object among the plurality of image regions is determined (S320), and a virtual object is rendered in the background image in an environment in which virtual light allocated to the determined rendering image region exists (S330). 4, the control unit 120 determines a rendering image zone including a position of a virtual object among the plurality of image zones (S410), and displays the representative color of the determined rendering image zone on the surrounding color of the virtual object To render the virtual object in the background image (S420).

그리고, 표시부(140)는 제어부(120)에 의해 수행되는 프로세스의 결과에 의한 제어신호에 따라, 배경 영상에 가상 객체가 렌더링된 증강 현실 영상을 표시한다. 이로써, 동일한 가상 객체라고 할지라도 복수의 영상 구역 중에서 어느 구역에 렌더링되는지에 따라 가상 객체의 색상이 달라질 수 있다.The display unit 140 displays the augmented reality image in which the virtual object is rendered in the background image according to the control signal resulting from the process performed by the controller 120. [ Thus, even if the same virtual object is used, the color of the virtual object can be changed according to which region of the plurality of image regions is rendered.

도 5는 본 발명의 다른 실시예에 따른 증강 현실 표시 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method of displaying an augmented reality according to another embodiment of the present invention.

도 5를 참조하면, 다른 실시예에 따른 증강 현실 표시 방법은, 증강 현실 영상을 위한 배경 영상에 대한 데이터를 획득하고, 획득된 배경 영상으로부터 전체 대표 색상을 추출하는 단계(S510)를 포함한다. 예를 들어, 배경 영상을 형성하는 화소들의 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 대표 색상으로서 추출할 수 있다. 또는, 배경 영상을 형성하는 화소들의 밝기값 평균치, 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 전체 대표 색상으로서 추출할 수도 있다.Referring to FIG. 5, a method of displaying an augmented reality according to another embodiment includes a step S510 of acquiring data on a background image for an augmented reality image and extracting an entire representative color from the obtained background image. For example, a color having an average of red values, an average of green values, and an average of blue values of pixels forming a background image can be extracted as a representative color. Alternatively, a color having an average value of brightness values, a red value average value, a green value average value, and a blue value average value of pixels forming a background image may be extracted as an entire representative color.

이어서, 다른 실시예에 따른 증강 현실 표시 방법은, 획득된 배경 영상을 복수의 영상 구역으로 분할하는 단계(S520)를 더 포함한다. 예를 들어, 배경 영상을 바둑판 형태로 갖도록 분할하여 X*Y개의 사각형 영상 구역으로 분할할 수 있다.Next, the augmented reality display method according to another embodiment further includes a step (S520) of dividing the obtained background image into a plurality of image regions. For example, it is possible to divide the background image so as to have a checkerboard shape and divide it into X * Y rectangular image regions.

그리고, 다른 실시예에 따른 증강 현실 표시 방법은, 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 구역별 대표 색상을 추출하는 단계(S530)를 더 포함한다. 예를 들어, 복수의 영상 구역마다 각각 구역별 대표 색상을 추출할 수 있다. 이때, 해당 영상 구역을 형성하는 화소들의 적색 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 구역별 대표 색상으로서 추출할 수 있다. 또는, 대표 색상을 추출할 때에 해당 영상 구역을 형성하는 화소들의 밝기값 평균치, 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 구역별 대표 색상으로서 추출할 수도 있다.According to another embodiment, the method for displaying an augmented reality further includes extracting a representative color for each of at least one image region from among a plurality of image regions (S530). For example, a representative color for each zone can be extracted for each of a plurality of video zones. At this time, the color having the red average value, the green average value, and the blue value average value of the pixels forming the image region can be extracted as a representative representative color. Alternatively, when extracting the representative color, the color having the average value of the brightness value, the average value of the red value, the average value of the green value, and the average value of the blue value of the pixels forming the image region may be extracted as a representative representative color.

아울러, 다른 실시예에 따른 증강 현실 표시 방법은, 추출된 전체 대표 색상 및 구역별 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링하는 단계(S540)를 더 포함한다.In addition, the augmented reality display method according to another embodiment further includes a step (S540) of rendering a virtual object on the background image by reflecting the extracted representative representative color and the representative color of each zone.

이처럼, 도 5에 나타낸 증강 현실 표시 방법을 도 2에 나타낸 증강 현실 표시 방법과 비교하여 보면, 단계 S510에서 전체 대표 색상을 추출하는 과정이 부가되었으며, 단계 S540에서 배경 영상에 가상 객체를 렌더링하는 과정이 변화된 것을 알 수 있다.5 is compared with the augmented reality display method shown in Fig. 2, a process of extracting an entire representative color is added in step S510, and in step S540, a process of rendering a virtual object on a background image Is changed.

단계 S510에서 배경 영상의 전체 대표 색상을 추출하는 과정은 도 6의 (가)에 예시한 바와 같다. 예를 들어, 제어부(120)는 배경 영상(A)을 형성하는 화소들의 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 전체 대표 색상으로서 추출할 수 있다. 이 경우에, 배경 영상(A)은 책상 위의 영역처럼 다른 영역들과 비교할 때에 상대적으로 밝은 색상도 있지만 책상 아래의 영역처럼 다른 영역들과 비교할 때에 상대적으로 어두운 색상도 있기 때문에, 중간 정도의 밝기를 갖는 색상이 전체 대표 색상(601)으로 추출된다.The process of extracting the entire representative color of the background image in step S510 is the same as that illustrated in FIG. 6 (a). For example, the controller 120 may extract a color having a red value average value, a green value average value, and a blue value average value of the pixels forming the background image A as a whole representative color. In this case, the background image (A) has a relatively bright color when compared to other areas, such as an area on a desk, but there is also a relatively dark color when compared to other areas such as an area under the desk, Is extracted as the entire representative color 601. [

단계 S530에서 복수의 영상 구역에 대해 구역별 대표 색상을 추출하는 과정은 도 6의 (나)에 예시한 바와 같다. 제어부(120)는 배경 영상(A)의 일부에 해당하는 영상 구역(B)를 형성하는 화소들의 적색값 평균치, 녹색값 평균치 및 청색값 평균치를 가지는 색상을 구역별 대표 색상으로서 추출할 수 있다. 이 경우에, 영상 구역(B)은 책상 아래의 영역을 많이 포함하고 있어서 다른 영역들과 비교할 때에 상대적으로 어두운 색상이 주류를 이루기 때문에 어두운 밝기를 갖는 색상이 구역별 대표 색상(603)으로 추출된다. 만약, 영상 구역(B)이 배경 영상(A) 내에서 책상 위에 위치하는 경우라면 다른 영역들과 비교할 때에 상대적으로 밝은 색상이 주류를 이루기 때문에 밝은 밝기를 갖는 색상이 구역별 대표 색상(602)으로 추출되었을 것이다.The process of extracting the representative hue for each of the plurality of image regions in step S530 is the same as that shown in FIG. 6 (B). The control unit 120 may extract a color having a mean value of a red value, an average value of a green value, and an average value of a blue value of the pixels forming the image region B corresponding to a part of the background image A as a representative representative color. In this case, since the image region B includes a large number of areas below the desk, a relatively dark color is a mainstream when compared with other regions, and thus a color having a dark brightness is extracted as a representative representative color 603 . If the image region B is located on the desk in the background image A, the relatively bright color is dominant when compared with the other regions, so that the color having the bright brightness is divided into the representative representative color 602 It would have been extracted.

단계 S540에서 배경 영상에 가상 객체를 렌더링할 때에는 배경 영상(A)에서 추출된 전체 대표 색상(601)과 영상 구역(B)에서 추출된 구역별 대표 색상(603)을 모두 반영하여 가상 객체를 렌더링한다.In step S540, when a virtual object is rendered on the background image, the virtual object is rendered by reflecting both the entire representative color extracted from the background image (A) and the representative color (603) extracted from the image region (B) do.

한편, 도 5의 흐름도에는 나타내지 않았으나, 단계 S520과 단계 S530의 사이에서 적어도 2개 이상의 영상 구역에서 대표 색상이 추출된 경우에, 적어도 2개의 영상 구역 중에서 인접한 영상 구역들 간의 대표 색상을 비교한 결과를 기초로 인접한 영상 구역들을 병합하는 단계를 더 포함할 수 있다. 이 경우에, 도 6의 (나)에 나타낸 영상 구역(B)의 면적이 영상 구역들의 병합 회수에 따라 변화되기 때문에, 배경 영상에 가상 객체를 렌더링하는 과정에서, 배경 영상의 면적과 렌더링 영상 구역의 면적의 비율에 따라 전체 대표 색상과 렌더링 영상 구역의 구역별 대표 색상을 보간(Interpolation)하여 가상 객체의 색상이 결정된다. 이 경우에, 배경 영상에 가상 객체를 렌더링할 때에 해당 구역의 가상 조명으로 생성되거나 가상 객체의 주변 색상에 반영되는 보간 색상은 아래의 수학식 1과 같이 결정될 수 있다.Meanwhile, although not shown in the flowchart of FIG. 5, when representative colors are extracted in at least two or more image regions between steps S520 and S530, a representative color of adjacent image regions among at least two image regions is compared And merging adjacent video regions based on the merged video region. In this case, since the area of the image area B shown in FIG. 6 (B) changes according to the number of merging of the image areas, in the process of rendering the virtual object on the background image, The color of the virtual object is determined by interpolating the representative colors of the entire representative color and the zone of the rendering image zone according to the ratio of the area of the virtual image. In this case, when the virtual object is rendered in the background image, the interpolation color generated by the virtual illumination of the corresponding region or reflected in the surrounding color of the virtual object can be determined as shown in Equation 1 below.

Figure pat00001
Figure pat00001

지금까지 설명한 바와 같이, 본 발명의 실시예에 의하면, 배경 영상을 복수의 영상 구역으로 분할한 후에 분할된 영상 구역에서 추출된 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링한다.As described above, according to the embodiment of the present invention, a background image is divided into a plurality of image regions, and a virtual object is rendered on the background image by reflecting representative colors extracted from the divided image regions.

따라서, 배경 영상의 전체 영역이 단일의 색상으로 구현되지 않고 배경 영상 내의 구역별로 다양한 색상으로 구현되는 경우라도 구역별로 서로 다를 수 있는 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링 함으로써, 증강 현실 영상에 대한 현실감이 증대된다.Accordingly, even if the entire area of the background image is not realized as a single color but is implemented in various colors in each area in the background image, the virtual object may be rendered in the background image by reflecting the representative color, The reality is increased.

본 발명에 첨부된 블록도의 각 블록과 흐름도의 각 단계의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수도 있다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 블록도의 각 블록 또는 흐름도의 각 단계에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 블록도의 각 블록 또는 흐름도 각 단계에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 블록도의 각 블록 및 흐름도의 각 단계에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다.Combinations of each step of the flowchart and each block of the block diagrams appended to the present invention may be performed by computer program instructions. These computer program instructions may be loaded into a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus so that the instructions, which may be executed by a processor of a computer or other programmable data processing apparatus, And means for performing the functions described in each step are created. These computer program instructions may also be stored in a computer usable or computer readable memory capable of directing a computer or other programmable data processing apparatus to implement the functionality in a particular manner so that the computer usable or computer readable memory It is also possible for the instructions stored in the block diagram to produce a manufacturing item containing instruction means for performing the functions described in each block or flowchart of the block diagram. Computer program instructions may also be stored on a computer or other programmable data processing equipment so that a series of operating steps may be performed on a computer or other programmable data processing equipment to create a computer- It is also possible that the instructions that perform the processing equipment provide the steps for executing the functions described in each block of the block diagram and at each step of the flowchart.

또한, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들 또는 단계들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.Also, each block or each step may represent a module, segment, or portion of code that includes one or more executable instructions for executing the specified logical function (s). It should also be noted that in some alternative embodiments, the functions mentioned in the blocks or steps may occur out of order. For example, two blocks or steps shown in succession may in fact be performed substantially concurrently, or the blocks or steps may sometimes be performed in reverse order according to the corresponding function.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

본 발명의 실시예에 따르면, 배경 영상의 전체 영역이 단일의 색상으로 구현되지 않고 배경 영상 내의 구역별로 다양한 색상으로 구현되는 경우라도 구역별로 서로 다를 수 있는 대표 색상을 반영하여 배경 영상에 가상 객체를 렌더링 함으로써, 증강 현실 영상에 대한 현실감이 증대된다.According to the embodiment of the present invention, even if the entire area of the background image is not realized as a single color but is implemented in various colors in each area in the background image, By rendering, the reality of the augmented reality image is enhanced.

이러한 본 발명은 현실의 배경 영상 내에 가상 객체를 함께 표현하여 특수 효과를 제공하는 증강 현실용 디바이스를 채용하는 각종의 증강 현실 산업 분야에 널리 이용할 수 있다.The present invention can be widely used in various augmented reality industrial fields employing a device for augmented reality in which a virtual object is represented together with a background image in a real world to provide a special effect.

100 : 증강 현실 표시 장치
110 : 정보 획득부
120 : 제어부
130 : 저장부
140 : 표시부
100: Augmented reality display
110: Information obtaining unit
120:
130:
140:

Claims (9)

증강 현실 표시 장치가 수행하는 증강 현실 표시 방법으로서,
배경 영상을 복수의 영상 구역으로 분할하는 단계와,
상기 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출하는 단계와,
상기 대표 색상을 반영하여 상기 배경 영상에 가상 객체를 렌더링하는 단계를 포함하는
증강 현실 표시 방법.
An augmented reality display method performed by an augmented reality display device,
Dividing the background image into a plurality of image regions,
Extracting representative colors for at least one of the plurality of image regions,
And rendering the virtual object in the background image by reflecting the representative color
Augmented reality display method.
제 1 항에 있어서,
상기 대표 색상을 추출하는 단계는, 해당 영상 구역을 형성하는 화소들의 적색(R)값 평균치, 녹색(G)값 평균치 및 청색(B)값 평균치를 가지는 색상을 상기 대표 색상으로서 추출하는
증강 현실 표시 방법.
The method according to claim 1,
The extracting of the representative color may include extracting a color having a red (R) value average value, a green (G) value average, and a blue (B) value average value of the pixels forming the image region as the representative color
Augmented reality display method.
제 1 항에 있어서,
상기 대표 색상이 추출되는 영상 구역은 적어도 2개이며,
상기 적어도 2개의 영상 구역 중에서 인접한 영상 구역들 간의 대표 색상을 비교한 결과를 기초로 상기 인접한 영상 구역들을 병합하는 단계를 더 포함하는
증강 현실 표시 방법.
The method according to claim 1,
At least two image regions from which the representative color is extracted,
Further comprising merging the adjacent image regions based on a result of comparing representative colors among adjacent image regions of the at least two image regions,
Augmented reality display method.
제 1 항에 있어서,
상기 배경 영상에 가상 객체를 렌더링하는 단계는,
상기 대표 색상을 반영하여 상기 대표 색상이 추출된 영상 구역마다 가상 조명을 생성하여 할당하는 단계와,
상기 복수의 영상 구역 중에서 상기 가상 객체의 위치를 포함하는 렌더링 영상 구역을 판별하는 단계와,
상기 렌더링 영상 구역에 할당된 가상 조명이 있는 경우, 상기 할당된 가상 조명이 존재하는 환경에서 상기 배경 영상에 가상 객체를 렌더링하는 단계를 포함하는
증강 현실 표시 방법.
The method according to claim 1,
The rendering of the virtual object in the background image may include:
Generating and assigning a virtual illumination for each of the image regions from which the representative color is extracted by reflecting the representative color;
Determining a rendering image region including a position of the virtual object among the plurality of image regions;
Rendering a virtual object in the background image in an environment in which the virtual light is allocated if the virtual light is allocated to the rendering image area;
Augmented reality display method.
제 1 항에 있어서,
상기 배경 영상에 가상 객체를 렌더링하는 단계는,
상기 복수의 영상 구역 중에서 상기 가상 객체의 위치를 포함하는 렌더링 영상 구역을 판별하는 단계와,
상기 렌더링 영상 구역의 대표 색상을 상기 가상 객체의 주변 색상에 반영하여 상기 배경 영상에 가상 객체를 렌더링하는 단계를 포함하는
증강 현실 표시 방법.
The method according to claim 1,
The rendering of the virtual object in the background image may include:
Determining a rendering image region including a position of the virtual object among the plurality of image regions;
And rendering a virtual object in the background image by reflecting a representative color of the rendered image region on a surrounding color of the virtual object
Augmented reality display method.
제 5 항에 있어서,
상기 배경 영상으로부터 전체 대표 색상을 추출하는 단계를 더 포함하며,
상기 배경 영상에 가상 객체를 렌더링하는 단계는, 상기 전체 대표 색상 및 상기 렌더링 영상 구역의 대표 색상을 상기 가상 객체의 주변 색상에 반영하여 상기 배경 영상에 가상 객체를 렌더링하는
증강 현실 표시 방법.
6. The method of claim 5,
Further comprising extracting an entire representative color from the background image,
The rendering of the virtual object in the background image may include rendering the virtual object in the background image by reflecting the overall representative color and the representative color of the rendering image zone on the surrounding color of the virtual object
Augmented reality display method.
제 6 항에 있어서,
상기 배경 영상에 가상 객체를 렌더링하는 단계는, 상기 배경 영상의 면적과 상기 렌더링 영상 구역의 면적의 비율에 따라 상기 전체 대표 색상과 상기 렌더링 영상 구역의 대표 색상을 보간(Interpolation)하는
증강 현실 표시 방법.
The method according to claim 6,
The rendering of the virtual object in the background image may include interpolating the representative color of the entire representative color and the representative color of the rendering image zone according to the ratio of the area of the background image to the area of the rendering image zone
Augmented reality display method.
제 1 항 내지 제 7 항 중에서 어느 한 항에 기재된 증강 현실 표시 방법을 프로세서가 수행하도록 하기 위하여
컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램.
A processor for performing the augmented reality display method according to any one of claims 1 to 7
A computer program stored on a computer readable recording medium.
증강 현실 영상을 표시하는 증강 현실 표시 장치로서,
표시부와,
상기 표시부를 통해 보여지는 배경 영상에 대한 데이터를 획득하는 정보 획득부와,
제어부를 포함하되,
상기 제어부는,
배경 영상을 복수의 영상 구역으로 분할하고, 상기 복수의 영상 구역 중에서 하나 이상의 영상 구역에 대해 각각 대표 색상을 추출하며, 상기 대표 색상을 반영하여 상기 배경 영상에 가상 객체를 렌더링하고, 상기 배경 영상 및 상기 가상 객체를 포함하는 상기 증강 현실 영상을 생성하며, 상기 생성된 증강 현실 영상을 출력하도록 상기 표시부를 제어하는
증강 현실 표시 장치.
1. An augmented reality display device for displaying an augmented reality image,
A display section,
An information obtaining unit for obtaining data on a background image viewed through the display unit;
And a control unit,
Wherein,
A computer-implemented method of dividing a background image into a plurality of image regions, extracting a representative color for each of at least one of the plurality of image regions, rendering a virtual object on the background image by reflecting the representative color, Generates the augmented reality image including the virtual object, and controls the display unit to output the generated augmented reality image
Augmented reality display.
KR1020170136112A 2017-10-19 2017-10-19 Method and apparatus for displaying augmented reality KR102005526B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170136112A KR102005526B1 (en) 2017-10-19 2017-10-19 Method and apparatus for displaying augmented reality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170136112A KR102005526B1 (en) 2017-10-19 2017-10-19 Method and apparatus for displaying augmented reality

Publications (2)

Publication Number Publication Date
KR20190043956A true KR20190043956A (en) 2019-04-29
KR102005526B1 KR102005526B1 (en) 2019-07-30

Family

ID=66282442

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170136112A KR102005526B1 (en) 2017-10-19 2017-10-19 Method and apparatus for displaying augmented reality

Country Status (1)

Country Link
KR (1) KR102005526B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110107545A (en) 2010-03-25 2011-10-04 에스케이텔레콤 주식회사 Augmented reality system and method using recognition light source, augmented reality processing apparatus for realizing the same
KR20110136028A (en) * 2010-06-14 2011-12-21 주식회사 비즈모델라인 Augmented reality device to recognize the object using virtual point
KR20150072954A (en) * 2013-12-20 2015-06-30 배재대학교 산학협력단 Method and Apparatus for Providing Augmented Reality Service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110107545A (en) 2010-03-25 2011-10-04 에스케이텔레콤 주식회사 Augmented reality system and method using recognition light source, augmented reality processing apparatus for realizing the same
KR20110136028A (en) * 2010-06-14 2011-12-21 주식회사 비즈모델라인 Augmented reality device to recognize the object using virtual point
KR20150072954A (en) * 2013-12-20 2015-06-30 배재대학교 산학협력단 Method and Apparatus for Providing Augmented Reality Service

Also Published As

Publication number Publication date
KR102005526B1 (en) 2019-07-30

Similar Documents

Publication Publication Date Title
US6931151B2 (en) Method and apparatus for modifying graphics content prior to display for color blind use
CN109166159B (en) Method and device for acquiring dominant tone of image and terminal
CN107833262A (en) Graphic system and graphics processor
US9865230B2 (en) Animated visualization of alpha channel transparency
JP6445825B2 (en) Video processing apparatus and method
US10217259B2 (en) Method of and apparatus for graphics processing
US20160180514A1 (en) Image processing method and electronic device thereof
WO2012094076A1 (en) Morphological anti-aliasing (mlaa) of a re-projection of a two-dimensional image
US8698830B2 (en) Image processing apparatus and method for texture-mapping an image onto a computer graphics image
CN111295693B (en) Image processing method and device
JP2018180654A (en) Information processing device, image generation method, and program
CN116194958A (en) Selective coloring of thermal imaging
WO2020103036A1 (en) A method of real-time image processing based on rendering engine and a display apparatus
US20190066366A1 (en) Methods and Apparatus for Decorating User Interface Elements with Environmental Lighting
KR101919077B1 (en) Method and apparatus for displaying augmented reality
KR102005526B1 (en) Method and apparatus for displaying augmented reality
KR101991401B1 (en) Method and apparatus for displaying augmented reality
CN112567430A (en) Image generation device, image generation method, and program
US20160019710A1 (en) Image processing apparatus and method
CN113093903A (en) Image display method and display equipment
US10217245B2 (en) Method and system for chroma keying
US20180150990A1 (en) Animation display apparatus and animation display method
US20170263037A1 (en) Image processing device, image processing system, image processing method, and non-transitory computer readable medium
WO2017221509A1 (en) Image processing device, display device, image processing device control method, and control program
CN113554659B (en) Image processing method, device, electronic equipment, storage medium and display system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant