KR20070076130A - Information embedding and extracting method for image authentification - Google Patents

Information embedding and extracting method for image authentification Download PDF

Info

Publication number
KR20070076130A
KR20070076130A KR1020060005164A KR20060005164A KR20070076130A KR 20070076130 A KR20070076130 A KR 20070076130A KR 1020060005164 A KR1020060005164 A KR 1020060005164A KR 20060005164 A KR20060005164 A KR 20060005164A KR 20070076130 A KR20070076130 A KR 20070076130A
Authority
KR
South Korea
Prior art keywords
information
authentication information
pixel value
image
additional information
Prior art date
Application number
KR1020060005164A
Other languages
Korean (ko)
Other versions
KR100792984B1 (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 KR1020060005164A priority Critical patent/KR100792984B1/en
Publication of KR20070076130A publication Critical patent/KR20070076130A/en
Application granted granted Critical
Publication of KR100792984B1 publication Critical patent/KR100792984B1/en

Links

Images

Classifications

    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F57/00Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired 
    • D06F57/12Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired  specially adapted for attachment to walls, ceilings, stoves, or other structures or objects
    • D06F57/122Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired  specially adapted for attachment to walls, ceilings, stoves, or other structures or objects for attachment by clamping between two retaining-planes
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F57/00Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired 
    • D06F57/08Folding stands
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F57/00Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired 
    • D06F57/12Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired  specially adapted for attachment to walls, ceilings, stoves, or other structures or objects
    • D06F57/125Supporting means, other than simple clothes-lines, for linen or garments to be dried or aired  specially adapted for attachment to walls, ceilings, stoves, or other structures or objects for attachment to, or close to, the ceiling
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F26DRYING
    • F26BDRYING SOLID MATERIALS OR OBJECTS BY REMOVING LIQUID THEREFROM
    • F26B25/00Details of general application not covered by group F26B21/00 or F26B23/00
    • F26B25/06Chambers, containers, or receptacles
    • F26B25/14Chambers, containers, receptacles of simple construction
    • F26B25/18Chambers, containers, receptacles of simple construction mainly open, e.g. dish, tray, pan, rack
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01FMAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
    • H01F7/00Magnets

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

A method for embedding and extracting information for image authentication is provided to prevent damage of a whole image by dividing an original image into blocks and sub-blocks and embedding authentication information into the sub-blocks, and prevent loss of original data in embedding and extracting authentication information by compensating changed pixel values when extracting authentication information by embedding additional information representing changes of pixel values. An image to which information is embedded, is read and a block counter is set up(S210). The image is divided into K blocks having MxN size(S211). A block counter value is compared with K, the number of the whole blocks(S212). If the block counter value is larger than K, data embedding is terminated(S213). The block is divided into sub-blocks and a sub-block counter is set up(S214). A sub-block counter value is compared with S, the number of whole sub-blocks(S215). If the block counter is smaller than S, the sub-blocks are read(S216). Sub-block samples are aligned and a minimum pixel value is selected(S217). The information to be embedded is encoded(S218). The encoded authentication information is embedded(S219). The embedment of the authentication information is terminated(S220). A differential image is made from an authentication information embedding result(S221). Additional information is embedded into the differential image(S222).

Description

영상 인증을 위한 정보 삽입 및 추출 방법{information embedding and extracting method for image authentification}Information embedding and extracting method for image authentification

도 1은 정보 삽입 및 추출을 나타낸 개념도1 is a conceptual diagram showing information insertion and extraction

도 2는 본 발명의 실시에 따른 정보 삽입 과정의 전체 흐름도2 is an overall flowchart of an information insertion process according to an embodiment of the present invention.

도 3은 본 발명의 실시에 따른 서브블록에 인증 정보를 삽입하는 흐름도3 is a flowchart for inserting authentication information into a subblock according to an embodiment of the present invention.

도 4는 본 발명의 실시에 따른 부가 정보를 삽입하는 흐름도4 is a flowchart for inserting additional information according to an embodiment of the present invention.

도 5는 본 발명의 실시에 따른 정보 추출 과정의 전체 흐름도5 is an overall flowchart of an information extraction process according to an embodiment of the present invention.

도 6은 본 발명의 실시에 따른 부가 정보를 추출하는 흐름도6 is a flowchart for extracting additional information according to an embodiment of the present invention.

도 7은 본 발명의 실시에 따른 서브블록에서 인증 정보를 추출하는 흐름도7 is a flowchart for extracting authentication information from a subblock according to an embodiment of the present invention.

본 발명은 영상 데이터에 인증을 위한 정보의 삽입 및 추출 방법에 관한 것으로서, 특히 정보의 삽입 및 추출 과정에서 원정보(Original Data)의 손실이 발생하지 않는 무손실 정보 은닉(Losseless Data Embedding) 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of inserting and extracting information for authentication into image data, and more particularly, to a lossless data embedding method in which no loss of original data occurs during insertion and extraction of information. will be.

컴퓨터의 대중적인 보급과 네트워크의 빠른 발달은 다양한 종류의 멀티미디어 컨텐츠의 자유로운 교류와 손쉬운 접근을 가능하게 하였다. 그러나 다양한 데이 터에 대한 손쉬운 접근은 무분별한 디지털 컨텐츠들의 불법적인 복제와 관련한 문제를 가져왔다. 음악이나 사진, 더 나아가서는 고화질의 동영상들에 대한 불법적인 복제 및 유통으로 인해 지적재산권과 관련한 문제들이 주위에서 많이 발생하고 있다. 디지털 컨텐츠의 불법복제와 유통은 저작자의 창작 의욕을 상실 시키며, 심각한 경제적 손실을 입히게 되는 매우 중요한 문제이다. 따라서 소유권자의 동의가 없는 불법적 복제를 방지하고 소유권을 효과적으로 보호하기 위한 저작권 보호 기술이 요구되고 있다. The popular dissemination of computers and the rapid development of networks have enabled the free exchange and easy access of various kinds of multimedia contents. However, easy access to a variety of data has led to problems related to the illegal copying of indiscriminate digital content. Due to illegal copying and distribution of music, photographs, and even high-definition videos, many problems related to intellectual property arise. Illegal copying and distribution of digital contents is a very important problem that causes the author to lose his creative will and serious economic loss. Therefore, copyright protection technology is required to prevent illegal duplication without the owner's consent and effectively protect the ownership.

디지털 데이터를 보호하기 위한 기술로 암호화 기법이나 방화벽을 이용한 접근제어 기술이 많이 발전해 왔다. 그러나 암호화 방식에 기반한 방법들은 키의 교환과 같은 정보누출의 가능성이 있고, 수많은 시도를 통해 암호 해독이 가능할 수도 있다. 그리고 암호화된 정보는 원 정보와는 전혀 다른 성격을 가지기 때문에, 암호화를 수행하였는지 또한 쉽게 알 수 있다. 방화벽을 이용한 접근 제어 자체도 접근이 허가된 사용자에 의한 불법적 디지털 컨텐츠의 배포 가능성을 배제할 수 없다. 따라서 최근 빠르게 성장하고 있는 컨텐츠 시장과 전자상거래 등에서 이러한 기술을 이용하여 저작권과 소유권을 효과적으로 보호하기에는 많은 어려움이 있다. As a technology for protecting digital data, many access control technologies using encryption techniques and firewalls have been developed. However, encryption-based methods have the possibility of information leakage such as key exchange, and may be decrypted through numerous attempts. And since the encrypted information has a completely different nature from the original information, it is also easy to know whether encryption has been performed. Access control using a firewall can not exclude the possibility of illegal digital content distribution by an authorized user. Therefore, it is difficult to effectively protect copyright and ownership by using such technology in the rapidly growing contents market and e-commerce.

디지털 콘텐츠 저작권 보호 기술은 무분별한 디지털 콘텐츠의 불법복제로 인한 문제점을 해결하고 정당한 저작권 보호를 받을 수 있는 기술적 보호조치를 제공한다. 이러한 기술적 보호조치를 제공하는 제품들은 많은 종류가 있으나 이들의 유형을 구분하면 능동적 콘텐츠 보호(Active (Explicit) Content Protection)와 수동적 콘텐츠 보호(Passive (Implicit) Content Protection) 두 가지로 구분할 수 있 다.Digital content copyright protection technology solves the problems caused by indiscriminate copying of digital content and provides technical protection measures to obtain legitimate copyright protection. There are many types of products that provide such technical protection, but they can be classified into two categories: active (Explicit) content and passive (Implicit) content protection.

능동적 콘텐츠 보호는 콘텐츠의 사용을 제한하는 기술로 사용 규칙을 정의하고 그 범위 내에서만 콘텐츠가 사용되도록 하는 기술이다. 대표적인 기술로는 DRM(Digital Rights Management)이 있다. Active content protection is a technology that restricts the use of content, which defines usage rules and ensures that content is used only within its scope. Representative technology is DRM (Digital Rights Management).

수동적 콘텐츠 보호는 콘텐트의 사용을 제한하지는 않으나 저작권자의 정보나 사용자의 정보를 안전하게 표시하는 기술이다. 대표적인 기술로는 워터마킹(Watermarking), DOI, INDECS 등이 있다.Passive content protection does not restrict the use of the content, but is a technique for securely displaying the copyright holder's information or the user's information. Typical technologies include watermarking, DOI, and INDECS.

워터마크는 중세시대 교회에서 암호문을 보낼 때 사용한 투명한 그림이나 글씨를 의미하는 단어로서, 물이나 특별한 방식으로만 볼 수 있는 약품을 이용하여 자신의 작품에 표시를 해두는 것에서 유래되었다.A watermark is a word meaning transparent picture or writing used when sending a cipher text in a medieval church. It originated from marking water on one's own work by using water or medicine that can only be seen in a special way.

디지털 워터마킹은 문서, 오디오, 이미지, 동영상과 같은 디지털 콘텐츠에 저작권을 인증할 수 있는 데이터를 사람의 육안으로 판별할 수 없도록 도 1과 같이 특정 정보를 삽입하는 기술이다. 콘텐츠의 유통 과정에서 지적 재산권 분쟁이 발생하였을 때, 콘텐츠 내부에 삽입된 워터마크를 추출하여 소유자를 확인함으로써 자신의 저작권을 보호할 수 있다.Digital watermarking is a technology of inserting specific information as shown in FIG. 1 so that the human eye cannot discriminate data capable of authenticating copyright in digital content such as documents, audio, images, and video. When there is a dispute over intellectual property rights in the distribution of contents, it is possible to protect its copyright by extracting a watermark inserted in the contents and verifying the owner.

워터마크는 다음과 같은 요건을 만족하여야 한다. The watermark must meet the following requirements.

첫째로 견고성(Robustness)이 있어야 한다. 원본 이미지에 삽입된 워터마킹 정보가 어떠한 경우에도 훼손되지 않고 추출 가능한 특성을 갖도록 하는 것이다. 이러한 특성을 이용하면 워터마킹이 삽입된 이미지를 비록 프린터로 출력하더라도 인쇄물로부터 워터마킹 정보를 추출할 수 있음으로써 해당 콘텐츠의 저작권자가 누 구인지를 알아낼 수 있게 된다. First, there must be robustness. The watermarking information inserted in the original image has an extractable property without being damaged in any case. By using this feature, even if the watermarked image is output to a printer, watermarking information can be extracted from the printed matter, thereby identifying who the copyright holder of the corresponding content is.

두 번째로 허약성(Fragileness)이 있어야 한다. 워터마킹 정보가 삽입된 이미지를 변형할 경우 쉽게 워터마킹 정보가 폐기되는 특성이다. 이러한 특성을 이용하면 변형 여부를 손쉽게 알아낼 수 있으므로 원본증명과 같은 분야에 응용할 수가 있다. 예를 들어, 원본증명이 필요한 문서를 출력하여 배포하는 경우를 살펴보자. 출력시 인쇄물에 fragile 워터마킹 정보를 삽입하고 배포를 하게 되면 이를 복사기로 복사하는 과정에서 워터마킹 정보에 손실이 발생하게 된다. 따라서 워터마킹 정보의 존재 여부를 판별함으로써 원본 문서의 진위를 가릴 수 있게 되는 것이다.Second, there must be fragility. The watermarking information is easily discarded when the image in which the watermarking information is inserted is deformed. By using these characteristics, it is easy to find out whether the deformation is possible, so it can be applied to the same field as the original proof. For example, consider printing and distributing documents that require original proof. If the fragile watermarking information is inserted and distributed in the printout, the watermarking information will be lost while copying it to the copier. Therefore, it is possible to mask the authenticity of the original document by determining the existence of watermarking information.

세 번째로 요구되는 것이 핑커프린팅 워터마킹(Fingerprinting Watermarking)이다. 원본 이미지에 눈에 보이지 않는 여러 가지 정보를 삽입 및 추출할 수 있는 특성을 이용한다. 이러한 기술은 사용자가 콘텐츠를 접근할 때 사용자의 정보 및 사용내역 등을 저장할 수 있기 때문에 콘텐츠의 불법 사용 추적 분야에 응용할 수 있다. 그러나 이 경우에도 견고한 워터마킹(robust watermarking) 경우와 마찬가지로 모든 단말기에 워터마킹 모듈이 설치되어야 한다는 대전제를 만족할 수 없을 뿐만 아니라 워터마킹 모듈이 없더라도 해당 콘텐츠를 이용하는데 지장이 없기 때문에 그 효용성에 대한 의문은 여전히 존재하고 있다.The third requirement is Fingerprinting Watermarking. It uses the property to insert and extract various invisible information in the original image. This technology can be applied to the field of illegal use tracking of the content because it can store the user's information and usage history when the user accesses the content. However, even in this case, as in the case of robust watermarking, it is not only able to satisfy the charging agent that the watermarking module should be installed in all terminals, and there is no problem in using the contents even without the watermarking module, so it is questionable about its utility. Still exists.

최근에는 이와 같이 디지털 컨텐츠 자체에 소유권 정보를 삽입하여 불법적인 복제나 배포를 막고, 효율적으로 저작권 보호를 위한 기술에 관심이 집중되고 있다. 이러한 기술을 정보은닉(Information Hiding)이라 한다. In recent years, attention has been focused on technologies for protecting copyrights effectively by inserting ownership information into digital content itself to prevent illegal copying or distribution. This technique is called Information Hiding.

기존의 정보 은닉 방법들은 정보의 삽입과 추출과정에서 정보의 손실을 초래 하였다. 8비트의 그레이 영상에서 각 화소의 최하위 비트에서 발생하는 변화는 사람의 눈에 잘 띄지 않는 점을 고려하여 영상의 최하위 비트 평면을 0으로 한 후, 암호화된 이진 정보를 삽입하는 방법이 있다. 그러나 이와 같이 정보의 손실이 발생하는 경우 의료 영상이나 군사 영상과 같은 분야에 있어서는 매우 치명적인 문제를 야기할 수 있다.Existing methods of information hiding have caused loss of information during the insertion and extraction of information. Considering that the change occurring in the least significant bit of each pixel in the 8-bit gray image is less noticeable to the human, there is a method of inserting encrypted binary information after setting the least significant bit plane of the image to zero. However, this loss of information can cause serious problems in areas such as medical imaging and military imaging.

본 발명은 종래의 문제점을 해결하기 위한 것으로, 정보의 삽입 및 추출 과정에서 원정보(Original Data)의 손실이 발생하지 않는 무손실 정보 삽입(Lossless Information Embedding) 및 추출 방법을 제공하는 것을 목적으로 한다. An object of the present invention is to provide a lossless information embedding and extraction method that does not cause loss of original data during insertion and extraction of information.

또한 본 발명은 상기 제안한 무손실 정보 은닉 기술에 기반하여 복원된 원정보에 대한 인증(Authentication)을 통하여 왜곡의 발생 여부를 판단하여 복원된 정보의 신뢰성을 높이는 것을 목적으로 한다. In addition, an object of the present invention is to increase the reliability of the restored information by determining whether distortion is generated through authentication of the restored original information based on the proposed lossless information concealment technique.

또한 본 발명은 정보 삽입시 영상에 삽입된 인증 정보 자체에 대한 보호를 위하여 삽입될 정보에 대해 암호화(Encryption)를 수행하여, 인증 정보를 중요 정보 전달을 위한 매개체로서 사용할 수 있는 방법을 제공하는 것을 목적으로 한다. In addition, the present invention is to provide a method that can use the authentication information as a medium for transmitting important information by performing encryption (Encryption) on the information to be inserted to protect the authentication information itself inserted in the image when the information is inserted The purpose.

또한 본 발명은 전체 영상을 다수의 블록으로 나누어 각각의 블록에 대해 인증정보를 삽입함으로써, 영상에 대한 왜곡이나 조작이 발생한 영역을 국부적으로 검출할 수 있는 방법을 제공하는 것을 목적으로 한다. Another object of the present invention is to provide a method of locally detecting a region in which distortion or manipulation of an image occurs by dividing an entire image into a plurality of blocks and inserting authentication information into each block.

본 발명의 실시에 따른 정보 은닉 방법은,Information hiding method according to the embodiment of the present invention,

이미지를 다수개의 블록으로 분할하는 단계;Dividing the image into a plurality of blocks;

상기 분할된 각 블록을 서브블록으로 분할하는 단계;Dividing the divided blocks into subblocks;

상기 분할된 각 서브블록 중 하나의 픽셀에 인증 증보를 삽입하는 단계;를 포함하는 것을 특징으로 한다.And inserting an authentication supplement into one pixel of each of the divided subblocks.

또한 본 발명에 있어서, 상기 인증 정보를 삽입하는 단계는 서브블록 중 최소 픽셀값을 갖는 픽셀에 삽입하는 것을 특징으로 한다.In the present invention, the step of inserting the authentication information is characterized in that the insertion into the pixel having the minimum pixel value of the sub-block.

또한 본 발명에 있어서, 상기 블록은 2×2 크기의 서브블록으로 분할하는 것을 특징으로 한다.In addition, in the present invention, the block is characterized in that divided into 2 × 2 subblocks.

또한 본 발명의 실시에 따른 정보 은닉 방법은, 삽입할 인증 정보를 암호화하는 단계를 더 포함하는 것을 특징으로 한다.In addition, the information hiding method according to an embodiment of the present invention, characterized in that it further comprises the step of encrypting the authentication information to be inserted.

또한 본 발명에 있어서, 상기 인증 정보는 이진 정보인 것을 특징으로 한다.In the present invention, the authentication information is characterized in that the binary information.

또한 본 발명의 실시에 따른 정보 은닉 방법은, 상기 인증 정보 삽입에 따른 픽셀값의 변화에 상응하여 부가 정보를 발생하는 단계를 더 포함하는 것을 특징으로 한다.In addition, the information hiding method according to an embodiment of the present invention, characterized in that it further comprises the step of generating additional information corresponding to the change in the pixel value according to the insertion of the authentication information.

또한 본 발명에 있어서, 상기 부가 정보를 발생하는 단계는 인증 정보가 삽입되는 픽셀값에 변화가 발생하는 경우에는 1을 발생하고, 픽셀값에 변화가 없는 경우에는 0을 발생하는 것을 특징으로 한다.In the present invention, the generating of the additional information may include generating 1 when a change occurs in the pixel value into which the authentication information is inserted, and generating 0 when there is no change in the pixel value.

또한 본 발명에 있어서, 상기 부가 정보를 발생하는 단계는 인증 정보가 삽입되는 픽셀 값이 홀수이고 삽입되는 인증 정보가 1이면 픽셀값에 변화 없이 부가 정보 0을 발생하고, 삽입되는 픽셀값이 홀수이고 삽입되는 인증 정보가 0이면 상기 픽셀 값을 1 감소시키고 부가정보 1을 발생하는 단계를 포함하는 것을 특징으로 한다.In the present invention, the generating of the additional information may include generating the additional information 0 without changing the pixel value if the pixel value into which the authentication information is inserted is odd and the authentication information to be inserted is 1, and the pixel value being inserted is odd. When the authentication information to be inserted is 0, the pixel value is decreased by 1 and the additional information 1 is generated.

또한 본 발명에 있어서, 상기 부가 정보를 발생하는 단계는 인증 정보가 삽입되는 픽셀값이 짝수이고 삽입되는 인증 정보가 0이면 픽셀값에 변화 없이 부가 정보 0을 발생하고, 삽입되는 픽셀값이 짝수이고 삽입되는 인증 정보가 1이면 상기 픽셀값을 1 감소 시키고 부가 정보 1을 발생하는 단계를 포함하는 것을 특징으로 한다.Also, in the present invention, the generating of the additional information may include generating the additional information 0 without changing the pixel value if the pixel value into which the authentication information is inserted is an even number and the authentication information into which the information is inserted is 0 and the inserted pixel value is even. If the authentication information to be inserted is 1, the pixel value is decreased by 1 and the additional information 1 is generated.

또한 본 발명의 실시에 따른 정보 은닉 방법은, 상기 인증 정보가 삽입된 영상으로부터 인접한 화소의 차분을 이용하여 차분 영상을 구하는 단계;In addition, the information concealment method according to an embodiment of the present invention comprises the steps of: obtaining a difference image using the difference of adjacent pixels from the image inserted the authentication information;

상기 차분 영상에 부가 정보를 삽입하는 단계; 를 더 포함하는 것을 특징으로 한다.Inserting additional information into the difference image; It characterized in that it further comprises.

또한 본 발명의 실시에 따른 은닉 정보 추출 방법은,In addition, the method of extracting hidden information according to the embodiment of the present invention,

이미지를 다수개의 블록으로 분할하는 단계;Dividing the image into a plurality of blocks;

상기 블록을 서브블록으로 분할하는 단계;Dividing the block into subblocks;

상기 서브블록으로부터 인증 정보를 추출하여 원본 영상을 복원하는 단계;를 포함하는 것을 특징으로 한다.And extracting authentication information from the subblock to restore the original image.

또한 본 발명의 실시에 따른 은닉 정보 추출 방법은, 이미지로부터 차분 영상을 구하고 이로부터 부가 정보를 추출하는 단계를 더 포함하는 것을 특징으로 한다.In addition, the method for extracting hidden information according to an embodiment of the present invention may further include obtaining a difference image from the image and extracting additional information therefrom.

또한 본 발명에 있어서, 상기 인증 정보를 추출하는 단계는 상기 부가 정보 를 이용하여 추출하는 것을 특징으로 한다.In the present invention, the step of extracting the authentication information is characterized in that the extraction using the additional information.

또한 본 발명의 실시에 따른 은닉 정보 추출 방법은, 암호화된 인증 정보를 복호화하는 단계를 더 포함하는 것을 특징으로 한다.In addition, the method for extracting hidden information according to an embodiment of the present invention may further include decrypting the encrypted authentication information.

또한 본 발명에 있어서, 상기 부가 정보는 인증 정보가 삽입된 픽셀값에 변화가 있었으면 1을 추출하고, 인증 정보가 삽입된 픽셀값에 변화가 없었으면 0을 추출하는 것을 특징으로 한다.In the present invention, the additional information is characterized by extracting 1 when there is a change in the pixel value in which the authentication information is inserted, and extracting 0 when there is no change in the pixel value in which the authentication information is inserted.

또한 본 발명에 있어서, 상기 부가 정보는 인증 정보가 삽입된 서브블록의 픽셀값이 홀수이고 삽입된 인증 정보가 1이거나, 인증 정보가 삽입된 서브블록의 픽셀값이 짝수이고 삽입된 인증 정보가 0이면 1을 추출하는 것을 특징으로 한다.Further, in the present invention, the additional information may be an odd pixel value of the subblock in which the authentication information is inserted and the inserted authentication information is 1, or the pixel value of the subblock in which the authentication information is inserted is an even number and the inserted authentication information is 0. It is characterized in that 1 is extracted.

또한 본 발명에 있어서, 상기 부가 정보는 인증 정보가 삽입된 서브블록의 픽셀값이 홀수이고 삽입된 인증 정보가 0이거나, 인증 정보가 삽입된 서브블록의 픽셀값이 짝수이고 삽입된 인증 정보가 1이면 0을 추출하는 것을 특징으로 한다.Further, in the present invention, the additional information may be an odd pixel value of the subblock in which the authentication information is inserted and the inserted authentication information is 0, or a pixel value of the subblock in which the authentication information is inserted is even and the authentication information inserted is 1 In this case, 0 is extracted.

또한 본 발명에 있어서, 상기 부가 정보가 1인 경우에는 인증 정보가 삽입된 서브브록의 픽셀값을 1 증가시켜 원본 영상을 복원하는 것을 특징으로 한다.In the present invention, when the additional information is 1, the original image is reconstructed by increasing the pixel value of the subblock in which the authentication information is inserted by one.

또한 본 발명에 있어서, 상기 부가 정보가 0인 경우에는 인증 정보가 삽입된 서브블록의 픽셀값의 변화 없이 원본 영상을 복원하는 특징으로 한다.In the present invention, when the additional information is 0, the original image is reconstructed without changing the pixel value of the subblock in which the authentication information is inserted.

이하 첨부된 도면을 참조하여 상세히 설명한다. Hereinafter, with reference to the accompanying drawings will be described in detail.

도 2는 본 발명의 실시에 따른 인증 정보 삽입의 전체적인 흐름도이다.2 is an overall flowchart of authentication information insertion according to an embodiment of the present invention.

먼저, 정보를 삽입할 이미지를 읽고 블록 카운터(BC)를 설정한다(S210). 상기 이미지를 M×N의 크기를 가진 K개의 블록으로 분할한다(S211). First, an image to insert information is read and a block counter BC is set (S210). The image is divided into K blocks having a size of M × N (S211).

상기 블록 카운터 BC가 전체 블록 K을 비교하여(S212) 블록 카운터 값이 K보다 클 경우에는 데이터 삽입을 종료하고(S220), 블록 카운터 값이 K보다 적을 경우에는 하나의 블록을 읽고 블록 카운터 블록 카운터를 하나 증가 시킨다(S213). 다음으로 상기 블록을 서브블록으로 분할하고 서브블록 카운터(SBC)를 설정한다(S214). 이때, 서브블록은 2×2크기를 가지도록 하며 분할된 서브블록의 개수를 S로 표현한다. When the block counter BC compares the entire blocks K (S212) and the block counter value is larger than K, data insertion is terminated (S220). When the block counter value is less than K, one block is read and a block counter block counter is read. Increase one (S213). Next, the block is divided into subblocks and a subblock counter SBC is set (S214). At this time, the subblocks have a size of 2 × 2 and the number of divided subblocks is expressed as S.

상기 서브블록 카운터를 전체 서브블록의 수 S와 비교하여(S215) 블록 카운터가 큰 경우에는 다시 블록 카운터를 블록 개수 K와 비교하는 단계(S212)로 되돌아가고, SBC가 적은 경우에는 그 블록을 읽은 후(S216) 서브블록 샘플을 정렬하고 최소 픽셀값을 선택하고(S217) 인증 정보를 삽입하기 전에 인증 정보 자체에 대한 보호를 위하여 삽입될 정보에 대해 암호화를 수행할 수 있다(S218). 상기 암호화된 인증 정보를 삽입한다(S219). 이때 삽입하는 정보가 0 또는 1인지 여부에 따라 픽셀값에 변화가 발생하게 되는데 픽셀값의 변화 여부를 알 수 있는 부가 정보를 발생하고 버퍼에 저장한다. 그리고 서브블록 카운터를 1 증가시킨다. The subblock counter is compared with the total number of subblocks S (S215). If the block counter is large, the process returns to the step S212 of comparing the block counter with the number of blocks K. If the SBC is small, the block is read. After S216, the subblock samples may be aligned, a minimum pixel value may be selected (S217), and the information to be inserted may be encrypted for protection of the authentication information itself (S218). The encrypted authentication information is inserted (S219). At this time, a change occurs in the pixel value depending on whether the inserted information is 0 or 1, and additional information for determining whether the pixel value is changed is stored in a buffer. The subblock counter is incremented by one.

상기의 인증 정보 및 부가 정보의 삽입 과정 및 픽셀값의 변화 여부를 요약하여 설명하면, 인증을 위한 로고 정보는 하나의 이미지를 K개의 블록으로 분할한 후에 각각의 블록에 대해서 삽입된다. 이때, 하나의 블록의 크기는 삽입할 로고 정보가 M × N의 이진 영상일 경우, 2M × 2N의 크기가 된다. 이는 다음에 하나의 이진 정보가 2×2의 서브블록에 대해서 삽입되기 때문이다. 따라서 하나의 블록은 또다시 M×N개의 서브블록들로 나누어진다. The summary of the insertion process of the authentication information and the additional information and the change of the pixel value will be described. The logo information for authentication is inserted into each block after dividing one image into K blocks. In this case, the size of one block is 2M × 2N when the logo information to be inserted is a M × N binary image. This is because one binary information is next inserted for a 2x2 subblock. Therefore, one block is divided into M × N subblocks again.

서브블록 수준에서의 정보의 삽입은 다음과 같이 수행된다. 2×2 블록을 구성하는 4개의 픽셀들을 큰 것부터 작은 순으로 정렬한 후, 가장 작은 값을 갖는 픽셀에 해당 정보를 삽입하는 것이다. Insertion of information at the subblock level is performed as follows. The four pixels constituting the 2x2 block are arranged in order from largest to smallest, and then the corresponding information is inserted into the pixel having the smallest value.

상기의 절차로서 인증 정보의 삽입 절차는 종료되고(S220), 상기 부가 정보를 삽입하기 위한 절차가 행해진다. As the above procedure, the procedure of inserting authentication information is terminated (S220), and a procedure for inserting the additional information is performed.

즉, 인증 정보 삽입 결과로부터 차분 영상을 만들고(S221), 상기 차분 영상에 부가 정보를 삽입한다(S222).That is, a difference image is generated from the authentication information insertion result (S221), and additional information is inserted into the difference image (S222).

부연하여 설명하면, 부가 정보를 삽입하기 위해서 차분 영상 기법을 이용해 부가 정보를 삽입할 공간을 만드는 것이다. 차분 영상이란 하나의 영상을 홀수 라인과 짝수 라인으로 분해하여 만들어진 두 개의 서브 이미지들에 대해서 각각 대응하는 위치의 픽셀들에 대해서 차를 구한 영상을 차분영상을 의미한다. In detail, in order to insert additional information, a space for inserting additional information is created using a differential image technique. The difference image is a difference image of an image obtained by obtaining a difference with respect to pixels of corresponding positions for two sub-images formed by decomposing one image into odd and even lines.

상기와 같이 부가 정보까지 삽입함으로써 정보 은닉 절차는 종료된다. By inserting the additional information as described above, the information hiding procedure is terminated.

도 3은 본 발명의 실시에 따라 서브블록에 정보를 삽입하는 과정을 나타낸 것이다. 3 illustrates a process of inserting information into a subblock according to an embodiment of the present invention.

상기 도 2에서 검토한 바와 같이 서브블록의 픽셀값을 정렬한 후 최소 픽셀값을 선택한 후 상기 선택된 최소 픽셀값이 홀수인지 여부를 판단한다(S314). As described above with reference to FIG. 2, after the pixel values of the subblocks are aligned, the minimum pixel value is selected, and it is determined whether the selected minimum pixel value is an odd number (S314).

상기 판단 결과 홀수이면 삽입할 인증 정보, 즉 이진 데이터(binary data)가 1인지 여부를 판단한다(S315). 상기 삽입할 데이터가 1이면 선택된 최소 픽셀값에 아무런 변화 없이 부가 정보 0을 삽입하고(S316) 상기 삽입할 데이터가 1이 아니면 선택된 최소 픽셀값에서 1을 감산하고 부가 정보 1을 삽입한다(S317). If the determination result is odd, it is determined whether authentication information to be inserted, that is, binary data is 1 (S315). If the data to be inserted is 1, the additional information 0 is inserted without any change to the selected minimum pixel value (S316). If the data to be inserted is not 1, 1 is subtracted from the selected minimum pixel value and the additional information 1 is inserted (S317). .

상기 픽셀값이 홀수가 아니면 삽입할 인증 정보, 즉 이진 데이터가 0인지 여부를 판단한다(S318). 상기 이진 데이터가 0이면 선택된 최소 픽셀값에 아무런 변화 없이 부가 정보 0을 삽입하고(S319) 상기 삽입할 이진 데이터가 0이 아니면 선택된 최소 픽셀값에서 1을 감산하고 부가 정보 1을 삽입한다(S317).If the pixel value is an odd number, it is determined whether authentication information to be inserted, that is, binary data is 0 (S318). If the binary data is 0, the additional information 0 is inserted without any change in the selected minimum pixel value (S319). If the binary data to be inserted is not 0, 1 is subtracted from the selected minimum pixel value and the additional information 1 is inserted (S317). .

상기 절차에서 인증 정보를 삽입하고 픽셀값의 변화 여부에 따른 부가 정보를 버퍼에 저장한다(S320).In the above procedure, authentication information is inserted and additional information according to whether the pixel value is changed is stored in the buffer (S320).

상기 과정을 요약하여 설명하면 하기와 같다.The summary of the above process is as follows.

2×2 서브블록을 구성하는 픽셀들이 A, B, C, D이고 픽셀 값의 크기가 A≥B≥C≥D라고 정의하면, 가장 작은 값을 갖는 픽셀은 D가 된다. If the pixels constituting the 2x2 subblock are A, B, C, D and the size of the pixel value is defined as A≥B≥C≥D, the pixel having the smallest value is D.

만약, 삽입할 정보가 1이고, D가 홀수의 값을 갖는다면, D의 값에는 아무런 변화도 발생하지 않는다. 그러나 D가 짝수인 경우, D의 값에서 1만큼 감소한다. 0의 값을 삽입해야 하는 경우는 다음과 같다. D가 짝수인 경우, D의 값에는 변화가 없다. 그러나 D가 홀수인 경우, D의 값을 1만큼 감소시킨다. 이를 정리하면 표 1과 같다.If the information to be inserted is 1 and D has an odd value, no change occurs in the value of D. However, if D is even, it is reduced by one from the value of D. The case where a value of 0 should be inserted is as follows. If D is even, there is no change in the value of D. However, if D is odd, the value of D is decreased by one. This is summarized in Table 1.

삽입할 정보Information to insert 픽셀 D의 값 The value of pixel D 변화된 픽셀 D의 값The value of the changed pixel D 00 홀수odd number D-1D-1 00 짝수Even DD 1One 홀수odd number DD 1One 짝수Even D-1D-1

예를 들어,E.g,

ⅰ) A=115, B=103, C=99, D=81 이고 삽입할 정보가 0이라면, D=80 이 된다. I) If A = 115, B = 103, C = 99, D = 81 and the information to be inserted is 0, then D = 80.

ⅱ) A=115, B=103, C=99, D=80 이고 삽입할 정보가 1이라면, D=79가 된다. Ii) If A = 115, B = 103, C = 99, D = 80 and the information to be inserted is 1, then D = 79.

이렇게 2×2의 블록의 정보들이 합쳐져 인증 정보가 삽입된 블록을 생성하게 된다. 이때, D의 값에 변화가 발생하였는지 혹은 변화가 발생하지 않았는지를 알려주기 위한 부가정보를 버퍼에 저장한다.In this way, the information of the 2x2 blocks is combined to generate a block in which the authentication information is inserted. At this time, additional information for informing whether a change occurs or no change occurs in the value of D is stored in a buffer.

도 4는 본 발명의 실시에 따른 부가 정보 삽입 과정을 상세히 나타낸 흐름도이다.4 is a flowchart illustrating a process of inserting additional information according to an embodiment of the present invention in detail.

먼저 이미지를 읽고(S410) 차분영상을 만든다(S411). 차분 영상은 상기에서 검토한 바와 같이 하나의 영상을 홀수 라인과 짝수 라인으로 분해하여 만들어진 두 개의 서브 이미지들에 대해서 각각 대응하는 위치의 픽셀들에 대해서 차를 이용하여 구할 수 있다. First, read the image (S410) to create a differential image (S411). As discussed above, the difference image may be obtained by using a difference for pixels of corresponding positions for two sub-images formed by decomposing one image into odd and even lines.

상기 차분영상에서 차분값을 X축으로 하고 X축에 해당하는 샘플들, 즉 차분 영상 내 픽셀들의 수를 Y축으로 두고 히스토그램을 만든다(S412). 차분 영상에서 그 차이를 나열하여 개수를 세면, 차분값이 0인 지점에서 최대값이 되며 이를 기준으로 양옆으로 흩어진 가우시안 분포를 보이므로 히스토그램을 얻을 수 있다.In the difference image, a histogram is made with the difference value as the X axis and the samples corresponding to the X axis, that is, the number of pixels in the difference image as the Y axis (S412). If the difference is listed and counted in the difference image, the maximum value is obtained at the point where the difference value is 0, and the histogram can be obtained because the Gaussian distribution scattered from both sides is displayed based on the difference value.

상기 히스토그램에서 부가 정보를 삽입하기 위하여 히스토그램을 이동시킨다(S413). 이동 방법을 상세히 살펴보면, 상기 히스토그램에서 차분값 0에서 최대값을 가지고 차분값 -1 및 +1에서 두 번째와 세 번째 최대값을 가지게 되는데 이를 이용하여 정보를 삽입한다. 예를 들면, 차분값 0의 좌측에서 차분값 -1을 이용하여 정보를 삽입하기 위해 차분값 -2로부터 모든 좌측의 차분값들을 -1만큼 이동시킨다. 이렇게 함으로써 -2의 자리를 비울 수 있다. 마찬가지로 0을 기준으로 우측도 +2를 기준으로 모든 우측 값들을 +1만큼 이동시킴으로써 +2의 자리를 비울 수 있다.The histogram is moved to insert additional information in the histogram (S413). Looking at the moving method in detail, the histogram has a maximum value at the difference value 0 and a second and third maximum values at the difference values -1 and +1 and inserts information using the same. For example, all the left difference values are shifted from the difference value -2 by -1 to insert information using the difference value -1 on the left side of the difference value 0. By doing this, we can leave the position of -2. Similarly, the right side with respect to 0 can be emptied of +2 by moving all right values by +1 with respect to +2.

상기 히스토그램의 이동 후 부가 정보 카운터(ALC)를 0으로 설정하고 전체 부가 정보의 개수는 TA로 설정한다(S414).After the histogram is moved, the additional information counter ALC is set to 0 and the total number of additional information is set to TA (S414).

상기 부가 정보 카운터가 0이면 처음 부가 정보를 읽고 0이 아니면 다음 부가 정보를 읽는다(S415).If the additional information counter is 0, the first additional information is read and if not, the next additional information is read (S415).

상기 부가 정보가 1인지 여부를 판단하고(S416), 1이면 상기 히스토그램의 빈자리에 부가 정보를 삽입하고(S417) 부가정보 카운터를 하나 증가 시키고 부가 정보가 1이 아니면 히스토그램의 빈자리에 부가 정보를 삽입하는 과정 없이 바로 부가정보 카운터를 하나 증가 시킨다(S419). 부가정보를 삽입하는 과정을 상세히 살펴보면, 삽입할 정보가 1일 때 상기 비운 자리에 해당하는 Y축으로 +1씩 더하고 동시에 X축의 차분값 1과 -1에서 -1을 더함으로써 전체적인 데이터에는 변화없이 정보를 삽입할 수 있다. 또한, 삽입할 정보가 0일때는 히스토그램의 변화가 없다. 이렇게 부가 정보를 만드는 공간을 확보함으로써, 앞에서 기술한 원래의 픽셀값을 찾을 수 있는 것이다.It is determined whether the additional information is 1 (S416), if 1, the additional information is inserted into the empty place of the histogram (S417), and the additional information counter is incremented by one. If the additional information is not 1, the additional information is inserted into the empty place of the histogram. It increments one additional information counter without a process (S419). Looking at the process of inserting additional information in detail, when the information to be inserted is 1, it adds +1 to the Y-axis corresponding to the vacant position and adds -1 to -1 from the difference value of X-axis and -1 to -1 without changing the overall data. You can insert information. Also, when the information to be inserted is zero, there is no change in the histogram. By securing a space for creating additional information, the original pixel values described above can be found.

상기 부가 정보 카운터 ALC가 전체 부가 정보의 개수 보다 작으면 다시 부가정보를 읽고(S415) 상기의 절차를 수행하고 전체 부가 정보의 개수 보다 크면 절차를 종료한다. If the additional information counter ALC is smaller than the total number of additional information, the additional information is read again (S415), and the procedure is performed. If the additional information counter ALC is larger than the total number of additional information, the procedure is terminated.

이상에서 본 발명의 실시에 따른 인증 정보 삽입 과정을 살펴보았다. 하기에서는 상기 삽입 정보를 추출하는 과정을 살펴본다. In the above, the process of inserting authentication information according to an embodiment of the present invention has been described. Hereinafter, a process of extracting the insertion information will be described.

도 5는 본 발명의 실시에 따라 삽입된 인증 정보를 추출하는 과정을 나타내는 전체적인 흐름도이다.5 is an overall flowchart illustrating a process of extracting embedded authentication information according to an embodiment of the present invention.

도 2의 삽입 과정을 역과정으로 수행하여 삽입된 정보를 추출할 수 있다.The inserted information may be extracted by performing the insertion process of FIG. 2 in a reverse process.

상세히 살펴보면, 먼저 이미지를 읽고(S510) 차분영상을 만든다(S511). 차분영상을 만드는 법은 상기에서 설명하였으므로 생략한다.Looking in detail, first read the image (S510) to create a differential image (S511). Since the method of making the difference image has been described above, it is omitted.

상기 차분영상에서 삽입된 부가 정보를 추출한다(S513). 부가 정보의 추출과정은 도 6에 상세히 표시되어 있다.The additional information inserted from the difference image is extracted (S513). The extraction of the additional information is shown in detail in FIG. 6.

상기 부가 정보 추출함으로써 인증 정보가 삽입된 이미지를 얻을 수 있다. 상기 부가 정보가 추출된 이미지를 M×N크기를 가지는 K개의 블록으로 분할한다(S514). 이때 블록 카운터 BC를 0으로 설정한다. By extracting the additional information, an image into which authentication information is inserted can be obtained. The image from which the additional information is extracted is divided into K blocks having an M × N size (S514). At this time, the block counter BC is set to zero.

상기 블록 카운터 BC와 블록의 개수 K를 비교하여(S515) BC가 커면 절차를 종료하고 BC가 작으면 하나의 블록을 읽고 블록 카운터 BC를 증가한다(S516).The block counter BC is compared with the number K of blocks (S515). If BC is large, the procedure ends. If BC is small, one block is read and the block counter BC is increased (S516).

상기 블록을 2×2 크기를 가진 S개의 서브블록으로 분할한다(S517). 이때 서브블록 카운터 SBC를 0으로 설정한다.The block is divided into S subblocks having a size of 2 × 2 (S517). At this time, the subblock counter SBC is set to zero.

상기 서브블록 카운터 SBC가 전제 서브블록의 개수 S보다 적은지 여부를 판단하고(S518), SBC가 큰 경우에는 블록 카운터 비교부(S515)로 돌아가고 SBC가 적은 경우에는 SBC번째 블록을 읽는다(S519).It is determined whether the subblock counter SBC is smaller than the number S of the entire subblocks (S518). If SBC is large, the control returns to the block counter comparison unit S515, and if the SBC is small, the SBC-th block is read (S519).

상기 부가 정보를 이용하여 인증 정보를 추출하고 원본 영상을 복원하다(S520). 인증 정보 추출 과정은 도 7에 상세히 표시되어 있다.The authentication information is extracted using the additional information, and the original image is restored (S520). The authentication information extraction process is shown in detail in FIG. 7.

상기 추출된 인증 정보가 암호화된 경우 이를 복호화하고(S521) 서브블록 카운터 SBC를 1 증가시키고(S522) 서브블록 개수와 비교하는 단계(S518)로 돌아가 상기 절차를 다시 수행한다. If the extracted authentication information is encrypted (S521), the subblock counter SBC is incremented by 1 (S522), and the process returns to step S518, where the procedure is repeated.

도 6을 참조하여 부가 정보 추출 과정을 설명한다.An additional information extraction process will be described with reference to FIG. 6.

상기 도 4에서 검토한 바와 같이 이미지를 읽고 차분영상을 만들고, 차분값이 0 또는 ±2인 샘플을 찾는다(S613). 이때 ±2를 갖는 샘플 값 카운터 TS를 상기에서 찾은 ±2의 샘플들의 수 T로 설정한다. 상기 부가 정보 삽입과정에서 살펴보았듯이 차분값이 부가 정보가 0인 경우에는 차분값이 0인 위치에 삽입하고 부가 정보가 1인 경우에는 히스토그램을 이동시킨 후 차분값이 ±2인 위치에 부가 정보를 삽입하였으므로 이를 추출하기 위해서 차분값이 0 또는 ±2인 샘플을 찾는 것이다.As described in FIG. 4, the image is read, a differential image is generated, and a sample having a difference value of 0 or ± 2 is found (S613). At this time, the sample value counter TS having ± 2 is set to the number T of samples of ± 2 found above. As described in the additional information insertion process, when the difference value is 0, additional information is inserted at the position where the difference value is 0, and when the additional information is 1, the histogram is moved and the additional information is positioned at the difference value ± 2. Since we insert, we find a sample with a difference of 0 or ± 2 to extract it.

상기 차분값의 절대값이 0 또는 2를 갖는 샘플을 획득하고(S614) 샘플 값 카운터가 TS가 0인지 여부를 판단한다(S615). A sample having an absolute value of the difference value of 0 or 2 is obtained (S614), and the sample value counter determines whether the TS is 0 (S615).

상기 샘플 값 카운터 TS가 0인 경우에는 절차를 종료하고 그렇지 않은 경우에는 차분값의 절대값이 0인지 여부를 판단한다(S616). 상기 차분값이 0인 경우에는 부가 정보 0을 추출하고(S617), 차분값이 0이 아닌 경우에는 차분값의 절대값이 2인지 여부를 판단하고(S618), 상기 절대값이 2인 경우에는 히스토그램을 이동시키고 부가 정보 1을 추출하고(S619) 상기 절대값이 2가 아닌 경우에는 부가 정보의 추출 없이 히스토그램을 이동시킨다(S620). 상기 히스토그램 이동은 부가 정보 삽입시 이동시킨 것을 복원시키기 위한 것으로 삽입시와 반대로 이동된다.If the sample value counter TS is 0, the procedure is terminated. Otherwise, it is determined whether the absolute value of the difference value is 0 (S616). If the difference value is 0, additional information 0 is extracted (S617). If the difference value is not 0, it is determined whether the absolute value of the difference value is 2 (S618), and if the absolute value is 2, The histogram is moved and the additional information 1 is extracted (S619). If the absolute value is not 2, the histogram is moved without extracting the additional information (S620). The histogram movement is for restoring the movement made when the additional information is inserted.

상기 절차 수행 후 샘플 값 카운터 TS를 1 감소시키고(S621), 다시 샘플 값 카운터 TS가 0인지 여부를 판단하고(S615) 상기의 절차를 다시 수행한다. After performing the procedure, the sample value counter TS is decremented by 1 (S621), and again, it is determined whether the sample value counter TS is 0 (S615), and the above procedure is performed again.

도 7을 참조하여 서브블록에서 인증정보를 추출하는 과정을 설명한다.A process of extracting authentication information from a subblock will be described with reference to FIG. 7.

먼저, 도 5의 인증 정보의 추출 과정의 전체 흐름도에서 살펴본 바와 같이 2×2서브블록을 읽고, 4개의 픽셀을 정렬한 후 최소 픽셀값을 선택하면 부가 정보를 획득할 수 있다(S710~S712). First, as described in the entire flowchart of the extraction process of the authentication information of FIG. 5, additional information may be obtained by reading a 2 × 2 subblock, aligning four pixels, and selecting a minimum pixel value (S710 to S712). .

상기 선택된 최소 픽셀값이 홀수인지 여부를 판단한다(S713). 상기 판단 결과, 픽셀값이 홀수이면 인증 정보 1을 추출하고(S714) 부가 정보가 1인지를 판단한다(S716). 상기 픽셀값이 홀수가 아니면 인증 정보 0을 추출하고(S715) 부가정보가 1인지를 판단한다(S716).It is determined whether the selected minimum pixel value is an odd number (S713). As a result of the determination, if the pixel value is an odd number, authentication information 1 is extracted (S714) and it is determined whether the additional information is 1 (S716). If the pixel value is an odd number, authentication information 0 is extracted (S715) and it is determined whether the additional information is 1 (S716).

상기 부가정보가 1이면 픽셀값을 1 증가시켜 원본 영상을 복원하고(S717) 부가정보가 1이 아니면, 즉 0이면 픽셀값에 변화없이 원본 영상을 복원한다(S718). 인증 정보 삽입시 부가 정보가 1인 경우에는 삽입 픽셀값에 변화가 생겼으므로 이를 복원하기 위해 1을 증가되나, 부가 정보가 0인 경우에는 픽셀값에 아무런 변화없이 삽입하였으므로 복원시에도 픽셀값의 변화는 발생하지 않는다. If the additional information is 1, the original image is restored by increasing the pixel value by 1 (S717). If the additional information is not 1, that is, 0, the original image is restored without changing the pixel value (S718). If the additional information is 1 when inserting the authentication information, the insertion pixel value has changed, so that the value is increased to restore this value. However, if the additional information is 0, the insertion value is inserted without any change in the pixel value. Does not occur.

이상에서 첨부된 도면을 참조하여 본 발명의 실시예를 살펴보았으나, 본 발명의 권리범위는 이에 한정되지 않으며 첨부된 청구범위에 의해 결정되며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진자라면 본 발명의 기술적 사상과 첨부된 청구범위을 벗어나지 않는 범위내에서 다양하게 변경 및 치환하여 실시할 수 있을 것이다. Although the embodiments of the present invention have been described with reference to the accompanying drawings, the scope of the present invention is not limited thereto and is determined by the appended claims, and has a general knowledge in the art to which the present invention belongs. If it can be carried out by variously changed and substituted within the scope without departing from the spirit and the appended claims of the present invention.

본 발명에 의하면, 인증 정보의 삽입시 원본 이미지를 블록과 서브블록으로 분할하여 서브블록에 인증 정보를 삽입함으로써, 각각의 블록에 대해 정보의 삽입 이 이루어지고 누군가 특정 블록을 조작한 경우에도 해당 블록의 데이터만 손상되고 전체 이미지가 손상되는 것을 방지할 수는 효과가 있다. 즉, 본 발명에 의하면 국부성이 보장된다. According to the present invention, when the authentication information is inserted, the original image is divided into blocks and subblocks, and the authentication information is inserted into the subblocks, thereby inserting the information into each block, even when someone manipulates a specific block. Only the data in the file is damaged and the entire image is protected from being damaged. That is, according to the present invention, locality is ensured.

또한, 본 발명에 의하면, 인증 정보의 삽입시 픽셀값의 변화 여부를 나타내는 부가 정보를 삽입하고 추출시에 이를 이용하므로써, 인증 정보 추출시에도 변화된 픽셀값을 보상해 줄 수 있다. 따라서 본 발명에 의하면 인증 정보의 삽입 및 추출 과정에서 원정보(Original Data)의 손실이 발생하지 않는 효과가 있다.In addition, according to the present invention, by inserting additional information indicating whether or not the pixel value changes when the authentication information is inserted and using the extracted information, it is possible to compensate for the changed pixel value even when extracting the authentication information. Therefore, according to the present invention, there is an effect that the loss of original data does not occur during the insertion and extraction of authentication information.

또한, 본 발명에 의하면, 상기 제안한 무손실 정보 은닉 기술에 기반하여 복원된 원정보에 대한 인증(Authentication)을 통하여 왜곡의 발생 여부를 판단하여 복원된 정보의 신뢰성을 높이는 효과가 있다.In addition, according to the present invention, it is possible to increase the reliability of the restored information by determining whether distortion is generated through authentication of the restored original information based on the proposed lossless information concealment technique.

또한 본 발명에 의하면, 정보 삽입시 영상에 삽입된 인증 정보 자체에 대한 보호를 위하여 삽입될 정보에 대해 암호화(Encryption)를 수행하여, 인증 정보를 중요 정보 전달을 위한 매개체로서 사용할 수 있는 효과가 있다. In addition, according to the present invention, by encrypting the information to be inserted in order to protect the authentication information itself inserted into the image when the information is inserted, there is an effect that the authentication information can be used as a medium for transmitting important information. .

Claims (19)

이미지를 다수개의 블록으로 분할하는 단계;Dividing the image into a plurality of blocks; 상기 분할된 각 블록을 서브블록으로 분할하는 단계;Dividing the divided blocks into subblocks; 상기 분할된 각 서브블록 중 하나의 픽셀에 인증 증보를 삽입하는 단계;를 포함하는 것을 특징으로 하는 정보 삽입 방법.And inserting an authentication supplement into one pixel of each of the divided sub-blocks. 제 1항에 있어서, 상기 인증 정보를 삽입하는 단계는 서브블록 중 최소 픽셀값을 갖는 픽셀에 삽입하는 것을 특징으로 하는 정보 삽입 방법.The method of claim 1, wherein the inserting of the authentication information comprises inserting into the pixel having the minimum pixel value among the subblocks. 제 1항에 있어서, 상기 블록은 2×2 크기의 서브블록으로 분할하는 것을 특징으로 하는 정보 삽입 방법.The method of claim 1, wherein the block is divided into subblocks of size 2x2. 제 1항에 있어서, 삽입할 인증 정보를 암호화하는 단계를 더 포함하는 것을 특징으로 하는 정보 삽입 방법.The method of claim 1, further comprising encrypting authentication information to be inserted. 제 1항에 있어서, 상기 인증 정보는 이진 정보인 것을 특징으로 하는 정보 삽입 방법.The method of claim 1, wherein the authentication information is binary information. 제 1항에 있어서, 상기 인증 정보 삽입에 따른 픽셀값의 변화에 상응하여 부가 정보를 발생하는 단계를 더 포함하는 것을 특징으로 하는 정보 삽입 방법. The method of claim 1, further comprising generating additional information in response to a change in a pixel value according to the authentication information insertion. 제 6항에 있어서, 상기 부가 정보를 발생하는 단계는 인증 정보가 삽입되는 픽셀값에 변화가 발생하는 경우에는 1을 발생하고, 픽셀값에 변화가 없는 경우에는 0을 발생하는 것을 특징으로 하는 정보 삽입 방법.The information generating method of claim 6, wherein the generating of the additional information comprises generating 1 when a change occurs in a pixel value into which authentication information is inserted, and generating a 0 when there is no change in the pixel value. Insert method. 제 6항에 있어서, 상기 부가 정보를 발생하는 단계는 인증 정보가 삽입되는 픽셀 값이 홀수이고 삽입되는 인증 정보가 1이면 픽셀값에 변화 없이 부가 정보 0을 발생하고, 삽입되는 픽셀값이 홀수이고 삽입되는 인증 정보가 0이면 상기 픽셀 값을 1 감소시키고 부가정보 1을 발생하는 단계를 포함하는 것을 특징으로 하는 정보 삽입 방법.The method of claim 6, wherein the generating of the additional information comprises generating the additional information 0 without changing the pixel value if the pixel value into which the authentication information is inserted is odd and the authentication information to be inserted is 1 and the pixel value inserted is odd. And if the authentication information to be inserted is 0, decreasing the pixel value by one and generating additional information 1. 제 6항에 있어서, 상기 부가 정보를 발생하는 단계는 인증 정보가 삽입되는 픽셀값이 짝수이고 삽입되는 인증 정보가 0이면 픽셀값에 변화 없이 부가 정보 0을 발생하고, 삽입되는 픽셀값이 짝수이고 삽입되는 인증 정보가 1이면 상기 픽셀값을 1 감소 시키고 부가 정보 1을 발생하는 단계를 포함하는 것을 특징으로 하는 정보 삽입 방법.The method of claim 6, wherein the generating of the additional information comprises generating the additional information 0 without changing the pixel value if the pixel value into which the authentication information is inserted is even and the authentication information into which the authentication information is inserted is 0. And if the authentication information to be inserted is 1, decreasing the pixel value by 1 and generating additional information 1. 제 6항에 있어서, 상기 인증 정보가 삽입된 영상으로부터 인접한 화소의 차분을 이용하여 차분 영상을 구하는 단계;The method of claim 6, further comprising: obtaining a difference image by using a difference of adjacent pixels from the image into which the authentication information is inserted; 상기 차분 영상에 부가 정보를 삽입하는 단계; 를 더 포함하는 것을 특징으로 하는 정보 삽입 방법.Inserting additional information into the difference image; Information insertion method further comprises a. 이미지를 다수개의 블록으로 분할하는 단계;Dividing the image into a plurality of blocks; 상기 블록을 서브블록으로 분할하는 단계;Dividing the block into subblocks; 상기 서브블록으로부터 인증 정보를 추출하여 원본 영상을 복원하는 단계;를 포함하는 것을 특징으로 하는 은닉 정보 추출 방법.Extracting authentication information from the subblock and restoring an original image. 제 11항에 있어서, 이미지로부터 차분 영상을 구하고 이로부터 부가 정보를 추출하는 단계를 더 포함하는 것을 특징으로 하는 은닉 정보 추출 방법.12. The method of claim 11, further comprising obtaining a differential image from the image and extracting additional information therefrom. 제 12항에 있어서, 상기 인증 정보를 추출하는 단계는 상기 부가 정보를 이용하여 추출하는 것을 특징으로 하는 은닉 정보 추출 방법.The method of claim 12, wherein the extracting the authentication information comprises extracting the additional information using the additional information. 제 11항 또는 제 12항에 있어서, 암호화된 인증 정보를 복호화하는 단계를 더 포함하는 것을 특징으로 하는 은닉 정보 추출 방법.13. The method of extracting hidden information according to claim 11 or 12, further comprising decrypting the encrypted authentication information. 제 12항에 있어서, 상기 부가 정보는 인증 정보가 삽입된 픽셀값에 변화가 있었으면 1을 추출하고, 인증 정보가 삽입된 픽셀값에 변화가 없었으면 0을 추출하는 것을 특징으로 하는 은닉 정보 추출 방법.The method of claim 12, wherein the additional information extracts 1 when there is a change in the pixel value into which the authentication information is inserted, and extracts 0 when there is no change in the pixel value into which the authentication information is inserted. . 제 12항에 있어서, 상기 부가 정보는 인증 정보가 삽입된 서브블록의 픽셀값이 홀수이고 삽입된 인증 정보가 1이거나, 인증 정보가 삽입된 서브블록의 픽셀값이 짝수이고 삽입된 인증 정보가 0이면 1을 추출하는 것을 특징으로 하는 은닉 정보 추출 방법.The method of claim 12, wherein the additional information includes an odd pixel value of a subblock in which authentication information is inserted and an embedded authentication information is 1 or a pixel value of a subblock in which authentication information is inserted is an even number and embedded authentication information is 0. Concealed information is extracted. 제 12항에 있어서, 상기 부가 정보는 인증 정보가 삽입된 서브블록의 픽셀값이 홀수이고 삽입된 인증 정보가 0이거나, 인증 정보가 삽입된 서브블록의 픽셀값이 짝수이고 삽입된 인증 정보가 1이면 0을 추출하는 것을 특징으로 하는 은닉 정보 추출 방법.13. The method of claim 12, wherein the additional information includes an odd pixel value of a subblock into which authentication information is inserted and an embedded authentication information is 0, or a pixel value of a subblock into which authentication information is inserted is an even number and embedded authentication information is 1. Concealed zero is extracted. 제 12항에 있어서, 상기 부가 정보가 1인 경우에는 인증 정보가 삽입된 서브브록의 픽셀값을 1 증가시켜 원본 영상을 복원하는 것을 특징으로 하는 은닉 정보 추출 방법.The method of claim 12, wherein when the additional information is 1, the original image is restored by increasing the pixel value of the sub-block in which the authentication information is inserted by one. 제 12항에 있어서, 상기 부가 정보가 0인 경우에는 인증 정보가 삽입된 서브블록의 픽셀값의 변화 없이 원본 영상을 복원하는 특징으로 하는 은닉 정보 추출 방법.The method of claim 12, wherein when the additional information is 0, the original image is reconstructed without changing the pixel value of the subblock into which the authentication information is inserted.
KR1020060005164A 2006-01-18 2006-01-18 Information embedding and extracting method for image authentification KR100792984B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060005164A KR100792984B1 (en) 2006-01-18 2006-01-18 Information embedding and extracting method for image authentification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060005164A KR100792984B1 (en) 2006-01-18 2006-01-18 Information embedding and extracting method for image authentification

Publications (2)

Publication Number Publication Date
KR20070076130A true KR20070076130A (en) 2007-07-24
KR100792984B1 KR100792984B1 (en) 2008-01-08

Family

ID=38501123

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060005164A KR100792984B1 (en) 2006-01-18 2006-01-18 Information embedding and extracting method for image authentification

Country Status (1)

Country Link
KR (1) KR100792984B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014062934A1 (en) * 2012-10-19 2014-04-24 Visa International Service Association Digital broadcast methods using secure meshes and wavelets
WO2015167311A1 (en) * 2014-05-02 2015-11-05 삼성전자 주식회사 Video processing device and method
KR20160053903A (en) * 2016-05-02 2016-05-13 삼성전자주식회사 Device and method of processing videos
US9462152B2 (en) 2013-01-04 2016-10-04 Korea University Research And Business Foundation System and method for hiding reversible information
CN117078327A (en) * 2023-06-09 2023-11-17 国能(北京)商务网络有限公司 Electronic invoice issuing method, management system and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130107538A (en) * 2012-03-22 2013-10-02 삼성전자주식회사 Method and apparatus to inserting and extracting secret information of image data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426690B1 (en) * 2001-07-26 2004-04-17 주식회사 마크애니 Method of inserting and extracting digital watermarks by division of screen and apparatus for using thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014062934A1 (en) * 2012-10-19 2014-04-24 Visa International Service Association Digital broadcast methods using secure meshes and wavelets
US9577987B2 (en) 2012-10-19 2017-02-21 Visa International Service Association Digital broadcast methods using secure meshes and wavelets
US9462152B2 (en) 2013-01-04 2016-10-04 Korea University Research And Business Foundation System and method for hiding reversible information
WO2015167311A1 (en) * 2014-05-02 2015-11-05 삼성전자 주식회사 Video processing device and method
US10425690B2 (en) 2014-05-02 2019-09-24 Samsung Electronics Co., Ltd. Video processing device and method
KR20160053903A (en) * 2016-05-02 2016-05-13 삼성전자주식회사 Device and method of processing videos
CN117078327A (en) * 2023-06-09 2023-11-17 国能(北京)商务网络有限公司 Electronic invoice issuing method, management system and electronic equipment
CN117078327B (en) * 2023-06-09 2024-02-13 国能(北京)商务网络有限公司 Electronic invoice issuing method, management system and electronic equipment

Also Published As

Publication number Publication date
KR100792984B1 (en) 2008-01-08

Similar Documents

Publication Publication Date Title
Cox et al. A review of watermarking principles and practices 1
Altaay et al. An introduction to image steganography techniques
Lee et al. Dual watermark for image tamper detection and recovery
Wu et al. Data hiding in digital binary image
Arnold et al. Techniques and applications of digital watermarking and content protection
EP1865459A1 (en) The method of digital watermark and the corresponding device, and digital camera which can append watermark
Rey et al. Blind detection of malicious alterations on still images using robust watermarks
KR100792984B1 (en) Information embedding and extracting method for image authentification
Kaur et al. A dynamic RGB intensity based steganography scheme
Munir A secure fragile video watermarking algorithm for content authentication based on arnold CAT map
Natarajan et al. Safeguarding the digital contents: Digital watermarking
Sunesh Watermark attacks and applications in watermarking
Mondal et al. Spatial domain robust watermarking scheme for color image
Jain et al. Digital watermarking
Adnan et al. A review of image watermarking
Kumar et al. A novel approach to enhance robustness in steganography using multiple watermark embedding algorithm
Sharma et al. Digital watermarking for secure e-government framework
Al-Kadei et al. Improve a secure blind watermarking technique for digital video
Ramos et al. Watermarking-based image authentication system in the discrete wavelet transform domain
Shukla et al. Enhancing security & integrity of data using watermarking & digital signature
Pandey et al. Alternative shift algorithm for digital watermarking on text
Sen et al. An algorithm for digital watermarking of still images for copyright protection
Imaduddin et al. Real Time Simulation Based on Image Protection Using Digital Watermarking Techniques
Abraham Digital image watermarking: an overview
Li et al. Image integrity and authenticity verification via content-based watermarks and a public key cryptosystem

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
G170 Publication of correction
LAPS Lapse due to unpaid annual fee