KR101996064B1 - Data encoding method using image, data decoding method using image and data transferring system using image - Google Patents

Data encoding method using image, data decoding method using image and data transferring system using image Download PDF

Info

Publication number
KR101996064B1
KR101996064B1 KR1020170001418A KR20170001418A KR101996064B1 KR 101996064 B1 KR101996064 B1 KR 101996064B1 KR 1020170001418 A KR1020170001418 A KR 1020170001418A KR 20170001418 A KR20170001418 A KR 20170001418A KR 101996064 B1 KR101996064 B1 KR 101996064B1
Authority
KR
South Korea
Prior art keywords
areas
source image
area
encoder
binary number
Prior art date
Application number
KR1020170001418A
Other languages
Korean (ko)
Other versions
KR20180080573A (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 KR1020170001418A priority Critical patent/KR101996064B1/en
Publication of KR20180080573A publication Critical patent/KR20180080573A/en
Application granted granted Critical
Publication of KR101996064B1 publication Critical patent/KR101996064B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/025Systems for the transmission of digital non-picture data, e.g. of text during the active part of a television frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/025Systems for the transmission of digital non-picture data, e.g. of text during the active part of a television frame
    • H04N7/035Circuits for the digital non-picture data signal, e.g. for slicing of the data signal, for regeneration of the data-clock signal, for error detection or correction of the data signal
    • H04N7/0355Circuits for the digital non-picture data signal, e.g. for slicing of the data signal, for regeneration of the data-clock signal, for error detection or correction of the data signal for discrimination of the binary level of the digital data, e.g. amplitude slicers

Abstract

영상을 이용한 데이터 전달 장치는 이진 코드 및 소스 영상을 획득하고, 상기 이진 코드를 구성하는 어느 하나의 이진수의 종류에 따라 상기 소스 영상에서 2개의 영역의 색상값 중 적어도 하나를 변경하는 인코더 및 상기 색상값이 변경된 소스 영상을 수신하고, 상기 소스 영상의 프레임에서 상기 2개의 영역의 색상값을 비교하여 0 또는 1의 이진수 종류를 산출하는 디코더를 포함한다.An apparatus for acquiring a binary code and a source image, an encoder for changing at least one of color values of two areas in the source image according to a type of a binary number constituting the binary code, And a decoder for receiving the source image of which the value is changed and comparing the color values of the two areas in the frame of the source image to calculate a binary number of 0 or 1.

Description

영상을 이용한 데이터 인코딩 방법, 영상을 이용한 데이터 디코딩 방법 및 영상을 이용한 데이터 전달 장치{DATA ENCODING METHOD USING IMAGE, DATA DECODING METHOD USING IMAGE AND DATA TRANSFERRING SYSTEM USING IMAGE}TECHNICAL FIELD [0001] The present invention relates to a data encoding method using an image, a data decoding method using an image, and a data transmitting apparatus using an image,

이하 설명하는 기술은 영상을 이용하여 데이터를 전달하는 기법에 관한 것이다.The technique described below relates to a technique for transferring data using an image.

디지털 데이터의 전달은 RF(Radio Frequency)를 이용한 무선 통신 방식이 각광받고 있다. 나아가 RF 통신 방식을 대체하기 위한 다양한 연구도 진행되고 있다.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.

색상을 활용한 통신 방법인 VNFC(Visual Near Field Communication)는 기본적으로 색상을 발광할 수 있는 디스플레이 장치와 색상을 검출할 수 있는 카메라를 통해 수행된다. VNFC는 송신부에서 전송할 데이터를 부호화 알고리즘을 통해 기기의 액정화면에 색상을 발광하고, 이를 수신부가기기의 카메라로 색상을 검출하여 검출된 색상을 복호화 알고리즘을 수행함으로써 데이터를 획득한다.VNFC (Visual Near Field Communication), a communication method using color, is basically performed through a display device capable of emitting color and a camera capable of detecting color. The VNFC emits color to the liquid crystal screen of the device through the encoding algorithm of the data to be transmitted by the transmitter, and the receiver obtains the data by detecting the color by the camera of the device and decoding the detected color.

한국등록특허 제10-1574302호Korean Patent No. 10-1574302

VNFC는 데이터 전송량이 매우 적고, 근거리에서만 데이터가 전달가능하다는 문제점이 있다. 이하 설명하는 기술은 영상을 이용하여 비교적 많은 데이터를 파일 또는 네트워크를 통해 전달할 수 있는 기법을 제공하고자 한다.VNFC has a problem that data transmission amount is very small and data can be transmitted only at a close range. The technique described below is intended to provide a technique for transferring a relatively large amount of data through a file or network using an image.

영상을 이용한 데이터 인코딩 방법은 인코더가 소스 데이터를 나타내는 이진 코드 및 소스 영상을 획득하는 단계, 상기 인코더가 상기 소스 영상에서 2개의 영역의 색상값을 결정하는 단계, 상기 인코더가 상기 이진 코드 중 제1 이진수의 종류에 따라 상기 2개의 영역의 색상값 중 적어도 하나를 변경하는 단계 및 상기 인코더가 상기 2개의 영역의 색상값이 변경된 소스 영상을 저장하는 단계를 포함한다.A method of encoding data using an image comprises the steps of: obtaining an encoded binary image and a source image, wherein the encoder indicates source data; determining a color value of the two regions in the source image; Changing at least one of the hue values of the two areas according to the type of the binary number, and storing the source image in which the encoder has changed the hue value of the two areas.

영상을 이용한 데이터 디코딩 방법은 디코더가 소스 영상을 수신하는 단계, 상기 디코더가 상기 소스 영상의 2개의 영역을 선택하는 단계, 상기 디코더가 상기 2개의 영역의 색상값을 결정하는 단계 및 상기 디코더가 상기 2개의 영역의 색상값의 크기를 비교하여 0 또는 1의 이진수를 산출하는 단계를 포함한다.A method of decoding data using an image includes the steps of: receiving a source image by a decoder; selecting two regions of the source image by the decoder; determining a color value of the two regions by the decoder; And calculating the binary number of 0 or 1 by comparing the sizes of the color values of the two areas.

영상을 이용한 데이터 전달 장치는 이진 코드 및 소스 영상을 획득하고, 상기 이진 코드를 구성하는 어느 하나의 이진수의 종류에 따라 상기 소스 영상에서 2개의 영역의 색상값 중 적어도 하나를 변경하는 인코더 및 상기 색상값이 변경된 소스 영상을 수신하고, 상기 소스 영상의 프레임에서 상기 2개의 영역의 색상값을 비교하여 0 또는 1의 이진수 종류를 산출하는 디코더를 포함한다.An apparatus for acquiring a binary code and a source image, an encoder for changing at least one of color values of two areas in the source image according to a type of a binary number constituting the binary code, And a decoder for receiving the source image of which the value is changed and comparing the color values of the two areas in the frame of the source image to calculate a binary number of 0 or 1.

이하 설명하는 기술은 영상을 통해 데이터를 원거리로 전달할 수 있고, 동시에 보안에 강인하다. The techniques described below are capable of transmitting data remotely via video, and at the same time are robust to security.

도 1은 영상을 이용한 데이터 전달 장치의 예를 도시한다.
도 2는 영상을 이용한 데이터 인코딩 방법에 대한 순서도의 예이다.
도 3은 데이터를 인코딩하기 위한 영역에 대한 예이다.
도 4는 데이터를 인코딩하기 위한 영역에 대한 다른 예이다.
도 5는 영상을 이용한 데이터 인코딩 과정에 대한 예이다.
도 6은 인코딩 과정에서 색상값을 조절하는 예이다.
도 7은 영상을 이용한 데이터 디코딩 방법에 대한 순서도의 예이다.
도 8은 영상을 이용한 데이터 디코딩 과정에 대한 예이다.
Fig. 1 shows an example of a data transfer apparatus using an image.
2 is an example of a flowchart of a data encoding method using an image.
3 is an example of an area for encoding data.
Figure 4 is another example of an area for encoding data.
5 is an example of a data encoding process using an image.
6 is an example of adjusting the color value in the encoding process.
7 is an example of a flowchart of a data decoding method using an image.
8 is an example of a data decoding process using an image.

이하 설명하는 기술은 다양한 변경을 가할 수 있고 여러 가지 실시례를 가질 수 있는 바, 특정 실시례들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 이하 설명하는 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 이하 설명하는 기술의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.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개 이상으로 분화되어 구비될 수도 있다. 그리고 이하에서 설명할 구성부 각각은 자신이 담당하는 주기능 이외에도 다른 구성부가 담당하는 기능 중 일부 또는 전부의 기능을 추가적으로 수행할 수도 있으며, 구성부 각각이 담당하는 주기능 중 일부 기능이 다른 구성부에 의해 전담되어 수행될 수도 있음은 물론이다.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.

또, 방법 또는 동작 방법을 수행함에 있어서, 상기 방법을 이루는 각 과정들은 문맥상 명백하게 특정 순서를 기재하지 않은 이상 명기된 순서와 다르게 일어날 수 있다. 즉, 각 과정들은 명기된 순서와 동일하게 일어날 수도 있고 실질적으로 동시에 수행될 수도 있으며 반대의 순서대로 수행될 수도 있다.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) 등과 같은 코드로 표현된다. 컴퓨터 장치는 특정 데이터를 이진수의 시퀀스(sequence)로 표현하고, 이진수의 시퀀스를 특정 데이터로 인식한다. 이하 특정 데이터를 의미하는 이진수의 시퀀스를 이진코드라고 명명한다.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. A computer device represents specific data as a sequence of binary numbers and recognizes a sequence of binary numbers as specific data. Hereinafter, a binary sequence denoting specific data is referred to as a binary code.

이하 설명하는 기술은 특정 영상을 이용하여 데이터를 전달하는 기법이다. 특정한 데이터는 텍스트 데이터, 영상 데이터, 음악 데이터 등을 포함한다. 이하 설명하는 기술은 특정 영상에서 2개의 영역에 대한 색상값의 크기 차이를 기준으로 이진수(이진코드)전달한다. 이하 도면을 참조하여 영상을 통해 데이터를 전달하는 기법을 설명한다. 이하 영상에 데이터를 인코딩하는 장치를 인코더라고 명명하고, 코딩된 영상에서 데이터를 복호하는 장치를 디코더라고 명명한다. 인코더 및 디코더는 각각 특정 연산 처리가 가능한 컴퓨팅 장치에 해당한다.The technique described below is a technique of transmitting data using a specific image. The specific data includes text data, image data, music data, and the like. The technique described below transfers a binary number (binary code) based on a difference in size of color values of two regions in a specific image. Hereinafter, a technique of transmitting data through an image will be described with reference to the drawings. Hereinafter, a device for encoding data in an image is referred to as an encoder, and a device for decoding data in a coded image is referred to as a decoder. The encoder and the decoder correspond to a computing device capable of performing specific operation processing, respectively.

도 1은 영상을 이용한 데이터 전달 장치의 예를 도시한다. Fig. 1 shows an example of a data transfer apparatus using an image.

도 1(a)는 영상 파일을 전달하는 방식으로 데이터는 전송하는 예이다. 도 1(a)에서 인코더(10) 및 디코더(20)는 컴퓨터 장치(PC)를 예로 도시하였다. 1 (a) shows an example of transferring data in a manner of transferring an image file. In FIG. 1 (a), the encoder 10 and the decoder 20 illustrate a computer device (PC) as an example.

인코더(10)는 데이터를 입력 받는다. (i) 인코더(10)는 사용자로부터 직접 데이터를 입력 받을 수 있다. 예컨대, 사용자가 텍스트 데이터, 음성 데이터 등을 입력하는 경우이다. (ii) 인코더(10)는 이미 작성된 데이터 파일을 읽어서 데이터를 획득할 수도 있다. (iii) 인코더(10)는 네트워크를 통해 전달되는 데이터를 수신하여 데이터를 입력받을 수도 있다. The encoder 10 receives data. (i) The encoder 10 can receive data directly from the user. For example, the user inputs text data, voice data, and the like. (ii) The encoder 10 may acquire data by reading a previously created data file. (iii) The encoder 10 may receive data transmitted through a network and receive data.

인코더(10)는 소스 영상을 입력받는다. (i) 인코더(10)는 사용자로부터 직접 소스 영상을 입력 받을 수 있다. 예컨대, 사용자가 카메라로 영상을 캡처하여 전달하는 경우이다.(ii) 인코더(10)는 이미 저장된 소스 영상 파일을 읽어서 소스 영상을 획득할 수도 있다. (iii) 인코더(10)는 네트워크를 통해 전달되는 소스 영상을 수신하여 소스 영상을 입력받을 수도 있다. 소스 영상은 정지 영상(사진)일 수도 있고, 복수의 프레임으로 구성되는 동영상일 수도 있다.The encoder 10 receives the source image. (i) The encoder 10 can receive the source image directly from the user. For example, the user captures and delivers an image to a camera. (Ii) The encoder 10 may acquire a source image by reading an already stored source image file. (iii) The encoder 10 may receive the source image transmitted through the network and receive the source image. The source image may be a still image (photograph) or a moving image composed of a plurality of frames.

인코더(10)는 소스 영상에 데이터를 인코딩한다. 자세한 인코딩 과정은 후술한다. 도 1(a)는 디코더(20)가 인코딩한 영상을 저장 장치(SD 카드, USB 메모리 등)를 통해 획득하는 예를 도시한다. 디코더(20)는 획득한 영상을 디코딩하여 데이터를 복원한다.The encoder 10 encodes the data in the source image. The detailed encoding process will be described later. 1 (a) shows an example in which an image encoded by the decoder 20 is acquired through a storage device (SD card, USB memory, etc.). The decoder 20 decodes the acquired image to recover the data.

도 1(b)는 영상 데이터를 네트워크를 통해 전달하여 데이터를 전송하는 예이다. 도 1(b)에서 인코더(30) 및 디코더(40)는 스마트 기기를 예로 도시하였다. 인코더(30) 및 디코더(40)의 기본적인 동작은 각각 도 1(a)의 인코더(10) 및 디코더(20)와 동일하다. 다만 인코더(30)는 데이터를 인코딩한 소스 영상을 네트워크를 통해 송신하고, 디코더(40)는 수신한 소스 영상을 디코딩한다.1 (b) shows an example in which image data is transmitted through a network to transmit data. 1 (b), the encoder 30 and the decoder 40 are examples of smart devices. The basic operations of the encoder 30 and the decoder 40 are the same as those of the encoder 10 and the decoder 20 of Fig. 1 (a), respectively. However, the encoder 30 transmits the source image encoded by the data through the network, and the decoder 40 decodes the received source image.

도 1(c)는 영상 데이터를 TV 방송과 같은 방식으로 브로드캐스팅하여 불특정인에게 데이터를 전송하는 예이다. 도 1(c)에서 인코더(50)는 방송국에 위치한 컴퓨터 장치 내지 영상 처리 장치이고, 도 1(c)에서 디코더(60)는 댁내에 위치하는 TV와 같은 장치이다. 도 1(c)에 도시하지 않았지만 디코더(60)는 TV가 아닌 셋톱박스와 같은 별도의 장치일 수도 있다. 또한 디코더(60)는 TV 신호를 수신할 수 있는 컴퓨터 장치일 수도 있다. 인코더(30) 및 디코더(40)의 기본적인 동작은 각각 도 1(a)의 인코더(10) 및 디코더(20)와 동일하다. 다만 인코더(50)는 브로드캐스팅할 소스 영상에 데이터를 인코딩한다. 디코더(60)는 브로드캐스팅된 소스 영상을 수신하고, 해당 영상을 디코딩한다.1 (c) shows an example in which video data is broadcast in the same manner as TV broadcast and data is transmitted to an unspecified person. In FIG. 1C, the encoder 50 is a computer apparatus or an image processing apparatus located in a broadcasting station. In FIG. 1C, the decoder 60 is a device such as a TV located in a house. Although not shown in FIG. 1 (c), the decoder 60 may be a separate device such as a set-top box instead of a TV. The decoder 60 may also be a computer device capable of receiving a TV signal. The basic operations of the encoder 30 and the decoder 40 are the same as those of the encoder 10 and the decoder 20 of Fig. 1 (a), respectively. However, the encoder 50 encodes the data in the source image to be broadcasted. The decoder 60 receives the broadcasted source image and decodes the image.

도 2는 영상을 이용한 데이터 인코딩 방법(100)에 대한 순서도의 예이다. 인코더는 이진 코드 및 소스 영상을 획득한다(110). 이진 코드는 전송할 데이터의 코드이다. 인코더는 소스 영상에서 데이터를 인코딩하기 위한 2개의 영역을 선택한다(120). 만약 검출된 얼굴 내의 영역을 선택할 경우, 인코딩/디코딩 시 사용되는 얼굴 검출기는 동일해야 한다. 영상에서 데이터를 코딩하기 위한 영역을 코딩 영역이라고 명명한다. 코딩 영역은 사전에 설정된 특정 위치의 영역일 수 있다. 또는 코딩 영역은 인코더가 임의로 선택한 위치의 영역일 수도 있다. 만약 사전에 설정된 위치의 영역이 아니라면, 인코더는 코딩 영역의 위치를 나타내는 정보를 별도로 저장하여 전송해야 할 것이다.2 is an example of a flowchart for a data encoding method 100 using an image. The encoder acquires the binary code and the source image (110). The binary code is the code of the data to be transmitted. The encoder selects 120 the two regions for encoding the data in the source image. If an area within the detected face is selected, the face detector used in encoding / decoding should be the same. An area for coding data in an image is called a coding area. The coding region may be a region of a predetermined position set in advance. Or the coding region may be an area at a position arbitrarily selected by the encoder. If it is not the area of the preset location, the encoder would have to store and transmit the information indicating the location of the coding area separately.

인코더는 2개의 코딩 영역에 대한 색상값을 결정한다(130). 한편 영상에서 색상값은 색상 모델에 따라 다양할 수 있다. 예컨대, (1) 색상 데이터는 RGB 색상 체계를 기준으로 R값, G값 및 B값 중 적어도 하나를 사용할 수 있다. 색상 데이터는 R값, G값 및 B값 중 적어도 하나에 대한 색상 데이터 평균값을 사용할 수도 있다. (2) 컴퓨터 장치는 RGB 색상 체계를 다른 색상 체계로 변환할 수 있다. 예컨대, 컴퓨터 장치는 RGB 색상 체계를 YUV, HSV, YCbCr, YCgCo 등과 같은 다양한 색상 체계로 변환할 수 있다. 예컨대, YCbCr의 경우 Cb값 또는 Cr값 중 적어도 하나를 이용할 수 있다. YCgCo의 경우는 Cg값 또는 Co값 중 적어도 하나를 이용할 수 있다. 나아가 두 개의 색차 성분 중 어느 하나를 이용할 수 있다. 예컨대, YCgCo의 경우는 Cg값만을 이용할 수 있다. 이 경우 컴퓨터 장치는 피부 영역의 Cg 색상 데이터의 평균값을 색상 데이터로 추출할 수 있다. (3) 나아가 색상 데이터는 RGB, YUV, HSV, YCbCr, YCgCo 등과 같은 다양한 색상 체계에서 적어도 하나 이상의 색 성분에 가중치를 적용하여 조합한 값일 수도 있다. 색 성분을 조합하는 경우 색상 데이터는 색상 체계 및 색 성분의 종류에 따라 서로 다른 가중치를 부여한 값을 합산한 값일 수도 있다. 이하 데이터 전송을 위해 특정 색상 모델의 색상값을 사용한다고 가정한다. The encoder determines a color value for the two coding regions (130). On the other hand, color values in images can vary depending on the color model. For example, (1) the color data may use at least one of an R value, a G value, and a B value based on the RGB color scheme. The color data may use the color data average value for at least one of the R value, the G value, and the B value. (2) The computer device can convert the RGB color scheme to a different color scheme. For example, the computer device may convert the RGB color scheme to various color schemes such as YUV, HSV, YCbCr, YCgCo, and the like. For example, in the case of YCbCr, at least one of Cb value and Cr value can be used. In the case of YCgCo, at least one of Cg value and Co value can be used. Further, any one of the two color difference components can be used. For example, in the case of YCgCo, only the Cg value can be used. In this case, the computer device can extract the average value of the Cg color data of the skin region as color data. (3) Further, the color data may be a value obtained by combining weights applied to at least one color component in various color systems such as RGB, YUV, HSV, YCbCr, YCgCo, and the like. In the case of combining color components, the color data may be a value obtained by adding different weighted values depending on the color system and the type of color component. Hereinafter, it is assumed that a color value of a specific color model is used for data transmission.

인코더는 이진 코드를 하나의 이진수 단위로 인코딩한다. 인코더는 현재 인코딩할 이진수를 파악한다. 예컨대, 이진수는 0 또는 1이다. 인코더는 아래의 표 1과 같은 기준에 따라 인코딩을 수행할 수 있다. 표 1에서 2개의 코딩 영역은 각각 A 및 B로 표시한다.The encoder encodes the binary code into a single binary number. The encoder now knows which binary number to encode. For example, the binary number is 0 or 1. The encoder can perform encoding according to the criteria shown in Table 1 below. In Table 1, the two coding regions are denoted by A and B, respectively.

코딩할 이진수Binary to be coded 코딩 영역의 색상값 크기Color value size in the coding area 00 A < BA <B 1One A > BA> B

인코더는 상기 표 1과 같은 관계를 갖는지 현재 코딩할 이진수와 2개의 코딩 영역의 색상값의 크기 관계 비교한다(140). 만약 현재 코딩할 이진수와 코딩 영역의 색상값의 관계가 상기 기준과 일치하지 않는다면, 인코더는 기준에 부합하도록 코딩 영역의 색상을 변경한다(150). 인코더는 2개의 코딩 영역 중 적어도 하나의 색상값을 조절한다. 한편 상기 표 1은 인코더가 인코딩을 수행하기 위한 하나의 기준에 불과하다. 다양한 다른 기준들이 사용될 수 있다.The encoder compares the size of the current binary number with the color value of the two coding areas to determine whether the relationship is as shown in Table 1 (140). If the relationship between the current binary number to be coded and the color value of the coding region does not match the reference, the encoder changes the color of the coding region to match the reference (150). The encoder adjusts the color value of at least one of the two coding regions. On the other hand, Table 1 is only one reference for encoding by the encoder. Various other criteria may be used.

인코더는 데이터를 소스 영상에 인코딩하는 과정에서 불가피하게 코딩 영역의 색상값을 변경하게 된다. 인코더가 색상값을 변경하는 정도가 작다면 사용자는 영상에서 변화를 쉽게 인지하지 못한다. 예컨대, RGB 색상 체계에서 0 ~ 255 범위의 색상값을 갖는다. 코딩 영역의 색상값이 120인데, 인코더가 해당 코딩 영역의 색상값을 122로 조정했다면 해당 변화를 사용자가 인지하기 어렵다. 나아가 더욱더 소스 영상에 일어난 색상 변화를 인지하지 못하게 하기 위하여 인코더는 소스 영상을 분석하여 색상값의 변화가 적은 영역을 선택할 수 있다. 예컨대, 인코더는 에지와 같은 복잡도가 높은 곳을 배제하고, 색상의 변화정도가 비교적 평탄한 영역 중 코딩 영역을 선택할 수 있다.The encoder inevitably changes the color value of the coding area in the process of encoding the data into the source image. If the encoder does not change the color value, the user does not easily recognize the change in the image. For example, it has a color value ranging from 0 to 255 in the RGB color scheme. If the color value of the coding area is 120, and the encoder has adjusted the color value of the coding area to 122, it is difficult for the user to perceive the change. Furthermore, in order to prevent further recognition of the color change occurring in the source image, the encoder can analyze the source image and select an area having a small change in color value. For example, the encoder can select a coding region out of a region where the degree of change in hue is relatively flat, excluding a portion having a high degree of complexity such as an edge.

인코더는 인코딩이 모두 종료되었는지 판단(160)하면서 이진 코드에 대해 모두 인코딩이 끝날때까지 전술한 인코딩 과정을 반복수행한다.The encoder repeatedly performs the above-described encoding process until all the encoding is completed for the binary code (160) while determining whether the encoding is all terminated (160).

도 3은 데이터를 인코딩하기 위한 영역에 대한 예이다. 도 3(a)는 소스 영상의 동일 프레임에서 2개의 코딩 영역(A 및 B)을 도시한 예이다. A 및 B는 사전에 설정한 특정 위치일 수도 있고, 인코더가 임의로 선택한 위치일 수도 있다. 한편 인코더는 영상을 분석하여 특정한 영역 중에서 코딩 영역을 선택할 수 있다. 예컨대, 인코더는 도 3과 같이 소스 영상에서 피부 영역(얼굴 등)을 검출하고, 피부 영역 중에서 코딩 영역을 선택할 수 있다. 피부 영역 내지 얼굴 검출을 위한 다양한 알고리즘이 존재한다. 얼굴 영역 검출을 위해 사용되는 얼굴 검출기는 인코딩/디코딩 시 정확한 코딩 영역의 좌표를 확인하기 위해 반드시 동일한 얼굴 검출기 사용해야 한다.3 is an example of an area for encoding data. 3 (a) shows an example of two coding areas A and B in the same frame of a source image. A and B may be a specific position set in advance, or may be a position arbitrarily selected by the encoder. Meanwhile, the encoder can analyze the image and select a coding area from a specific area. For example, the encoder can detect a skin region (face or the like) from the source image and select a coding region from the skin region as shown in Fig. There are various algorithms for skin area or face detection. Face detectors used for face area detection must always use the same face detector to identify the correct coding area coordinates during encoding / decoding.

도 3(b)는 소스 영상에 대한 복수의 프레임에서 2개의 코딩 영역(A 및 B)을 도시한 예이다. 도 3(b)에서 인코더는 하나의 프레임(i 번째)에서 하나의 코딩 영역 A를 선택하고, 다른 프레임(i+n 번째)에서 다른 코딩 영역 B를 선택한다.Fig. 3 (b) is an example showing two coding areas A and B in a plurality of frames for the source image. In Fig. 3 (b), the encoder selects one coding region A from one frame (i-th) and another coding region B from another frame (i + n-th).

도 4는 데이터를 인코딩하기 위한 영역에 대한 다른 예이다. 도 4는 소스 영상의 프레임 중 일부를 도시하였다. 도 4에서 도시한 프레임은 가로 길이는 15이고, 세로 길이는 17이다. 여기서 프레임에 표시한 숫자는 픽셀 단위이다. 즉, 도 4의 프레임은 15 × 17의 크기를 갖는다. Figure 4 is another example of an area for encoding data. 4 shows a part of the frames of the source image. The frame shown in Fig. 4 has a width of 15 and a length of 17. The number displayed in the frame here is in pixels. That is, the frame of Fig. 4 has a size of 15 x 17.

도 4(a)는 동일 프레임에서 하나의 픽셀을 코딩 영역으로 사용한 예이다. 도 4(a)는 A 및 B라는 코딩 영역을 도시한다. 이 경우 인코더는 A 영역의 픽셀의 색상값 및 B 영역의 픽셀의 색상값 중 적어도 하나를 변경할 수 있다.4 (a) shows an example in which one pixel is used as a coding region in the same frame. Figure 4 (a) shows the coding areas A and B. In this case, the encoder can change at least one of the color value of the pixel of the A region and the color value of the pixel of the B region.

도 4(b)는 동일 프레임에서 복수의 픽셀을 하나의 코딩 영역으로 사용한 예이다. 이 경우 인코더는 A 영역에 속한 픽셀들의 색상값의 평균값 및 B 영역에 속한 픽셀들의 색상값의 평균값 중 적어도 하나를 변경할 수 있다. 평균값을 변경하는 것이므로 인코더는 코딩 영역의 픽셀 전체 또는 일부의 색상값을 변경할 수 있다.4 (b) shows an example in which a plurality of pixels are used as one coding region in the same frame. In this case, the encoder can change at least one of the average value of the color values of the pixels belonging to the A region and the average value of the color values of the pixels belonging to the B region. Since the average value is changed, the encoder can change the color value of all or part of the pixels in the coding region.

도 4(c)는 동일 프레임에서 서로 다른 크기의 코딩 영역을 사용한 예이다. 도 4(c)를 살펴보면, A 영역 보다 B 영역의 크기가 작음을 알 수 있다. 인코더는 코딩 영역의 크기와 관계없이, A 영역의 색상값의 평균값과 B 영역의 색상값의 평균값 중 적어도 하나를 변경할 수 있다.FIG. 4 (c) shows an example using coding regions of different sizes in the same frame. Referring to FIG. 4 (c), it can be seen that the size of the B region is smaller than that of the A region. The encoder can change at least one of an average value of the color values of the area A and an average value of the color values of the area B regardless of the size of the coding area.

도 4(d)는 동일 프레임에서 서로 모양이 다른 코딩 영역을 사용한 예이다. A 영역은 사각형이고, B 영역은 삼각형이다. 인코더는 코딩 영역의 모양에 관계없이 A 영역의 색상값의 평균값과 B 영역의 색상값의 평균값 중 적어도 하나를 변경할 수 있다.4 (d) shows an example in which coding regions having different shapes are used in the same frame. The A region is a square, and the B region is a triangle. The encoder can change at least one of the average value of the color values of the area A and the average value of the color values of the area B regardless of the shape of the coding area.

도 5는 영상을 이용한 데이터 인코딩 과정에 대한 예이다. 인코더는 소스 영상에서 코딩 영역(A 및 B)을 선택한다. 인코더는 데이터를 나타내는 이진 코드를 입력받는다. 인코더는 이진 코드를 구성하는 이진수 단위로 인코딩을 수행한다. 예컨대, 이진 코드의 첫 번째 이진수가 1이라면, 1이라는 이진수와 코딩 영역 A와 B의 색상값의 관계가 일치하는지 여부를 판단한다. 일치하지 않는다면 인코더는 코딩 영역 A 및 B 중 적어도 하나의 색상값을 조절한다. 도 5에서는 A 영역의 색상값을 증가(상향 화살표로 표시)시키고, B 영역의 색상값을 감소(하향 화살표로 표시)시킨 예를 도시한다.5 is an example of a data encoding process using an image. The encoder selects the coding areas A and B from the source image. The encoder receives the binary code representing the data. The encoder performs the encoding in binary units that make up the binary code. For example, if the first binary number of the binary code is 1, it is determined whether the binary number of 1 and the color values of the coding areas A and B coincide with each other. If not, the encoder adjusts the color value of at least one of the coding areas A and B. 5 shows an example in which the color value of the area A is increased (indicated by an upward arrow) and the color value of the area B is decreased (indicated by a downward arrow).

한편 인코더는 일반적으로 이진 코드를 구성하는 이진수 시퀀스 순서에 따라 인코딩을 수행한다. 하지만 경우에 따라서는 이진수 시퀀스 순서가 아닌 다른 기준으로 사용할 수도 있다. 예컨대, 전체 이진 코드가 입력되었다면, 인코더는 이진 코드를 구성하는 이진수 시퀀스의 역순으로 하나의 이진수마다 인코딩을 수행할 수 있다. 나아가 인코더는 인코딩을 수행할 이진수의 위치를 특정한 기준에 따라 선택할 수도 있다. 인코더가 이진 코드를 구성하는 이진수를 선택하는 순서는 디코더와 공유되어야 한다.Encoders, on the other hand, typically perform encoding according to the sequence of binary sequences that make up the binary code. However, in some cases, it is possible to use other criteria than binary sequence order. For example, if an entire binary code is input, the encoder can perform encoding for each binary number in the reverse order of the binary sequence constituting the binary code. Further, the encoder may select the position of the binary to perform the encoding according to a specific criterion. The order in which the encoder selects the binary numbers that make up the binary code must be shared with the decoder.

도 6은 인코딩 과정에서 색상값을 조절하는 예이다. 도 6(a)는 소스 영상 하나의 프레임에서 영역을 좌우로 구분하여 코딩 영역을 선택한 예이다. 인코더는 좌측 영역과 우측 영역에서 대응되는 위치에 있는 코딩 영역을 선택한다. 예컨대, 인코더는 좌측 영역의 A 영역과 우측 영역의 B 영역을 색상값을 비교하기 위한 2개의 코딩 영역으로 결정할 수 있다. A 영역과 B 영역은 각각 좌측 영역에서의 위치와 우측 영역에서의 위치가 동일하다. 물론 인코더는 도 6과 달리 2개의 코딩 영역을 서로 다른 위치에서 선택할 수도 있다. 코딩 영역을 하나의 픽셀로 삼는다면, 인코더는 최대 하나의 프레임을 구성하는 픽셀의 개수/2에 해당하는 이진수를 인코딩할 수 있다.6 is an example of adjusting the color value in the encoding process. 6 (a) shows an example in which a coding region is selected by dividing a region into left and right regions in one frame of a source image. The encoder selects the coding area at the corresponding position in the left area and the right area. For example, the encoder can determine the A area of the left area and the B area of the right area as two coding areas for comparing color values. The A region and the B region have the same positions in the left region and the right region, respectively. Of course, the encoder may select two coding regions at different positions, unlike FIG. If the coding region is taken as one pixel, the encoder can encode binary numbers corresponding to the number of pixels / 2 that constitute a maximum of one frame.

도 6(b)는 입력되는 이진수에 따라 코딩 영역의 색상값을 변경하는 예이다. 설명의 편의를 위해 6개의 이진수가 입력된다고 가정한다. 도 6(b)에서 위에서 아래 순서로 이진수를 인코딩한다고 전제한다. 색상값을 변경하는 기준은 전술한 표 1에 따른다고 가정한다. (1) 현재 A 영역의 색상값은 120이고, B 영역의 색상값은 125이다. 입력된 이진수는 1이다. A 영역의 색상값 < B 영역의 색상값이므로, 인코더는 A 영역의 색상값 > B 영역의 색상값 관계를 갖도록 A 영역의 색상값을 130으로 증가시켰다. (2) 현재 C 영역의 색상값은 120이고, B 영역의 색상값은 120이다. 입력된 이진수는 0이다. C 영역의 색상값 < D 영역의 색상값이므로, 인코더는 코딩 영역의 색상값을 변경하지 않는다. (3) 현재 E 영역의 색상값은 130이고, F 영역의 색상값은 115이다. 입력된 이진수는 1이다. E 영역의 색상값 > F 영역의 색상값이므로, 인코더는 코딩 영역의 색상값을 변경하지 않을 수 있다. 도 6(b)에서는 인코더가 F 영역의 색상값을 120으로 변경하였다. E 영역의 색상값 > F 영역의 색상값 관계만을 유지하면 충분하므로, 인코더가 색상값을 변경하는 것이 문제되지 않는다. (4) 현재 G 영역의 색상값은 142이고, H 영역의 색상값은 124이다. 입력된 이진수는 0이다. G 영역의 색상값 > H 영역의 색상값이므로, 인코더는 G 영역의 색상값 < H 영역의 색상값 관계를 갖도록 G 영역의 색상값을 120으로 감소시켰고, H 영역의 색상값을 130으로 증가시켰다. 2개의 코딩 영역 모두의 색상값을 변경한 예이다. (5) 현재 I 영역의 색상값은 120이고, J 영역의 색상값은 120이다. 입력된 이진수는 0이다. I 영역의 색상값 = J 영역의 색상값이므로, 인코더는 I 영역의 색상값 > J 영역의 색상값 관계를 갖도록 J 영역의 색상값을 135로 증가시켰다. (6) 현재 K 영역의 색상값은 112이고, L 영역의 색상값은 125이다. 입력된 이진수는 1이다. K 영역의 색상값 < L 영역의 색상값이므로, 인코더는 K 영역의 색상값 < L 영역의 색상값 관계를 갖도록 K 영역의 색상값을 130으로 증가시켰고, L 영역의 색상값을 120으로 감소시켰다. 이와 같이 인코더는 0 또는 1이라는 이진수와 2개의 코딩 영역의 색상값 관계에 따라 코딩 영역의 색상값을 변경한다.6 (b) is an example of changing the color value of the coding region according to the input binary number. For convenience of explanation, it is assumed that six binary numbers are input. 6 (b), it is assumed that binary numbers are encoded in the order from top to bottom. It is assumed that the criterion for changing the color value is according to Table 1 described above. (1) The color value of the current A region is 120, and the color value of the B region is 125. The input binary number is 1. Since the color value of the area A is the color value of the area B, the encoder increases the color value of the area A to 130 so that the color value of the area A> the color value of the area B has the relationship. (2) The color value of the current C region is 120, and the color value of the B region is 120. The input binary number is zero. Since the color value of the C region &lt; D region, the encoder does not change the color value of the coding region. (3) The color value of the current E region is 130, and the color value of the F region is 115. The input binary number is 1. E area color value> Since the color value of the F area, the encoder may not change the color value of the coding area. In Fig. 6 (b), the encoder changed the color value of the F region to 120. E area color value> It is sufficient to keep only the color value relationship of the F area, so that it does not matter that the encoder changes the color value. (4) The color value of the current G region is 142 and the color value of the H region is 124. [ The input binary number is zero. Since the color value of the G region is the color value of the H region, the encoder reduces the color value of the G region to 120 and the color value of the H region to 130 to have the color value relation of the G region color value &lt; H region . This is an example of changing the color values of both coding regions. (5) The color value of the current I region is 120, and the color value of the J region is 120. The input binary number is zero. Since the color value of the I region is the color value of the J region, the encoder increases the color value of the J region to 135 so that the color value of the I region is greater than that of the J region. (6) The color value of the current K region is 112, and the color value of the L region is 125. The input binary number is 1. Since the color value of the K region is the color value of the L region, the encoder increases the color value of the K region to 130 and the color value of the L region to 120 so as to have the color value relationship of the K region color value &lt; L region . Thus, the encoder changes the color value of the coding region according to the binary value of 0 or 1 and the color value relationship between the two coding regions.

도 7은 영상을 이용한 데이터 디코딩 방법(200)에 대한 순서도의 예이다. 기본적으로 디코딩 과정은 인코딩 과정의 역순에 해당한다. 디코더는 인코더가 데이터를 인코딩한 소스 영상을 획득한다(210). 전술한 바와 같이 디코더는 파일 형태 또는 네트워크 등을 통해 소스 영상을 획득할 수 있다. 디코더는 소스 영상에서 디코딩을 위한 2개의 영역을 선택한다(220). 코딩 영역이 사전에 설정된 기준에 따른 것이라면, 디코더는 기준에 따른 특정한 위치의 2개 영역을 선택한다. 만약 검출된 얼굴 내의 영역을 선택할 경우, 인코딩/디코딩 시 사용되는 얼굴 검출기는 동일해야 한다. 얼굴 검출기가 동일하다면, 코딩 영역의 위치를 파악하여 디코딩할 수 있다. 만약 인코더가 코딩 영역을 임의로 선택한 것이라면, 디코더는 코딩 영역의 위치에 대한 정보를 별도로 획득해야 한다. 예컨대, 인코더는 소스 영상을 코딩하면서, 코딩 영역의 위치에 대한 정보를 별도로 저장하여 전달할 수 있다. 네트워크를 통해 데이터를 전달하는 경우, 인코더는 코딩 영역에 대한 위치 정보를 별도도 전송해야 한다.7 is an example of a flowchart for a data decoding method 200 using an image. Basically, the decoding process corresponds to the reverse of the encoding process. The decoder obtains the source image in which the encoder encoded the data (210). As described above, the decoder can acquire the source image through a file form, a network, or the like. The decoder selects two regions for decoding in the source image (220). If the coding area is in accordance with a predetermined criterion, the decoder selects two areas of a specific position according to the reference. If an area within the detected face is selected, the face detector used in encoding / decoding should be the same. If the face detector is the same, the position of the coding area can be grasped and decoded. If the encoder has arbitrarily selected a coding region, the decoder must separately obtain information on the location of the coding region. For example, the encoder may separately store and deliver information about the location of the coding region while coding the source image. When transmitting data over a network, the encoder must also transmit location information for the coding area separately.

디코더는 2개의 영역에 대한 색상값을 결정한다(230). 디코더는 2개의 영역에 대한 색상값을 비교하여, 아래 표 2과 같은 기준에 따라 대응하는 이진수를 산출한다(240). 아래 표 2는 상기 표 1에 대응된다.The decoder determines color values for the two regions (230). The decoder compares the color values of the two areas, and calculates corresponding binary numbers according to the criteria shown in Table 2 below (240). Table 2 below corresponds to Table 1 above.

코딩 영역의 색상값 크기Color value size in the coding area 이진수 산출Binary number output A < BA <B 00 A > BA> B 1One

디코더는 수신한 영상에 대한 디코딩이 완료되었는지 판단(250)하고, 디코딩이 완료될 때까지 전술한 디코딩 과정을 반복한다.The decoder determines whether the decoding of the received image is completed (250), and repeats the above-described decoding process until the decoding is completed.

도 8은 영상을 이용한 데이터 디코딩 과정에 대한 예이다. 디코더는 데이터가 인코딩된 소스 영상에서 코딩 영역을 선택한다. 얼굴 영역 검출을 위해 사용되는 얼굴 검출기는 인코딩/디코딩 시 정확한 코딩 영역의 좌표를 확인하기 위해 반드시 동일한 얼굴 검출기 사용해야 한다. 디코더는 2개의 코딩 영역 A 및 B의 색상값을 비교하여 하나의 이진수를 산출한다. 소스 영상의 모든 코딩 영역에 대하여 이진수를 산출하면 특정한 이진 코드를 얻을 수 있다. 이를 통해 디코더는 이진 코드가 의미하는 데이터를 복호할 수 있다.8 is an example of a data decoding process using an image. The decoder selects the coding region from the source image in which the data is encoded. Face detectors used for face area detection must always use the same face detector to identify the correct coding area coordinates during encoding / decoding. The decoder compares the color values of the two coding areas A and B to produce a binary number. A specific binary code can be obtained by calculating binary numbers for all the coding regions of the source image. This allows the decoder to decode the data meant by the binary code.

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

10 : 인코더
20 : 디코더
30 : 인코더
40 : 디코더
50 : 인코더
60 : 디코더
10: encoder
20: decoder
30: Encoder
40: decoder
50: Encoder
60: decoder

Claims (17)

인코더가 소스 데이터를 나타내는 이진 코드 및 소스 영상을 획득하는 단계;
상기 인코더가 상기 소스 영상에서 2개의 영역의 색상값을 결정하는 단계;
상기 인코더가 상기 이진 코드 중 제1 이진수의 종류에 따라 상기 2개의 영역의 색상값 중 적어도 하나를 변경하는 단계; 및
상기 인코더가 상기 2개의 영역의 색상값이 변경된 소스 영상을 저장하는 단계를 포함하고,
상기 인코더는 상기 이진 코드에서 상기 제1 이진수 다음에 있는 제2 이진수의 종류에 따라 상기 소스 영상에서 상기 2개의 영역이 아닌 다른 2개의 영역의 색상값을 변경하거나, 상기 이진 코드에서 상기 제1 이진수 다음에 있는 제2 이진수의 종류에 따라 상기 소스 영상의 다음 프레임에서 2개의 영역의 색상값을 변경하는,
영상을 이용한 데이터 인코딩 방법.
The encoder obtaining binary code and source image representing the source data;
The encoder determining color values of the two regions in the source image;
Changing at least one of the color values of the two regions according to the type of the first binary number of the binary code; And
Wherein the encoder stores the source image in which the color values of the two areas are changed,
Wherein the encoder changes the color values of two areas other than the two areas in the source image according to the type of the second binary number next to the first binary number in the binary code, And changing a color value of two areas in a next frame of the source image according to a type of a second binary number,
A data encoding method using an image.
제1항에 있어서,
상기 2개의 영역은 제1 영역 및 제2 영역을 포함하고,
상기 인코더는 상기 이진수의 종류에 따라 상기 제1 영역의 색상값이 상기 제2 영역의 색상값보다 크도록 색상값을 변경하는 영상을 이용한 데이터 인코딩 방법.
The method according to claim 1,
Wherein the two areas comprise a first area and a second area,
Wherein the encoder changes a color value such that the hue value of the first region is greater than the hue value of the second region according to the type of the binary number.
제1항에 있어서,
상기 2개의 영역은 제1 영역 및 제2 영역을 포함하고,
상기 제1 영역 및 제2 영역은 각각 하나의 픽셀 또는 복수의 픽셀을 포함하고, 복수의 픽셀을 포함하는 경우 상기 색상값은 복수의 픽셀에 대한 평균값인 영상을 이용한 데이터 인코딩 방법.
The method according to claim 1,
Wherein the two areas comprise a first area and a second area,
Wherein the first region and the second region each include one pixel or a plurality of pixels, and when the plurality of pixels are included, the color value is an average value of a plurality of pixels.
제1항에 있어서,
상기 2개의 영역은 하나의 프레임에 있는 제1 영역 및 제2 영역이거나, 각각 서로 다른 프레임에 있는 제1 영역 및 제2 영역인 영상을 이용한 데이터 인코딩 방법.
The method according to claim 1,
Wherein the two regions are a first region and a second region in one frame or a first region and a second region in different frames, respectively.
삭제delete 삭제delete 제1항에 있어서,
상기 인코더가 상기 소스 영상에서 상기 2개의 영역을 선택한 경우 상기 2개의 영역의 위치 정보를 더 저장하는 영상을 이용한 데이터 인코딩 방법.
The method according to claim 1,
And when the encoder selects the two regions from the source image, the position information of the two regions is further stored.
디코더가 소스 영상을 수신하는 단계;
상기 디코더가 상기 소스 영상의 2개의 영역을 선택하는 단계;
상기 디코더가 상기 2개의 영역의 색상값을 결정하는 단계; 및
상기 디코더가 상기 2개의 영역의 색상값의 크기를 비교하여 0 또는 1의 이진수를 산출하는 단계를 포함하고,
상기 디코더는 상기 소스 영상의 다른 2개의 영역의 색상값을 비교하여 상기 이진수 다음에 위치하는 다른 이진수를 산출하거나, 상기 소스 영상의 다음 프레임 상에 있는 2개의 영역의 색상값을 비교하여 상기 다른 이진수를 산출하는,
영상을 이용한 데이터 디코딩 방법.
The decoder receiving the source image;
The decoder selecting two regions of the source image;
The decoder determining a color value of the two areas; And
Wherein the decoder compares the magnitudes of the color values of the two areas to calculate a binary number of 0 or 1,
Wherein the decoder compares the color values of two different areas of the source image to calculate another binary number positioned next to the binary number or compares color values of two areas on the next frame of the source image, / RTI &gt;
A method of decoding data using an image.
제8항에 있어서,
상기 디코더는 상기 2개의 영역에 대한 위치 정보를 더 수신하고, 상기 위치 정보를 이용하여 상기 2개의 영역을 선택하는 영상을 이용한 데이터 디코딩 방법.
9. The method of claim 8,
Wherein the decoder further receives position information for the two areas and selects the two areas using the position information.
제8항에 있어서,
상기 디코더는 사전에 설정된 위치 정보를 이용하여 상기 2개의 영역을 선택하는 영상을 이용한 데이터 디코딩 방법.
9. The method of claim 8,
Wherein the decoder selects the two areas using preset location information.
제8항에 있어서,
상기 2개의 영역은 제1 영역 및 제2 영역을 포함하고,
상기 디코더는 상기 제1 영역의 색상값이 상기 제2 영역의 색상값보다 큰 경우 1이라는 이진수를 산출하는 영상을 이용한 데이터 디코딩 방법.
9. The method of claim 8,
Wherein the two areas comprise a first area and a second area,
Wherein the decoder calculates a binary number of 1 when the color value of the first area is larger than the color value of the second area.
삭제delete 이진 코드 및 소스 영상을 획득하고, 상기 이진 코드를 구성하는 어느 하나의 이진수에 따라 상기 소스 영상에서 2개 영역의 색상값 중 적어도 하나를 변경하는 인코더; 및
상기 색상값이 변경된 소스 영상을 수신하고, 상기 소스 영상의 프레임에서 상기 2개 영역의 색상값을 비교하여 0 또는 1로 기록된 이진수를 산출하는 디코더,
를 포함하고,
상기 인코더는 상기 이진 코드에서 제1 이진수 다음에 있는 제2 이진수에 따라 상기 소스 영상에서 상기 2개의 영역이 아닌 다른 2개의 영역의 색상값을 변경하거나, 상기 이진 코드에서 상기 제1 이진수 다음에 있는 제2 이진수에 따라 상기 소스 영상의 다음 프레임에서 2개의 영역의 색상값을 변경하고,
상기 디코더는 상기 소스 영상의 다른 2개 영역의 색상값을 비교하여 상기 이진수 다음에 위치하는 다른 이진수를 산출하거나, 상기 소스 영상의 다음 프레임 상에 있는 2개의 영역의 색상값을 비교하여 상기 다른 이진수를 산출하는,
영상을 이용한 데이터 전달 장치.
An encoder for obtaining a binary code and a source image and changing at least one of the color values of the two regions in the source image according to any binary number constituting the binary code; And
A decoder for receiving the source image in which the hue value is changed and comparing the hue value of the two regions in the frame of the source image to calculate a binary number recorded as 0 or 1,
Lt; / RTI &gt;
Wherein the encoder changes color values of two areas other than the two areas in the source image according to a second binary number following the first binary number in the binary code, Changing a color value of two areas in a next frame of the source image according to a second binary number,
Wherein the decoder compares the color values of two different areas of the source image to calculate another binary number positioned next to the binary number or compares color values of two areas on the next frame of the source image, / RTI &gt;
Data transfer device using image.
제13항에 있어서,
상기 2개의 영역은 제1 영역 및 제2 영역을 포함하고,
상기 인코더는 상기 어느 하나의 이진수의 종류에 따라 상기 제1 영역의 색상값이 상기 제2 영역의 색상값보다 크도록 색상값을 변경하는 영상을 이용한 데이터 전달 장치.
14. The method of claim 13,
Wherein the two areas comprise a first area and a second area,
Wherein the encoder changes a color value such that the hue value of the first area is greater than the hue value of the second area according to the type of the binary number.
제13항에 있어서,
상기 인코더가 상기 소스 영상에서 상기 2개의 영역을 선택한 경우 상기 2개의 영역의 위치 정보를 더 저장하는 영상을 이용한 데이터 전달 장치.
14. The method of claim 13,
And when the encoder selects the two areas from the source image, stores the location information of the two areas.
제13항에 있어서,
상기 디코더는 상기 2개의 영역에 대한 위치 정보를 더 수신하고, 상기 위치 정보를 이용하여 상기 2개의 영역을 선택하는 영상을 이용한 데이터 전달 장치.
14. The method of claim 13,
Wherein the decoder further receives position information for the two areas and selects the two areas using the position information.
제13항에 있어서,
상기 2개의 영역은 제1 영역 및 제2 영역을 포함하고,
상기 디코더는 상기 제1 영역의 색상값이 상기 제2 영역의 색상값보다 큰 경우 1이라는 이진수를 산출하는 영상을 이용한 데이터 전달 장치.
14. The method of claim 13,
Wherein the two areas comprise a first area and a second area,
Wherein the decoder calculates a binary number of 1 if the color value of the first area is greater than the color value of the second area.
KR1020170001418A 2017-01-04 2017-01-04 Data encoding method using image, data decoding method using image and data transferring system using image KR101996064B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170001418A KR101996064B1 (en) 2017-01-04 2017-01-04 Data encoding method using image, data decoding method using image and data transferring system using image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170001418A KR101996064B1 (en) 2017-01-04 2017-01-04 Data encoding method using image, data decoding method using image and data transferring system using image

Publications (2)

Publication Number Publication Date
KR20180080573A KR20180080573A (en) 2018-07-12
KR101996064B1 true KR101996064B1 (en) 2019-07-03

Family

ID=62919963

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170001418A KR101996064B1 (en) 2017-01-04 2017-01-04 Data encoding method using image, data decoding method using image and data transferring system using image

Country Status (1)

Country Link
KR (1) KR101996064B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111899173B (en) * 2020-07-24 2021-04-27 自然资源部第一海洋研究所 Data transmission method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101177092B1 (en) 2010-08-17 2012-08-24 한국과학기술원 Method for encoding data of object on a image file, method for decoding data of object, apparatus and recording medium thereof
KR101491342B1 (en) * 2013-11-06 2015-02-10 성균관대학교산학협력단 System for data transfer using image code and method for displaying image code corresponding to data in display apparatus
KR101574302B1 (en) 2015-04-09 2015-12-04 주식회사 디지워크 Method of image inserted data and apparatus performing the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101578287B1 (en) * 2014-04-03 2015-12-16 성균관대학교산학협력단 Data transferring system using image code, displaying method for image code in display apparatus and decoding method for image code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101177092B1 (en) 2010-08-17 2012-08-24 한국과학기술원 Method for encoding data of object on a image file, method for decoding data of object, apparatus and recording medium thereof
KR101491342B1 (en) * 2013-11-06 2015-02-10 성균관대학교산학협력단 System for data transfer using image code and method for displaying image code corresponding to data in display apparatus
KR101574302B1 (en) 2015-04-09 2015-12-04 주식회사 디지워크 Method of image inserted data and apparatus performing the same

Also Published As

Publication number Publication date
KR20180080573A (en) 2018-07-12

Similar Documents

Publication Publication Date Title
CN107534789B (en) Image synchronization device and image synchronization method
US9600889B2 (en) Method and apparatus for performing depth estimation
US8126202B2 (en) Digital watermark padding method, digital watermark padding device, digital watermark detecting method, digital watermark detecting device, and program
US7974438B2 (en) Spatial data encoding and decoding
US20130279813A1 (en) Adaptive interest rate control for visual search
EP3404913B1 (en) A system comprising a video camera and a client device and a method performed by the same
US7606391B2 (en) Video content scene change determination
CN102047654A (en) Content display processing device and content display processing method
CN1672432B (en) Method for encoding a digital video signal and apparatus
CN109640089A (en) Image coding/decoding method and device
CN112651258A (en) Data transmission method and system based on dynamic two-dimensional code
JP5950605B2 (en) Image processing system and image processing method
KR101996064B1 (en) Data encoding method using image, data decoding method using image and data transferring system using image
CN106548223A (en) Image bar code encoding method, decoding method, encoding device and decoding device
US10096116B2 (en) Method and apparatus for segmentation of 3D image data
CN102238421A (en) Multi-path video synchronous transmission method, device and system
KR20160024606A (en) Apparatus and method for providing preview image
US20120154528A1 (en) Image Processing Device, Image Processing Method and Image Display Apparatus
EP3703372A1 (en) Interframe prediction method and apparatus, and terminal device
CN104754367A (en) Multimedia information processing method and device
US8571257B2 (en) Method and system for image registration
US20180083703A1 (en) Notification device, notification method, and non-transitory recording medium
CN106550236B (en) Method and apparatus for generating and decoding video stream with verification data
US20160071281A1 (en) Method and apparatus for segmentation of 3d image data
US20150035846A1 (en) Scannable time-varied geometric representation of data

Legal Events

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