KR20150115189A - Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code - Google Patents

Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code Download PDF

Info

Publication number
KR20150115189A
KR20150115189A KR1020140039826A KR20140039826A KR20150115189A KR 20150115189 A KR20150115189 A KR 20150115189A KR 1020140039826 A KR1020140039826 A KR 1020140039826A KR 20140039826 A KR20140039826 A KR 20140039826A KR 20150115189 A KR20150115189 A KR 20150115189A
Authority
KR
South Korea
Prior art keywords
code
image
display device
color
brightness value
Prior art date
Application number
KR1020140039826A
Other languages
Korean (ko)
Other versions
KR101578287B1 (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 KR1020140039826A priority Critical patent/KR101578287B1/en
Priority to US14/533,322 priority patent/US10235596B2/en
Publication of KR20150115189A publication Critical patent/KR20150115189A/en
Application granted granted Critical
Publication of KR101578287B1 publication Critical patent/KR101578287B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to a data transmitting system (100) using an image code, which generates an image code including a series of brightness values for at least one color, wherein the system (100) comprises: a code generator (110), in which a series of brightness values correspond to binary codes representing source data; a display device (120) outputting at least one color having a series of brightness values in a code area on a display panel in an order of a series of brightness values; and a code decoder (130) obtaining an image code to be outputted on the display device (120) from a camera to decode the image code.

Description

영상 코드를 이용하여 데이터를 전달하는 시스템, 영상 코드를 디스플레이 장치에 출력하는 방법 및 영상 코드를 복호하는 방법{DATA TRANSFERRING SYSTEM USING IMAGE CODE, DISPLAYING METHOD FOR IMAGE CODE IN DISPLAY APPARATUS AND DECODING METHOD FOR IMAGE CODE}TECHNICAL FIELD [0001] The present invention relates to a system for transmitting data using an image code, a method for outputting an image code to a display device, and a method for decoding an image code.

이하 설명하는 기술은 특정 데이터를 영상 코드를 통해 디스플레이 장치에서 카메라를 포함하는 복호 장치로 전달하는 시스템에 관한 것이다.The technique described below relates to a system for transferring specific data via a video code from a display device to a decoding device including a camera.

디지털 데이터의 전달은 RF(Radio Frequency)를 이용한 무선 통신 방식이 각광받고 있다. 나아가 RF 통신 방식을 대체하기 위한 다양한 연구도 진행되고 있다. 대표적으로 LED 발광기기와 수신기를 이용한 가시광 통신 방식 등이 있다.The wireless communication method using RF (Radio Frequency) is getting popular for the transmission of digital data. Furthermore, various studies are being conducted to replace RF communication methods. Typically, there is a visible light communication method using a LED light emitting device and a receiver.

한국공개특허 제2004-0041778호 (2004.05.20)Korean Patent Publication No. 2004-0041778 (May 20, 2004) 한국공개특허 제2009-0050731호 (2009.05.20)Korean Patent Publication No. 2009-0050731 (2009.05.20)

종래 RF 통신을 대체하기 위한 가시광 통신 방식은 백색광의 점멸을 통해 한번에 1비트밖에 표현할 수 없고, 별도의 발광기 수신기 장치가 필요하다는 단점이 있다. 나아가 최근 디스플레이 장치에 표현되는 색상 자체를 특정 데이터로 인식하는 시도가 있었으나, 이는 하나의 색상을 특정 데이터로 매칭하는 것이므로 한정된 색상을 이용하여 매우 많은 데이터를 표현하기 어렵다는 문제점이 있다.Conventionally, a visible light communication method for replacing RF communication has a disadvantage in that a separate light emitter receiver device is necessary because only one bit can be expressed at a time through the blinking of white light. In addition, there has been an attempt to perceive the color itself represented by the display device as specific data. However, this method has a problem in that it is difficult to express a very large amount of data by using a limited color because one color is matched with specific data.

이하 설명하는 기술은 디스플레이 장치에서 출력되는 적어도 하나의 색상에 대해 서로 다른 명도값을 서로 다른 이진 코드로 정의하고, 디스플레이 장치가 출력하는 일련의 명도값을 기준으로 특정 데이터를 전달하는 기법을 제공하고자 한다.The technique described below defines a different brightness value for at least one color outputted from the display device with different binary codes and provides a technique for transmitting specific data based on a series of brightness values output from the display device do.

이하 설명하는 기술은 디스플레이 장치에서 출력가능한 적어도 하나의 색상에 대하여 일련의 명도값을 출력하고, 별도의 복호 장치에서 카메라를 통해 획득한 디스플레이 장치의 영상에서 일련의 명도값을 이진 코드 또는 이진 코드가 의미하는 소스 데이터로 복호하고자 한다.The technique described below outputs a series of brightness values for at least one color that can be output from the display device and outputs a series of brightness values from a video image of the display device acquired through a camera in a separate decoding device to a binary code or a binary code You want to decode it with meaningful source data.

이하 설명하는 기술의 해결과제는 이상에서 언급된 것들에 한정되지 않으며, 언급되지 아니한 다른 해결과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The solutions to the technical problems described below are not limited to those mentioned above, and other solutions not mentioned can be clearly understood by those skilled in the art from the following description.

영상 코드를 이용하여 데이터를 전달하는 시스템은 적어도 하나의 색상에 대한 일련의 명도값을 포함하는 영상 코드를 생성하되, 일련의 명도값은 소스 데이터를 표현하는 이진 코드에 대응하는 코드 생성 장치, 일련의 명도값을 갖는 적어도 하나의 색상을 일련의 명도값 순서로 디스플레이 패널 상의 코드 구역에 출력하는 디스플레이 장치 및 디스플레이 장치에 출력되는 영상 코드를 카메라를 통해 획득하고, 영상 코드를 복호하는 코드 복호 장치를 포함한다.A system for delivering data using an image code generates an image code comprising a series of brightness values for at least one color, the series of brightness values comprising a code generation device corresponding to a binary code representing source data, A display device for outputting at least one color having a luminosity value of the luminosity value in a sequence of luminosity values in a code zone on a display panel and a code decoding device for obtaining an image code outputted to the display device through a camera, .

명도값은 이진수, 이진 코드 또는 이진 코드의 일부 중 적어도 하나에 대응한다. 영상 코드는 하나의 색상에 대한 복수의 명도값의 조합 또는 복수의 색상에 각각에 대한 복수의 명도값의 조합으로 소스 데이터를 표현할 수도 있다.The brightness value corresponds to at least one of a binary number, a binary code, or a part of a binary code. The image code may represent the source data with a combination of a plurality of brightness values for one color or a combination of a plurality of brightness values for each of a plurality of colors.

코드 구역은 디스플레이 패널 상의 전체 표시 구역을 기준 개수에 따라 분할한 복수의 제1 구역 또는 전체 표시 구역에서 중복되지 않는 복수의 제2 구역 중 적어도 하나이고, 제1 구역 또는 제2 구역의 크기는 디스플레이 장치와 카메라의 거리에 따라 디스플레이 장치가 결정될 수 있다.The code zone is at least one of a plurality of first zones divided by a reference number or a plurality of second zones not overlapping in the entire display zone, the size of the first zone or the second zone being at least one of a display The display device can be determined according to the distance between the device and the camera.

디스플레이 장치 또는 코드 복호 장치 중 적어도 하나는 조도 센서를 이용하여 조도를 측정하고, 측정된 조도에 따라 디스플레이 장치가 디스플레이 장치에서 출력되는 영상의 명도를 조절하거나, 디스플레이 장치가 디스플레이 장치에서 출력되는 영상의 색상을 조절하거나, 또는 코드 복호 장치가 카메라의 렌즈의 노출 정도를 조절할 수 있다.At least one of the display device and the code decoding device measures the illuminance using the illuminance sensor and adjusts the brightness of the image outputted from the display device according to the measured illuminance or the brightness of the image outputted from the display device Or the code decoding apparatus can adjust the degree of exposure of the lens of the camera.

영상 코드를 디스플레이 장치에 출력하는 방법은 컴퓨터 장치가 입력 인터페이스 장치를 통해 소스 데이터를 입력받는 단계, 컴퓨터 장치가 디스플레이 장치에 출력가능한 색상 중 적어도 하나를 선택하는 단계, 컴퓨터 장치가 소스 데이터를 표현하는 이진 코드 또는 이진 코드의 일부에 대응하는 선택한 색상에 대한 일련의 명도값을 결정하는 단계 및 컴퓨터 장치가 일련의 명도값을 갖는 선택한 색상을 일련의 명도값 순서로 디스플레이 장치의 디스플레이 패널 상의 코드 구역에 출력하는 단계를 포함한다.A method of outputting an image code to a display device includes the steps of the computer device receiving input of the source data through the input interface device, the computer device selecting at least one of the colors outputable to the display device, Determining a series of brightness values for a selected color corresponding to a portion of the binary code or binary code and determining the selected color having a series of brightness values in a sequence of brightness value values in a code region on the display panel of the display device And outputting.

영상 코드를 복호하는 방법은 디스플레이 장치가 소스 데이터를 표현하는 이진 코드 또는 이진 코드의 일부에 대응되는 일련의 명도값을 갖는 색상을 디스플레이 패널 상의 복수의 코드 구역에 출력하는 단계, 컴퓨터 장치가 카메라를 통해 디스플레이 패널의 출력 영상을 획득하는 단계, 컴퓨터 장치가 카메라가 획득한 영상에서 복수의 코드 구역 순서에 따라 코드 구역에서 출력되는 색상의 명도값을 결정하는 단계, 컴퓨터 장치가 복수의 코드 구역에 출력되는 색상의 명도값에 대응되는 이진 코드 또는 이진 코드의 일부를 결정하는 단계 및 컴퓨터 장치가 복수의 이진 코드 또는 이진 코드의 일부를 결합하여 소스 데이터를 복호하는 단계를 포함한다.A method for decoding a video code includes the steps of outputting a color having a series of brightness values corresponding to a portion of a binary code or binary code representing the source data to a plurality of code regions on the display panel, Determining a brightness value of a color output in a code zone according to a plurality of code zone orders in an image acquired by the camera, the computer apparatus comprising: Determining a part of the binary code or the binary code corresponding to the brightness value of the color to be obtained; and decrypting the source data by combining a part of the plurality of binary codes or binary codes.

이하 설명하는 기술은 휴대용 단말과 같은 단순한 장치를 이용하여 RF 통신을 사용할 수 없는 환경에서 데이터 전송이 가능한 시스템 내지 방법을 제공한다.The technique described below provides a system or method capable of data transmission in an environment where RF communication can not be used by using a simple device such as a portable terminal.

이하 설명하는 기술은 디스플레이 장치와 복호 장치의 카메라의 거리에 따라 일련의 명도값을 갖는 색상이 디스플레이 장치에서 출력되는 구역의 크기를 조절하여 보다 효율적이고 정확한 데이터 전달이 가능하다.The technique described below enables a more efficient and accurate data transmission by adjusting the size of a region where a color having a series of brightness values is outputted from the display device according to the distance between the display device and the camera of the decoding device.

이하 설명하는 기술은 주변 조도에 따라 디스플레이 장치에서 출력되는 영상의 밝기 또는 카메라의 렌즈의 노출 정도를 조절하여 정확한 데이터 전달이 가능하다.The technique described below allows precise data transmission by adjusting the brightness of the image output from the display device or the degree of exposure of the camera lens according to the ambient illuminance.

이하 설명하는 기술은 데이터를 복호하는 장치에서 주변 환경이나 장치 특성에 따라 디스플레이 장치에 출력되는 영상을 다양한 컬러 모델 중 가장 적절한 모델로 복호하여 보다 정확한 데이터 전달이 가능하다.The technique described below can decode an image output to a display device according to the surrounding environment or device characteristics in a device for decoding data into the most appropriate model among various color models to enable more accurate data transmission.

이하 설명하는 기술의 효과는 이상에서 언급된 것들에 한정되지 않으며, 언급되지 아니한 다른 효과들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The effects of the techniques described below are not limited to those mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the following description.

도 1은 영상 코드를 이용하여 데이터를 전달하는 시스템에서 영상 코드가 전달되는 개략적인 예를 도시한다.
도 2는 영상 코드를 이용하여 데이터를 전달하는 시스템에서 영상 코드를 이용하여 데이터를 전달하는 예이다.
도 3은 영상 코드를 이용하여 데이터를 전달하는 시스템의 구성을 도시한 블록도의 예이다.
도 4는 영상 코드를 이용하여 데이터를 전달하는 시스템의 구성을 도시한 블록도의 다른 예이다.
도 5는 디스플레이 장치에서 출력되는 영상 코드 및 코드 구역에 대한 예로서, 도 5(a)는 디스플레이 패널 상의 전체 표시 구역이 사각형으로 분할된 형태의 코드 구역에 대한 예이고, 도 5(b)는 육각형 형태를 갖는 코드 구역에 대한 예이고, 도 5(c)는 원 형태를 갖는 코드 구역에 대한 예이다.
도 6은 디스플레이 장치와 카메라의 거리에 따라 코드 구역이 크기가 변경되는 예를 도시한다.
도 7은 영상 코드를 복호하는 과정에서 사용하는 복호 명도값 구간에 대한 예이다.
도 8은 파란색(B) 색상인 영상 코드를 수신하는 복호 장치에서 거리에 따라 RGB 값을 분석한 결과의 예이다.
도 9는 파란색(B) 색상인 영상 코드를 수신하는 복호 장치에서 카메라의 종류에 따라 RGB 값을 분석한 결과의 예이다.
도 10은 영상 코드를 디스플레이 장치에 출력하는 방법에 대한 순서도의 예이다.
도 11는 영상 코드를 복호하는 방법에 대한 순서도의 예이다.
1 shows a schematic example in which an image code is transferred in a system for transferring data using an image code.
2 is an example of transmitting data using an image code in a system for transmitting data using an image code.
3 is an example of a block diagram showing a configuration of a system for transferring data using an image code.
4 is another example of a block diagram showing the configuration of a system for transferring data using an image code.
5 (a) is an example of a code zone in which the entire display area on the display panel is divided into quadrangles, and Fig. 5 (b) FIG. 5C shows an example of a code zone having a hexagonal shape, and FIG. 5C shows an example of a code zone having a circular shape.
6 shows an example in which the code area is changed in size according to the distance between the display device and the camera.
FIG. 7 shows an example of a decoded brightness value interval used in the process of decoding an image code.
8 is an example of a result of analyzing RGB values according to distances in a decoding apparatus receiving an image code having a blue (B) color.
FIG. 9 is an example of a result of analyzing RGB values according to the type of a camera in a decoding apparatus receiving an image code having a blue (B) color.
10 is an example of a flowchart of a method of outputting an image code to a display device.
11 is an example of a flowchart for a method of decoding an image code.

이하 설명하는 기술은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 이하 설명하는 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 이하 설명하는 기술의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.The following description is intended to illustrate and describe specific embodiments in the drawings, since various changes may be made and the embodiments may have various embodiments. However, it should be understood that the following description does not limit the specific embodiments, but includes all changes, equivalents, and alternatives falling within the spirit and scope of the following description.

제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 해당 구성요소들은 상기 용어들에 의해 한정되지는 않으며, 단지 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 이하 설명하는 기술의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.The terms first, second, A, B, etc., may be used to describe various components, but the components are not limited by the terms, but may be used to distinguish one component from another . For example, without departing from the scope of the following description, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

본 명세서에서 사용되는 용어에서 단수의 표현은 문맥상 명백하게 다르게 해석되지 않는 한 복수의 표현을 포함하는 것으로 이해되어야 하고, "포함한다" 등의 용어는 설시된 특징, 개수, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 의미하는 것이지, 하나 또는 그 이상의 다른 특징들이나 개수, 단계 동작 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 배제하지 않는 것으로 이해되어야 한다.As used herein, the singular " include "should be understood to include a plurality of representations unless the context clearly dictates otherwise, and the terms" comprises & , Parts or combinations thereof, and does not preclude the presence or addition of one or more other features, integers, steps, components, components, or combinations thereof.

도면에 대한 상세한 설명을 하기에 앞서, 본 명세서에서의 구성부들에 대한 구분은 각 구성부가 담당하는 주기능 별로 구분한 것에 불과함을 명확히 하고자 한다. 즉, 이하에서 설명할 2개 이상의 구성부가 하나의 구성부로 합쳐지거나 또는 하나의 구성부가 보다 세분화된 기능별로 2개 이상으로 분화되어 구비될 수도 있다. 그리고 이하에서 설명할 구성부 각각은 자신이 담당하는 주기능 이외에도 다른 구성부가 담당하는 기능 중 일부 또는 전부의 기능을 추가적으로 수행할 수도 있으며, 구성부 각각이 담당하는 주기능 중 일부 기능이 다른 구성부에 의해 전담되어 수행될 수도 있음은 물론이다. 따라서, 본 명세서를 통해 설명되는 각 구성부들의 존재 여부는 기능적으로 해석되어야 할 것이며, 이러한 이유로 이하 설명하는 기술의 영상 코드를 이용하여 데이터를 전달하는 시스템(100)에 따른 구성부들의 구성은 이하 설명하는 기술의 목적을 달성할 수 있는 한도 내에서 대응하는 도면과는 상이해질 수 있음을 명확히 밝혀둔다.Before describing the drawings in detail, it is to be clarified that the division of constituent parts in this specification is merely a division by main functions of each constituent part. That is, two or more constituent parts to be described below may be combined into one constituent part, or one constituent part may be divided into two or more functions according to functions that are more subdivided. In addition, each of the constituent units described below may additionally perform some or all of the functions of other constituent units in addition to the main functions of the constituent units themselves, and that some of the main functions, And may be carried out in a dedicated manner. Accordingly, the presence or absence of each component described in the present specification should be interpreted as a function. For this reason, the configuration of the components according to the system 100 for transmitting data using the image code of the below- It should be clear that it can be different from the corresponding drawings to the extent that the object of the described technique can be achieved.

또, 방법 또는 동작 방법을 수행함에 있어서, 상기 방법을 이루는 각 과정들은 문맥상 명백하게 특정 순서를 기재하지 않은 이상 명기된 순서와 다르게 일어날 수 있다. 즉, 각 과정들은 명기된 순서와 동일하게 일어날 수도 있고 실질적으로 동시에 수행될 수도 있으며 반대의 순서대로 수행될 수도 있다.
Also, in performing a method or an operation method, each of the processes constituting the method may take place differently from the stated order unless clearly specified in the context. That is, each process may occur in the same order as described, may be performed substantially concurrently, or may be performed in the opposite order.

컴퓨터 장치에서 데이터는 특정한 코드로 표현된다. 예컨대, 텍스트 데이터는 유니 코드(Unicode), 아스키 코드(ASCII code) 등과 같은 코드로 표현된다. 컴퓨터 장치는 아스키 코드 등을 이진수의 배열로 식별한다.In a computer device, data is represented by a specific code. For example, the text data is represented by a code such as Unicode, ASCII code, or the like. The computer device identifies an ASCII code or the like as an array of binary numbers.

이하 설명하는 기술은 디스플레이 장치에서 출력되는 특정 색상에 대한 명도값을 컴퓨터 장치에서 전기적 신호로 표현되는 이진수 또는 이진수로 표현되는 코드로 이용한다. 즉 이하 설명하는 기술은 명도값을 이용하여 특정한 데이터를 부호화하고 복호화할 수 있다. 이진수로 표현되는 코드를 이하 이진 코드라고 명명한다.The technique described below uses the brightness value of a specific color output from a display device as a binary code represented by an electrical signal in a computer device or a code represented by a binary code. That is, the technique described below can encode and decode specific data using brightness values. The code represented by a binary number is called a binary code below.

이하 설명하는 기술은 디스플레이 장치에서 부호화되어 출력되는 특정 색상의 명도값을 카메라 장치를 포함하는 별도의 수신 장치에서 복호하여 특정한 데이터를 전달하는 기술이다.The technique described below is a technique of decrypting a brightness value of a specific color encoded and outputted by a display device by a separate receiving device including a camera device and delivering specific data.

8비트 아스키 코드에서 영문자 's'는 '01110011'로 표현된다. 특정한 색상의 명도값이 이진수 '01110011'에 대응된다고 사전에 정의하면 특정한 하나의 명도값으로 영문자 's'를 표현할 수 있다. 이 경우에 명도값의 종류는 아스키 코드로 표현 가능한 캐릭터의 개수만큼 필요하다.In the 8-bit ASCII code, the alphabetic character 's' is represented by '01110011'. If the brightness value of a specific color is defined to correspond to the binary number '01110011', the alphabetical character 's' can be expressed by a specific brightness value. In this case, the kind of brightness value is required as many as the number of characters that can be expressed in ASCII code.

나아가 특정 명도값이 몇 자리의 이진수에 대응된다고 사전에 정의해도 특정한 코드를 표현할 수 있다. 예컨대, 영문자 's'는 두 자리 이진수인 '01', '11', '00' 및 '11'로 표현가능하다. 특정 색상에 대한 명도값이 상기 두 자리의 이진수를 표현한다면 단지 4개의 서로 다른 명도값으로 텍스트 데이터 표현이 가능한 것이다. Furthermore, it is possible to express a specific code even if it is defined in advance that a specific brightness value corresponds to a binary digit of several digits. For example, the alphabetic character 's' can be represented by two binary digits '01', '11', '00', and '11'. If the brightness value for a particular color represents the binary digit of the two digits, then text data representation is possible with only four different brightness values.

이하 설명하는 기술은 2진수, 8진수, 10진수 또는 16진수 등과 같은 코드로 표현되는 다양한 데이터의 전달에 적용할 수 있음은 자명하다.
It is obvious that the techniques described below can be applied to the transmission of various data represented by codes such as binary, octal, decimal or hexadecimal.

이하 기술에 대한 설명에서 사용하는 용어에 대해 먼저 정의하고자 한다. The terms used in the description of the following description will first be defined.

이하 설명하는 기술에서 디스플레이 장치는 전달하고자 하는 데이터를 부호화하여 특정한 명도값을 갖는 색상을 출력하고, 카메라를 포함하는 복호 장치는 디스플레이 장치에서 출력되는 영상을 복호한다. 부호화 대상이 되는 데이터를 소스 데이터라고 명명한다. 소스 데이터는 디지털 데이터로 표현되는 모든 형태의 데이터를 포함하는 의미이다. 소스 데이터는 텍스트 데이터, 이미지 데이터, 음성 데이터 등을 포함한다. 다만 이하 설명의 편의를 위해 소스 데이터는 텍스트 데이터라고 전제한다.In the technique described below, the display device encodes the data to be transmitted and outputs a color having a specific brightness value, and the decoding device including the camera decodes the image output from the display device. The data to be encoded is referred to as source data. Source data is meant to include all types of data represented as digital data. The source data includes text data, image data, voice data, and the like. However, it is presumed that the source data is text data for convenience of explanation.

전술한 바와 같이 소스 데이터는 특정한 이진 코드로 표현이 가능하다. 이하 설명하는 기술에서 특정 색상의 명도값이 특정 이진 코드에 대응되므로, 결국 소스 데이터는 일련의 명도값들로 표현 가능하다. 이 경우 소스 데이터는 순서가 있는 명도값 리스트로 표현된다. 나아가 복수의 색상을 사용한다면, 소스 데이터는 복수의 색상에 대한 명도값 리스트로 표현될 수도 있다. As described above, the source data can be represented by a specific binary code. In the technique described below, since the brightness value of a specific color corresponds to a specific binary code, the source data can eventually be represented by a series of brightness values. In this case, the source data is represented by an ordered list of brightness values. Further, if multiple colors are used, the source data may be represented by a list of brightness values for a plurality of colors.

소스 데이터를 표현하는 일련의 명도값을 "영상(image) 코드"라고 명명한다. A series of brightness values representing the source data is called "image code ".

하나의 명도값으로 2 자리의 이진 코드를 표현하는 경우 하나의 색상에 대한 4개의 명도값은 '00, '01' '10' 및 '11'에 해당하는 이진 코드를 표현할 수 있다. 텍스트 데이터 경우 하나의 글자는 4개의 명도값으로 표현될 수 있다.When two-digit binary codes are expressed by one brightness value, four brightness values for one color can represent binary codes corresponding to '00, '01,' 10 'and' 11 '. In the case of text data, one letter can be represented by four brightness values.

나아가, 두 개의 색상을 사용하고 각 색상에 대한 4개의 명도값을 사용하는 경우 8개의 명도값으로 3자리를 갖는 이진 코드를 표현할 수 있다. 복수의 색상을 사용하는 경우도 결국 소스 데이터는 적어도 하나의 색상에 대한 명도값 리스트로 표현된다. 구체적으로 복수의 색상을 사용하는 경우 소스 데이터는 "색상을 구분하는 정보 및 명도값"의 리스트로 표현된다. 다만 이하 설명의 편의를 위해 소스 데이터는 일련의 명도값을 갖는 영상 코드로 표현된다고 전제한다.Furthermore, if you use two colors and use four brightness values for each color, you can represent binary codes with three digits with eight brightness values. Even when a plurality of colors are used, the source data is eventually expressed as a list of brightness values for at least one color. Specifically, when a plurality of colors are used, the source data is represented by a list of " color-distinguishing information and brightness values ". For the sake of convenience, however, it is assumed that the source data is represented by an image code having a series of brightness values.

이하 설명하는 기술은 이진 코드 외에 다른 코드에 적용할 수도 있고, 사용하는 색상값의 개수 및 각 색상값에 대한 명도값의 개수도 다양할 수 있다.
The techniques described below may be applied to other codes than the binary code, and the number of color values to be used and the number of brightness values for each color value may vary.

이하에서는 도면을 참조하면서 영상 코드를 이용하여 데이터를 전달하는 시스템(100), 영상 코드를 디스플레이 장치에 출력하는 방법(300), 영상 코드를 복호하는 방법(500)에 관하여 구체적으로 설명하겠다.
Hereinafter, a system 100 for transmitting data using an image code, a method 300 for outputting an image code to a display device, and a method 500 for decoding an image code will be described in detail with reference to the drawings.

도 1은 영상 코드를 이용하여 데이터를 전달하는 시스템(100)에서 영상 코드가 전달되는 개략적인 예를 도시한다.1 shows a schematic example in which an image code is transferred in a system 100 for transferring data using an image code.

영상 코드를 이용하여 데이터를 전달하는 시스템(100)은 전술한 영상 코드를 생성하는 코드 생성 장치(110), 영상 코드를 출력하는 디스플레이 장치(120) 및 디스플레이 장치(120)에서 출력되는 영상 코드를 카메라를 통해 획득하여 영상 코드를 복호하는 코드 복호 장치(130)를 포함한다. 도 1에서는 코드 생성 장치(110)를 도시하지 않고, 디스플레이 장치(120)에서 출력되는 영상 코드를 코드 복호 장치(130)가 카메라를 통해 획득하는 과정을 도시한다.The system 100 for transmitting data using an image code includes a code generation device 110 for generating the image code, a display device 120 for outputting the image code, and a display device 120 for displaying the image code output from the display device 120 And a code decoding device 130 for decoding the image code acquired through the camera. 1, the code generating apparatus 110 is not illustrated, but a code decoding apparatus 130 acquires an image code output from the display apparatus 120 through a camera.

디스플레이 장치(120)는 도 1의 좌측 상단에 도시한 스마트폰과 같은 휴대용 단말 및 좌측 하단에 도시한 컴퓨터용 모니터 장치와 같은 장치를 포함한다. 스마트폰 등과 같이 연산 처리 장치(CPU)를 내장하고 있는 장치는 코드 생성 장치(110) 및 디스플레이 장치(120)를 하나의 장치에 포함한다. The display device 120 includes a portable terminal such as a smart phone shown at the upper left of FIG. 1 and a device such as a computer monitor device shown at the lower left. A device including a CPU such as a smart phone includes a code generation device 110 and a display device 120 in one device.

디스플레이 장치(120)의 화면에 출력되는 영상 코드 또는 영상 코드 중 일부가 도 1에 도시되어 있다. 디스플레이 장치(120)에서 일정한 거리에 위치한 코드 복호 장치(130)는 카메라를 통해 디스플레이 장치(120)의 디스플레이 패널 상에 출력되는 영상 코드 또는 영상 코드 중 일부를 획득한다. 코드 복호 장치(130)는 도 1의 우측 상단에 도시한 별도의 카메라를 통해 영상 데이터를 획득하는 PC 및 카메라를 내장하는 스마트폰과 같은 장치 등을 포함한다.Some of the image codes or image codes output on the screen of the display device 120 are shown in FIG. The code decoding device 130 located at a predetermined distance from the display device 120 obtains a part of the image code or image code output on the display panel of the display device 120 through the camera. The code decoding apparatus 130 includes a PC for acquiring image data through a separate camera shown in the upper right of FIG. 1, and a device such as a smart phone having a built-in camera.

디스플레이 장치(120)와 코드 복호 장치(130)는 디스플레이 장치(120)에서 출력되는 코드 영상이 복호 가능한 거리 내에 위치하는 것이 바람직하다. 카메라 장치가 코드 복호 장치(130)와 연결된 형태 또는 무선으로 데이터를 주고 받는 형태라면 디스플레이 장치(120)와 카메라가 코드 영상이 복호 가능한 거리 내에 위치하면 충분하다. 이하 코드 영상이 복호 가능한 거리를 "복호 가능 거리"라고 명명한다. 복호 가능 거리는 디스플레이 패널의 크기, 디스플레이 장치(120)의 성능, 카메라의 성능 또는 영상 코드가 출력되는 주변 환경(조도 등) 등에 따라 달라질 수 있다.
It is preferable that the display device 120 and the code decoding device 130 are positioned within a distance at which the code image output from the display device 120 can be decoded. If the camera device is connected to the code decoding device 130 or wirelessly exchanges data, it suffices that the display device 120 and the camera are located within a distance at which the code image can be decoded. Hereinafter, a distance at which a code image can be decoded is referred to as a "decodable distance ". The decodable distance may vary depending on the size of the display panel, the performance of the display device 120, the performance of the camera, or the surrounding environment (illuminance, etc.) where the image code is output.

이하 영상 코드가 전달되는 예를 보다 구체적으로 설명하고자 한다. 도 2는 영상 코드를 이용하여 데이터를 전달하는 시스템(100)에서 영상 코드를 이용하여 데이터를 전달하는 예이다. 도 2(a)는 코드 생성 장치(110)가 소스 데이터를 특정한 영상 코드로 부호화하는 예를 도시하고, 도 2(b)는 디스플레이 장치(120)가 영상 코드 중 일부를 출력하는 예를 도시하고, 도 2(c)는 코드 복호 장치(130)가 카메라를 통해 획득한 영상 코드를 부호화하는 예를 도시한다.Hereinafter, an example in which a video code is transmitted will be described in more detail. 2 is an example of transmitting data using an image code in a system 100 for transmitting data using an image code. 2 (a) shows an example in which the code generating apparatus 110 codes the source data into a specific image code, FIG. 2 (b) shows an example in which the display apparatus 120 outputs a part of the image code , And FIG. 2 (c) shows an example of encoding the image code acquired by the code decoding device 130 through the camera.

도 2에서 소스 데이터는 텍스트 데이터이고, 텍스트 데이터는 8비트 ASCII 코드로 표현된다고 가정한다. 도 2를 살펴보면, 영상 코드 장치(110)는 'hello'란 텍스트 데이터를 입력받는다. 'hello'는 ASCII 코드로 01101000(h), 01100101(e), 01101100(l), 01101100(l), 01101111(o)이다.
In FIG. 2, it is assumed that the source data is text data, and the text data is represented by an 8-bit ASCII code. Referring to FIG. 2, the image coding apparatus 110 receives text data called 'hello'. 'hello' is 01101000 (h), 01100101 (e), 01101100 (l), 01101100 (l), 01101111 (o) in ASCII codes.

영상 코드를 구성하는 어느 색상에 대한 명도값의 개수가 ASCII 코드의 개수 이상이라면, ASCII 코드 각각을 하나의 명도값에 사전에 매칭할 수도 있다. 그러나 복호장치가 ASCII 코드의 개수만큼의 명도값을 구분하기는 쉽지 않을 수 있다. 따라서 이하 설명에서는 명도값이 두자리 이진수를 표현한다고 가정한다. 도 2의 코드 생성 장치(110) 내에 표시한 영상 코드 테이블을 살펴보면, 00은 명도값 99으로 표시하고, 01은 명도값 137으로 표시하고, 10은 명도값 176으로 표시하며, 11은 명도값 215로 표시하였다. 도 2에서 도시한 명도값은 하나의 예에 불과하며 명도값 0~ 255를 갖는 색상을 4개의 구역으로 크게 구분하기 위한 예이다. If the number of brightness values for any color constituting the image code is equal to or greater than the number of ASCII codes, each of the ASCII codes may be previously matched to one brightness value. However, it may not be easy for the decoder to distinguish the brightness value by the number of ASCII codes. Therefore, in the following description, it is assumed that the brightness value expresses a two-digit binary number. 00 is displayed with a brightness value of 99, 01 is displayed with a brightness value of 137, 10 is displayed with a brightness value of 176, 11 is displayed with a brightness value of 215 Respectively. The brightness value shown in FIG. 2 is only one example, and is an example for largely dividing a color having a brightness value of 0 to 255 into four zones.

영상 코드 장치(110)는 영상 코드 테이블을 이용하여 입력된 소스 데이터를 표현하는 이진 코드에 대응하는 일련의 명도값을 결정한다. 8비트 ASCII 코드는 8비트로 하나의 글자(character)를 표현하므로 하나의 글자는 4개의 명도값으로 표현될 수 있다. 도 2(b)에서 디스플레이 장치(120)는 하나의 화면에 모두 8개의 명도값을 표현한 예를 도시한다. 도 2(b)의 디스플레이 장치(120)는 하나의 화면으로 2개의 글자를 표시하므로, 'hello'를 3개의 영상 프레임으로 표현할 수 있다. 도 2(b)에 도시된 특정 명도값을 갖는 색상이 출력되는 구역을 코드 구역이라고 명명한다. 후술하겠지만 코드 구역의 모양 및 크기는 장치의 특성 내지 영상 코드가 전달되는 환경에 따라 변경될 수 있다.The image coding device 110 determines a series of brightness values corresponding to the binary codes representing the input source data using the image code table. An 8-bit ASCII code represents one character with 8 bits, so one letter can be represented by four brightness values. In FIG. 2 (b), the display device 120 displays eight brightness values in one screen. The display device 120 of FIG. 2 (b) displays two characters in one screen, so 'hello' can be represented by three image frames. A region in which a hue having a specific brightness value shown in Fig. 2 (b) is output is referred to as a code region. As will be described later, the shape and size of the code area can be changed depending on the characteristics of the apparatus or the environment in which the image code is transmitted.

또한 영상 코드를 구성하는 일련의 명도값이 코드 구역에 출력되는 순서는 사전에 설정된다. 일련의 명도값을 갖는 색상이 출력되는 순서는 디스플레이 장치(120)와 코드 복호 장치(130)에 모두 공유되어야 한다.In addition, the order in which a series of brightness values constituting the image code are output to the code area is set in advance. The order in which colors having a series of brightness values are outputted must be shared by both the display device 120 and the code decoding device 130. [

코드 복호 장치(130)는 카메라로 디스플레이 장치(120)에서 출력되는 영상 코드를 획득하고, 영상 코드를 구성하는 일련의 명도값을 결정한다. 디스플레이 장치는 8개의 코드 구역에 일련의 명도값을 표시한다. 따라서 코드 복호 장치(130)가 디스플레이 장치에서 영상 코드를 정확하고 빠르게 획득하기 위해서는 코드 구역에 대한 위치 및 크기에 대한 정보를 사전에 알고 있는 것이 바람직하다. 물론 코드 복호 장치(130)는 카메라로 획득한 영상을 처리하여 명도값으로 구분되는 코드 구역을 파악할 수도 있을 것이다.The code decoding apparatus 130 obtains the image code output from the display device 120 by the camera, and determines a series of brightness values constituting the image code. The display device displays a series of brightness values in eight code zones. Therefore, in order for the code decoding apparatus 130 to accurately and quickly acquire the image code from the display device, it is desirable that the information on the position and size of the code area is known in advance. Of course, the code decoding apparatus 130 may process the image acquired by the camera to determine a code area classified by the brightness value.

나아가 디스플레이 장치(120)가 명도값을 출력하는 코드 구역 중 적어도 하나는 영상 코드와 관련 없는 기준 명도값을 출력하는 것이 바람직하다. 디스플레이 장치(120)가 영상을 출력하는 조도, 디스플레이 장치의 성능, 카메라의 성능 등에 따라서 코드 생성 장치(110)가 결정한 특정한 명도값이 아닌 다른 값으로 해석될 여지가 있기 때문이다. 기준 명도값을 이용하는 경우 코드 복호 장치(130)는 카메라로 획득하는 영상에서 기준 명도값이 출력되는 코드 구역에 대한 명도값을 결정한다. 카메라 영상에서의 기준 명도값에 대한 명도값을 비교 명도값이라고 명명한다. 이 경우 코드 복호 장치는 비교 명도값과 나머지 코드 구역에서 출력되는 색상에 대한 명도값을 비교하여 일관된 명도값을 결정할 수 있다.Furthermore, it is preferable that at least one of the code zones in which the display device 120 outputs the brightness value outputs a reference brightness value that is not related to the image code. This is because there is room to be interpreted as a value other than the specific brightness value determined by the code generating device 110 in accordance with the illuminance by which the display device 120 outputs the image, the performance of the display device, the performance of the camera, When the reference brightness value is used, the code decoding device 130 determines the brightness value of the code area in which the reference brightness value is output from the image acquired by the camera. The brightness value of the reference brightness value in the camera image is called the comparative brightness value. In this case, the code decoding apparatus can determine a consistent brightness value by comparing the comparison brightness value with the brightness value of the color output from the remaining code area.

도 2는 영상 코드가 어떻게 부호화되고 복호되는지에 대한 개념을 도시한다. 도 2에서 도시한 영상 코드는 하나의 예에 불과하다. 텍스트 데이터를 표현하는 다양한 다른 코드들이 사용될 수도 있고, 나아가 소스 데이터는 텍스트 데이터가 아닌 다른 형태의 데이터일 수도 있다.Fig. 2 shows a concept of how image codes are coded and decoded. The image code shown in Fig. 2 is only one example. Various other codes that represent text data may be used, and furthermore, the source data may be other types of data than text data.

도 2를 예로 들어 설명하자면, 영상 코드는 'hello'를 표현하는 이진 코드의 집합 또는 하나의 글자를 표현하는 8비트 이진 코드를 의미한다. 즉, 영상 코드는 소스 데이터 전체에 해당하는 코드 또는 소스 데이터 중 의미 있는 일부를 표현하는 코드를 의미한다. 소스 데이터가 텍스트 데이터가 아닌 경우 일정한 시간 단위의 데이터가 구분 가능한 하나의 영상 코드일 수도 있다. 소스 데이터가 영상 데이터인 경우 하나의 프레임을 표현하는 코드 또는 하나의 프레임 중 특정 영역을 표현하는 코드가 영상 코드일 수도 있다.
Referring to FIG. 2, for example, an image code represents a set of binary codes representing 'hello' or an 8-bit binary code representing one character. That is, the image code means a code corresponding to the entire source data or a code expressing a significant part of the source data. If the source data is not text data, it may be a single image code capable of distinguishing data of a certain time unit. When the source data is video data, a code representing one frame or a code representing a specific area of one frame may be an image code.

한편 도 2에서 설명하지 않았지만, 영상 코드에는 영상 코드의 시작 및 끝을 알리는 정보가 포함될 수 있다. 예컨대, 명도값 60을 갖는 적어도 하나 코드 구역이 영상 코드의 시작을 알리는 시작 헤더(header)가 될 수 있고, 명도값 255를 갖는 적어도 하나의 코드 구역이 영상 코드의 종료를 알리는 종료 헤더가 될 수도 있다. 물론 시작 헤더 및 종료 헤더는 소스 데이터를 표현하지 않는 다른 명도값 또는 다른 명도값의 조합으로 정의될 수도 있다.
Although not illustrated in FIG. 2, the image code may include information indicating the start and end of the image code. For example, at least one code zone having a brightness value of 60 may be a start header announcing the beginning of an image code, and at least one code zone having a brightness value of 255 may be an end header announcing the end of the image code have. Of course, the start header and end header may be defined as a combination of other brightness values or other brightness values that do not represent the source data.

도 3은 영상 코드를 이용하여 데이터를 전달하는 시스템(100)의 구성을 도시한 블록도의 예이다.3 is an example of a block diagram illustrating the configuration of a system 100 for transferring data using an image code.

영상 코드를 이용하여 데이터를 전달하는 시스템(100)은 적어도 하나의 색상에 대한 일련의 명도값을 포함하는 영상 코드를 생성하되, 일련의 명도값은 소스 데이터를 표현하는 이진 코드에 대응하는 코드 생성 장치(110), 일련의 명도값을 갖는 적어도 하나의 색상을 일련의 명도값 순서로 디스플레이 패널 상의 코드 구역에 출력하는 디스플레이 장치(120) 및 디스플레이 장치(120)에 출력되는 영상 코드를 카메라를 통해 획득하고, 영상 코드를 복호하는 코드 복호 장치(130)를 포함한다.A system (100) for delivering data using an image code generates an image code comprising a series of brightness values for at least one color, the series of brightness values comprising code generation corresponding to a binary code representing the source data A display device (120) for outputting at least one color having a series of luminosity values in a sequence of luminosity values in a code area on a display panel, and an image code output to the display device (120) And a code decoding device 130 for decoding the image code.

소스 데이터는 코드 생성 장치(110)의 인터페이스(111)를 통해 입력될 수 있다. 인터페이스(111)는 컴퓨터 장치인 코드 생성 장치(110)에 연결된 데이터 입력 수단뿐만 아니라 USB와 같은 저장 매체에 포함된 데이터를 입력받을 수 있는 인터페이스 장치를 포함하는 의미이다. The source data may be input through the interface 111 of the code generating device 110. [ The interface 111 includes a data input means connected to the code generation device 110, which is a computer device, and an interface device capable of receiving data included in a storage medium such as a USB.

코드 생성부(112)는 입력된 소스 데이터에 대응하는 영상 코드를 생성하기 위하여 메모리와 같은 저장 매체에 저장된 코드 테이블을 참조한다. 예컨대, 코드 테이블은 텍스트 데이터를 표현하는 ASCII 코드 및 ASCII 코드를 구성하는 이진 코드에 대응하는 특정 색상에 대한 명도값을 저장할 수 있다. 이진 코드란 특정 데이터를 이진수로 표현하는 코드를 의미한다. 코드 생성부(112)는 소스 데이터를 기준으로 영상 코드 또는 영상 코드를 구성하는 일련의 명도값을 생성할 수 있는 연산 장치(CPU 등)에 해당한다.The code generation unit 112 refers to a code table stored in a storage medium such as a memory to generate an image code corresponding to the input source data. For example, the code table may store an ASCII code representing text data and a brightness value for a particular color corresponding to the binary code comprising the ASCII code. A binary code is a code that expresses a specific data in binary. The code generation unit 112 corresponds to an arithmetic unit (CPU or the like) capable of generating a series of brightness values constituting an image code or image code based on the source data.

코드 생성 장치(110)가 생성한 영상 코드는 디스플레이 장치(120)에 전달된다. 실제 디스플레이 장치(120)가 수신하는 영상 코드는 디스플레이 패널의 특정 위치(코드 구역)에 어떤 색상을 어떤 명도값으로 출력하라는 명령에 해당한다. 도 3에서는 코드 생성 장치(110)와 디스플레이 장치(120)을 하나의 블록으로 도시하지 않았지만, 코드 생성 장치(110)와 디스플레이 장치(120)는 하나의 장치에 해당한다. 예컨대, 코드 생성 장치(110)와 디스플레이 장치(120)는 하나의 스마트폰, 태블릿 PC 등과 같은 장치에 구현될 수도 있고, 컴퓨터 본체와 이에 연결된 모니터로 구현될 수도 있다.The image code generated by the code generating device 110 is transmitted to the display device 120. [ The image code received by the actual display device 120 corresponds to a command to output a certain color value to a certain position (code area) of the display panel with a certain brightness value. 3, the code generation device 110 and the display device 120 are not shown as one block, but the code generation device 110 and the display device 120 correspond to one device. For example, the code generation device 110 and the display device 120 may be implemented in a single device such as a smart phone, a tablet PC, or the like, or may be implemented as a computer main body and a monitor connected thereto.

별도의 코드 복호 장치(130)는 비교적 근거리에 위치한 디스플레이 장치(120)에서 출력되는 영상 코드를 카메라(131)를 통해 획득한다. 코드 복호부(132)는 카메라(131)를 통해 획득한 영상을 분석하여 코드 구역에 출력되는 색상의 명도값을 결정하고, 메모리와 같은 저장 매체에 저장된 복호 테이블(133)을 이용하여 영상 코드를 복호한다. 코드 복호부(132)는 획득한 영상의 코드 구역에 대한 명도값을 결정하고, 결정한 명도값을 복호 테이블에서 검색하여 해당하는 이진 코드를 완성한다. 예컨대, 도 2에 도시한 바와 같이 각 명도값이 2자리 이진수에 해당한다면 4개의 명도값이 의미하는 8 비트의 이진 코드를 완성하여 텍스트 데이터를 복호한다.The separate code decoding apparatus 130 obtains the image code output from the display apparatus 120 located at a relatively short distance through the camera 131. [ The code decoding unit 132 analyzes the image obtained through the camera 131 to determine a brightness value of a color to be output to the code area and decodes the image code using a decoding table 133 stored in a storage medium such as a memory . The code decoding unit 132 determines a brightness value for the code region of the acquired image, and searches the decoded table for the determined brightness value to complete the corresponding binary code. For example, as shown in FIG. 2, if each brightness value corresponds to a binary digit of two digits, the 8-bit binary code represented by four brightness values is completed to decode the text data.

또한 전술한 바와 같이 복수의 코드 구역 중 적어도 하나에 기준 명도값을 갖는 색상이 출력된 경우 코드 복호부(132)는 전술한 비교 명도값을 결정하고, 비교 명도값을 기준으로 나머지 코드 구역에 출력되는 색상의 상대적 명도값을 결정한다.
When a hue having a reference brightness value is output to at least one of the plurality of code zones as described above, the code decoding unit 132 determines the above-described comparison brightness value and outputs the comparison brightness value to the remaining code areas based on the comparison brightness value And determines the relative brightness value of the color to be displayed.

도 4는 영상 코드를 이용하여 데이터를 전달하는 시스템(100)의 구성을 도시한 블록도의 다른 예이다. 도 4에 도시한 영상 코드를 이용하여 데이터를 전달하는 시스템(100)이 도 3에 도시한 시스템과 다른 점은 코드 생성 장치(110)와 디스플레이 장치(120)가 원격지에 위치한다는 것이다. 나머지 구성이나 각 구성의 기능은 도 3에서 설명한 시스템과 동일하다.4 is another example of a block diagram showing a configuration of a system 100 for transferring data using an image code. The system 100 for transferring data using the image code shown in FIG. 4 is different from the system shown in FIG. 3 in that the code generation device 110 and the display device 120 are located at a remote place. The rest of the configuration and functions of each configuration are the same as those described in Fig.

소스 데이터는 디스플레이 장치(120)의 입력 인터페이스(121)를 통해 입력될 수 있다. 이 경우 입력된 소스 데이터는 통신 모듈(122)을 통해 원격지에 있는 코드 생성 장치(110)의 통신 모듈(114)에 전달된다. 코드 생성 장치(110)의 코드 생성부(112)는 통신 모듈(114)를 통해 수신한 소스 데이터를 기준으로 영상 코드를 생성한다. 코드 생성 장치(110)는 생성한 영상 코드를 통신 모듈(114)을 통해 디스플레이 장치(120)에 전달하고, 디스플레이 장치(120)는 영상 코드를 참조하여 디스플레이 패널(123)에서 코드 구역에 특정 색상에 대한 일련의 명도값을 출력한다.The source data may be input through the input interface 121 of the display device 120. [ In this case, the inputted source data is transmitted to the communication module 114 of the code generation device 110 located at a remote place through the communication module 122. The code generating unit 112 of the code generating apparatus 110 generates an image code based on the source data received through the communication module 114. The code generation device 110 transmits the generated image code to the display device 120 through the communication module 114. The display device 120 refers to the image code and displays a specific color Lt; / RTI >

나아가 소스 데이터는 디스플레이 장치(120)를 통해 코드 생성 장치(110)에 전달되지 않고, 도 3과 같이 코드 생성 장치(110)의 인터페이스(111)를 통해 입력될 수도 있다.Further, the source data may not be transmitted to the code generating apparatus 110 via the display apparatus 120 but may be input through the interface 111 of the code generating apparatus 110 as shown in FIG.

코드 복호 장치(130)는 카메라(131)에 입력되는 영상에서 코드 색상값을 나타내는 영역을 검출하기 위하여 전술한 색상값을 검출하기 위한 다양한 알고리즘을 사용할 수 있다. 나아가 복수 개의 디스플레이 장치(120)에서 출력되는 화면을 검출한다면 n:1 통신이 가능하다.
The code decoding apparatus 130 may use various algorithms for detecting the above-described color values in order to detect an area representing a code color value in an image input to the camera 131. [ Furthermore, if a screen output from the plurality of display devices 120 is detected, n: 1 communication is possible.

코드 생성 장치(110)에서 생성하는 영상 코드는 적어도 하나의 색상에 대한 일련의 명도값을 포함한다. 각 명도값은 이진수, 이진 코드 또는 이진 코드의 일부 중 적어도 하나에 대응된다. 도 2에서는 하나의 명도값이 두 자리 이진수 또는 이진 코드의 일부에 해당하는 예를 설명한바 있다.The image code generated by the code generating device 110 includes a series of brightness values for at least one color. Each brightness value corresponds to at least one of a binary number, a binary code, or a portion of a binary code. In FIG. 2, an example in which one brightness value corresponds to a two-digit binary number or a part of a binary code is described.

나아가 정해진 하나의 색상에 대한 서로 다른 명도값으로 이진 코드를 나타낼 수도 있지만, 복수의 색상을 사용할 수도 있을 것이다. 예컨대, 파란색 및 적색을 사용하고 각 색에 대해 4가지의 명도값을 사용할 수도 있다. 2개의 색을 사용하는 경우 명도값으로 8개의 이진 코드 또는 이진 코드의 일부를 구별할 수 있다. Furthermore, binary codes may be represented by different brightness values for a given color, but a plurality of colors may be used. For example, blue and red may be used and four brightness values may be used for each color. When using two colors, you can distinguish eight binary codes or a part of binary code by brightness value.

결국 영상 코드는 하나의 색상에 대한 복수의 명도값의 조합 또는 복수의 색상에 각각에 대한 복수의 명도값의 조합으로 소스 데이터를 표현한다고 할 수 있다.As a result, the image code can represent the source data with a combination of a plurality of brightness values for one color or a combination of a plurality of brightness values for each of a plurality of colors.

데이터 전송률과 관련된 변수는 하나의 색상에 대한 명도값의 개수, 복수의 색상 사용 여부 및 하나의 디스플레이 화면에서 일련의 명도값을 갖는 색상이 출력되는 개수이다. 소스 데이터를 전송하는 속도는 송신자와 수신자가 합의하여 정할 수 있다. 디스플레이 장치(120)의 화면 출력 속도와 코드 복호 장치(130)의 영상 입력 속도를 고려하여 프레임 간에 일정 시간의 여유를 두고 정해야 안정적인 통신이 가능하다.
The variables related to the data rate are the number of brightness values for one color, whether a plurality of colors are used, and the number of colors for which a series of brightness values are displayed on one display screen. The rate at which source data is transmitted can be determined by the sender and the receiver in agreement. It is possible to establish stable communication with a certain time margin between frames considering the screen output speed of the display device 120 and the video input speed of the code decoding device 130.

한편 디스플레이 장치(110)의 디스플레이 패널(120)에서 출력되는 영상 코드는 다양한 크기 및 모양을 갖는 코드 구역에 출력될 수 있다. Meanwhile, the image code output from the display panel 120 of the display device 110 may be output to a code area having various sizes and shapes.

예컨대, 코드 구역은 디스플레이 패널 상의 전체 표시 구역, 전체 표시 구역을 기준 개수에 따라 분할한 복수의 제1 구역 또는 전체 표시 구역에서 중복되지 않는 복수의 제2 구역 중 적어도 하나일 수 있다. For example, the code zone may be at least one of a total display zone on the display panel, a plurality of first zones divided by a reference number of the entire display zone, or a plurality of second zones not overlapping in the entire display zone.

전체 표시 구역은 영상 출력이 가능한 전체 화면을 말한다. 코드 구역이 디스플레이 패널 상의 전체 표시 구역인 경우 하나의 화면에 어느 명도값을 갖는 색상을 하나를 출력한다. The entire display area refers to the entire screen capable of video output. When the code area is the entire display area on the display panel, one of the colors having a certain brightness value is displayed on one screen.

복수의 제1 구역은 전체 표시 구역을 균등하게 또는 균등하지 않게 분할한 형태를 의미한다. 복수의 제2 구역은 전체 표시 구역을 일부만을 코드 구역으로 사용하는 예를 의미한다. 제2 구역은 원, 정다각형 또는 비정형 모양 중 적어도 하나일 수 있다.The plurality of first zones means that the entire display zone is divided equally or evenly. The plurality of second zones means an example in which only a part of the entire display zone is used as a code zone. The second zone may be at least one of a circle, regular polygon, or irregular shape.

도 5는 디스플레이 장치에서 출력되는 영상 코드 및 코드 구역에 대한 예로서, 도 5(a)는 디스플레이 패널 상의 전체 표시 구역이 사각형으로 분할된 형태의 코드 구역에 대한 예이고, 도 5(b)는 육각형 형태를 갖는 코드 구역에 대한 예이고, 도 5(c)는 원 형태를 갖는 코드 구역에 대한 예이다.5 (a) is an example of a code zone in which the entire display area on the display panel is divided into quadrangles, and Fig. 5 (b) FIG. 5C shows an example of a code zone having a hexagonal shape, and FIG. 5C shows an example of a code zone having a circular shape.

도 5(a)는 디스플레이 패널의 전체 표시 화면을 사각형 모양으로 분할한 예이다. 도 5(a)는 전술한 제1 구역의 예에 해당한다. 도 5(b) 및 도 5(c)는 디스플레이 패널의 전체 표시 화면 중 일부를 코드 구역을 사용한 예이다. 따라서 도 5(b) 및 도 5(c)는 전술한 제2 구역의 예에 해당한다. 물론 도 5(b) 및 도 5(c)는 제 2구역에 대한 하나의 예에 불과하며, 제 2 구역은 다른 모양 또는 비정형의 형태를 가질 수도 있다. 5 (a) shows an example in which the entire display screen of the display panel is divided into a rectangular shape. 5 (a) corresponds to the example of the first zone described above. 5 (b) and 5 (c) show an example in which a code area is used for a part of the entire display screen of the display panel. 5 (b) and 5 (c) correspond to examples of the second zone described above. 5 (b) and 5 (c) are of course only one example for the second zone, and the second zone may have a different shape or irregular shape.

코드 구역이 디스플레이 패널의 전체 표시 화면을 일정하게 분할한 제1 구역 경우 색상을 배치하는 경우의 수가 제한될 수 있기 때문에 특정 명도값을 갖는 색상을 출력하는 코드 구역의 개수가 많고, 코드 구역의 위치를 변경하기 용이한 제2 구역이 보안성이 더 높다고 할 수 있다. Since the number of cases in which the code area divides the entire display screen of the display panel into the first area case color can be limited, the number of code areas outputting hues having a specific brightness value is large, The second zone, which is easy to change, is more secure.

코드 구역의 위치, 크기 및 일련의 명도값이 출력되는 순서는 디스플레이 장치(120)와 코드 복호 장치(130)가 사전에 공유하고 있는 정보일 수 있다. 이 경우 시간의 경과에 따라 자동으로 또는 사용자의 선택에 따라 일련의 명도값이 출력되는 코드 구역의 위치를 변경할 수도 있다. 도 2에서는 전체 표시 화면이 분할된 형태의 코드 구역에 일련 번호를 표시하였는데 초기에는 숫자 순서대로 일련의 명도값이 순서대로 출력된다면, 이후 일련의 명도값이 출력되는 코드 구역의 배치가 변경될 수 있다는 것이다.
The order in which the position, size, and series of brightness values of the code zone are output may be the information that the display device 120 and the code decoding device 130 previously share. In this case, the position of the code zone in which a series of brightness values are output may be changed automatically or over time according to the user's selection. In FIG. 2, if a serial number is displayed in a code area in which the entire display screen is divided, initially, when a series of brightness values are sequentially output in numerical order, the arrangement of the code area in which a series of brightness values are output may be changed It is.

복수의 코드 구역 중 기준 명도값을 갖는 색상이 출력되는 경우 코드 복호 장치(130)는 기준 명도값이 출력되는 코드 구역의 명도값과 나머지 각 코드 구역에 출력되는 색상의 명도값과 카메라를 통해 획득하는 일련의 명도값을 비교하여 영상 코드를 복호하게 된다.
When a hue having a reference brightness value is output from a plurality of code zones, the code decoding apparatus 130 obtains a brightness value of the code zone in which the reference brightness value is output, a brightness value of the hue output in each of the remaining code zones, And decodes the image code.

전술한 코드 구역(제1 구역 또는 제2 구역 포함)의 크기는 디스플레이 장치(110)와 카메라(131)의 거리에 따라 결정될 수 있다. 도 6은 디스플레이 장치(120)와 카메라(131)의 거리에 따라 코드 구역이 크기가 변경되는 예를 도시한다. The size of the code zone (including the first zone or the second zone) may be determined according to the distance between the display device 110 and the camera 131. [ 6 shows an example in which the size of the code area is changed according to the distance between the display device 120 and the camera 131. [

도 6에서는 디스플레이 장치(120)와 카메라(131)의 거리가 50인 경우 8개의 코드 구역을 출력하였고, 하나의 코드 구역은 직경이 10인 원 형태이다. 이후 디스플레이 장치(120)와 카메라(131)의 거리가 100이 되었는데 코드 구역의 크기가 여전히 직경 10이라면, 카메라(131)에 입력되는 코드 구역의 크기가 작아지므로 명도값 식별이 용이하지 않을 수 있다. 따라서 디스플레이 장치(120)와 카메라(131)의 거리에 비례하여 하나의 코드 구역 크기가 증가하는 것이 바람직하다. 도 6에서는 디스플레이 장치(120)와 카메라(131)의 거리가 100으로 증가한 경우 코드 구역의 직경이 15로 증가한 예를 도시한다. 코드 구역의 크기가 증가하면 하나의 화면에 출력 가능한 코드 구역의 개수가 줄어들 수 있다. 도 6에서는 거리와 직경에 대한 도량 단위값을 별도로 도시하지 않았다. 도 6은 원 형태의 코드 구역에 대한 예를 도시하였으나 다른 형태의 코드 구역도 일정한 기준(무게 중심까지의 거리, 일 방향 길이 등)에 따라 코드 구역의 크기가 조절될 수 있다.
In FIG. 6, when the distance between the display device 120 and the camera 131 is 50, eight code zones are outputted, and one code zone is a circle having a diameter of 10. If the distance between the display device 120 and the camera 131 is 100 and the size of the code area is still 10, the size of the code area to be input to the camera 131 becomes small, . Accordingly, it is preferable that the size of one code zone increases in proportion to the distance between the display device 120 and the camera 131. [ 6 shows an example in which the diameter of the code area is increased to 15 when the distance between the display device 120 and the camera 131 increases to 100. FIG. As the size of the code area increases, the number of code areas that can be displayed on one screen can be reduced. In FIG. 6, the metric unit values for distance and diameter are not separately shown. FIG. 6 shows an example of a circular code area, but the size of the code area can be adjusted according to a certain standard (distance to the center of gravity, length in one direction, and the like).

거리(D)는 코드 복호 장치(130)가 아래의 수식으로 연산하여 디스플레이 장치(120)에 전달하거나, 코드 생성 장치(110) 또는 디스플레이 장치(120)가 카메라가 획득한 영상 정보를 전달받아 아래의 수학식 1로 연산할 수 있다.
The distance D is calculated by the code decoding device 130 using the following equation and transferred to the display device 120 or the code generation device 110 or the display device 120 receives the image information acquired by the camera, Can be calculated by Equation (1).

Figure pat00001
Figure pat00001

여기서, W c는 디스플레이 장치 또는 디스플레이 장치의 일부분의 일방향 실제 길이, W r은 카메라를 통해 획득하는 영상에서 디스플레이 장치 또는 디스플레이 장치의 일부분의 영상의 일방향 픽셀 길이, W p는 카메라를 통해 획득하는 영상의 일방향과 같은 방향의 픽셀 길이, FOV는 카메라의 시야각이다. 이때 W cW r는 서로 대응되는 기준을 사용한다.
Here, W c is the one-direction actual length of a part of the display device or the display device, W r is the unidirectional pixel length of the image of a part of the display device or the display device in the image acquired through the camera, W p is the image And the FOV is the viewing angle of the camera. At this time, W c and W r use the reference corresponding to each other.

주변 환경의 조도에 민감하게 반응하여 통신 정확도가 달라지는 문제점도 있다. 주변이 지나치게 어둡거나 밝을 때, 송신부의 발광 색상이 상대적으로 덜 밝거나 어둡게 보여서 색상 검출 자체가 이루어지지 않는 경우도 발생할 수 있다. 색상이 검출되지 않는다면 수신부에서 송신기기를 인식할 수 없기 때문에 통신 자체가 이루어지지 않는다. There is also a problem that the accuracy of communication varies depending on the illuminance of the surrounding environment. When the surroundings are excessively dark or bright, the emission color of the transmitter may be relatively less bright or dark, so that color detection itself may not be achieved. If the color is not detected, the receiver can not recognize the transmitter, so the communication itself is not performed.

디스플레이 장치(120) 또는 코드 복호 장치(130) 중 적어도 하나는 조도 센서를 이용하여 조도를 측정하고, 측정된 조도에 따라 디스플레이 장치가 디스플레이 장치(120)에서 출력되는 영상의 명도를 조절하거나, 디스플레이 장치(120)가 디스플레이 장치(120)에서 출력되는 영상의 색상을 조절하거나, 또는 코드 복호 장치(130)가 카메라(131)의 렌즈의 노출 정도를 조절할 수 있다.
At least one of the display device 120 and the code decoding device 130 may measure the illuminance using the illuminance sensor and may adjust the brightness of the image output from the display device 120 according to the measured illuminance, The device 120 may adjust the color of the image output from the display device 120 or the code decoding device 130 may adjust the degree of exposure of the lens of the camera 131. [

전술한 바와 같이 8 비트 아스키 코드 경우 명도값이 하나의 비트를 표현한다면 한 글자를 위해 8개의 명도값이 필요하고, 명도값이 두 개의 비트를 표현한다면 4개의 코드 색상값이 필요하다. 명도값에 따라 구분되는 색상값은 색상을 표현하는 방식에 따라 컴퓨터 장치 내지 디스플레이 장치에서 특정 수치로 표현된다.As described above, in the case of 8-bit ASCII code, eight brightness values are required for one character if the brightness value expresses one bit, and four code color values are required if the brightness value expresses two bits. The color values classified according to the brightness value are represented by specific numerical values in a computer device or a display device according to a method of expressing colors.

예컨대, 코드 생성 장치(110)는 '00'에 대응되는 명도값 99를 갖는 영상 코드를 생성한다. 디스플레이 장치(120)는 특정 코드 구역에 명도값 99인 색상을 출력한다. For example, the code generating device 110 generates an image code having a brightness value 99 corresponding to '00'. The display device 120 outputs a color having a brightness value of 99 in a specific code area.

다만 조도 또는 하드웨어 성능에 따라 코드 복호 장치(130)는 디스플레이 장치(120)에 출력되는 명도값이 정확하게 99라고 결정하기 어려울 수 있다. However, depending on the illuminance or the hardware performance, the code decoding apparatus 130 may be difficult to determine that the brightness value output to the display apparatus 120 is exactly 99.

4개의 명도값으로 두 자리 이진 코드를 표현하는 경우, 코드 복호 장치(130)는 4개의 명도값에 대응하는 4개의 명도값 구간을 사용할 수 있다. 즉, 코드 복호 장치(130)는 특정 코드 구역에 출력되는 색상의 명도값이 특정 명도값 구간에 포함된다면 해당 명도값 구간을 대표하는 하나의 명도값으로 해석하는 것이다. 이와 같은 명도값 구간을 복호 명도값 구간이라고 명명한다.When two-digit binary codes are represented by four brightness values, the code decoding apparatus 130 can use four brightness value intervals corresponding to four brightness values. That is, if the brightness value of a hue outputted to a specific code zone is included in a specific brightness value interval, the code decoding device 130 interprets the brightness value range as a representative brightness value. Such a brightness value interval is called a decoding brightness value interval.

도 7은 영상 코드를 복호하는 과정에서 사용하는 복호 명도값 구간에 대한 예이다. 도 2에 도시한 명도값에 대응되는 복호 명도값 구간의 예를 도 7에 도시하였다.FIG. 7 shows an example of a decoded brightness value interval used in the process of decoding an image code. An example of a decoded brightness value interval corresponding to the brightness value shown in Fig. 2 is shown in Fig.

복호 명도값 구간 및 복호 명도값 구간의 개수를 결정하는 과정은 디스플레이 장치(120)에서 출력되는 색상값을 검출하는 알고리즘을 고려해야 한다. 색상값을 검출하는 알고리즘은 Blob Labeling 알고리즘, Camshift 알고리즘, Adaboost 알고리즘 등이 사용될 수 있다. 설명의 편의를 위해 YCbCr 색상 모델 기반의 Blob Labeling 알고리즘을 사용한다고 가정한다.The process of determining the decoded brightness value interval and the number of decoded brightness value intervals should consider an algorithm for detecting the hue value output from the display device 120. [ Blob Labeling algorithm, Camshift algorithm, Adaboost algorithm can be used for color value detection. For convenience of explanation, it is assumed that the Blob Labeling algorithm based on the YCbCr color model is used.

도 7에서는 특정 색상에 대해 명도값이 60~255인 경우 코드 복호 장치(130)에서 영상 코드를 구성하는 명도값에 대한 검출 효율이 좋다는 전제하에 명도값 60~255인 구간만을 사용하였다. 물론 명도값의 범위는 색상의 종류, 디스플레이 장치 및 카메라 장치의 하드웨어 성능, 명도값 검출 환경 및 사용자의 설정 등에 따라 다른 값이 사용될 수 있다.In FIG. 7, when the brightness value is 60 to 255 for a specific color, only the interval of brightness values 60 to 255 is used, assuming that the code decoding apparatus 130 has good detection efficiency for the brightness value constituting the image code. Of course, the range of the brightness value may be different depending on the type of color, the hardware performance of the display device and the camera device, the brightness value detection environment, and the user's setting.

복호 명도값 구간은 2m개이다. m은 명도값 하나가 표현하는 비트 수를 나타낸다. 도 7에서는 m을 2로 정하였는데, 일단 기준 명도값을 60, 255로 정하고, 60~255 구간 양 끝의 10% 구간은 기준 명도값을 위한 여유구간으로 설정하였다. 중간의 남은 80%의 구간은 4등분하여 각각 00, 01, 10, 11의 비트를 나타낼 수 있는 구간들로 설정하였다. 도 7은 복호 명도값 구간에 대한 하나의 예에 불과하며 다양한 다른 구간이 사용될 수 있음은 자명하다.
The decoded brightness value interval is 2 m . and m represents the number of bits expressed by one brightness value. In FIG. 7, m is set to 2, and once the reference brightness value is set to 60 and 255, the 10% interval at both ends of the range of 60 to 255 is set as a margin interval for the reference brightness value. The remaining 80% of the interval is divided into quadrants, and the intervals are set to represent bits 00, 01, 10, and 11, respectively. It is obvious that FIG. 7 is only one example of the decoded brightness value interval and that various other intervals can be used.

코드 복호 장치(130)가 색상값을 검출하는 과정에서 반드시 코드 생성 장치(110)가 사용한 색상을 이용해야 하는 것은 아니다. 예컨대, 코드 생성 장치(110)가 B(Blue) 색상을 선택하여 코드 색상값을 생성하였다면, 코드 복호 장치(130)는 코드 색상값 검출을 위하여 B가 아닌 G(Green) 값을 기준으로 코드 색상값을 식별할 수도 있다. 하나의 색상에 대한 명도값 차이는 다른 색상에 대한 명도값 차이로 나타날 수 있고, 경우에 따라서는 코드 복호 장치(130)가 디스플레이 장치(120)에서 출력되는 색상이 아닌 다른 색상을 기준으로 명도값을 복호하는 것이 더 정확할 수도 있다. 코도 복호 장치(130)는 영상 코드를 획득하는 조도 환경 및 하드웨어 특징에 따라 영상 코드 복호를 위한 색상을 결정할 수 있다.
The code decryption apparatus 130 does not necessarily use the color used by the code generating apparatus 110 in the process of detecting the color value. For example, if the code generation device 110 generates a code color value by selecting a color B (Blue), the code decoding device 130 generates code color values based on G (Green) Value. ≪ / RTI > The brightness difference value of one color may be represented by a brightness value difference with respect to another color, and in some cases, the code decoding apparatus 130 may display brightness values May be more accurate. The code decoding apparatus 130 can determine a color for image code decoding according to an illumination environment and a hardware characteristic for acquiring an image code.

도 8은 파란색(B) 색상인 영상 코드를 수신하는 복호 장치에서 거리에 따라 RGB 값을 분석한 결과의 예이다. 도 8(a)는 디스플레이 장치(120)와 카메라(131) 사이의 거리가 45cm인 경우이고, 도 8(b)는 디스플레이 장치(120)와 카메라(131) 사이의 거리가 100cm인 경우이다. 도 8를 살펴보면 색상이 변화하는 B 값에 대하여 G 값도 대응하여 선형적으로 변경되는 것을 알 수 있다. 따라서 도 8의 실험 환경과 같은 경우 코드 복호 장치(130)가 영상 코드를 G 색상을 기준으로 복호할 수도 있다. 도 8의 그래프에서 가로 축은 디스플레이 장치(120)에서 출력되는 명도값을 의미하고, 세로 축은 코드 복호 장치(130)가 획득한 영상을 분석하여 결정한 명도값을 의미한다.
8 is an example of a result of analyzing RGB values according to distances in a decoding apparatus receiving an image code having a blue (B) color. 8A shows a case where the distance between the display device 120 and the camera 131 is 45 cm and FIG. 8B shows a case where the distance between the display device 120 and the camera 131 is 100 cm. Referring to FIG. 8, it can be seen that the G value is linearly changed corresponding to the B value in which the color changes. Therefore, in the case of the experimental environment of FIG. 8, the code decoding apparatus 130 may decode the image code based on the G color. In the graph of FIG. 8, the horizontal axis represents the brightness value output from the display device 120, and the vertical axis represents the brightness value determined by analyzing the image acquired by the code decoding device 130.

도 9는 파란색(B) 색상인 영상 코드를 수신하는 복호 장치에서 카메라의 종류에 따라 RGB 값을 분석한 결과의 예이다. 도 9(a)는 PC의 웹캠(webcam)을 사용하여 영상 코드를 획득한 경우이고, 도 9(b)는 스마트폰의 카메라를 사용하여 영상 코드를 획득한 경우이다. 도 9의 그래프에서 가로 축은 디스플레이 장치(120)에서 출력되는 명도값을 의미하고, 세로 축은 코드 복호 장치(130)에 해당하는 PC 및 스마트폰이 획득한 영상을 분석하여 결정한 명도값을 의미한다.FIG. 9 is an example of a result of analyzing RGB values according to the type of a camera in a decoding apparatus receiving an image code having a blue (B) color. FIG. 9A shows a case where an image code is acquired using a webcam of a PC, and FIG. 9B shows a case where an image code is acquired using a camera of a smartphone. In the graph of FIG. 9, the horizontal axis represents the brightness value output from the display device 120, and the vertical axis represents the brightness value determined by analyzing the image acquired by the PC and the smartphone corresponding to the code decoding device 130.

도 9를 살펴보면, PC의 웹캠을 사용했을 때와 달리 스마트폰의 카메라를 사용했을 때는 B(blue) 색상이 복호화 알고리즘에 사용하기에 적당한 색상임을 알 수 있다. 도 9(b)에서 오직 B 색상이 실제 거리에 따라 선형적으로 증가한다.Referring to FIG. 9, when the camera of the smartphone is used, unlike the case of using the PC webcam, the color B (blue) is suitable for use in the decryption algorithm. In Fig. 9 (b), only the B color increases linearly with the actual distance.

도 9에 나타난 실험 결과와 같이 코드 복호 장치(130) 및/또는 카메라(131)에 따라 복호화 알고리즘에 사용하기 적절한 색상이 다르기 때문에, 코드 복호 장치(130)가 복호를 위한 색상을 결정하는 것이 바람직하다. It is preferable that the code decoding apparatus 130 determines the color for decoding because the color suitable for use in the decoding algorithm is different according to the code decoding apparatus 130 and / or the camera 131 as in the experimental result shown in Fig. 9 Do.

예컨대, 디스플레이 장치(120)가 통신을 시작하기 전에 명도값 5~255까지의 색상을 한 번씩 일정 주기마다 출력해주고, 코드 복호 장치(130)가 디스플레이 장치(120)에서 출력되는 영상을 획득하여 도 9와 같은 방식으로 분석하면 복호화 알고리즘에 사용하기 가장 적당한 색상을 찾을 수 있다. 이런 방식을 사용하면 소스 데이터를 전달하는 디스플레이 장치(120) 또는/및 코드 복호 장치(130)가 교체되더라도 별다른 장애 없이 소스 데이터 전달이 가능하다.
For example, before the display device 120 starts communication, colors of brightness values of 5 to 255 are output once every predetermined period, and when the code decoding device 130 acquires an image output from the display device 120 9, it is possible to find the most suitable color to use in the decryption algorithm. With this method, even if the display device 120 or / and the code decoding device 130 for transferring the source data are replaced, it is possible to transfer the source data without any trouble.

나아가 코드 복호 장치(130)가 컬러 영상을 표현하는 다양한 색상 모델 중 코드 복호에 적합한 색상 모델을 적절하게 선택할 수도 있다. Furthermore, the code decoding apparatus 130 may appropriately select a color model suitable for code decoding from among various color models representing color images.

코드 복호 장치(130)는 카메라(131)를 통해 획득하는 영상 코드를 구성하는 색상의 명도값을 분석하고, 명도값에 대응하는 이진 코드를 결정하여 영상 코드를 복호한다. 이때 코드 복호 장치(130)가 RGB 모델, YCbCr 모델 또는 YCgCo 모델 중 적어도 하나를 사용하여 색상의 명도값을 결정할 수 있다.The code decoding device 130 analyzes the brightness value of the color constituting the image code acquired through the camera 131, determines a binary code corresponding to the brightness value, and decodes the image code. At this time, the code decoding apparatus 130 may determine the brightness value of the color using at least one of the RGB model, the YCbCr model, and the YCgCo model.

나아가 코드 복호 장치(130)는 YCbCr 모델의 Cb 채널, YCbCr 모델의 Cr 채널, YCgCo 모델의 Cg 채널 또는 YCgCo 모델의 Co 채널 중 적어도 하나의 채널을 이용하여 색상의 명도값을 결정할 수도 있다.Furthermore, the code decoding apparatus 130 may determine the brightness value of the color using at least one of the Cb channel of the YCbCr model, the Cr channel of the YCbCr model, the Cg channel of the YCgCo model, or the Co channel of the YCgCo model.

나아가 코드 복호 장치(10)는 현재 존재하는 다양한 색상 모델 중 적어도 하나를 사용하거나, 색상 모델 중 일부의 채널을 선택적으로 조합한 모델을 사용하여 명도값을 결정할 수도 있다.
Further, the code decoding apparatus 10 may use at least one of various existing color models, or may determine a brightness value using a model that selectively combines some channels among the color models.

이 과정에서 코드 복호 장치(130)가 디스플레이 장치(120)에서 출력되는 샘플 영상을 분석하여 명도값이 가장 명확하게 구분되는 색상 모델 또는 색상 모델의 채널을 선택한다.
In this process, the code decoding device 130 analyzes the sample image output from the display device 120 and selects a color model or a color model channel whose brightness value is most clearly distinguished.

도 10은 영상 코드를 디스플레이 장치에 출력하는 방법(400)에 대한 순서도의 예이다. 이하 전술한 영상 코드를 이용하여 데이터를 전달하는 시스템(100)에서 설명한 부분은 간략하게 설명하기로 한다.10 is an example of a flowchart for a method 400 for outputting an image code to a display device. Hereinafter, the portion of the system 100 for transmitting data using the image code will be briefly described.

영상 코드를 디스플레이 장치에 출력하는 방법(400)은 컴퓨터 장치가 입력 인터페이스 장치를 통해 소스 데이터를 입력받는 단계(410), 컴퓨터 장치가 디스플레이 장치에 출력가능한 색상 중 적어도 하나를 선택하는 단계(420), 컴퓨터 장치가 소스 데이터를 표현하는 이진 코드 또는 이진 코드의 일부에 대응하는 선택한 색상에 대한 일련의 명도값을 결정하는 단계(430) 및 컴퓨터 장치가 일련의 명도값을 갖는 선택한 색상을 일련의 명도값 순서로 디스플레이 장치의 디스플레이 패널 상의 코드 구역에 출력하는 단계(450)를 포함한다. 여기서 컴퓨터 장치는 전술한 코드 생성 장치(110)에 대응된다.A method 400 for outputting an image code to a display device includes receiving 410 the source data via the input interface device, selecting 420 the at least one color capable of being output to the display device, Determining (430) a series of brightness values for the selected color corresponding to a portion of the binary code or binary code in which the computer device represents the source data, and determining a set of brightness values for the selected color having a series of brightness values (Step 450) in a value order on the code area on the display panel of the display device. Here, the computer device corresponds to the code generating device 110 described above.

컴퓨터 장치는 조도 센서를 이용하여 조도를 측정하고, 측정된 조도에 따라 디스플레이 장치에서 출력되는 영상의 명도값을 조절할 수 있다. 또는 컴퓨터 장치에서 일정한 명도값을 전달받은 디스플레이 장치가 측정된 조도에 따라 디스플레이 장치에서 출력되는 영상의 명도값을 조절할 수도 있다. 또는 코드 복호 장치 내지 카메라가 측정된 조도에 따라 카메라의 렌즈의 노출 정도를 조절할 수도 있다. 조도 센서는 컴퓨터 장치 또는 코드 복호 장치에 포함될 수 있고, 하나의 장치에서 측정한 조도는 다른 장치와 공유하여 조도에 따라 영상 코드가 잘 전달되도록 할 수 있다. 나아가 컴퓨터 장치 또는 디스플레이 장치는 측정한 조도에 따라 보다 전달이 용이한 색상을 결정할 수도 있고, 전술한 바와 같이 코드 복호 장치가 측정한 조도에 따라 보다 복호가 용이한 색상을 결정하여 영상을 분석할 수도 있다.
The computer device can measure the illuminance using the illuminance sensor and adjust the brightness value of the image output from the display device according to the illuminance measured. Alternatively, the display device that receives the predetermined brightness value from the computer device may adjust the brightness value of the image output from the display device according to the measured illuminance. Alternatively, the code decoding device or the camera may adjust the degree of exposure of the camera lens according to the measured illuminance. The illuminance sensor may be included in a computer device or a code decoding device, and the illuminance measured by one device may be shared with other devices so that the image code is transmitted according to illuminance. Furthermore, the computer device or the display device may determine colors that are more easily transmitted according to the measured illuminance, or may determine colors that are easier to decode according to the illuminance measured by the code decoding device as described above, have.

코드 구역은 디스플레이 패널 상의 전체 표시 구역을 기준 개수에 따라 분할한 복수의 제1 구역 또는 전체 표시 구역에서 중복되지 않는 복수의 제2 구역 중 적어도 하나이다.The code zone is at least one of a plurality of first zones divided by a reference number or a plurality of second zones not overlapping in the entire display zone.

영상 코드를 디스플레이 장치에 출력하는 방법(400)은 컴퓨터 장치가 제1 구역 또는 제2 구역의 크기를 디스플레이 패널의 화면을 촬영하는 카메라와 디스플레이 패널의 거리에 따라 결정하는 단계(440)를 포함할 수 있다. 컴퓨터 장치는 전술한 수학식 1을 이용하여 거리(D)를 결정할 수 있다. 결정된 거리에 따라 출력하는 단계(450)에서 코드 구역의 크기 및 개수를 조절할 수 있다.
A method 400 of outputting an image code to a display device includes the step 440 of determining the size of the first zone or the second zone according to the distance between the camera and the display panel, . The computer device can determine the distance D using Equation (1). The size and number of code zones may be adjusted in step 450 to output according to the determined distance.

도 11은 영상 코드를 복호하는 방법(500)에 대한 순서도의 예이다. 여기서 컴퓨터 장치는 코드 복호 장치(130)에 대응되는 장치이다.11 is an example of a flowchart for a method 500 for decoding an image code. Here, the computer device is a device corresponding to the code decoding device 130.

영상 코드를 복호하는 방법(500)은 디스플레이 장치가 소스 데이터를 표현하는 이진 코드 또는 이진 코드의 일부에 대응되는 일련의 명도값을 갖는 색상을 디스플레이 패널 상의 복수의 코드 구역에 출력하는 단계(510), 컴퓨터 장치가 카메라를 통해 디스플레이 패널의 출력 영상을 획득하는 단계(520), 컴퓨터 장치가 카메라가 획득한 영상에서 복수의 코드 구역 순서에 따라 코드 구역에서 출력되는 색상의 명도값을 결정하는 단계(530), 컴퓨터 장치가 복수의 코드 구역에 출력되는 색상의 명도값에 대응되는 이진 코드 또는 이진 코드의 일부를 결정하는 단계(540) 및 컴퓨터 장치가 복수의 이진 코드 또는 이진 코드의 일부를 결합하여 소스 데이터를 복호하는 단계(550)를 포함한다.A method (500) for decoding an image code (510) includes outputting (510) a hue having a series of brightness values corresponding to a portion of a binary code or binary code representing source data to a plurality of code zones on a display panel, (520) a computer device acquires an output image of a display panel through a camera, the computer device determining a brightness value of a color output from the code area according to a plurality of code zone orders in an image acquired by the camera 530), determining (540) a portion of a binary code or binary code corresponding to a brightness value of a color output by the computing device in a plurality of code zones, and combining the portions of the plurality of binary codes or binary codes And decoding (550) the source data.

출력하는 단계(510)에서 디스플레이 장치는 복수의 코드 구역 중 적어도 하나의 구역에 색상에 대한 기준 명도값을 출력하고, 명도값을 결정하는 단계(530)에서 컴퓨터 장치는 카메라를 통해 획득하는 기준 명도값(전술한 비교 명도값)과 카메라를 통해 획득하는 일련의 명도값을 비교하여 영상 코드를 복호할 수 있다.In step 510, the display device outputs a reference brightness value for the color in at least one of the plurality of code areas, and in step 530, the computer device determines a brightness value Value (the above-described comparative brightness value) and a series of brightness values obtained through the camera can be compared to decode the image code.

명도값을 결정하는 단계(530)에서 컴퓨터 장치는 RGB 모델의 R 채널, RGB 모델의 G 채널, RGB 모델의 B 채널, YCbCr 모델의 Cb 채널, YCbCr 모델의 Cr 채널, YCgCo 모델의 Cg 채널 또는 YCgCo 모델의 Co 채널 중 적어도 하나의 채널을 이용하여 상기 색상의 명도값을 결정할 수 있다. 나아가 컴퓨터 장치는 전술한 바와 같이 언급한 색상 모델에 한정되지 않고 다양한 모델을 선별적으로 선택하거나 조합하여 색상의 명도값을 결정할 수도 있다.
In the step 530 of determining the brightness value, the computer device displays the R channel of the RGB model, the G channel of the RGB model, the B channel of the RGB model, the Cb channel of the YCbCr model, the Cr channel of the YCbCr model, the Cg channel of the YCgCo model, The brightness value of the color can be determined using at least one channel of the Co channels of the model. Furthermore, the computer device is not limited to the above-mentioned color model, and various color models may be selectively selected or combined to determine the brightness value of the color.

출력하는 단계(510) 전에 디스플레이 장치가 색상에 대해 서로 다른 명도값을 갖는 샘플 영상을 출력하는 단계를 더 포함하고, 명도값을 결정하는 단계(530)에서 컴퓨터 장치가 디스플레이 장치에서 출력되는 샘플 영상을 분석하여 서로 다른 명도값이 구분되는 색상 또는 색상 모델을 결정하고, 결정된 색상 또는 색상 모델을 기준으로 영상 코드를 복호할 수 있다. 구체적인 과정은 전술한 바와 같다.Further comprising outputting a sample image having a different brightness value for the color before the outputting step (510), wherein in the step of determining the brightness value (530), the computer device displays a sample image To determine a color or color model in which different brightness values are distinguished, and to decode the image code based on the determined color or color model. The specific procedure is as described above.

코드 생성 장치에 해당하는 컴퓨터 장치 또는 디스플레이 장치는 0~255의 범위에서 명도값을 높이거나 줄여가면서 약속된 샘플 영상을 출력하고, 코드 복호 장치에 해당하는 컴퓨터 장치에서 약속된 샘플 영상과 일치하는 복호 결과를 얻는지를 결정한다. 샘플 영상은 명도값이 연속적으로 변하는 복수의 프레임일 수도 있고, 서로 다른 명도값을 갖는 복수의 프레임으로 구성될 수도 있다.
The computer device or the display device corresponding to the code generating device outputs the promised sample image while increasing or decreasing the brightness value in the range of 0 to 255 and outputs the promised sample image to the decoding device And determines whether the result is obtained. The sample image may be a plurality of frames in which brightness values continuously change, or may be composed of a plurality of frames having different brightness values.

본 실시예 및 본 명세서에 첨부된 도면은 전술한 기술에 포함되는 기술적 사상의 일부를 명확하게 나타내고 있는 것에 불과하며, 전술한 기술의 명세서 및 도면에 포함된 기술적 사상의 범위 내에서 당업자가 용이하게 유추할 수 있는 변형 예와 구체적인 실시예는 모두 전술한 기술의 권리범위에 포함되는 것이 자명하다고 할 것이다.It should be noted that the present embodiment and the drawings attached hereto are only a part of the technical idea included in the above-described technology, and those skilled in the art will readily understand the technical ideas included in the above- It is to be understood that both variations and specific embodiments which can be deduced are included in the scope of the above-mentioned technical scope.

100 : 영상 코드를 이용하여 데이터를 전달하는 시스템
110 : 코드 생성 장치 111 : 인터페이스
112 : 코드 생성부 113 : 코드 테이블
114 : 통신 모듈 120 : 디스플레이 장치
121 : 입력 인터페이스 122 : 통신 모듈
123 : 디스플레이 패널 130 : 코드 복호 장치
131 : 카메라 132 : 코드 복호부
133 : 복호 테이블
100: a system for transmitting data using an image code
110: code generation device 111: interface
112: code generation unit 113: code table
114: communication module 120: display device
121: input interface 122: communication module
123: display panel 130: code decoding device
131: camera 132: code decoding unit
133: Decryption table

Claims (20)

적어도 하나의 색상에 대한 일련의 명도값을 포함하는 영상 코드를 생성하되, 상기 일련의 명도값은 소스 데이터를 표현하는 이진 코드에 대응하는 코드 생성 장치;
상기 일련의 명도값을 갖는 상기 적어도 하나의 색상을 상기 일련의 명도값 순서로 디스플레이 패널 상의 코드 구역에 출력하는 디스플레이 장치; 및
상기 디스플레이 장치에 출력되는 상기 영상 코드를 카메라를 통해 획득하고, 상기 영상 코드를 복호하는 코드 복호 장치를 포함하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
A code generation device for generating an image code including a series of brightness values for at least one color, the series of brightness values corresponding to binary codes representing source data;
A display device for outputting the at least one color having the series of brightness values to the code zone on the display panel in the sequence of brightness value values; And
And a code decoding apparatus for decoding the image code by acquiring the image code output from the display device through a camera.
제1항에 있어서,
상기 명도값은 이진수, 이진 코드 또는 이진 코드의 일부 중 적어도 하나에 대응하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
Wherein the brightness value is transmitted using an image code corresponding to at least one of a binary number, a binary code, and a part of a binary code.
제1항에 있어서,
상기 영상 코드는
하나의 색상에 대한 복수의 명도값의 조합 또는 복수의 색상에 각각에 대한 복수의 명도값의 조합으로 상기 소스 데이터를 표현하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
The image code
Wherein the image data is represented by a combination of a plurality of brightness values for one color or a combination of a plurality of brightness values for each of a plurality of colors.
제1항에 있어서,
상기 코드 구역은 상기 디스플레이 패널 상의 전체 표시 구역, 상기 전체 표시 구역을 기준 개수에 따라 분할한 복수의 제1 구역 또는 상기 전체 표시 구역에서 중복되지 않는 복수의 제2 구역 중 적어도 하나인 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
Wherein the code zone comprises at least one of an entire display zone on the display panel, a plurality of first zones divided by a reference number of the entire display zone, or a plurality of second zones not overlapping in the entire display zone To transmit data.
제4항에 있어서,
상기 제2 구역은 원, 정다각형 또는 비정형 모양 중 적어도 하나인 영상 코드를 이용하여 데이터를 전달하는 시스템.
5. The method of claim 4,
Wherein the second zone is at least one of a circle, a regular polygon, or an atypical shape.
제1항에 있어서,
상기 코드 구역은 상기 디스플레이 패널 상의 전체 표시 구역을 기준 개수에 따라 분할한 복수의 제1 구역 또는 상기 전체 표시 구역에서 중복되지 않는 복수의 제2 구역 중 적어도 하나이고,
상기 제1 구역 또는 상기 제2 구역의 크기는 상기 디스플레이 장치와 상기 카메라의 거리에 따라 상기 디스플레이 장치가 결정하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
Wherein the code zone is at least one of a plurality of first zones divided by a reference number or a plurality of second zones not overlapping in the entire display zone,
Wherein the size of the first area or the second area transmits data using an image code determined by the display device according to a distance between the display device and the camera.
제6항에 있어서,
상기 거리(D)는 상기 코드 복호 장치가 아래의 수식으로 연산하여 상기 디스플레이 장치에 전달하거나, 상기 코드 생성 장치 또는 상기 디스플레이 장치가 상기 카메라가 획득한 영상 정보를 전달받아 아래의 수식으로 연산하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
Figure pat00002

(여기서, W c는 상기 디스플레이 장치 또는 상기 디스플레이 장치의 일부분의 일방향 실제 길이, W r은 상기 카메라를 통해 획득하는 영상에서 상기 디스플레이 장치 또는 상기 디스플레이 장치의 일부분의 영상의 상기 일방향 픽셀 길이, W p는 상기 카메라를 통해 획득하는 영상의 상기 일방향과 같은 방향의 픽셀 길이, FOV는 상기 카메라의 시야각이고, W cW r는 서로 대응되는 기준을 사용함.)
The method according to claim 6,
The distance D may be calculated by the code decoding device by calculating the following equation and transmitting it to the display device or receiving the image information acquired by the camera by the code generating device or the display device, A system that delivers data using code.
Figure pat00002

Wherein W c is the one-direction actual length of the display device or part of the display device, W r is the unidirectional pixel length of an image of the display device or part of the display device, W p the camera is a pixel length of the image, such as the one-way direction by obtaining, FOV is the field of view of the camera, using W c and W r is the reference corresponding to each other.)
제1항에 있어서,
상기 디스플레이 장치 또는 상기 코드 복호 장치 중 적어도 하나는 조도 센서를 이용하여 조도를 측정하고,
상기 측정된 조도에 따라 상기 디스플레이 장치가 상기 디스플레이 장치에서 출력되는 영상의 명도를 조절하거나, 상기 디스플레이 장치가 상기 디스플레이 장치에서 출력되는 영상의 색상을 조절하거나, 또는 상기 코드 복호 장치가 상기 카메라의 렌즈의 노출 정도를 조절하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
At least one of the display device and the code decoding device measures illuminance using an illuminance sensor,
The display device adjusts the brightness of the image output from the display device according to the measured illuminance or the display device adjusts the color of the image output from the display device, And the data is transmitted using an image code that controls the degree of exposure of the image.
제1항에 있어서,
상기 디스플레이 장치는
복수의 코드 구역에 상기 적어도 하나의 색상을 출력하고, 상기 복수의 코드 구역 중 적어도 하나의 구역에 상기 적어도 하나의 색상에 대한 기준 명도값을 출력하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
The display device
Outputting the at least one color to a plurality of code regions and outputting a reference brightness value for the at least one color in at least one of the plurality of code regions.
제9항에 있어서,
상기 코드 복호 장치는
상기 기준 명도값이 출력되는 코드 구역에 대한 명도값과 나머지 각 코드 구역에 출력되는 색상의 명도값을 비교하여 상기 영상 코드를 복호하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
10. The method of claim 9,
The code decoding apparatus
And comparing the brightness value of the code zone in which the reference brightness value is output with the brightness value of the color output in each of the remaining code zones, and transmitting the data using the image code for decoding the image code.
제1항에 있어서,
상기 코드 복호 장치는
상기 카메라를 통해 획득하는 상기 영상 코드를 구성하는 색상의 명도값을 분석하고, 상기 명도값에 대응하는 이진 코드를 결정하여 상기 영상 코드를 복호하되,
RGB 모델, YCbCr 모델 또는 YCgCo 모델 중 적어도 하나를 사용하여 상기 색상의 명도값을 결정하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
The method according to claim 1,
The code decoding apparatus
A brightness value of a color constituting the image code acquired through the camera is analyzed, a binary code corresponding to the brightness value is determined to decode the image code,
And transmits the data using an image code that determines the brightness value of the color using at least one of an RGB model, a YCbCr model, and a YCgCo model.
제11항에 있어서,
상기 코드 복호 장치는
상기 YCbCr 모델의 Cb 채널, 상기 YCbCr 모델의 Cr 채널, 상기 YCgCo 모델의 Cg 채널 또는 상기 YCgCo 모델의 Co 채널 중 적어도 하나의 채널을 이용하여 상기 색상의 명도값을 결정하는 영상 코드를 이용하여 데이터를 전달하는 시스템.
12. The method of claim 11,
The code decoding apparatus
Using the image code for determining the brightness value of the color using at least one of the Cb channel of the YCbCr model, the Cr channel of the YCbCr model, the Cg channel of the YCgCo model, or the Co channel of the YCgCo model, The system to deliver.
컴퓨터 장치가 입력 인터페이스 장치를 통해 소스 데이터를 입력받는 단계;
상기 컴퓨터 장치가 디스플레이 장치에 출력가능한 색상 중 적어도 하나를 선택하는 단계;
상기 컴퓨터 장치가 상기 소스 데이터를 표현하는 이진 코드 또는 이진 코드의 일부에 대응하는 상기 선택한 색상에 대한 일련의 명도값을 결정하는 단계; 및
상기 컴퓨터 장치가 상기 일련의 명도값을 갖는 상기 선택한 색상을 상기 일련의 명도값 순서로 디스플레이 장치의 디스플레이 패널 상의 코드 구역에 출력하는 단계를 포함하는 영상 코드를 디스플레이 장치에 출력하는 방법.
The computer device receiving input of the source data through the input interface device;
Selecting at least one of the hues that the computer device can output to the display device;
Determining a series of brightness values for the selected color corresponding to a portion of the binary code or binary code representing the source data; And
And the computer device outputting the selected color having the series of brightness values to the code area on the display panel of the display device in the sequence of brightness value values.
제13항에 있어서,
상기 컴퓨터 장치는 조도 센서를 이용하여 조도를 측정하고,
상기 측정된 조도에 따라 상기 디스플레이 장치에서 출력되는 영상의 명도를 조절하거나, 상기 디스플레이 장치가 상기 디스플레이 장치에서 출력되는 영상의 명도를 조절하거나 또는 상기 디스플레이 장치에서 출력되는 영상을 촬영하는 카메라의 렌즈의 노출 정도를 조절하는 영상 코드를 디스플레이 장치에 출력하는 방법.
14. The method of claim 13,
The computer device measures illuminance using an illuminance sensor,
A controller for controlling brightness of an image output from the display device according to the measured illuminance or adjusting a brightness of an image output from the display device or a lens of a camera for photographing an image output from the display device And outputting an image code for adjusting the degree of exposure to the display device.
제13항에 있어서,
상기 코드 구역은 상기 디스플레이 패널 상의 전체 표시 구역을 기준 개수에 따라 분할한 복수의 제1 구역 또는 상기 전체 표시 구역에서 중복되지 않는 복수의 제2 구역 중 적어도 하나이고,
상기 컴퓨터 장치는 상기 제1 구역 또는 상기 제2 구역의 크기를 상기 디스플레이 패널의 화면을 촬영하는 카메라와 상기 디스플레이 패널의 거리에 따라 결정하는 영상 코드를 디스플레이 장치에 출력하는 방법.
14. The method of claim 13,
Wherein the code zone is at least one of a plurality of first zones divided by a reference number or a plurality of second zones not overlapping in the entire display zone,
Wherein the computer device outputs to the display device an image code for determining the size of the first zone or the second zone according to a distance between the camera for photographing the screen of the display panel and the display panel.
제15항에 있어서,
상기 컴퓨터 장치가 상기 카메라가 촬영한 영상을 이용하여 상기 거리(D)를 결정하는 영상 코드를 디스플레이 장치에 출력하는 방법.
Figure pat00003

(여기서, W c는 상기 디스플레이 패널 또는 상기 디스플레이 패널의 일부분의 일방향 실제 길이, W r은 상기 카메라를 통해 획득하는 영상에서 상기 디스플레이 패널 또는 상기 디스플레이 패널의 일부분의 영상의 상기 일방향 픽셀 길이, W p는 상기 카메라를 통해 획득하는 영상의 상기 일방향과 같은 방향의 픽셀 길이, FOV는 상기 카메라의 시야각이고, W cW r는 서로 대응되는 기준을 사용함.)
16. The method of claim 15,
And the computer device outputs to the display device an image code for determining the distance D using the image photographed by the camera.
Figure pat00003

Where W c is the one-direction actual length of the display panel or a part of the display panel, W r is the unidirectional pixel length of the image of the display panel or part of the display panel, W p the camera is a pixel length of the image, such as the one-way direction by obtaining, FOV is the field of view of the camera, using W c and W r is the reference corresponding to each other.)
디스플레이 장치가 소스 데이터를 표현하는 이진 코드 또는 이진 코드의 일부에 대응되는 일련의 명도값을 갖는 색상을 디스플레이 패널 상의 복수의 코드 구역에 출력하는 단계;
컴퓨터 장치가 카메라를 통해 상기 디스플레이 패널의 출력 영상을 획득하는 단계;
상기 컴퓨터 장치가 상기 카메라가 획득한 영상에서 상기 복수의 코드 구역 순서에 따라 상기 코드 구역에서 출력되는 색상의 명도값을 결정하는 단계;
상기 컴퓨터 장치가 상기 복수의 코드 구역에 출력되는 색상의 명도값에 대응되는 상기 이진 코드 또는 상기 이진 코드의 일부를 결정하는 단계; 및
상기 컴퓨터 장치가 복수의 상기 이진 코드 또는 상기 이진 코드의 일부를 결합하여 상기 소스 데이터를 복호하는 단계를 포함하는 영상 코드를 복호하는 방법.
Outputting a color having a series of brightness values corresponding to a portion of the binary code or the binary code representing the source data to a plurality of code zones on the display panel;
The computer device acquiring an output image of the display panel through a camera;
Determining a brightness value of a color output from the code zone according to the plurality of code zone orders in an image acquired by the camera;
Determining a portion of the binary code or the binary code corresponding to a brightness value of a color output to the plurality of code zones; And
And the computer device comprises decoding the source data by combining a plurality of the binary codes or a part of the binary codes.
제17항에 있어서,
상기 출력하는 단계에서 상기 디스플레이 장치는 상기 복수의 코드 구역 중 적어도 하나의 구역에 상기 색상에 대한 기준 명도값을 출력하고,
상기 명도값을 결정하는 단계에서 상기 컴퓨터 장치는 상기 기준 명도값이 출력되는 코드 구역에 대한 명도값과 나머지 코드 구역에 출력되는 색상의 명도값을 비교하여 상기 영상 코드를 복호하는 영상 코드를 복호하는 방법.
18. The method of claim 17,
In the outputting step, the display device outputs a reference brightness value for at least one of the plurality of code zones,
In the step of determining the brightness value, the computer device decodes the image code for decoding the image code by comparing the brightness value of the code zone in which the reference brightness value is output with the brightness value of the color output in the remaining code zone Way.
제17항에 있어서,
상기 명도값을 결정하는 단계에서 상기 컴퓨터 장치는
RGB 모델의 R 채널, RGB 모델의 G 채널, RGB 모델의 B 채널, YCbCr 모델의 Cb 채널, YCbCr 모델의 Cr 채널, YCgCo 모델의 Cg 채널 또는 YCgCo 모델의 Co 채널 중 적어도 하나의 채널을 이용하여 상기 색상의 명도값을 결정하는 영상 코드를 복호하는 방법.
18. The method of claim 17,
In determining the brightness value, the computer device
Using at least one of the R channel of the RGB model, the G channel of the RGB model, the B channel of the RGB model, the Cb channel of the YCbCr model, the Cr channel of the YCbCr model, the Cg channel of the YCgCo model, or the Co channel of the YCgCo model, A method of decoding an image code that determines a brightness value of a color.
제17항에 있어서,
상기 출력하는 단계 전에 상기 디스플레이 장치가 상기 색상에 대해 서로 다른 명도값을 갖는 샘플 영상을 출력하는 단계를 더 포함하고,
상기 명도값을 결정하는 단계에서 상기 컴퓨터 장치가 상기 디스플레이 장치에서 출력되는 샘플 영상을 분석하여 서로 다른 명도값이 구분되는 색상을 기준으로 상기 명도값을 결정하거나, 상기 컴퓨터 장치가 상기 디스플레이 장치에서 출력되는 샘플 영상을 분석하여 서로 다른 명도값이 구분되는 색상 모델을 결정하고, 결정된 색상 모델을 이용하여 상기 명도값을 결정하는 영상 코드를 복호하는 방법.
18. The method of claim 17,
Further comprising the step of outputting a sample image in which the display device has different brightness values for the hue before the outputting step,
Wherein the computer device analyzes the sample image output from the display device to determine the brightness value based on a color in which different brightness values are distinguished in the determining of the brightness value, Determining a color model in which different brightness values are distinguished from each other by analyzing the sampled image, and determining the brightness value using the determined color model.
KR1020140039826A 2013-11-06 2014-04-03 Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code KR101578287B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020140039826A KR101578287B1 (en) 2014-04-03 2014-04-03 Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code
US14/533,322 US10235596B2 (en) 2013-11-06 2014-11-05 System and method for transferring data using image code, outputting image code on display device, and decoding image code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140039826A KR101578287B1 (en) 2014-04-03 2014-04-03 Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code

Publications (2)

Publication Number Publication Date
KR20150115189A true KR20150115189A (en) 2015-10-14
KR101578287B1 KR101578287B1 (en) 2015-12-16

Family

ID=54357391

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140039826A KR101578287B1 (en) 2013-11-06 2014-04-03 Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code

Country Status (1)

Country Link
KR (1) KR101578287B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180080573A (en) * 2017-01-04 2018-07-12 성균관대학교산학협력단 Data encoding method using image, data decoding method using image and data transferring system using image
CN112949800A (en) * 2021-01-27 2021-06-11 中国银联股份有限公司 Method, device and storage medium for generating, playing and processing graphic code video

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001195536A (en) * 1999-11-13 2001-07-19 Colorzip Media Inc Code, and method and device for encoding/decoding code
KR20040041778A (en) 2002-11-11 2004-05-20 삼성전자주식회사 Code recognition apparatus and method
KR20090050731A (en) 2007-11-16 2009-05-20 주식회사 더블유모비스 Data transmission apparatus and method using colors of display
KR20130116621A (en) * 2012-04-16 2013-10-24 삼성테크윈 주식회사 Image management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001195536A (en) * 1999-11-13 2001-07-19 Colorzip Media Inc Code, and method and device for encoding/decoding code
KR20040041778A (en) 2002-11-11 2004-05-20 삼성전자주식회사 Code recognition apparatus and method
KR20090050731A (en) 2007-11-16 2009-05-20 주식회사 더블유모비스 Data transmission apparatus and method using colors of display
KR20130116621A (en) * 2012-04-16 2013-10-24 삼성테크윈 주식회사 Image management system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180080573A (en) * 2017-01-04 2018-07-12 성균관대학교산학협력단 Data encoding method using image, data decoding method using image and data transferring system using image
CN112949800A (en) * 2021-01-27 2021-06-11 中国银联股份有限公司 Method, device and storage medium for generating, playing and processing graphic code video
CN112949800B (en) * 2021-01-27 2024-02-06 中国银联股份有限公司 Method, apparatus and storage medium for generating, playing and processing graphic code video

Also Published As

Publication number Publication date
KR101578287B1 (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US10235596B2 (en) System and method for transferring data using image code, outputting image code on display device, and decoding image code
JP6800858B2 (en) Systems and methods for providing optically encoded information
US20140241732A1 (en) Transmitter, receiver, and method
KR101645136B1 (en) Color code displaying method for data communication in display screen and data transferring method using color code
JP6852411B2 (en) Video signal processing device, video signal processing method and program
US10218439B2 (en) Optical communication device, optical communication method, and non-transitory recording medium
KR101578287B1 (en) Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code
Stafford et al. Tetris: Smartphone-to-smartphone screen-based visible light communication
US10026205B2 (en) Method and apparatus for providing preview image
KR101491342B1 (en) System for data transfer using image code and method for displaying image code corresponding to data in display apparatus
JP6986079B2 (en) Detection and / or decoding of visible light communication
US11328503B2 (en) Wireless data communication of binary data as image data
US9305200B2 (en) Information acquisition apparatus, information acquisition method, and non-transitory recording medium
JP5988697B2 (en) Endoscope system and program
KR20170043146A (en) Wearable LED Communication Device and Method Thereof
US10367581B2 (en) Notification device, notification method, and non-transitory recording medium
JP2015177285A (en) communication system and communication method
JP2021515503A (en) Methods and devices for transmitting coded optical messages, especially for the purpose of verifying the display of content on electronic screens.
EP3261057A1 (en) Head mounted display and transmission control method
US20240071275A1 (en) Calibration system for display apparatus and operating method thereof
KR20180080573A (en) Data encoding method using image, data decoding method using image and data transferring system using image
EP3590206B1 (en) Selecting from content items associated with different light beacons
KR101759249B1 (en) Data transferring method based on emitting light and sound wave
JP2006330092A (en) Information display device and information providing system
KR20200092583A (en) Display device and control method thereof

Legal Events

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

Payment date: 20180917

Year of fee payment: 4