KR101729032B1 - Method and device of generating synthesis image file comprising additional information and computer readable program for the same - Google Patents

Method and device of generating synthesis image file comprising additional information and computer readable program for the same Download PDF

Info

Publication number
KR101729032B1
KR101729032B1 KR1020150115087A KR20150115087A KR101729032B1 KR 101729032 B1 KR101729032 B1 KR 101729032B1 KR 1020150115087 A KR1020150115087 A KR 1020150115087A KR 20150115087 A KR20150115087 A KR 20150115087A KR 101729032 B1 KR101729032 B1 KR 101729032B1
Authority
KR
South Korea
Prior art keywords
image data
color value
bit
data
image file
Prior art date
Application number
KR1020150115087A
Other languages
Korean (ko)
Other versions
KR20170020955A (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 KR1020150115087A priority Critical patent/KR101729032B1/en
Publication of KR20170020955A publication Critical patent/KR20170020955A/en
Application granted granted Critical
Publication of KR101729032B1 publication Critical patent/KR101729032B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32128Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title attached to the image data, e.g. file header, transmitted message header, information on the same page or in the same computer file as the image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/64Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/64Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor
    • H04N1/648Transmitting or storing the primary (additive or subtractive) colour signals; Compression thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

본 발명은 이미지파일 생성 방법을 개시한다. 본 발명에 따른 이미지 파일 생성 방법은, 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값의 최하위 비트(LSB, Least Significant Bit) 또는 차하위 비트를 순차적으로 부가정보의 데이터비트로 치환하는 단계; 및 상기 부가정보 데이터비트가 포함된 이미지파일을 생성하는 단계를 포함한다.
본 발명에 따르면, 이미지데이터의 내부에 부가정보를 포함시킴으로써 부가정보로 인해 이미지파일의 용량이 증가하는 것을 방지할 수 있다. 또한 전용 프로그램을 사용하여 이미지데이터에 포함된 부가정보를 확인할 수 있으므로 이미지파일의 복제여부를 간단하게 확인할 수 있다. 또한, 원본 이미지에 텍스트, 그림, 낙서 등의 부가 이미지가 합성된 합성 이미지파일의 이미지데이터에 각 픽셀이 합성으로 인해 변경된 픽셀인지 여부에 대한 정보와 변경된 픽셀의 원본 데이터를 포함시킴으로써 이후에 합성 이미지파일로부터 원본 이미지파일을 복원할 수 있다.
The present invention discloses a method of generating an image file. A method of generating an image file according to the present invention is a method of generating an image file by sequentially applying a least significant bit (LSB) or a lower-order bit of a color value representing R (red), G (green), or B Replacing the additional information with data bits of the additional information; And generating an image file including the additional information data bits.
According to the present invention, by including additional information inside the image data, it is possible to prevent the capacity of the image file from increasing due to the additional information. In addition, since additional information included in the image data can be confirmed using a dedicated program, it is possible to easily check whether the image file is copied or not. In addition, by including information on whether or not each pixel is a pixel changed due to composition and the original data of the changed pixel in the image data of the composite image file in which the additional image such as text, picture, graffiti or the like is synthesized in the original image, You can restore the original image file from a file.

Description

부가 정보를 포함한 합성 이미지파일의 생성 방법 및 장치와 이를 위한 컴퓨터 판독 가능한 프로그램{METHOD AND DEVICE OF GENERATING SYNTHESIS IMAGE FILE COMPRISING ADDITIONAL INFORMATION AND COMPUTER READABLE PROGRAM FOR THE SAME}METHOD AND APPARATUS FOR GENERATING SYNTHESIS IMAGE FILE COMPRISING ADDITIONAL INFORMATION AND COMPUTER READABLE PROGRAM FOR THE SAME FIELD OF THE INVENTION [0001]

본 발명은 이미지파일의 생성방법 및 장치에 관한 것으로서, 구체적으로는 저작권 관련 정보, 원본이미지 관련 정보 등과 같은 부가정보를 포함하여 이미지파일을 생성하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for generating an image file, and more particularly, to a method and apparatus for generating an image file including additional information such as copyright related information, original image related information, and the like.

일반적으로 이미지파일은 헤더, 이미지데이터, 부가정보 등과 같은 순서의 패킷 구조를 갖는다. 여기서, 헤더는 이미지파일을 식별하고 해석할 수 있도록 하는 일반 정보를 포함하며, 이미지데이터는 이미지를 화면에 표시하는 각 픽셀의 색상을 표시하기 위한 R(red), G(green), B(blue)값을 포함한다. Generally, an image file has a packet structure in the order of a header, image data, additional information, and the like. The header includes general information for identifying and interpreting the image file. The image data includes R (red), G (green), and B (blue) colors for displaying the color of each pixel displaying the image on the screen. ) Value.

통상 R, G, B 값은 각각 8비트로 구성되며, 각 픽셀에서 표현될 수 있는 색상은 8비트의 R, G, B값을 이용할 때 28*28*28=16,777,216가지에 이를 수 있다. 이미지데이터는 도 1의 A에 예시한 바 같이 8비트의 R값(11), G값(13) 및 B값(15)을 연속적으로 포함할 수 있다. Normally, the R, G, and B values are 8 bits, and the colors that can be represented in each pixel can reach 2 8 * 2 8 * 2 8 = 16,777,216 using 8 bits of R, G, . The image data may consecutively include an 8-bit R value 11, a G value 13, and a B value 15 as illustrated in FIG.

한편 부가정보는 이미지파일의 원저작자, 2차 저작자, 제작일, 관련 웹사이트 정보 등을 포함한다.On the other hand, the additional information includes the original author of the image file, the secondary author, the production date, and related website information.

그런데 종래에는 부가정보가 이미지데이터와는 별도로 이미지파일 내에 포함되므로, 부가정보로 인해 이미지파일의 용량이 증가하는 문제가 있고, 또한 원본 이미지파일에서 부가정보를 제거하고 이미지데이터를 쉽게 복제할 수 있어 저작권 문제가 발생할 수 있었다.However, since the additional information is included in the image file separately from the image data in the related art, there is a problem that the capacity of the image file increases due to the additional information, the additional information is removed from the original image file, Copyright issues could arise.

한편 최근에는 사용자가 원본 이미지파일을 디스플레이한 상태에서 원본 이미지 위에 텍스트, 그림, 낙서 등의 부가 이미지를 입력하여 합성 이미지파일을 생성할 수 있는 편집프로그램이 많이 사용되고 있다.On the other hand, recently, an editing program capable of generating a composite image file by inputting additional images such as text, pictures, and graffiti on the original image while the user has displayed the original image file is widely used.

그런데 이러한 프로그램을 이용하여 합성 이미지를 생성하면 원본 이미지가 변형되므로 이후에 원본 이미지를 확인하기 위해서는 원본 이미지파일을 별도로 저장해두어야만 한다, 그러나 이렇게 되면 원본 이미지파일과 합성 이미지파일을 이중으로 저장해야 하므로 사용자 단말이나 이미지파일 제공서버에서 저장용량이 증가하는 문제가 있다.However, if a composite image is created using these programs, the original image is transformed. Therefore, in order to check the original image afterwards, the original image file must be stored separately. However, if this occurs, the original image file and the composite image file must be stored in duplicate There is a problem that storage capacity increases at a user terminal or an image file providing server.

한국 공개특허 제2001-0031526호 (2001.04.16 공개)Korea Patent Publication No. 2001-0031526 (published on April 16, 2001)

본 발명은 전술한 문제를 해결하기 위한 것으로서, 종래에 이미지데이터와 별도로 포함되던 부가정보를 이미지데이터의 내부에 포함시킴으로써, 부가정보로 인한 이미지파일의 용량 증가를 방지할 수 있는 이미지파일 생성 방법을 제공하는 데 그 목적이 있다.An object of the present invention is to provide an image file generation method capable of preventing an increase in capacity of an image file due to additional information by including additional information included in image data separately from image data in the related art The purpose is to provide.

또한 본 발명은, 원본 이미지에 사용자가 텍스트, 그림, 낙서 등의 부가이미지를 입력하여 합성 이미지를 생성하는 경우에, 합성 이미지파일의 이미지데이터 내에 변경픽셀정보, 원본정보 등과 같은 복원정보를 포함시킴으로써 합성 이미지파일로부터 원본 이미지파일을 쉽게 복원할 수 있고, 따라서 원본 이미지파일과 합성 이미지파일을 이중으로 저장할 필요가 없도록 하는데 그 목적이 있다In addition, the present invention can be applied to a case where a user inputs a supplementary image such as text, a picture, and a graffiti to a source image to generate a composite image, the reconstruction information such as changed pixel information, original information, So that the original image file can be easily restored from the composite image file so that it is not necessary to store the original image file and the composite image file in duplicate

이러한 목적을 달성하기 위하여, 본 발명의 일 양상은, 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값의 최하위 비트(LSB, Least Significant Bit) 또는 차하위 비트를 순차적으로 부가정보의 데이터비트로 치환하는 단계; 및 상기 부가정보 데이터비트가 포함된 이미지파일을 생성하는 단계를 포함하는 이미지파일 생성 방법을 제공한다. In order to achieve the above object, an aspect of the present invention provides an image processing method for generating a least significant bit (LSB) of a color value representing R (red), G (green), or B Replacing the bits sequentially with data bits of the additional information; And generating an image file including the additional information data bits.

상기 부가정보는 상기 이미지파일의 원저작자, 2차 저작자, 제작일자, 관련 웹사이트 정보, 이미지크기, 범주, 시간정보, 지역정보, 위치정보, 검색태그, 요약문, 저작자인, 로고 등과 같은 정보 중에서 적어도 하나를 포함할 수 있다.The additional information may include at least one of information such as the original author, secondary author, date of manufacture, relevant website information, image size, category, time information, local information, location information, search tag, summary, author, One can be included.

본 발명의 다른 양상은, 원본 이미지데이터에 합성할 부가 이미지데이터가 입력되면, 원본 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값 중에서 부가 이미지에 대응하는 픽셀의 컬러값을 부가 이미지데이터로 치환하는 단계; 각 컬러값의 제1 비트는 해당 컬러값이 변경된 것인지 여부를 나타내는 변경식별비트로 치환하고, 각 컬러값에서 제1 비트와 인접한 제2 비트는 변경된 컬러값의 원본 데이터를 포함하는 복원정보 데이터비트로 순차 치환하여 합성 이미지데이터를 생성하는 단계를 포함하는 이미지파일 생성 방법을 제공한다.According to another aspect of the present invention, when additional image data to be synthesized in the original image data is input, among the color values representing R (red), G (green), or B Replacing the color value of the pixel with additional image data; The first bit of each color value is replaced with a change identification bit indicating whether or not the corresponding color value is changed, and the second bit adjacent to the first bit in each color value is sequentially updated with restoration information data bits including original data of the changed color value And generating composite image data by replacing the composite image data.

본 발명의 다른 양상에 따른 이미지파일 생성 방법에서, 상기 복원정보는 부가 이미지데이터로 치환된 픽셀을 나타내는 픽셀식별정보를 더 포함할 수 잇다.In the method of generating an image file according to another aspect of the present invention, the reconstruction information may further include pixel identification information indicating a pixel substituted with additional image data.

또한 본 발명의 다른 양상에 따른 이미지파일 생성 방법에서, 상기 제1 비트와 상기 제2 비트는 컬러값의 최하위비트(LSB) 또는 차하위 비트일 수 있다.In the method of generating an image file according to another aspect of the present invention, the first bit and the second bit may be the least significant bit (LSB) or the lower-order bit of the color value.

또한 본 발명의 다른 양상에 따른 이미지파일 생성 방법에서, 상기 합성 이미지데이터의 각 컬러값의 상기 제2비트에는 상기 원본이미지데이터 또는 합성 이미지데이터의 원저작자, 저작자, 제작일, 관련 웹사이트 정보 중에서 적어도 하나를 포함하는 부가정보의 데이터비트가 순차적으로 포함될 수 있다.In the image file generation method according to another aspect of the present invention, the second bit of each color value of the composite image data includes at least one of original author, author, production date, and related website information of the original image data or composite image data The data bits of the additional information including one can be sequentially included.

본 발명의 또 다른 양상은, 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값의 최하위 비트(LSB, Least Significant Bit) 또는 차하위 비트를 순차적으로 부가정보의 데이터비트로 치환하여 이미지파일을 생성하는 이미지파일 생성수단; 상기 이미지파일의 각 컬러값의 최하위 비트 또는 차하위 비트를 순차적으로 판독하여 부가정보를 확인하고, 부가정보가 확인되지 않으면 복제품으로 판단하는 부가정보 확인수단을 포함하는 이미지파일 생성 장치를 제공한다.Another aspect of the present invention is to provide a method and apparatus for sequentially generating a least significant bit (LSB) or a lower-order bit of a color value representing R (red), G (green), or B An image file generation means for generating an image file by replacing the data bits with data bits of the image data; And additional information checking means for checking the additional information by sequentially reading the least significant bit or the lower order bit of each color value of the image file and determining that the additional information is a duplicate if the additional information is not confirmed.

본 발명의 또 다른 양상은, 원본 이미지데이터에 합성할 부가 이미지데이터가 입력되면, 원본 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값 중에서 부가 이미지에 대응하는 픽셀의 컬러값을 부가 이미지데이터로 치환하는 부가이미지 합성수단; 상기 부가이미지 합성수단에서 합성된 이미지데이터의 각 컬러값의 제1 비트는 해당 컬러값이 변경된 것인지 여부를 나타내는 변경식별비트로 치환하고, 각 컬러값에서 제1 비트와 인접한 제2 비트는 변경된 컬러값의 원본 데이터를 포함하는 복원정보 데이터비트로 순차 치환하는 합성 이미지데이터 생성수단; 상기 변경된 컬러값의 원본 데이터를 이용하여 상기 합성 이미지데이터로부터 원본 이미지데이터를 복원하는 복원수단을 포함하는 이미지 파일 생성 장치를 제공한다.In another aspect of the present invention, when additional image data to be synthesized in the original image data is input, among additional color values representing R (red), G (green), or B Additional image compositing means for replacing the color value of the pixel with additional image data; Wherein the first bit of each color value of the image data synthesized by the additional image synthesizing means is replaced with a change identification bit indicating whether the corresponding color value is changed and the second bit adjacent to the first bit in each color value is a changed color value To the restoration information data bits including the original data of the original image data; And reconstruction means for reconstructing original image data from the composite image data using original data of the changed color value.

본 발명의 또 다른 양상은, 프로세서 및 메모리를 포함하는 컴퓨팅 장치에 사용되는 컴퓨터 실행 가능한 프로그램에 있어서, 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값의 최하위 비트(LSB, Least Significant Bit) 또는 차하위 비트를 순차적으로 부가정보의 데이터비트로 치환하여 상기 부가정보의 데이터비트가 포함된 이미지파일을 생성하는 기능; 상기 이미지파일의 각 컬러값의 최하위 비트 또는 차하위 비트를 순차적으로 판독하여 부가정보를 확인하고, 부가정보가 확인되지 않으면 복제품으로 판단하는 기능을 포함하는 컴퓨터 실행 가능한 프로그램을 제공한다.Yet another aspect of the present invention is a computer executable program for use in a computing device comprising a processor and a memory, the computer program product comprising computer executable instructions for causing a computer to execute: A function of generating an image file including the data bits of the additional information by replacing the LSB (Least Significant Bit) or the lower-order bits sequentially with data bits of the additional information; And sequentially reading the least significant bit or the lower-order bit of each color value of the image file to check the additional information, and determining that the additional information is not a duplicate if the additional information is not confirmed.

본 발명의 또 다른 양상은, 프로세서 및 메모리를 포함하는 컴퓨팅 장치에 사용되는 컴퓨터 실행 가능한 프로그램에 있어서, 원본 이미지데이터에 합성할 부가 이미지데이터가 입력되면, 원본 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값 중에서 부가 이미지에 대응하는 픽셀의 컬러값을 부가 이미지데이터로 치환하는 기능; 각 컬러값의 제1 비트는 해당 컬러값이 변경된 것인지 여부를 나타내는 변경식별비트로 치환하고, 각 컬러값에서 제1 비트와 인접한 제2 비트는 변경된 컬러값의 원본데이터를 포함하는 복원정보 데이터비트로 순차 치환하여 합성 이미지데이터를 생성하는 기능; 상기 변경된 컬러값의 원본 데이터를 이용하여 상기 합성 이미지데이터로부터 원본 이미지데이터를 복원하는 기능을 포함하는 컴퓨터 실행 가능한 프로그램을 제공한다.According to still another aspect of the present invention, there is provided a computer executable program for use in a computing device including a processor and a memory, wherein when additional image data to be combined with the original image data is input, R (red), G replacing the color value of the pixel corresponding to the additional image from the color value indicating green (B) or blue (B) by the additional image data; The first bit of each color value is replaced with a change identification bit indicating whether or not the corresponding color value is changed, and the second bit adjacent to the first bit in each color value is sequentially updated with restoration information data bits including original data of the changed color value A function of generating composite image data by substitution; And restoring original image data from the composite image data using original data of the changed color value.

본 발명에 따르면, 이미지데이터의 내부에 부가정보를 포함시킴으로써 부가정보로 인해 이미지파일의 용량이 증가하는 것을 방지할 수 있다. 또한 전용 프로그램을 사용하여 이미지데이터에 포함된 부가정보를 확인할 수 있으므로 이미지파일의 복제여부를 간단하게 확인할 수 있다.According to the present invention, by including additional information inside the image data, it is possible to prevent the capacity of the image file from increasing due to the additional information. In addition, since additional information included in the image data can be confirmed using a dedicated program, it is possible to easily check whether the image file is copied or not.

또한 본 발명에 따르면, 원본 이미지에 텍스트, 그림, 낙서 등의 부가 이미지가 합성된 합성 이미지파일의 이미지데이터에 각 픽셀이 합성으로 인해 변경된 픽셀인지 여부에 대한 정보와 변경된 픽셀의 원본 데이터를 포함시킴으로써 이후에 합성 이미지파일로부터 원본 이미지파일을 복원할 수 있다. Further, according to the present invention, by including information on whether or not each pixel is a pixel changed due to composition, and original data of a changed pixel in image data of a composite image file in which an additional image such as text, You can then restore the original image file from the composite image file.

따라서 원본 이미지파일과 합성 이미지파일을 모두 저장할 필요가 없고, 합성 이미지파일만 저장해 두면 이로부터 원본 이미지파일을 간단하게 복원할 수 있으므로 사용자단말이나 이미지파일 제공서버에서 저장용량을 크게 절감할 수 있는 이점이 있다.Therefore, it is not necessary to store both the original image file and the composite image file. If only the composite image file is stored, the original image file can be easily restored. Therefore, the advantage .

도 1은 본 발명의 제1 실시예에 따른 이미지파일 생성 방법을 예시한 도면.
도 2는 본 발명의 제1 실시예에 따른 부가정보 합성 과정을 예시한 블록도.
도 3은 본 발명의 제1 실시예에 따른 이미지파일 생성 방법의 과정을 예시한 흐름도.
도 4는 본 발명의 제2 실시예에 따른 이미지파일 생성 방법을 예시한 도면.
도 5는 본 발명의 제2 실시예에 따른 부가정보 합성 과정을 예시한 블록도.
도 6은 본 발명의 제2 실시예에 따른 이미지파일 생성 방법의 과정을 예시한 흐름도.
1 illustrates an image file generation method according to a first embodiment of the present invention;
2 is a block diagram illustrating a process of synthesizing additional information according to a first embodiment of the present invention;
3 is a flowchart illustrating a method of generating an image file according to a first embodiment of the present invention.
4 is a diagram illustrating a method of generating an image file according to a second embodiment of the present invention.
5 is a block diagram illustrating a process of synthesizing additional information according to a second embodiment of the present invention.
6 is a flowchart illustrating a method of generating an image file according to a second embodiment of the present invention.

이하에서는 도면을 참조하여 본 발명의 구체적인 실시예를 설명한다.Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.

제 1 실시예First Embodiment

도 1 내지 도 3은 본 발명의 제1 실시예에 따른 이미지파일 생성 방법을 설명하기 위한 개략도, 블록도, 및 흐름도이다.1 to 3 are a schematic view, a block diagram, and a flowchart for explaining a method of generating an image file according to the first embodiment of the present invention.

먼저 도 1은 원본 이미지파일(A)의 이미지데이터 부분과, 부가 정보가 합성된 합성 이미지파일(B)의 대응하는 이미지데이터 부분을 예시한 것이다. 이미지파일의 이미지데이터는 R(red), G(green), 및 B(blue) 값들이 소정 순서로 배열된 것인데, 통상 R값, G값, 및 B값의 세트가 하나의 픽셀의 색상을 나타낸다.First, Fig. 1 illustrates the image data portion of the original image file (A) and the corresponding image data portion of the composite image file (B) in which the additional information is synthesized. The image data of the image file is obtained by arranging R (red), G (green), and B (blue) values in a predetermined order. Usually, a set of R value, G value, and B value represents the color of one pixel .

본 명세서에서는, 설명의 편의를 위하여, R값, G값, 및 B값을 나타내는 각 바이트를 '컬러값'으로 지칭하기로 한다. 예컨대, 도 1의 원본 이미지파일(A)에서 첫번째 컬러값(11), 두번째 컬러값(13) 및 세번째 컬러값(15)의 세트는 하나의 픽셀에 대응한다. 각 컬러값을 나타내는 바이트는 8비트로 구성되고, 각 비트는 0 또는 1의 값을 가진다.In this specification, for convenience of explanation, each byte indicating the R value, the G value, and the B value will be referred to as a 'color value'. For example, in the original image file (A) of Fig. 1, the first color value 11, the second color value 13 and the third color value 15 correspond to one pixel. The byte representing each color value is composed of 8 bits, and each bit has a value of 0 or 1.

또한 본 명세서에서는, 각 컬러값을 나타내는 8비트 중에서 제일 작은 값을 나타내는 비트 즉, 도면에서 제일 오른쪽에 있는 비트(17)는 최하위 비트(LSB, Least Significant Bit)라 하고, 최하위 비트 바로 왼쪽에 있는 비트(19)는 차하위 비트로 지칭하기로 한다. In this specification, a bit representing the smallest value among the 8 bits representing each color value, that is, the bit 17 at the rightmost position in the figure is referred to as a least significant bit (LSB) The bit 19 will be referred to as the difference lower bit.

최하위 비트(17)와 차하위 비트(19)의 값이 달라지는 경우에도 당연히 컬러값에 대응하는 색상이 달라지지만, 최하위 비트(17)와 차하위 비트(19)는 그 값이 매우 작기 때문에 육안에 의하여 감지될 정도는 아니다. 따라서, 본 발명의 실시예에서는 이러한 최하위 비트(17) 또는 차하위 비트(19)에 부가정보 등을 포함시킴으로써, 이미지파일의 용량을 증가시키지 않으면서도 저작권 정보 등의 부가정보를 이미지파일 내에 포함시킬 수 있다.The color corresponding to the color value naturally changes even when the value of the least significant bit 17 differs from the value of the lower-order bit 19. However, since the values of the least significant bit 17 and the lower-order bit 19 are very small, It is not enough to be perceived. Therefore, in the embodiment of the present invention, by including additional information or the like in the least significant bit 17 or the lower-order bit 19, the additional information such as copyright information can be included in the image file without increasing the capacity of the image file .

예컨대, 원본 이미지파일(A)에 합성할 부가정보는 "10000 ... 1010 ... 0111 ... 001"의 비트 배열을 가질 수 있다. 이러한 부가정보의 데이터에 포함되는 비트는 하나의 순차 배열로 표시될 수 있으며, 따라서 부가정보의 각 비트를 원본 이미지파일(A)의 각 컬러값의 최하위 비트 또는 차하위 비트에 순차적으로 대응시킬 수 있다. For example, the additional information to be synthesized in the original image file A may have a bit arrangement of "10000 ... 1010 ... 0111 ... 001 ". The bits included in the data of the additional information may be displayed in a single sequential arrangement so that each bit of the additional information is sequentially mapped to the least significant bit or the least significant bit of each color value of the original image file A have.

도 1은 원본 이미지파일(A)의 각 컬러값의 최하위 비트(LSB)를 부가정보의 데이터 비트 "10000 ... 1010 ... 0111 ... 001"로 순차적으로 치환하여 합성 이미지파일(B)를 생성한 경우를 나타낸 것이다.1 shows an example in which the least significant bit (LSB) of each color value of the original image file A is sequentially replaced with data bits "10000 ... 1010 ... 0111 ... 001 & ) Is generated.

다시 말해서, 원본 이미지파일(A)의 첫번째 컬러값(11)의 최하위 비트는 1이고, 부가정보 "10000 ... 1010 ... 0111 ... 001"의 첫번째 비트는 1이므로, 첫번째 컬러값(11)의 최하위 비트는 1로 유지된다. In other words, since the least significant bit of the first color value 11 of the original image file A is 1 and the first bit of the additional information "10000 ... 1010 ... 0111 ... 001" is 1, The least significant bit of the bit stream 11 remains at 1. [

원본 이미지파일(A)의 두번째 컬러값(13)의 최하위 비트는 1이고, 부가정보 "10000...1010...0111...001"의 두번째 비트는 0이므로, 두번째 컬러값(13)의 최하위 비트는 0으로 변경된다. Since the least significant bit of the second color value 13 of the original image file A is 1 and the second bit of the additional information 10000 ... 1010 ... 0111 ... 001 is 0, The least significant bit of < / RTI >

이런 방식으로, 원본 이미지파일(A)의 컬러값의 최하위 비트를 순차적으로 부가정보의 각 비트와 동일한 값을 가지도록 변경할 수 있다. In this way, the least significant bit of the color value of the original image file A can be sequentially changed to have the same value as each bit of the additional information.

도 1과 달리 원본 이미지파일(A)의 각 컬러값의 차하위 비트를 부가정보의 데이터 비트로 순차적으로 치환할 수도 있다. 1, the lower bits of each color value of the original image file A may be sequentially replaced with the data bits of the additional information.

여기서, 부가정보는 원본 이미지파일(A)의 원저작자, 2차 저작자, 제작일자, 관련 웹사이트 정보, 이미지크기, 범주(카테고리), 시간정보(예: 만든시간, 수정시간 등), 지역정보(예: 국가, 도시 등), 위치정보(예: 경도/위도), 검색태그, 요약문, 저작자인(예: 도장), 로고 등과 같은 정보 중에서 적어도 하나를 포함할 수 있다. 그밖에 다른 정보가 포함될 수 있음은 물론이다. Here, the additional information includes information on the original image file A, such as the original author, the secondary author, the date of manufacture, the related website information, the image size, category (category), time information (E.g., country, city, etc.), location information (e.g., latitude / longitude), search tag, summary, author (e.g. paint), logo, and the like. Other information may of course be included.

이와 같이 부가정보를 별도의 메타데이터 형식으로 이미지파일 내에 포함시키지 않고, 이미지파일의 이미지데이터의 일부에 부가정보를 포함시키면 부가정보의 합성으로 인해 이미지파일의 용량이 증가하지 않은 장점이 있다.If the additional information is included in a part of the image data of the image file without including the additional information into the image file in the separate metadata format, there is an advantage that the capacity of the image file is not increased due to the synthesis of the additional information.

또한 전용의 부가정보 추출 프로그램을 사용하여, 합성 이미지파일(B)의 이미지데이터에서 각 컬러값의 최하위비트(또는 차하위 비트)를 순차적으로 읽음으로써 부가정보를 간단하게 확인할 수 있다. 그리고 부가정보를 확인하는 단계에서, 부가정보가 확인되지 않는 경우에는 해당 합성 이미지파일이 복제된 것으로 판단할 수도 있다.Further, the additional information can be easily confirmed by sequentially reading the least significant bit (or the lower-order bit) of each color value from the image data of the composite image file B using a dedicated additional information extraction program. In the step of checking the additional information, when the additional information is not confirmed, it may be determined that the composite image file is copied.

이하에서는 도 2의 블록도와 도 3의 흐름도를 참조하여 원본 이미지데이터에 부가정보를 합성하고 확인하는 과정을 설명한다.Hereinafter, a process of synthesizing and verifying additional information with original image data will be described with reference to the block diagram of FIG. 2 and the flowchart of FIG.

먼저 원본 이미지데이터(21)의 컬러값의 최하위 비트(LSB) 또는 차하위 비트를 부가정보(23)의 데이터 비트로 순차 치환하여 합성 이미지데이터(25)를 생성한다. 그 결과 합성 이미지데이터(25)의 각 컬러값의 최하위 비트(LSB) 또는 차하위 비트에는 부가정보(251)의 데이터 비트가 순차적으로 포함된다. (ST11, ST12)First, the composite image data 25 is generated by sequentially replacing the least significant bit (LSB) or the lower-order bit of the color value of the original image data 21 with the data bits of the additional information 23. As a result, the data bit of the additional information 251 is sequentially included in the least significant bit (LSB) or the lower-order bit of each color value of the composite image data 25. (ST11, ST12)

그리고 합성 이미지데이터(25)에서 최하위 비트(LSB) 또는 차하위 비트만을 순차적으로 추출하면, 부가정보(23)의 데이터 비트가 복원되므로 이를 이용하여 부가정보(23)를 확인할 수 있다. 이때 부가정보(23)가 추출되지 않는다면 합성 이미지파일이 복제된 것임을 알 수 있다. (ST13, ST14)If only the least significant bit (LSB) or the lower order bits are sequentially extracted from the composite image data 25, the data bits of the additional information 23 are restored, so that the additional information 23 can be confirmed using the data bits. At this time, if the additional information 23 is not extracted, it can be seen that the composite image file is duplicated. (ST13, ST14)

제 2 실시예Second Embodiment

본 발명의 제2 실시예는 원본 이미지에 텍스트, 그림, 낙서 등의 부가 이미지를 입력하여 합성 이미지파일을 생성한 경우, 합성 이미지파일의 이미지데이터에 원본 이미지파일 관련 정보를 포함시키고 이를 이용하여 원본 이미지파일을 복원할 수 있는 방법에 관한 것이다.In the second embodiment of the present invention, when a composite image file is generated by inputting additional images such as text, pictures, and graffiti to an original image, information related to the original image file is included in the image data of the composite image file, And a method for restoring an image file.

도 4 내지 도 6은 본 발명의 제2 실시예에 따른 이미지파일 생성 방법을 설명하기 위한 개략도, 블록도, 및 흐름도이다.FIGS. 4 to 6 are a schematic diagram, a block diagram, and a flowchart for explaining a method of generating an image file according to a second embodiment of the present invention.

도 4는 원본 이미지파일(C), 이미지가 합성된 중간 합성 이미지파일(D), 및 복원정보가 포함된 최종 합성 이미지파일(E)의 서로 대응하는 이미지데이터 부분을 예시한 것이다.Fig. 4 illustrates portions of the image data corresponding to each other of the original image file (C), the intermediate composite image file (D) synthesized with the image, and the final composite image file (E) containing the reconstruction information.

중간 합성 이미지파일(D)은 원본 이미지파일(D)에 대해 텍스트, 그림, 낙서 등의 부가 이미지가 입력되어 특정 픽셀의 컬러값이 부가 이미지데이터로 변경된 이미지파일이다.The intermediate composite image file D is an image file in which an additional image such as text, picture, and graffiti is input to the original image file D and the color value of the specific pixel is changed to the additional image data.

최종 합성 이미지파일(E)은 중간 합성 이미지파일(D)에 복원정보가 추가로 포함된 이미지파일이다, 복원정보는 각 컬러값이 원본 데이터로부터 변경되었는지 여부를 나타내는 변경식별비트와 변경된 컬러값에 대한 원본데이터를 포함하며, 이러한 복원 정보는 각 컬러값의 최하위 비트(LSB) 또는 차하위 비트에 포함되는 것이 바람직하다.The final composite image file (E) is an image file that further includes reconstruction information in the intermediate composite image file (D). The reconstruction information includes a change identification bit indicating whether or not each color value has been changed from the original data, And the restoration information is preferably included in the least significant bit (LSB) or lower-order bit of each color value.

본 발명의 제2 실시예에서는, 각 컬러값의 차하위 비트를 변경식별비트로 사용하고, 최하위 비트(LSB)를 변경된 컬러값에 대한 원본 데이터 비트로 사용한다. 다만 이에 한정되는 것은 아니므로, 각 컬러값의 최하위 비트(LSB)를 변경식별비트로 사용하고, 차하위 비트를 변경된 컬러값에 대한 원본 데이터 비트로 사용할 수도 있다. In the second embodiment of the present invention, the difference lower bit of each color value is used as the change identification bit, and the least significant bit (LSB) is used as the original data bit for the changed color value. The least significant bit (LSB) of each color value may be used as the change identification bit, and the lower bit may be used as the original data bit for the changed color value.

한편 원본 데이터 비트로 사용되는 최하위 비트(LSB) 또는 차하위 비트의 일부에는 제1 실시예에 나타낸 바와 같은 방식으로 여러 가지 부가정보를 포함시킬 수도 있다.On the other hand, some additional information may be included in the least significant bit (LSB) or the lower-order bit used as the original data bit in the manner as shown in the first embodiment.

도 4에 나타낸 바와 같이, 원본 이미지파일(C)에 텍스트, 그림, 낙서 등의 부가 이미지를 입력하면, 예를 들어 원본 이미지데이터의 4개의 컬러값(41, 42, 43, 44)이 각각 1001110, 10100101, 11100111, 10000111 에서 11111111, 11111111, 11111111, 11111111 의 부가 이미지 데이터로 변경되어 중간 합성 이미지파일(D)이 생성된다.4, when four additional color values 41, 42, 43, and 44 of the original image data are input to the original image file C, for example, 1001110 , 10100101, 11100111, and 10000111 to 11111111, 11111111, 11111111, and 11111111 to generate an intermediate composite image file (D).

이와 같은 중간 합성 이미지파일(D)에는 변경된 픽셀에 대한 원본 정보가 전혀 포함되어 있지 않기 때문에 중간 합성 이미지파일(D)로부터 원본 이미지를 복원하는 것은 불가능하다.It is impossible to restore the original image from the intermediate composite image file (D) because the intermediate composite image file (D) contains no original information about the changed pixels at all.

따라서 본 발명의 제2 실시예에서는, 중간 합성 이미지파일(D)에 원본 이미지 복원에 필요한 복원정보를 포함하여 최종 합성 이미지파일(E)를 생성한다. 복원정보는 전술한 변경식별비트와 변경된 컬러값의 원본데이터를 포함한다.Therefore, in the second embodiment of the present invention, the final composite image file E is generated by including restoration information necessary for original image restoration in the intermediate composite image file D. The restoration information includes original data of the above-described change identification bit and the changed color value.

즉, 중간 합성 이미지 파일(D)의 각 컬러값의 차하위 비트를 해당 컬러값이 변경되었는지 아닌지 여부를 나타내는 변경식별비트로 치환하며, 본 발명의 실시예에서는 컬러값이 변경된 경우에는 해당 컬러값의 차하위 비트를 1로 나타내고, 컬러값이 변경되지 않은 경우에는 해당 컬러값의 차하위 비트를 0으로 나타낸다. 반대로 표시할 수도 있음은 물론이다.That is, the lower-order bits of the respective color values of the intermediate composite image file D are replaced with change identification bits indicating whether or not the corresponding color values are changed. In the embodiment of the present invention, when the color values are changed, The lower-order bit of the color value is represented by 1. When the color value is not changed, the lower-order bit of the corresponding color value is represented by 0. It is needless to say that the display may be reversed.

도 4를 참조하면, 원본 이미지파일(C)의 첫번째 컬러값은 "11111101"이고 중간 합성 이미지파일(D)에서도 컬러값이 동일하므로 변경식별비트인 차하위 비트는 0 이 된다.4, since the first color value of the original image file C is "11111101 ", and the color values are the same even in the intermediate composite image file D, the difference lower bit which is the change identification bit becomes zero.

원본 이미지파일(C)의 두번째 컬러값은 "11101111"에서 변경되지 않았으며, 그 차하위 비트는 1이므로 두번째 컬러값의 차하위 비트는 0으로 변경된다. The second color value of the original image file C is not changed in "11101111 ", and the difference lower bit of the second color value is changed to 0 since the difference lower bit is 1.

한편 원본 이미지파일(C)의 세번째 컬러값은 "1001110"이지만, 이미지 합성으로 인해 부가 이미지데이터 "11111111"로 변경되었다, 따라서 차하위 비트는 1이 된다. On the other hand, the third color value of the original image file C is "1001110 ", but due to image composition, it has been changed to the additional image data" 11111111 "

이런 방식으로, 각 컬러값의 차하위 비트를 변경식별비트로 활용하면, 최종 합성 이미지파일(E)에서 각 컬러값의 차하위 비트를 판독함으로써 어떤 컬러값(또는 픽셀)이 원본 이미지에서 변경되었는지 여부를 확인할 수 있다. 차하위 비트를 대신하여 최하위비트(LSB)를 변경식별비트로 활용할 수 있음은 전술한 바와 같다.In this way, utilizing the difference lower bit of each color value as the change identification bit, it is possible to determine which color value (or pixel) has changed in the original image by reading the difference lower bit of each color value in the final composite image file E . The least significant bit (LSB) can be utilized as the change identification bit in place of the lower-order bits as described above.

이러한 방법을 통해 어떤 픽셀(또는 컬러값)이 원본에서 변경되었는지 확인하더라도, 변경여부에 대한 정보만으로는 원본 이미지를 복원할 수는 없으며, 최종 합성 이미지 파일(E)에 변경된 컬러값에 대한 원본 데이터가 포함되어야만 이를 이용하여 원본 이미지파일을 복원할 수 있다.Even if the pixel (or the color value) is changed from the original through this method, the original image can not be restored only by information on the change, and the original data for the changed color value in the final composite image file (E) If it is included, the original image file can be restored by using it.

본 발명의 실시예에서는, 최종 합성 이미지 파일(E)의 차하위 비트가 변경식별비트로 사용되므로, 변경된 컬러값에 대한 원본 데이터의 비트를 최하위 비트(LSB)에 순차적으로 포함시킬 수 있다. 이러한 방법은 제1 실시예에서 부가정보를 최하위 비트에 순차적으로 포함시키고, 이후에 이를 순차적으로 판독하여 부가정보를 확인하는 방법과 마찬가지이다.In the embodiment of the present invention, since the difference lower bit of the final composite image file E is used as the change identification bit, the bits of the original data for the changed color value can be sequentially included in the least significant bit (LSB). This method is the same as the method of sequentially including the additional information in the least significant bits in the first embodiment and sequentially reading the additional information and verifying the additional information thereafter.

도 4를 참조하면, 변경된 컬러값의 원본 데이터의 비트에는 예를 들어 "변경된 컬러값은 3번째 컬러값(41), 4번째 컬러값(42), 13번째 컬러값(43), 및 14번째 컬러값(44)이고, 변경된 컬러값의 원본 데이터는 각각 1001110, 10100101, 11100111, 10000111이다"라는 의미의 정보가 포함될 수 있다. Referring to FIG. 4, the bits of the original data of the changed color values include, for example, "the changed color value is a third color value 41, a fourth color value 42, a thirteen color value 43, Is the color value 44, and the original data of the changed color value is 1001110, 10100101, 11100111, and 10000111, respectively.

변경된 컬러값의 원본 데이터비트에 이러한 정보를 포함시키는 방식은 특별히 제한되지 않는다. 예를 들어 변경된 컬러값(또는 픽셀)을 나타내는 픽셀식별비트와 해당 컬러값(또는 픽셀)의 원본 데이터 비트를 한 세트로 하여 최종 합성 이미지 파일(E)의 최하위 비트(B)에 순차적으로 포함시킬 수 있다.The manner in which this information is included in the original data bits of the changed color values is not particularly limited. For example, the pixel identification bits representing the changed color values (or pixels) and the original data bits of the corresponding color values (or pixels) are sequentially included in the least significant bit B of the final composite image file E .

이렇게 하면, 최종 합성 이미지 파일(E)의 각 컬러값의 최하위 비트(LSB)를 순차적으로 추출하여, 컬러값이 변경된 픽셀과 해당 컬러값의 원본 데이터비트를 확인할 수 있고, 이를 이용하면 최종 합성 이미지 파일(E)에서 해당 픽셀의 컬러값을 원본 데이터로 변경하여 원본 이미지파일(C)을 복원할 수 있다.By doing so, the least significant bit (LSB) of each color value of the final composite image file E can be sequentially extracted to identify the pixel whose color value is changed and the original data bit of the corresponding color value, The original image file C can be restored by changing the color value of the pixel in the file E to original data.

다만 최종 합성 이미지 파일(E)의 각 컬러값의 차하위 비트는 이전 단계에서 모두 변경식별비트로 치환되어 원본데이터의 해당 비트와 일치하지 않을 수 있다. However, the difference lower bit of each color value of the final composite image file E may be replaced with the change identification bit in the previous step and may not match the corresponding bit of the original data.

따라서 본 발명의 실시예에 따라 합성 이미지 파일에서 복원되는 원본 이미지 파일은 변경식별비트를 포함하기 때문에 엄밀하게 말하면 최초의 원본 이미지 파일과 완전히 동일하지는 않다. 변경된 컬러값을 원본 데이터로 변경하더라도 나머지 변경되지 않은 컬러값에 포함된 변경식별비트는 그대로 유지되기 때문이다. 그러나 색상에 영향을 덜 미치는 차하위 비트의 일부만이 원본데이터와 다르기 때문에 육안으로 식별할 수 없을 정도의 동일성을 가지므로 본 명세서에서는 이 정도의 차이는 원본 이미지가 복원된 것으로 간주한다. Therefore, according to the embodiment of the present invention, the original image file restored in the composite image file is not exactly the same as the original original image file, strictly speaking, since it includes the change identification bit. Even if the changed color value is changed to the original data, the change identification bits included in the remaining unchanged color values are maintained. However, since only a part of the difference lower bits that do not affect the color are different from the original data, they have an identity that can not be visually recognized. Therefore, in this specification, this difference is regarded as a restoration of the original image.

이하에서는 도 5의 블록도와 도 6의 흐름도를 참조하여 원본 이미지데이터에 텍스트, 그림, 낙서 등의 부가 이미지 데이터를 합성하여 합성 이미지파일을 생성하고 이로부터 원본 이미지파일을 복원하는 과정을 설명한다. Hereinafter, with reference to the block diagram of FIG. 5 and the flowchart of FIG. 6, a process of composing additional image data such as text, pictures, and graffiti to original image data to generate a composite image file and restoring the original image file therefrom will be described.

먼저 원본 이미지가 디스플레이된 상태에서 원본 이미지 상에 텍스트, 그림, 낙서 등을 입력하면, 원본 이미지데이터(31)의 일부 픽셀의 컬러값이 부가 이미지데이터(33)로 치환되어 중간 합성 이미지 데이터가 생성된다. (ST 31)If text, pictures, graffiti, or the like is input on the original image while the original image is displayed, the color value of some pixels of the original image data 31 is replaced with the additional image data 33, do. (ST 31)

이어서 중간 합성 이미지데이터의 각 컬러값의 차하위 비트를 변경식별비트로 치환한다. 즉, 부가 이미지데이터에 의해 원본에서 변경된 픽셀에 대해서는 해당 컬러값의 차하위 비트를 예를 들어 1 로 하고, 변경되지 않은 픽셀에 대해서는 해당 컬러값의 차하위 비트를 예를 들어 0 으로 한다. Subsequently, the difference lower bits of each color value of the intermediate composite image data are replaced with change identification bits. That is, for the pixels changed from the original by the additional image data, the difference lower bit of the corresponding color value is set to 1, and for the unchanged pixel, the difference lower bit of the corresponding color value is set to 0, for example.

또한 중간 합성 이미지데이터의 각 컬러값의 최하위 비트(LSB)를 원본 이미지 데이터로 순차 치환하여 최종 합성 이미지데이터(35)를 생성한다. The final composite image data 35 is generated by sequentially replacing the least significant bit (LSB) of each color value of the intermediate composite image data with the original image data.

따라서 최종 합성이미지데이터(35)는 이미지 합성으로 인해 부가된 부가 이미지데이터(351)와, 각 컬러값의 차하위 비트에 해당하는 변경식별비트(353)를 포함한다. 또한 각 컬러값의 최하위 비트(LSB)에는 변경된 컬러값의 원본데이터 비트(355)가 순차적으로 포함된다.(ST32, ST33)Therefore, the final composite image data 35 includes the additional image data 351 added due to the image synthesis and the change identification bits 353 corresponding to the difference lower bits of the respective color values. In addition, the least significant bit (LSB) of each color value sequentially includes original data bits 355 of the changed color values (ST32, ST33)

이후 최종 합성 이미지데이터(35)에서 각 컬러값의 차하위 비트를 순차적으로 판독하면 원본에서 변경된 픽셀을 확인할 수 있고. 이어서 각 컬러값의 최하위 비트를 순차적으로 판독하면 변경된 픽셀에 대한 원본 데이터를 추출할 수 있다.Thereafter, by sequentially reading the lower bits of each color value in the final composite image data 35, it is possible to confirm the pixels changed from the original. Subsequently, by sequentially reading the least significant bits of each color value, original data for the changed pixel can be extracted.

따라서 최종 합성 이미지데이터의 변경된 픽셀을 원본 데이터로 치환함으로써 원본 이미지데이터(31a)를 복원할 수 있다. Therefore, the original image data 31a can be restored by replacing the changed pixels of the final composite image data with original data.

한편 최하위 비트에 원본 데이터 이외에 제1 실시예와 관련하여 설명한 부가정보가 추가로 포함된 경우에는 최하위 비트로부터 부가정보(37)만을 추출하여 확인하는 것도 가능하다. (ST34, ST35)If the least significant bit further includes the additional information described in connection with the first embodiment in addition to the original data, it is also possible to extract and check only the additional information 37 from the least significant bit. (ST34, ST35)

이상에서 설명한 본 발명의 실시예에 따른 이미지 생성 방법은, 프로세서 및 메모리를 구비한 컴퓨팅 장치의 프로세서에 의해 수행될 수 있는 컴퓨터 실행 가능한 프로그램을 통해 구현될 수 있다. 상기 컴퓨팅 장치는 개인용 컴퓨터, 서버, 클라우드 컴퓨터, 노트북, 타블렛 PC, 스마트폰, 범용 컴퓨팅 장치, 특수 목적 컴퓨팅 장치, 단일 컴퓨팅 장치, 복수의 컴퓨팅 장치가 협력하는 분산 컴퓨팅 환경의 컴퓨팅 장치를 포함할 수 있다. 또한 컴퓨터 실행 가능한 프로그램은 컴퓨팅 장치의 메모리에 저장될 수도 있고, 신호 형태로 변형되어 통신망을 통해 전송될 수도 있다.The image generation method according to the embodiment of the present invention described above can be implemented through a computer executable program that can be executed by a processor of a computing device having a processor and a memory. The computing device may include a computing device in a distributed computing environment in which a plurality of computing devices cooperate, such as a personal computer, a server, a cloud computer, a notebook, a tablet PC, a smart phone, a general purpose computing device, a special purpose computing device, have. The computer executable program may also be stored in a memory of the computing device, transformed into a signal form, and transmitted over a communication network.

또한 이상에서는 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 전술한 실시예에 한정되지 않고 다양한 형태로 변형 또는 수정되어 실시될 수 있고, 변형 또는 수정된 실시예도 후술하는 특허청구범위에 개시된 본 발명의 기술적 사상을 포함한다면 본 발명의 권리범위에 속함은 물론이다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It is to be understood that the invention is not limited to the disclosed embodiments.

A, C: 원본 이미지파일 B: 합성 이미지파일
D: 중간 합성 이미지 파일 E: 최종 합성 이미지파일
11, 13, 15, 41, 42, 43, 44: 컬러값
17: 최하위 비트 19: 차하위 비트
A, C: Original image file B: Composite image file
D: intermediate composite image file E: final composite image file
11, 13, 15, 41, 42, 43, 44: Color value
17: least significant bit 19: least significant bit

Claims (9)

삭제delete 원본 이미지데이터에 합성할 부가 이미지데이터가 입력되는 단계;
원본 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값 중에서 부가 이미지에 대응하는 픽셀의 컬러값을 부가 이미지데이터로 치환하여 중간합성 이미지데이터를 생성하는 단계;
상기 중간합성 이미지데이터의 각 컬러값의 제1 비트는 해당 컬러값이 변경된 것인지 여부를 나타내는 변경식별비트로 치환하고, 각 컬러값에서 상기 제1 비트와 인접한 제2 비트는 변경된 컬러값의 원본 데이터를 포함하는 복원정보의 데이터비트로 순차 치환하여 최종 합성 이미지데이터를 생성하는 단계
를 포함하는 합성 이미지 파일 생성 방법.
Inputting additional image data to be combined with original image data;
Generating intermediate composite image data by replacing the color value of the pixel corresponding to the additional image among the color values representing R (red), G (green), or B (blue) of the original image data pixel with the additional image data;
Wherein the first bit of each color value of the intermediate composite image data is replaced with a change identification bit indicating whether the corresponding color value has been changed and the second bit adjacent to the first bit in each color value is replaced with the original data of the changed color value And generating the final composite image data by sequentially replacing the data bits of the reconstruction information
/ RTI >
제2항에 있어서,
상기 복원정보는, 부가 이미지데이터로 치환된 픽셀을 나타내는 픽셀식별정보를 더 포함하는 것을 특징으로 하는 합성 이미지 파일 생성 방법.
3. The method of claim 2,
Wherein the reconstruction information further includes pixel identification information indicating a pixel that has been replaced with additional image data.
제2항 또는 제3항에 있어서,
상기 제1 비트와 상기 제2 비트는 컬러값의 최하위비트(LSB) 또는 차하위 비트인 것을 특징으로 하는 합성 이미지 파일 생성 방법.
The method according to claim 2 or 3,
Wherein the first bit and the second bit are the least significant bit (LSB) or lower order bit of the color value.
제2항 또는 제3항에 있어서,
상기 최종 합성 이미지데이터의 각 컬러값의 상기 제2비트에는 상기 원본이미지데이터 또는 최종 합성 이미지데이터와 관련된 부가정보의 데이터비트가 순차적으로 더 포함되는 것을 특징으로 하는 합성 이미지 파일 생성 방법.
The method according to claim 2 or 3,
Wherein the second bits of each color value of the final composite image data further include data bits of the original image data or the additional information associated with the final composite image data sequentially.
삭제delete 원본 이미지데이터에 합성할 부가 이미지데이터가 입력되면, 원본 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값 중에서 부가 이미지에 대응하는 픽셀의 컬러값을 부가 이미지데이터로 치환하여 중간합성 이미지데이터를 생성하는 부가이미지 합성수단;
상기 부가이미지 합성수단에서 합성된 중간합성 이미지데이터의 각 컬러값의 제1 비트는 해당 컬러값이 변경된 것인지 여부를 나타내는 변경식별비트로 치환하고, 각 컬러값에서 상기 제1 비트와 인접한 제2 비트는 변경된 컬러값의 원본 데이터를 포함하는 복원정보 데이터비트로 순차 치환하여 최종 합성 이미지데이터를 생성하는 합성 이미지데이터 생성수단;
상기 변경된 컬러값의 원본 데이터를 이용하여 상기 최종 합성 이미지데이터로부터 원본 이미지데이터를 복원하는 복원수단
을 포함하는 합성 이미지 파일 생성 장치
When the additional image data to be combined with the original image data is input, the color value of the pixel corresponding to the additional image among the color values representing R (red), G (green), or B Additional image synthesizing means for generating intermediate synthetic image data by replacing the data with data;
Wherein the first bit of each color value of the intermediate composite image data synthesized by the additional image synthesizing means is replaced with a change identification bit indicating whether the corresponding color value is changed and the second bit adjacent to the first bit in each color value is Composite image data generation means for generating final composite image data by successively substituting the restored information data bits including the original data of the changed color values;
And restoration means for restoring original image data from the final composite image data using original data of the changed color value
Lt; RTI ID = 0.0 >
삭제delete 프로세서 및 메모리를 포함하는 컴퓨팅 장치에 사용되는 기록매체에 저장된 컴퓨터 판독 가능한 프로그램에 있어서,
원본 이미지데이터에 합성할 부가 이미지데이터가 입력되면, 원본 이미지데이터 픽셀의 R(red), G(green), 또는 B(blue)를 나타내는 컬러값 중에서 부가 이미지에 대응하는 픽셀의 컬러값을 부가 이미지데이터로 치환하여 중간합성 이미지데이터를 생성하는 기능;
상기 중간합성 이미지데이터의 각 컬러값의 제1 비트는 해당 컬러값이 변경된 것인지 여부를 나타내는 변경식별비트로 치환하고, 각 컬러값에서 상기 제1 비트와 인접한 제2 비트는 변경된 컬러값의 원본데이터를 포함하는 복원정보 데이터비트로 순차 치환하여 최종 합성 이미지데이터를 생성하는 기능;
상기 변경된 컬러값의 원본 데이터를 이용하여 상기 최종 합성 이미지데이터로부터 원본 이미지데이터를 복원하는 기능
을 포함하는 기록매체에 저장된 컴퓨터 판독 가능한 프로그램
A computer-readable program stored in a recording medium for use in a computing device including a processor and a memory,
When the additional image data to be combined with the original image data is input, the color value of the pixel corresponding to the additional image among the color values representing R (red), G (green), or B A function of generating intermediate composite image data by replacing the data with data;
Wherein the first bit of each color value of the intermediate composite image data is replaced with a change identification bit indicating whether the corresponding color value has been changed and the second bit adjacent to the first bit in each color value is replaced with the original data of the changed color value And generating final synthesized image data by sequentially replacing the reconstructed image data with the restored information data bits;
A function of restoring original image data from the final composite image data using original data of the changed color value
A computer-readable program stored in a recording medium
KR1020150115087A 2015-08-17 2015-08-17 Method and device of generating synthesis image file comprising additional information and computer readable program for the same KR101729032B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150115087A KR101729032B1 (en) 2015-08-17 2015-08-17 Method and device of generating synthesis image file comprising additional information and computer readable program for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150115087A KR101729032B1 (en) 2015-08-17 2015-08-17 Method and device of generating synthesis image file comprising additional information and computer readable program for the same

Publications (2)

Publication Number Publication Date
KR20170020955A KR20170020955A (en) 2017-02-27
KR101729032B1 true KR101729032B1 (en) 2017-04-21

Family

ID=58315793

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150115087A KR101729032B1 (en) 2015-08-17 2015-08-17 Method and device of generating synthesis image file comprising additional information and computer readable program for the same

Country Status (1)

Country Link
KR (1) KR101729032B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102318981B1 (en) * 2020-11-13 2021-10-29 주식회사 스파이스웨어 Method and Apparatus for Personal Information Encryption Using Image Composing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000236433A (en) * 1999-02-12 2000-08-29 Sony Corp Method and device for detecting attached information, data recorder, and data reproducing device
JP2003051931A (en) * 2001-08-07 2003-02-21 Sharp Corp Information embedding device to digital image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999022480A1 (en) 1997-10-27 1999-05-06 The Trustees Of Columbia University In The City Of New York Watermarking of digital image data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000236433A (en) * 1999-02-12 2000-08-29 Sony Corp Method and device for detecting attached information, data recorder, and data reproducing device
JP2003051931A (en) * 2001-08-07 2003-02-21 Sharp Corp Information embedding device to digital image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102318981B1 (en) * 2020-11-13 2021-10-29 주식회사 스파이스웨어 Method and Apparatus for Personal Information Encryption Using Image Composing

Also Published As

Publication number Publication date
KR20170020955A (en) 2017-02-27

Similar Documents

Publication Publication Date Title
US7975215B2 (en) Sharing editable ink annotated images with annotation-unaware applications
CN111145069B (en) Image watermarking processing method and device based on block chain
CN105577684A (en) Anti-crawling methods, server, client and system
JP2006134336A (en) Mixed code, method and apparatus for generating mixed code, and recording medium
CN105611268B (en) Information processing method and electronic equipment
TWI692743B (en) A color image authentication method and computer program product based on palette compression technique
US20190244321A1 (en) Multiple source watermarking for surveillance
CN111406276B (en) Method and apparatus for reconstructing an original image from a modified image
CN112991135A (en) Video superposition watermarking method and device, computer equipment and computer storage medium
KR101729032B1 (en) Method and device of generating synthesis image file comprising additional information and computer readable program for the same
US10636178B2 (en) System and method for coding and decoding of an asset having transparency
JP2011081030A (en) Searchable color-encoded file-composing method and searchable color-encoded file system
CN109615668A (en) Digital picture based on component is synchronous
Lin et al. A copyright protection scheme based on PDF
CN107092622A (en) The methods of exhibiting and device of a kind of comment information
KR101538491B1 (en) Method and apparatus for using image as a means of storing and moving supplementary data
US20150205809A1 (en) Image Obfuscation
Vogt et al. Global analysis of forest attribute layers for the EU Observatory on Deforestation and Forest Degradation
CN116957893B (en) Watermark generation method, watermark generation device, electronic device and computer readable medium
KR101936270B1 (en) Transforming method of content object data
CN110533443B (en) Method, equipment and storage medium for tracing materials in map
CN117113302B (en) Text watermark generation method and text verification method
KR102312481B1 (en) Method for providing contents production service using intuitive interface
JP2019501593A (en) EPUB file encryption unit file compression and decompression method and apparatus
CN116206014A (en) Image preview method, device, equipment and storage medium

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
R401 Registration of restoration