KR100467928B1 - Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof - Google Patents

Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof Download PDF

Info

Publication number
KR100467928B1
KR100467928B1 KR10-2001-0084207A KR20010084207A KR100467928B1 KR 100467928 B1 KR100467928 B1 KR 100467928B1 KR 20010084207 A KR20010084207 A KR 20010084207A KR 100467928 B1 KR100467928 B1 KR 100467928B1
Authority
KR
South Korea
Prior art keywords
image
blocks
watermark
block
input
Prior art date
Application number
KR10-2001-0084207A
Other languages
Korean (ko)
Other versions
KR20030054101A (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 KR10-2001-0084207A priority Critical patent/KR100467928B1/en
Publication of KR20030054101A publication Critical patent/KR20030054101A/en
Application granted granted Critical
Publication of KR100467928B1 publication Critical patent/KR100467928B1/en

Links

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/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32331Fragile embedding or watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0042Fragile watermarking, e.g. so as to detect tampering
    • 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/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32154Transform domain methods
    • H04N1/32165Transform domain methods using cosine transforms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20048Transform domain processing
    • G06T2207/20052Discrete cosine transform [DCT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • H04N2005/91307Television signal processing therefor for scrambling ; for copy protection by adding a copy protection signal to the video signal
    • H04N2005/91335Television signal processing therefor for scrambling ; for copy protection by adding a copy protection signal to the video signal the copy protection signal being a watermark

Abstract

본 발명은 압축에는 영향을 받지 않으나, 영상의 위변조에는 민감한 워터마크 삽입방법 및 위변조 여부 판정방법을 제공한다.Although the present invention is not affected by compression, it provides a watermark embedding method and a method of determining whether or not forgery is sensitive to forgery of an image.

본 발명의 워터마크 삽입방법은 입력된 영상을 소정의 화소 크기의 제 1 블록들로 분할하는 단계, 제 1 블록들을 소정의 화소 크기의 제 2 블록들로 나누고, 제 2 블록들을 각각 이산 코사인 변환(DCT)하는 단계, 변환된 제 2 블록들의 DCT 계수 값에 워터마크를 삽입하는 단계 및 워터마크가 삽입된 DCT 계수 값을 역 이산 코사인 변환하여 워터마크가 삽입된 영상을 출력하는 단계를 포함하며, 본 발명의 워터마크를 이용하여 입력된 영상의 위변조 여부를 판정하는 방법은 입력된 영상을 소정의 화소 크기의 제 1 블록들로 분할하는 단계, 제 1 블록들을 소정의 화소 크기의 제 2 블록들로 나누고, 제 2 블록들을 각각 이산 코사인 변환(DCT)하는 단계, 입력된 워터마크를 이용하여 상기 영상의 위변조 여부를 판정하는 단계를 포함한다.The watermark embedding method of the present invention divides an input image into first blocks having a predetermined pixel size, divides the first blocks into second blocks having a predetermined pixel size, and discrete cosine transforms each of the second blocks. (DCT), inserting a watermark into the DCT coefficient values of the converted second blocks, and outputting the watermark-embedded image by inverse discrete cosine transforming the DCT coefficient value into which the watermark is embedded. The method for determining whether the input image is forged or modified using the watermark of the present invention may include dividing the input image into first blocks having a predetermined pixel size, and splitting the first blocks into a second block having a predetermined pixel size. And dividing the second blocks into discrete cosine transforms (DCTs), and determining whether the image is forged or altered using the input watermark.

Description

영상에 워터마크를 삽입하는 방법 및 이를 이용한 영상의 위변조를 판정하는 방법{METHOD FOR EMBEDDING WATERMARK INTO AN IMAGE AND JUDGING THE ALTERATION OF FORGERY OF THE IMAGE USING THEREOF}A method of embedding a watermark into an image and a method of determining forgery of the image using the same {{

본 발명은 영상 압축의 영향을 받지 않는 워터마크를 삽입하는 방법 및 영상의 위변조 여부를 판정하는 방법에 관한 것으로서, 구체적으로는 영상이 외부로부터 가해지는 영상의 변형에는 쉽게 깨지지만, 영상 압축의 영향을 받지 않는 연약한 워터마크를 삽입하는 방법 및 압축에는 강한 워터마크를 삽입하는 방법에 의해서 워터마크가 삽입된 영상이 위변조 되었는지를 판정하는 방법에 관한 것이다.The present invention relates to a method of inserting a watermark that is not affected by image compression and a method of determining whether the image is forged or altered. Specifically, the image is easily broken by deformation of an image applied from the outside, but the effect of image compression The present invention relates to a method of inserting a soft watermark that does not receive a mark, and to a method of determining whether an image on which a watermark is inserted has been forged by a method of inserting a strong watermark in compression.

종래의 워터마크 삽입방법 중의 하나는 디지털 영상에 일련의 정보 신호를 삽입함에 있어서, 정보 신호가 삽입된 영상이 정보신호가 삽입되지 않은 최초의 원본 영상과 육안으로는 구별할 수 없으나, 이때 삽입된 정보 신호는 매우 약한 강도로 삽입되어서, 외부로부터 영상에 가해지는 어떤 변형에도 깨지도록 설정되는 것으로, 일반적으로 이와 같은 방식을 연약한 워터마킹(Fragile Watermarking) 이라고 한다.In the conventional watermark embedding method, in inserting a series of information signals into a digital image, the image into which the information signal is inserted cannot be visually distinguished from the first original image without the information signal. The information signal is inserted at a very low intensity, and is set to break any deformation applied to the image from the outside. Such a method is generally referred to as fragile watermarking.

기존의 연약한 워터마킹 방식은 워터마크 신호가 삽입된 영상이 아무런 변형도 거쳐지지 않은 상태의 것임을 인증해주는 정보 신호(이하, 워터마크라 함)의 삽입 및 추출과정에 대한 것이다. 즉, 영상에 일련의 워터마크가 삽입된 후에, 이 영상이 압축되거나 필터링되거나 또는 기하학적인 빈형 등의 영상 변형을 거치지 않는다는 전제 하에서만 영상의 위변조 여부를 인증해 주는 방법이었다. 다시 말해 기존의 연약한 워터마크(Fragile Watermark)는 영상의 위변조 여부를 인증해 주기 위해 사용되는 것으로서, 이 연약한 워터마크는 매우 약하므로 어떠한 영상변형에도 깨지도록 되어 있는 것이었다고 하겠다. 이와 같은 방법에 대해서는 본 출원인에 의하여 출원된 특허출원 제 2000-64767호에 자세히 설명되어 있다.Conventional soft watermarking methods are for the insertion and extraction of an information signal (hereinafter referred to as a watermark) for authenticating that the image into which the watermark signal is inserted is in a state of no modification. That is, after a series of watermarks are inserted into the image, the image is forged only if the image is not compressed, filtered, or subjected to image transformation such as a geometric blank. In other words, the existing fragile watermark is used to authenticate the image forgery. The fragile watermark is so weak that it is to be broken in any image deformation. Such a method is described in detail in patent application No. 2000-64767 filed by the applicant.

그런데 최근 디지털 영상을 포착하도록 만들어진 장치들, 예를 들면 대표적으로 디지털 카메라의 경우, 대부분 사진을 찍게 되면 그 디지털 영상을 압축하여 저장한다. 즉, 영상 처리의 효율성과 저장 공간 확보 및 송신 용량상의 문제 등으로 인해 압축 과정은 아주 일반적으로 디폴트(고정 기능)로 설정 되어 있는 경우가 많다. 다시 말해, 다른 변형과는 달리 압축(손실압축:예를 들어 JPEG)의 경우, 원본 영상을 손상시키기는 하지만, 데이터의 저장 용량과 관련되어 있는 장치의 경우(예를 들어 디지털 카메라는 영상을 저장하기 위해 사진을 찍게 되면 영상을 JPEG압축하여 저장함) 많이 사용되고 있다.However, devices that are designed to capture digital images recently, such as digital cameras, typically compress and store digital images when most pictures are taken. In other words, the compression process is usually set as the default (fixed function) due to the efficiency of image processing, storage space, and transmission capacity. In other words, unlike other variations, compression (lossy compression (e.g. JPEG)) corrupts the original image, but in the case of devices that involve data storage (e.g. digital cameras store images). In order to take a picture, it compresses and saves the image.)

따라서, 종래의 연약한 워터마크 기술을 사용하는 경우에는 단순한 압축에도 영상에 삽입된 일련의 워터마크가 깨지게 되므로 "압축"을 위변조로 인식하게 된다. 즉, 압축된 영상에서 상기 삽입된 워터마크를 추출하는 경우 상기 워터마크가 깨진 상태이므로 추출이 불가능하고, 따라서 영상이 위변조 되었다고 판단하게 되는 것이다. 이러한 경우에는 기존의 연약한 워터마킹 방법의 경우 영상의 위변조 여부를 판단하는데 사용이 어렵다는 단점이 있다.Therefore, in the case of using the conventional soft watermark technology, since a series of watermarks embedded in an image are broken even by simple compression, "compression" is recognized as a forgery. That is, when the inserted watermark is extracted from the compressed image, the watermark is broken, and thus it is impossible to extract the watermark. Therefore, it is determined that the image is forged. In this case, the conventional weak watermarking method has a disadvantage in that it is difficult to use the image forgery.

이와 같은 경우를 대비하여 영상의 위변조를 인증해 주기위한 정보 신호 삽입 방법에 있어서, 기존의 방법과 같이 다른 영상 변형에는 깨지도록 하여 위변조된 부분을 검출 하도록 하지만, 영상의 압축에 대해서는 상기 삽입된 워터마크가살아 남아 있도록 할 필요성이 있다. 즉, 영상 압축은 어떤 영상의 변형에 속하지 않도록 할 필요가 있는 것이다.In this case, in the information signal insertion method for authenticating the image forgery, the forgery is detected by breaking the other image deformation as in the conventional method. There is a need for the mark to remain alive. In other words, image compression needs to not belong to any image transformation.

본 발명은 이에 알맞은 새로운 연약한 워터마킹 방법의 필요성에 따라서 압축에는 강인하나 다른 영상 변형에는 약한 워터마크를 삽입하는 방법 및 본 발명의 삽입방법을 이용하여 제공된 입력영상의 위변조 여부를 판정하는 방법을 제공하는 것을 목적으로 한다.The present invention provides a method for inserting a watermark that is robust to compression but weak for other image modifications according to the necessity of a new weak watermarking method, and a method for determining whether a forgery of an input image is provided using the embedding method of the present invention. It aims to do it.

도 1 은 본 발명의 워터마크 삽입방법이 실행되는 시스템의 구성의 일예를 도시하는 블록도이다.1 is a block diagram showing an example of the configuration of a system in which the watermark embedding method of the present invention is executed.

도 2 는 본 발명의 워터마크 삽입 과정을 도시한 흐름도이다.2 is a flowchart illustrating a watermark embedding process of the present invention.

도 3 은 영상의 위변조 여부를 판정하는 방법이 실행되는 시스템의 구성의 일예를 도시하는 블록도이다.3 is a block diagram illustrating an example of a configuration of a system in which a method for determining whether a video is forged or not is executed.

도 4 는 영상의 위변조 여부를 판정하는 과정을 도시하는 흐름도이다.4 is a flowchart illustrating a process of determining whether an image is forged or not.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

110,310 : 영상 분석부 120 : 제 1 컬러영상 처리부110,310: image analyzer 120: first color image processor

130 : 제 1 흑백영상 처리부 140 : 워터마크 삽입부130: first black and white image processing unit 140: watermark insertion unit

150 : 제 2 컬러영상 처리부 160 : 제 2 흑백영상 처리부150: second color image processing unit 160: second black and white image processing unit

170,370 : 워터마킹 규칙 생성부 320 : 컬러영상 처리부170,370: watermarking rule generator 320: color image processing unit

330 : 흑백영상 처리부 340 : 위변조 판정부330: monochrome image processing unit 340: forgery and alteration determination unit

전술한 목적을 달성하기 위해서, 본 발명의 영상 압축에는 영향을 받지 않고 영상의 위변조에만 민감한 워터마크를 삽입하는 방법은 입력된 영상을 소정의 화소 크기의 제 1 블록들로 분할하는 단계; 상기 제 1 블록들을 소정의 화소 크기의 두개의 제 2 블록들로 분할하고, 상기 제 2 블록들을 각각 이산 코사인 변환(DCT)하는 단계; 상기 변환된 제 2 블록들에 워터마킹 규칙에 따라서 워터마크를 삽입하는 단계; 및 상기 워터마크가 삽입된 제 2 블록들을 역 이산 코사인 변환하여 워터마크가 삽입된 영상을 출력하는 단계를 포함하며, 바람직하게는 상기 제 1 블록은 8*16 화소 크기의 블록이며, 상기 제 2 블록은 8*8 화소 크기의 블록이다.In order to achieve the above object, a method of inserting a watermark sensitive only to forgery of an image without being affected by image compression of the present invention comprises: dividing an input image into first blocks having a predetermined pixel size; Dividing the first blocks into two second blocks having a predetermined pixel size, and discrete cosine transforming each of the second blocks; Inserting a watermark into the converted second blocks according to a watermarking rule; And outputting a watermark-embedded image by performing inverse discrete cosine conversion on the second blocks having the watermark embedded therein, wherein the first block is an 8 * 16 pixel sized block. A block is a block of 8 * 8 pixel size.

한편, 입력 영상이 컬러 영상인 경우에 입력 영상을 제 1 블록들로 분할하는 단계 전에 상기 입력된 영상을 압축이 용이한 영상 모델로 변환하는 단계를 더 포함하며, 워터마크가 삽입된 제 2 블록들을 역 이산 코사인 변환하는 단계 이후에 상기 압축이 용이한 영상 모델로 표현된 영상을 상기 입력 영상의 형태로 역 변환하는 단계를 더 포함하는 하는 워터마크 삽입방법이 제공된다.Meanwhile, when the input image is a color image, the method further includes converting the input image into an image model that can be easily compressed before the step of dividing the input image into first blocks, wherein the second block is inserted with a watermark. After the step of inverse discrete cosine transform, the watermark embedding method further comprises the step of inversely transforming the image represented by the easy-compression image model into the form of the input image.

본 발명의 워터마크를 이용하여 입력된 영상의 위변조 여부를 판정하는 방법은 입력된 영상을 소정의 화소 크기의 제 1 블록들로 분할하는 단계; 상기 제 1 블록들을 소정의 화소 크기의 두개의 제 2 블록들로 분할하고, 상기 제 2 블록들을 각각 이산 코사인 변환(DCT)하는 단계; 및 입력된 워터마킹 규칙에 따라서 상기 영상의 위변조 여부를 판정하는 단계를 포함하며, 바람직하게는 상기 제 1 블록은 8*16 화소 크기의 블록이며, 상기 제 2 블록은 8*8 화소 크기의 블록이다.A method for determining whether an input image is forged or modified using a watermark of the present invention comprises the steps of: dividing an input image into first blocks having a predetermined pixel size; Dividing the first blocks into two second blocks having a predetermined pixel size, and discrete cosine transforming each of the second blocks; And determining whether the image is forged or altered according to an input watermarking rule. Preferably, the first block is a block of 8 * 16 pixel size, and the second block is a block of 8 * 8 pixel size. to be.

한편, 입력 영상이 컬러 영상인 경우에 본 발명의 판정 방법은 입력 영상을 제 1 블록들로 분할하는 단계 전에, 상기 입력된 영상을 압축이 용이한 영상 모델로 변환하는 단계를 더 포함한다.Meanwhile, when the input image is a color image, the determination method of the present invention further includes converting the input image into an image model that can be easily compressed before dividing the input image into first blocks.

이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

도 1 은 본 발명의 워터마크 삽입방법이 실행되는 시스템의 구성의 일예를 도시하는 블록도이다. 본 발명의 워터마크 삽입 시스템은 입력된 영상이 컬러 영상인지 흑백 영상인지를 판별하는 영상 분석부(110), 입력된 컬러 영상을 압축이 용이한 모델로 변환하고, 일정한 크기의 블록들로 분할한 후 이산 코사인 변환하는 제 1 컬러 영상 처리부(120), 입력된 흑백 영상을 일정한 크기의 블록들로 분할한 후 이산 코사인 변환(DCT)하는 제 1 흑백 영상 처리부(130), 사용자 정보를 이용하여 워터마킹 규칙을 생성하는 워터마킹 규칙 생성부(170), 입력 영상의 DCT 계수에 워터마킹 규칙에 따라서 소정의 워터마크 세기를 가감함으로써 워터마크를 삽입하는 워터마크 삽입부(140), 워터마크가 삽입된 컬러 영상을 역 이산 코사인 변환을수행한 후, 입력시의 영상형태로 변환하여 워터마크가 삽입된 영상을 출력하는 제 2 컬러 영상 처리부(150), 및 워터마크가 삽입된 흑백 영상을 역 이산 코사인 변환을 수행한 후 워터마크가 삽입된 영상을 출력하는 제 2 흑백 영상 처리부(160)를 포함한다.1 is a block diagram showing an example of the configuration of a system in which the watermark embedding method of the present invention is executed. The watermark embedding system of the present invention includes an image analyzer 110 for determining whether an input image is a color image or a black and white image, converting the input color image into a model that is easily compressed, and dividing the input image into blocks of a predetermined size. The first color image processing unit 120 to perform a discrete cosine transform after dividing the input black and white image into blocks having a predetermined size, and then performs a discrete cosine transform (DCT) on the first black and white image processing unit 130 and water using user information. Watermarking rule generation unit 170 for generating a marking rule, watermark embedding unit 140 for inserting a watermark by adding or subtracting a predetermined watermark intensity in accordance with the watermarking rule to the DCT coefficient of the input image, watermark insertion A second color image processing unit 150 for performing inverse discrete cosine conversion on the color image and converting the color image into an image form at the time of input and outputting the watermark embedded image, and the watermark embedded therein. After performing the image back to an inverse discrete cosine they transform and a second black-and-white image processing unit 160 outputs the watermark embedded image.

도 1 및 본 발명의 워터마크 삽입 방법의 과정을 도시한 흐름도인 도 2 를 참조하여 본 발명의 워터마크 삽입 시스템에서 입력 영상에 워터마크를 삽입하는 과정을 설명한다.A process of embedding a watermark in an input image in the watermark embedding system of the present invention will be described with reference to FIG. 1 and FIG. 2, which is a flowchart illustrating a process of the watermark embedding method of the present invention.

본 발명의 워터마크 삽입방법일 실행되는 시스템에 영상이 입력되면(S200), 먼저 영상 분석부(110)는 입력된 영상이 영상의 크기 정보 및 컬러정보를 포함하고 있는지를 조사함으로써 입력된 영상이 컬러 영상인지 또는 흑백 영상인지 여부를 판단한다(S205).When an image is input to the system to be executed in the watermark embedding method of the present invention (S200), the image analyzer 110 first checks whether the input image includes size information and color information of the input image. It is determined whether the image is a color image or a black and white image (S205).

먼저,입력된 영상이 컬러 영상인 경우에 대해서 살펴보기로 한다.First, a case in which the input image is a color image will be described.

입력된 영상이 예컨대, RGB 모델로 표현된 컬러 영상일 경우에는 영상 분석부(110)를 통해서 제 1 컬러영상 처리부(120)로 출력된다. 컬러모델로 표현된 입력 영상은 제 1 컬러영상 처리부(120)에서 JPEG압축에 많이 사용되는 모델인 Ycbcr 모델로 변환되게 되는데(S210), Ycbcr 모델이란, 인간의 시각 특성이 색차 신호보다 밝기 신호에 더 민감하다는 사실을 이용하여, 영상 신호를 밝기 신호(Y)와 색차 신호(cb,cr)로 분리하여 압축에 용이하도록 디지털적으로 표현한 것이다.When the input image is, for example, a color image represented by an RGB model, the input image is output to the first color image processing unit 120 through the image analyzer 110. The input image represented by the color model is converted into a Ycbcr model, which is a model commonly used for JPEG compression in the first color image processing unit 120 (S210). In the Ycbcr model, a human visual characteristic has a brightness signal rather than a color difference signal. By using the fact that the sensitivity is more sensitive, the image signal is divided into a brightness signal (Y) and a chrominance signal (cb, cr) and digitally expressed to facilitate compression.

입력된 컬러 영상이 RGB 포맷으로 되어 있다면, 예컨대, 다음과 같은 식을 이용하여 RGB 포맷의 컬러 영상을 Ycbcr 모델로 변환하게 된다.If the input color image is in the RGB format, for example, the RGB image is converted into the Ycbcr model using the following equation.

Y = 0.29900R+0.58700G+0.11400BY = 0.29900R + 0.58700G + 0.11400B

Cb = -0.16874R-0.33126G+0.50000BCb = -0.16874R-0.33126G + 0.50000B

Cr = 0.50000R-0.41869G-0.08131BCr = 0.50000R-0.41869G-0.08131B

이러한 변환식은 입력 영상을RGB 모델로부터 Ycbcr 모델로 변환하는 일예를 나타내는 것이며, 이 외에도 다양한 변환방법이 당업자에게 공지되어 있다.Such a conversion equation represents an example of converting an input image from an RGB model to a Ycbcr model. In addition, various conversion methods are known to those skilled in the art.

컬러 영상이 Ycbcr 모델로 변환되면 영상을 Y 성분에 대해서 8*16 단위의 블록들로 분할하게 된다(S220). 이렇게 8*16 단위 블록들로 분할된 영상은 다시 8*8 블록단위로 분할되어 이산 코사인 변환(DCT)된다(S230). 이렇게 DCT 변환되어 생성된 각 블록의 DCT 계수는 워터마크 삽입부(140)로 출력되어, 워터마크 삽입부(140)에서 워터마킹 규칙 생성부(170)로부터 출력된 워터마킹 규칙에 따라서 소정의 워터마크 세기가 각 블록의 DCT 계수에 가감됨으로써 워터마크가 삽입된다(S250).When the color image is converted into the Ycbcr model, the image is divided into blocks of 8 * 16 units for the Y component (S220). The image divided into 8 * 16 unit blocks is further divided into 8 * 8 block units and subjected to discrete cosine transform (DCT) (S230). The DCT coefficients of the blocks generated by DCT conversion are output to the watermark inserting unit 140, and the predetermined watermarks are output according to the watermarking rule output from the watermarking rule generating unit 170. The watermark is inserted by adding or subtracting the mark intensity to the DCT coefficient of each block (S250).

여기서, 워터마킹 규칙의 생성과정에 대해서 구체적으로 살펴본다.Here, the generation process of the watermarking rule will be described in detail.

본 발명에 이용될 워터마크 조건을 생성하기 위해서, 워터마킹 규칙 생성부(170)는 사용자 정보를 이용하게 되는데, 워터마킹 규칙 생성에 이용되는 사용자 정보는 주민등록번호, 이름, PIN 번호, 비밀번호, 사용자의 로고와 같은 개인 정보 등일 수 있다. 워터마킹 규칙 생성부(170)는 입력된 사용자 정보에 일정한 알고리즘을 적용하여 전술한 8*16 단위로 분할된 블록쌍에 각각 대응되도록 블록쌍의 개수만큼의 워터마킹 규칙 열을 생성하여 이를 워터마크 삽입부(140)로 출력하게 되는데, 이때 워터마킹 규칙 열은 1 또는 0로 구성된다.In order to generate a watermark condition to be used in the present invention, the watermarking rule generator 170 uses user information. The user information used to generate the watermarking rule may include a social security number, a name, a PIN, a password, and a user's information. Personal information such as a logo. The watermarking rule generator 170 applies a predetermined algorithm to the input user information to generate a watermarking rule column corresponding to the number of block pairs so as to correspond to the above-described block pairs divided into 8 * 16 units. Output to the insertion unit 140, wherein the watermarking rule string is composed of 1 or 0.

이렇게 생성된 워터마킹 규칙은, 문자 그대로 워터마크 삽입시의 규칙을 의미하는데, 예컨대, 워터마크의 값이 1 이라면, 제 1 컬러영상 처리부(120)로부터 입력되는 8*16 크기의 블록에 포함되는8*8 크기의 첫번째 블록의 소정의 위치에서의 DCT계수값이, 8*8 크기의 두번째 블록의 소정의 위치에서의 DCT계수값보다 크다는 것을 의미하고, 반면, 워터마크의 값이 0 이라면 워터마크의 값이 1 일 때와 역으로 두번째 블록의 소정의 위치에서의 DCT계수값이 첫번째 블록의 소정의 위치에서의 DCT계수값보다 크다는 것을 의미한다. 한편, 이러한 규칙은 전술한 예와 역으로 정의할 수도 있음은 물론이다(S240).The generated watermarking rule literally means a rule at the time of embedding the watermark. For example, if the value of the watermark is 1, the watermarking rule is included in an 8 * 16 block input from the first color image processing unit 120. It means that the DCT coefficient value at a predetermined position of the first block of size 8 * 8 is larger than the DCT coefficient value at a predetermined position of the second block of size 8 * 8, whereas, if the value of the watermark is 0, the water Conversely, when the value of the mark is 1, it means that the DCT coefficient value at the predetermined position of the second block is larger than the DCT coefficient value at the predetermined position of the first block. On the other hand, such a rule may be defined inversely to the above-described example (S240).

워터마크 삽입부(140)는 워터마킹 규칙 생성부(170)로부터 입력된 워터마킹 규칙 열을 제 1 컬러영상 처리부(120)로부터 입력된 8*16 단위로 분할된 입력 영상의 각 블록에 대응시켜 규칙에 따라서 워터마크를 삽입하는데, 그 과정에 대해서 살펴보면, 먼저, 제 1 컬러영상 처리부(120)로부터 입력된 8*16 크기의 블록과 워터마킹 규칙 생성부(170)로부터 입력된 워터마킹 규칙열을 각각 대응시키고, 8*16 크기의 블록에 포함된 8*8 크기의 두 블록 중 첫번째 블록과 두번째 블록의 소정의 위치의 DCT 계수의 값을 비교하게 된다.The watermark inserting unit 140 maps the watermarking rule string input from the watermarking rule generation unit 170 to each block of the input image divided by 8 * 16 units input from the first color image processing unit 120. A watermark is inserted according to a rule. Referring to the process, first, an 8 * 16 block input from the first color image processor 120 and a watermarking rule sequence input from the watermarking rule generator 170 are described. Are respectively matched, and the values of the DCT coefficients of predetermined positions of the first block and the second block of the two 8 * 8 blocks included in the 8 * 16 block are compared.

이 때, 이들 블록에 해당되는 워터마킹 규칙의 값이 1 이고, 이것이 첫번째 블록의 소정의 위치의 DCT 계수값이 두번째 블록의 DCT 계수 값보다 큰 것을 의미하는 것이라고 가정하면, 예컨대, 첫번째 블록의 소정 위치의 DCT 계수 값이 두번째 블록의 DCT 계수 값보다 크다면 별도의 워터마크의 삽입과정 없이 다음 블록을 조사하게 된다.At this time, suppose that the value of the watermarking rule corresponding to these blocks is 1, and this means that the DCT coefficient value at a predetermined position of the first block is larger than the DCT coefficient value of the second block. If the DCT coefficient value of the position is larger than the DCT coefficient value of the second block, the next block is examined without inserting a separate watermark.

그러나, 첫번째 블록의 소정 위치의 DCT 계수 값이 두번째 블록의 DCT 계수 값보다 작다면, 첫번째 블록의 소정 위치의 DCT 계수 값에 일정한 값(이하, 워터마크 세기라 함)을 가산하거나, 두번째 블록의 소정 위치의 DCT 계수 값에 일정한 워터마크 세기를 감산하여 워터마크 규칙을 만족하도록 조절함으로써 워터마크를 삽입한다(S250). 이 때에 워터마크의 삽입시에 이용되는 워터마크 세기는 양 블록의 비교되는 특정위치의 일반적인 DCT 계수값을 고려하여 적절하게 선택된다. 즉, 영상에 대한 압축율이 높은 곳에서도 워터마크가 유지되어야 한다면 DCT 계수에 가감되는 워터마크 세기로 큰 값이 선택될 것이며, 영상에 대한 압축율이 작다면 DCT 계수에 가감되는 워터마크 세기로 작은 값을 선택하여도 워터마크를 검출함에 있어서 무리가 없게 된다.However, if the DCT coefficient value of the predetermined position of the first block is smaller than the DCT coefficient value of the second block, a constant value (hereinafter referred to as watermark strength) is added to the DCT coefficient value of the predetermined position of the first block, or The watermark is inserted by subtracting a constant watermark intensity to the DCT coefficient value of the predetermined position to satisfy the watermark rule (S250). At this time, the watermark intensity used at the time of embedding the watermark is appropriately selected in consideration of the general DCT coefficient values of the specific positions to be compared between the two blocks. That is, if the watermark is to be maintained even at a high compression rate for the image, a large value will be selected as the watermark intensity added to or subtracted from the DCT coefficient. Even if is selected, there is no problem in detecting the watermark.

전술한 과정이 입력된 영상의 8*16 단위의 모든 블록들에 대해서 수행되면, 워터마크 세기가 가감되어 워터마킹 규칙을 만족하는 각 블록의 DCT 계수값들이 워터마크 삽입부(140)로부터 제 2 컬러영상 처리부(150)로 출력된다. 제 2 컬러영상 처리부(150)는 입력된 각 블록의 DCT 계수 값들을 8*8 블록 단위로 역 DCT 변환을 수행하여 워터마크가 삽입된 Ycbcr 모델을 형성하고, 그 후 Ycbcr 모델을 본 발명의 시스템에 입력된 컬러 형식, 예컨대, RGB 모델로 변환하여 출력함으로써 워터마크가 삽입된 영상이 출력된다(S260).If the above-described process is performed for all blocks of 8 * 16 units of the input image, the watermark intensity is added or subtracted so that DCT coefficient values of each block satisfying the watermarking rule are received from the watermark inserting unit 140. It is output to the color image processor 150. The second color image processing unit 150 performs an inverse DCT conversion on the input DCT coefficient values of each block in units of 8 * 8 blocks to form a watermark-embedded Ycbcr model, and then uses the Ycbcr model in the system of the present invention. A watermark-embedded image is output by converting the color format, for example, the RGB model, into an RGB model and outputting the same.

이러한 워터마크 삽입과정에서 DCT 계수가 비교되는 첫번째 블록과 두번째 블록의 소정의 위치 선택은 영상의 압축율에 관계되는데, 예컨대, JPEG 압축 방식에 사용되는 양자화 테이블의 값은 영상에 영향이 많은 저주파수 영역은 작은 값으로, 영상에 영향이 비교적 적은 고주파 영역은 큰 값으로 구성되며, 워터마크 세기가 가감되어 워터마킹 규칙을 만족하는 DCT 계수값이 양자화를 통해서 크게 손실되지 않도록 하기 위해서는 양자화 계수가 작은 저주파 영역의 위치를 선택하게 된다. 따라서, 압축율이 높은 응용분야의 경우에는 저주파 영역에서의 DCT계수를, 압축율이 낮은 응용분야의 경우에는 비교적 고주파 영역에서의 DCT 계수 값을 비교하여 워터마크 세기를 가감하는 소정의 위치를 선정하게 된다.In the watermark embedding process, the selection of a predetermined position of the first block and the second block to which the DCT coefficients are compared is related to the compression ratio of the image. For example, the value of the quantization table used in the JPEG compression method is used in A small value, a high frequency region having a relatively small influence on the image, is composed of a large value, and a low frequency region having a small quantization coefficient in order to prevent the DCT coefficient value satisfying the watermarking rule from being greatly lost through quantization. Select the location of. Therefore, in the case of applications with high compression ratios, the DCT coefficients in the low frequency region are compared with the DCT coefficients in the relatively high frequency region in the case of low compression regions, and a predetermined position for selecting or decreasing the watermark intensity is selected. .

이렇게, 양자화 테이블의 위치에 따라서 워터마크 세기의 가감 위치 및 크기를 고려하여 워터마크를 삽입함으로써 본 발명의 워터마크는 외부의 변형(위변조)에는 연약하나 압축에 강인하게 된다. 즉, 양자화 테이블 값이 비교적 작은 저주파 영역의 DCT 계수에 소정의 워터마킹 규칙을 만족하도록 일정한 크기의 워터마크 세기를 가감하여 두면, 외부로부터 변형이 영상에 가해지면 소정 위치의 DCT 계수값이 변경되어 소정의 워터마킹 규칙을 더 이상 만족하지 않게됨으로써 영상의 위변조를 검출할 수 있고, 영상의 압축과정에서 양자화되어도 소정의 위치에서의 DCT 계수의 값은 워터마킹 규칙을 만족하게 되므로 영상의 압축에는 강인하게 된다.Thus, by inserting the watermark in consideration of the position and size of the watermark intensity according to the position of the quantization table, the watermark of the present invention is weak against external deformation (falsification), but is resistant to compression. That is, if the watermark intensity of a certain size is added to or subtracted from the DCT coefficient of the low frequency region where the quantization table value is relatively small to satisfy the predetermined watermarking rule, the DCT coefficient value of the predetermined position is changed when deformation is applied to the image from the outside. It is possible to detect the forgery of the image by not satisfying the predetermined watermarking rule anymore, and even though it is quantized in the compression process of the image, the value of the DCT coefficient at the predetermined position satisfies the watermarking rule, so it is robust to the compression of the image. Done.

다음으로, 입력된 영상이 흑백 영상인 경우에 대해서 컬러영상과 다른 부분들을 위주로 간략히 설명하기로 한다.Next, the case where the input image is a black and white image will be briefly described mainly on the color image and other parts.

입력 영상이 영상 분석부(110)에서 흑백영상으로 판단되면 제 1 흑백영상 처리부(130)로 출력된다. 제 1 흑백영상 처리부(130)는 수신한 입력영상을 8*16 단위의 블록들로 분할하고(S225), 이들 블록들을 8*8 단위로 DCT 변환하여 워터마크 삽입부(140)로 출력한다(S235).When the input image is determined to be a black and white image by the image analyzer 110, the input image is output to the first black and white image processor 130. The first black and white image processing unit 130 divides the received input image into blocks of 8 * 16 units (S225), DCT-converts these blocks into units of 8 * 8, and outputs them to the watermark inserting unit 140 ( S235).

워터마크 삽입부(140)는 컬러영상에서와 같은 워터마킹 규칙 생성 과정을 통해서 입력된 워터마킹 규칙 열을 8*16 크기의 블록의 각각에 대응시키고, 컬러영상에서와 동일한 방법으로, 8*16 크기의 블록에 포함된 첫번째 블록 또는 두번째 블록의 소정 위치의 DCT 계수 값을 일정한 값의 워터마크 세기만큼 가산하거나 감산하여 워터마킹 규칙을 만족하도록 조절함으로써 워터마크를 삽입하게 된다(S250). 워터마크 삽입부(140)는 워터마크가 삽입된 입력영상의 각 블록의 DCT 계수를 제 2 흑백영상 처리부(160)로 출력하여 8*8 블록 단위로 역 DCT 변환을 수행함으로써 워터마크가 삽입된 영상을 출력하게 된다(S265).The watermark inserting unit 140 maps the watermarking rule string inputted through the same watermarking rule generation process as in the color image to each of 8 * 16 blocks, and in the same manner as in the color image, The watermark is inserted by adjusting or satisfying the watermarking rule by adding or subtracting the DCT coefficient value at a predetermined position of the first block or the second block included in the size block by a predetermined watermark intensity (S250). The watermark inserting unit 140 outputs the DCT coefficient of each block of the input image into which the watermark is inserted to the second black and white image processing unit 160 to perform inverse DCT conversion in units of 8 * 8 blocks, thereby inserting the watermark. The image is output (S265).

이하에서는 본 발명의 입력영상의 위변조 여부를 판정하는 방법이 실행되는 시스템의 구성의 일예를 도시한 도 3 및 입력 영상의 위변조 여부를 판정하는 과정을 도시하는 흐름도인 도 4 를 참조하여, 전술한 워터마크 삽입 과정에 의해서 삽입된 워터마크를 이용하여 영상의 위변조 여부를 판단하는 시스템 및 방법을 설명한다.Hereinafter, with reference to FIG. 3 illustrating an example of a configuration of a system in which a method for determining whether a forgery of an input image of the present invention is executed and FIG. 4 which is a flowchart illustrating a process of determining whether or not forgery of an input image is performed, A system and method for determining whether an image is forged or altered using a watermark inserted by a watermark embedding process will be described.

워터마크가 삽입된 영상의 위변조를 판정하는 본 발명의 시스템은 입력된 영상이 컬러 영상인지 흑백 영상인지를 판별하는 영상 분석부(310), 입력된 컬러 영상을 압축이 용이한 모델로 변환하고, 일정한 크기의 블록들로 분할한 후 이산 코사인 변환하는 컬러 영상 처리부(320), 입력된 흑백 영상을 일정한 크기의 블록들로 분할한 후 이산 코사인 변환(DCT)하는 흑백 영상 처리부(330), 사용자 정보를 이용하여 워터마킹 규칙을 생성하는 워터마킹 규칙 생성부(170), 및 컬러 영상 처리부 또는 흑백 영상 처리부로부터 입력 영상의 DCT 계수 값을 수신하고, 워터마킹 규칙 생성부로부터 워터마킹 규칙 열을 수신하여 입력 영상의 위변조 여부를 판정하는 위변조 판정부(340)를 포함한다.The system of the present invention for determining the forgery of the watermark-embedded image is an image analyzer 310 for determining whether the input image is a color image or a black and white image, converts the input color image into a model that can be easily compressed, Color image processor 320 for dividing cosine transform after dividing into blocks of constant size, black and white image processor 330 for discrete cosine transforming (DCT) after dividing input black and white image into blocks of constant size, user information Watermarking rule generation unit 170 for generating a watermarking rule by using, and receives the DCT coefficient value of the input image from the color image processing unit or monochrome image processing unit, and receives the watermarking rule column from the watermarking rule generator And a forgery determination unit 340 for determining whether the input image is forged or not.

본 발명의 위변조를 판정하는 시스템에 영상이 입력되면(S400), 영상 분석부(310)는 입력된 영상이 영상의 크기 정보 및 컬러정보를 포함하고 있는지를 조사함으로써 입력된 영상이 컬러 영상인지 또는 흑백 영상인지 여부를 판단한다(S405).When an image is input to the system for determining forgery and alteration (S400) of the present invention, the image analyzer 310 determines whether the input image is a color image by checking whether the input image includes size information and color information of the image. It is determined whether the image is a black and white image (S405).

먼저, 입력된 영상이 칼라 영상인 경우의 위변조 여부 판정에 대해서 살펴보기로 한다.First, a description will be made of the forgery determination in the case where the input image is a color image.

입력된 영상이 예컨대, RGB 모델로 표현된 컬러 영상일 경우에 입력 영상은 워터마크 삽입과정에서와 동일하게 영상 분석부(310)를 통해서 컬러영상 처리부(320)로 출력된다. 컬러모델로 표현된 입력 영상은 컬러영상 처리부(320)에서 워터마크 삽입과정에서와 동일한 과정을 통해 JPEG압축에 많이 사용되는 모델인 Ycbcr 모델로 변환된다(S410) 컬러영상 처리부(320)는 컬러 영상을 Ycbcr 모델로 변환한 후, 이 변환된 영상을 Y 성분에 대해서 8*16 크기의 블록들로 분할하고(S420), 8*16 블록 단위로 분할된 영상을 다시 8*8 블록단위로 분할하여 DCT변환한다(S430).When the input image is, for example, a color image represented by an RGB model, the input image is output to the color image processor 320 through the image analyzer 310 as in the watermark embedding process. The input image represented by the color model is converted into a Ycbcr model, which is a model commonly used for JPEG compression, through the same process as the watermark embedding process in the color image processing unit 320 (S410). After converting into a Ycbcr model, the converted image is divided into blocks of 8 * 16 size for the Y component (S420), and the image divided into 8 * 16 block units is further divided into 8 * 8 block units. DCT conversion (S430).

이렇게 DCT 변환되어 생성된 각 블록의 DCT 계수는 위변조 판정부(340)로 출력되어, 각 블록들의 DCT 계수 값들이 워터마킹 규칙 생성부(370)로부터 출력된 각 블록에 대응되는 워터마킹 규칙을 만족하는지 여부가 비교되는데, 위변조 여부 판단에 사용되는 워터마킹 규칙은 워터마크 삽입시와 동일한 사용자 정보를 이용하여 워터마크 삽입시의 워터마킹 규칙의 생성과정과 동일한 과정을 통해서 생성되므로 워터마크 삽입시의 워터마킹 규칙과 동일하다. 즉, 동일한 사용자 정보를 입력하여 생성된 워터마킹 규칙 1 은 워터마크 삽입시와 위변조 여부 판정시에 동일하게 첫번째 블록의 소정 위치에서의 DCT 계수 값이 두번째 블록의 소정 위치에서의 DCT 계수 값보다 크거나 또는 작다는 의미를 나타내고 0 은 그와 반대되는 의미를 나타낸다(S440).The DCT coefficients of each block generated by DCT conversion are output to the forgery determination unit 340, and the DCT coefficient values of the blocks satisfy the watermarking rule corresponding to each block output from the watermarking rule generator 370. The watermarking rule used for the forgery determination is generated through the same process as the generation of the watermarking rule when the watermark is inserted using the same user information as the watermark insertion. Same as the watermarking rule. That is, in the watermarking rule 1 generated by inputting the same user information, the DCT coefficient value at a predetermined position of the first block is larger than the DCT coefficient value at a predetermined position of the second block in the same manner when the watermark is inserted and when the forgery is determined. Or 0 indicates the opposite meaning (S440).

위변조 판정부(340)는 컬러영상 처리부(320)로부터 입력된 8*16 크기의 블록과 워터마킹 규칙 생성부(370)로부터 입력된 워터마킹 규칙을 각각 대응시키고, 8*16 크기의 블록에 포함된 8*8 크기의 두 블록 중 첫번째 블록과 두번째 블록의 소정의 위치의 DCT 계수의 값을 비교하여 워터마킹 규칙을 만족하는지 판단하게 된다(S450). 즉, 규칙을 만족하는 8*16 블록의 영상은 위변조가 없는 것으로, 규칙을 만족하지 않는 블록의 영상은 위변조가 된 것으로 판정한다(S460).The forgery determination unit 340 corresponds to the 8 * 16 block input from the color image processor 320 and the watermarking rule input from the watermarking rule generator 370, and includes the 8 * 16 block in the 8 * 16 block. It is determined whether the watermarking rule is satisfied by comparing the DCT coefficient values of the first block and the predetermined position of the second block among the two 8 * 8 blocks (S450). That is, it is determined that the image of the 8 * 16 block that satisfies the rule does not have a forgery, and that the image of the block that does not satisfy the rule is forgery (S460).

예컨대, 해당 블록의 워터마킹 규칙 값이 1 이고, 이 워터마킹 규칙값 1 이 첫번째 블록의 소정 위치의DCT 계수 값이 두번째 블록의 동일한 위치의 DCT 계수 값보다 크다는 것을 의미하고, 실제 블록에서의 첫번째 블록의 DCT 계수 값이 두번째 블록에서의 DCT 계수 값보다 크다면, 첫번째 블록 및 두번째 블록을 포함하는 8*16 크기의 블록의 영상은 위변조 되지 않은 것으로 판정된다. 그러나, 두번째 블록의 DCT 계수값이 첫번째 블록에서의 DCT 계수 값보다 크다면, 첫번째 블록 및 두번째 블록을 포함하는 8*16 크기의 블록의 영상은 위변조된 것으로 판정된다.이렇게, 위변조된 블록을 판정할 수 있으므로, 본 발명에 의하면 전체 영상의 위변조 여부뿐 아니라, 전체 영상에서 위변조된 영역까지도 알 수 있게 된다.For example, the watermarking rule value of the corresponding block is 1, and this watermarking rule value 1 means that the DCT coefficient value at a predetermined position of the first block is greater than the DCT coefficient value at the same position of the second block, and the first in the actual block. If the DCT coefficient value of the block is greater than the DCT coefficient value in the second block, the image of the 8 * 16 block including the first block and the second block is determined as not forged. However, if the DCT coefficient value of the second block is larger than the DCT coefficient value of the first block, the image of the 8 * 16 block including the first block and the second block is determined to be forged. Therefore, according to the present invention, not only the forgery of the entire image, but also the forged region of the entire image can be known.

한편, 입력된 영상이 흑백 영상인 경우에, 영상의 위변조 여부의 판정은, 입력된 흑백 영상이 영상 분석부(310)로부터 흑백영상 처리부(330)로 출력되어, 흑백영상 처리부(330)에서 8*16 크기의 블록단위로 분할되고, 다시 8*8 블록 단위로 DCT 변환되어 위변조 판정부(340)로 출력된다는 점을 제외하고, 위변조 판정부(340)에서의 처리과정은 컬러 영상의 경우와 동일하다.On the other hand, when the input image is a black and white image, the determination of whether or not the image is forged, the input black and white image is output from the image analyzer 310 to the black and white image processing unit 330, the black and white image processing unit 330 The processing in the forgery determination unit 340 is different from that of the color image except that the block is divided into blocks of size 16 and DCT is converted into blocks of 8 * 8 blocks and output to the forgery determination unit 340. same.

상술한 구성을 통하여, 디지털 영상에 일련의 정보 신호를 삽입하는 방식 중 정보 신호를 약하게 삽입하는 연약한 워터마킹(Fragile Watermarking) 방법에 있어서, 영상의 압축에는 강인하고 그 외의 영상 변형에는 깨지도록 하는 연약한 워터마킹 방법을 구현할 수 있다. 이러한 방법을 이용하면, 디지털 영상의 위변조 여부를 인증함에 있어서 영상 압축에는 영향을 받지 않도록 하고, 그 외의 영상 변형이 있었는지의 여부만을 판단하여 인증할 수 있는 효과가 있다.In the fragile watermarking method of weakly inserting an information signal among a method of inserting a series of information signals into a digital image through the above-described configuration, it is strong to compress the image and to be broken to other image deformations. A watermarking method can be implemented. Using this method, there is an effect that the image compression is not influenced in authenticating whether the digital image is forged or not, and only the other image may be judged and authenticated.

지금까지 기술된 본 발명의 실시예는 예시적인 것이며, 이에 대한 모든 변형 및 변경은 아래에 명기한 특허청구범위에 속하는 것으로 이해되어야 한다.The embodiments of the present invention described so far are illustrative, and all modifications and changes thereto are to be understood as belonging to the claims set out below.

Claims (14)

영상에 워터마크를 삽입하는 방법에 있어서,In the method of embedding a watermark in an image, (a) 입력된 영상을 소정의 화소 크기의 제 1 블록들로 분할하는 단계;(a) dividing an input image into first blocks having a predetermined pixel size; (b) 상기 제 1 블록들을 각각 소정의 화소 크기의 두개의 제 2 블록들로 분할하고, 상기 제 2 블록들을 각각 이산 코사인 변환(DCT)하는 단계;(b) dividing the first blocks into two second blocks each having a predetermined pixel size, and discrete cosine transforming each of the second blocks; (c) 상기 변환된 제 2 블록들에 워터마킹 규칙에 따라서 워터마크를 삽입하는 단계; 및(c) inserting a watermark into the converted second blocks according to a watermarking rule; And (d) 상기 워터마크가 삽입된 제 2 블록들을 역 이산 코사인 변환하여 워터마크가 삽입된 영상을 출력하는 단계를 포함하는 것을 특징으로 하는 워터마크 삽입방법.and (d) inverse discrete cosine-converting the second blocks having the watermark embedded thereon and outputting an image having the watermark embedded therein. 제 1 항에 있어서,The method of claim 1, 상기 워터마킹 규칙은 동일한 상기 제 1 블록에 포함되는 상기 두개의 제 2 블록들의 소정의 동일한 위치에서의 DCT 계수값의 대소 관계를 나타내는 것을 특징으로 하는 워터마크 삽입방법.And the watermarking rule indicates a magnitude relationship between DCT coefficient values at predetermined same positions of the two second blocks included in the same first block. 제 2 항에 있어서, 상기 (c)단계는The method of claim 2, wherein step (c) 상기 제 2 블록들의 소정 위치의 DCT 계수 값을 비교하여, 상기 워터마크 규칙을 만족하지 않으면, 소정의 워터마크 세기를 상기 DCT 계수값들에 가감하는 것을 특징으로 하는 워터마크 삽입방법.Comparing the DCT coefficient values of the predetermined positions of the second blocks, and if the watermark rule is not satisfied, a predetermined watermark intensity is added to or subtracted from the DCT coefficient values. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 1 블록은 8*16 화소 크기의 블록이며, 상기 제 2 블록은 8*8 화소 크기의 블록인 것을 특징으로 하는 워터마크 삽입방법.Wherein the first block is a block of 8 * 16 pixel size and the second block is a block of 8 * 8 pixel size. 제 1 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 (a) 단계 전에, 상기 입력된 영상을 압축이 용이한 영상 모델로 변환하는 단계를 더 포함하며,Before the step (a), further comprising the step of converting the input image into an image model that is easy to compress, 상기 (d) 단계 이후에, 상기 압축이 용이한 영상 모델로 표현된 영상을 상기 입력 영상의 형태로 역 변환하는 단계를 더 포함하는 것을 특징으로 하는 워터마크 삽입방법.After the step (d), further comprising inversely converting the image represented by the image model that is easily compressed into the form of the input image. 제 5 항에 있어서,The method of claim 5, wherein 상기 입력된 영상은 RGB 형식의 컬러 영상이며, 상기 압축이 용이한 영상 모델은 Ycbcr 모델인 것을 특징으로 하는 워터마크 삽입방법.And the input image is a color image in RGB format, and the easy-compression image model is a Ycbcr model. 제 6 항에 있어서, 상기 (a) 단계는The method of claim 6, wherein step (a) 상기 Ycbcr 모델의 Y 성분에 대해서 분할하는 것을 특징으로 하는 워터마크 삽입방법.And dividing the Y component of the Ycbcr model. 워터마크를 이용하여 입력된 영상의 위변조 여부를 판정하는 방법으로서,A method for determining whether a forged image is forged using a watermark, (a) 입력된 영상을 소정의 화소 크기의 제 1 블록들로 분할하는 단계;(a) dividing an input image into first blocks having a predetermined pixel size; (b) 상기 제 1 블록들 각각을 소정의 화소 크기의 두개의 제 2 블록들로 분할하고, 상기 제 2 블록들을 각각 이산 코사인 변환(DCT)하는 단계; 및(b) dividing each of the first blocks into two second blocks having a predetermined pixel size, and performing discrete cosine transform (DCT) on each of the second blocks; And (c) 입력된 워터마킹 규칙에 따라서 상기 영상의 위변조 여부를 판정하는 단계를 포함하는 것을 특징으로 하는 영상의 위변조 여부 판정 방법.(c) determining whether the image is forged or not according to the input watermarking rule. 제 8 항에 있어서,The method of claim 8, 상기 워터마킹 규칙은 동일한 상기 제 1 블록에 포함되는 상기 두개의 제 2 블록들의 소정의 동일한 위치에서의 DCT 계수값의 대소 관계를 나타내는 것을 특징으로 하는 영상의 위변조 여부 판정 방법.And the watermarking rule indicates a magnitude relationship between DCT coefficient values at predetermined same positions of the two second blocks included in the same first block. 제 9 항에 있어서, 상기 (c)단계는The method of claim 9, wherein step (c) 상기 제 2 블록들의 소정 위치의 DCT 계수 값을 비교하여, 상기 워터마킹 규칙을 만족하지 않으면 상기 제 1 블록의 영상이 위변조된 것으로 판정하고, 상기 워터마킹 규칙을 만족하면 상기 제 1 블록의 영상이 위변조되지 않은 것으로 판정하는 것을 특징으로 하는 영상의 위변조 여부 판정 방법.By comparing the DCT coefficient values of the predetermined positions of the second blocks, if the watermarking rule is not satisfied, it is determined that the image of the first block is forged. If the watermarking rule is satisfied, the image of the first block is A method for determining whether or not to forge an image, characterized in that it is determined that it is not forged. 제 10 항에 있어서,The method of claim 10, 상기 제 1 블록은 8*16 화소 크기의 블록이며, 상기 제 2 블록은 8*8 화소 크기의 블록인 것을 특징으로 하는 영상의 위변조 여부 판정 방법.And the first block is a block of 8 * 16 pixel size and the second block is a block of 8 * 8 pixel size. 제 8 항 내지 제 11 항 중 어느 한항에 있어서,The method according to any one of claims 8 to 11, 상기 (a) 단계 전에, 상기 입력된 영상을 압축이 용이한 영상 모델로 변환하는 단계를 더 포함하는 것을 특징으로 하는 영상의 위변조 여부 판정 방법.Before the step (a), further comprising the step of converting the input image into an easy-to-compress image model. 제 12 항에 있어서,The method of claim 12, 상기 입력된 영상은 RGB 형식의 컬러 영상이며, 상기 압축이 용이한 영상 모델은 Ycbcr 모델인 것을 특징으로 하는 영상의 위변조 여부 판정 방법.The input image is a color image of the RGB format, and the easy-compression image model is a Ycbcr model, characterized in that the forgery of the image, characterized in that. 제 13 항에 있어서, 상기 (a) 단계는The method of claim 13, wherein step (a) 상기 Ycbcr 모델의 Y 성분에 대해서 분할하는 것을 특징으로 하는 영상의 위변조 여부 판정 방법.And dividing the Y component of the Ycbcr model.
KR10-2001-0084207A 2001-12-24 2001-12-24 Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof KR100467928B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0084207A KR100467928B1 (en) 2001-12-24 2001-12-24 Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0084207A KR100467928B1 (en) 2001-12-24 2001-12-24 Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof

Publications (2)

Publication Number Publication Date
KR20030054101A KR20030054101A (en) 2003-07-02
KR100467928B1 true KR100467928B1 (en) 2005-01-24

Family

ID=32212764

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0084207A KR100467928B1 (en) 2001-12-24 2001-12-24 Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof

Country Status (1)

Country Link
KR (1) KR100467928B1 (en)

Also Published As

Publication number Publication date
KR20030054101A (en) 2003-07-02

Similar Documents

Publication Publication Date Title
US10453163B2 (en) Detection from two chrominance directions
JP3719347B2 (en) Watermark insertion method for digital image or compressed digital image, digital image capturing device, computer system, and falsification detection method for watermarked digital image
Kee et al. Digital image authentication from JPEG headers
US7366320B2 (en) Information-embedding apparatus, encoder, tamper-detecting apparatus, information-embedding method, tamper-detecting method, and recording medium having program recorded therein for executing both of the methods
EP1139650B1 (en) Method for embedding electronic watermark and method for decoding the same
CN100456802C (en) Image compression device, image output device, image decompression device, printer, image processing device, copier, image compression method, image decompression method, image processing program, and
Lukás et al. Digital" bullet scratches" for images
JP3596863B2 (en) Image compression device and image decompression device, and computer-readable recording medium in which a program for causing a computer to execute the image compression method and the image decompression method is recorded.
JP2005537731A (en) How to embed fingerprints for multimedia content identification
JP2019092027A (en) Image processing apparatus, image processing method, and image processing program
KR20190133363A (en) Method and apparatus for verifying integrity of image based on watermark
US20040141630A1 (en) Method and apparatus for augmenting a digital image with audio data
JP6679540B2 (en) Information processing apparatus, information processing system, information processing method, program, and storage medium
KR100467928B1 (en) Method for embedding watermark into an image and judging the alteration of forgery of the image using thereof
Zhang et al. In-camera JPEG compression detection for doubly compressed images
KR100538414B1 (en) Method of protection of dct image data against forgery
KR100500144B1 (en) Method of embeding and extracting digital watermark for authenticating digitial image
Kim et al. Digital watermarking based on color differences
Singh et al. Analysis of contrast enhancement forensics in compressed and uncompressed images
KR100973302B1 (en) A watermarking method of the mobile terminal for multimedia forensic
US20100246945A1 (en) Image processing apparatus, image processing method and computer-readable medium
Nguyen et al. An Image Forgery Detection Solution based on DCT Coefficient Analysis.
KR100356201B1 (en) Watermarking method for copyright protection and Authentication using HSI color space
Pham et al. CROSS-FREQUENCY DOMAIN FOR JPEG INVERSIBLE WATERMARKING USING MULTIPLE QUANTIZATION TABLES
Gopalan An image steganography implementation for JPEG-compressed images

Legal Events

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

Payment date: 20130114

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20140113

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20150114

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20160114

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20170111

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20180104

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20191205

Year of fee payment: 16