KR20060092682A - Watermark inserting/extracting method and hardware crypto module of watermarking processor - Google Patents

Watermark inserting/extracting method and hardware crypto module of watermarking processor Download PDF

Info

Publication number
KR20060092682A
KR20060092682A KR1020050013759A KR20050013759A KR20060092682A KR 20060092682 A KR20060092682 A KR 20060092682A KR 1020050013759 A KR1020050013759 A KR 1020050013759A KR 20050013759 A KR20050013759 A KR 20050013759A KR 20060092682 A KR20060092682 A KR 20060092682A
Authority
KR
South Korea
Prior art keywords
watermark
coefficient
insertion position
hash function
selecting
Prior art date
Application number
KR1020050013759A
Other languages
Korean (ko)
Other versions
KR100664031B1 (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 KR1020050013759A priority Critical patent/KR100664031B1/en
Publication of KR20060092682A publication Critical patent/KR20060092682A/en
Application granted granted Critical
Publication of KR100664031B1 publication Critical patent/KR100664031B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • 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]

Landscapes

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

Abstract

본 발명은 워터마킹 삽입/추출 방법 및 워터마킹 프로세서의 하드웨어 암호화 모듈에 관한 것으로, 종래 주파수 영역에 워터마크를 적용하는 방법은 공간영역에서 적용되던 방법에 비해 공격에 강한 특징을 가지지만 주파수 특성상 워터마크 삽입 위치를 정확히 선정할 수 없는 문제점이 있었다. 이러한 문제점을 감안한 본 발명은 영상을 DCT 변환하여 DC 계수를 출력하는 DCT 코덱과; 네트워크 프로토콜 및 영상 코덱에서 사용 가능한 해시 함수를 선택하고 DC 계수를 입력받아 해시 함수에 전달하여 출력되는 메시지를 워터마크로 출력하는 워터마크 출력부와; 워터마크의 삽입위치를 주파수 영역의 AC 계수에 선정하는 삽입위치 선정부와; 삽입위치 선정부에 의해 선정된 AC 계수에 워터마크를 삽입하는 워터마크 삽입부로 구성되어 워터마크의 삽입 위치를 정확히 선정하여 워터마크를 삽입하고, 워터마크의 삽입에 의한 화질 열화를 최소화하여 비가시성을 높임으로써 워터마크의 삽입 및 추출이 용이하고, 저작권 논쟁시 고유한 본래 워터마트의 위/변조 논란의 여지가 없는 효과가 있다.The present invention relates to a watermarking insertion / extraction method and a hardware encryption module of a watermarking processor. The method of applying a watermark in the frequency domain has a stronger characteristic of attack than the method applied in the spatial domain, but has a water characteristic due to the frequency characteristics. There was a problem that the mark insertion position could not be correctly selected. In consideration of these problems, the present invention provides a DCT codec for outputting DC coefficients by DCT converting an image; A watermark output unit for selecting a hash function available in a network protocol and an image codec, receiving a DC coefficient, passing the received coefficient to the hash function, and outputting the message as a watermark; An insertion position selecting unit that selects an insertion position of the watermark to the AC coefficient in the frequency domain; It is composed of a watermark inserter that inserts a watermark into the AC coefficient selected by the insertion position selector. The watermark inserter inserts a watermark by accurately selecting the insertion position of the watermark, and minimizes the deterioration of image quality due to the insertion of the watermark. It is easy to insert and extract the watermark by increasing the, and there is an indisputable effect of forgery and forgery of the original watermart inherent in the copyright dispute.

Description

워터마킹 삽입/추출 방법 및 워터마킹 프로세서의 하드웨어 암호화 모듈{WATERMARK INSERTING/EXTRACTING METHOD AND HARDWARE CRYPTO MODULE OF WATERMARKING PROCESSOR}WATERMARK INSERTING / EXTRACTING METHOD AND HARDWARE CRYPTO MODULE OF WATERMARKING PROCESSOR}

도 1은 종래 워터마킹 삽입 전/후의 영상을 보인 예시도.1 is an exemplary view showing an image before / after the conventional watermark insertion.

도 2는 본 발명의 실시 예에서 엠펙2 엔코더의 구성을 보인 블록도.Figure 2 is a block diagram showing the configuration of an MPEG-2 encoder in an embodiment of the present invention.

도 3은 본 발명의 실시 예에서 해시 함수 모듈을 보인 블록도.3 is a block diagram illustrating a hash function module in an embodiment of the invention.

도 4는 본 발명의 실시 예에서 워터마킹 생성시의 생성된 워터마크 값을 보인 예시도.4 is an exemplary view illustrating a generated watermark value at the time of generating watermarking according to an embodiment of the present invention.

도 5는 본 발명의 실시 예에서 워터마크 삽입블록을 선정할 선형 피드백 시프트 레지스터의 구성을 보인 블록도.5 is a block diagram showing the configuration of a linear feedback shift register for selecting a watermark insertion block in an embodiment of the present invention.

도 6은 본 발명의 실시 예에서 워터마크의 삽입 동작을 보인 예시도.6 is an exemplary view illustrating an operation of inserting a watermark in an embodiment of the present invention.

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

21 : DCT 코덱 22 : 암호화 모듈21: DCT codec 22: encryption module

본 발명은 워터마크 삽입/추출 방법 및 워터마킹 프로세서의 하드웨어 암호 화 모듈에 관한 것으로, 특히 DC 계수를 해시 함수의 입력으로 넣어 출력되는 메시지를 워터마크로 사용하고 AC 계수에 워터마크를 삽입할 수 있게 한 워터마크 삽입/추출 방법 및 워터마킹 프로세서의 하드웨어 암호화 모듈에 관한 것이다.The present invention relates to a watermark embedding / extraction method and a hardware encryption module of a watermarking processor. In particular, the present invention provides a watermark by inserting a DC coefficient as an input of a hash function and inserting a watermark into an AC coefficient. A watermark embedding / extraction method and a hardware encryption module of a watermarking processor.

컴퓨터는 컨텐츠 사업자로부터 획득한 디지털 데이터를 복제 및 변조하여 이용하고 데이터 원본을 복제하여 복사본을 만들면 데이터 손실이 없어 원본과 복사본의 구분을 모호하게 한다. 인터넷과 같은 개방형 네트워크의 발전은 유무선 통신을 통해 데이터 이동 및 저장을 자유롭게 하고 컴퓨터는 디지털 데이터를 복제 및 변조하여 인터넷을 통해 유통하므로 디지털 데이터의 불법 복제 및 배포가 확산됨에 따라 최근 지적 재산권 문제가 크게 부각되고 있다.Computers use digital data obtained from content providers by copying and tampering with it and copying the data source to make a copy, which makes the distinction between the original and the copy unclear. The development of open networks such as the Internet frees the movement and storage of data through wired and wireless communication, and the computer replicates and modulates digital data and distributes it through the Internet. It is emerging.

디지털 워터마킹 기법은 지적 재산권을 보호하고 저작권을 주장할 수 있는 근거를 제시할 수 있도록 하는 기술로서 현재 많은 연구와 응용이 진행되고 있다.Digital watermarking technology is a technology for protecting intellectual property rights and providing a basis for claiming copyright, and many researches and applications are being conducted.

워터마킹 기술이 발달함에 따라 워터마크 적용 영역이 공간영역에서 주파수영역으로 옮겨졌는데 주파수 영역에 워터마크를 적용하는 방법은 주파수 계수를 변화시켜 워터마크를 삽입하는 것으로 Ruanaidh는 DFT(Discrete Fourier Transform)를 이용하여 위상에 워터마크를 삽입하는 방법을 제안하였고 Cox와 Barni 등은 DCT(Discrete Cosine Transform)를 이용하여 주파수 영역의 중요한 계수를 선택한 후 계수의 크기 순으로 워터마크를 삽입하는 방법을 제안하였다.With the development of watermarking technology, the watermark application area has been moved from the spatial domain to the frequency domain. The method of applying a watermark to the frequency domain is to insert a watermark by changing the frequency coefficient. Ruanaidh uses the Discrete Fourier Transform (DFT). Cox and Barni et al. Proposed a method of inserting watermarks in the order of coefficient size after selecting important coefficients in the frequency domain using DCT (Discrete Cosine Transform).

최근 데이터 압축률이 높아짐에 따라 DCT에서 발생하는 블록화 현상을 해결하기 위해 Xia와 Hsieh 등은 DWT(Discrete Wavelet Transform)기반의 다해상도를 이용한 방법을 제안하였다.Recently, Xia and Hsieh proposed a method using multi-resolution based on DWT (Discrete Wavelet Transform) in order to solve the blocking phenomenon that occurs in DCT as the data compression rate increases.

주파수 영역에 워터마크를 적용하는 방법은 공간영역에서 적용되던 방법에 비해 공격에 강한 특징을 가지지만 주파수 특성상 워터마크 삽입 위치를 정확히 선정할 수 없는 단점이 있다.The method of applying a watermark in the frequency domain has a stronger characteristic of attack than the method applied in the spatial domain, but has a disadvantage in that the watermark insertion position cannot be accurately selected due to the frequency characteristics.

도 1은 종래 워터마킹 삽입 전/후의 영상을 보인 예시도이다. 워터마크 삽입시 비가시성을 위하여 워터마트가 삽입된 영상은 도 1의 (c)와 같이 도 1의 (b) 워터마크가 삽입되더라고 도 1의 (a) 원영상과 시각적으로 차이가 없어야 한다. 영상 변조후 추출된 워터마크는 도 1의 (d)이다.1 is an exemplary view showing an image before / after the conventional watermark insertion. When the watermark is inserted, the image into which the water mart is inserted should be visually different from the original image of FIG. 1 (a) even though the watermark of FIG. 1 (b) is inserted as shown in FIG. . The watermark extracted after image modulation is shown in FIG.

따라서 본 발명은 상기와 같은 문제점을 감안하여 창안한 것으로, 워터마크의 삽입 위치를 정확히 선정하여 워터마크를 삽입하고, 워터마크의 삽입에 의한 화질 열화를 최소화하여 비가시성을 높일 수 있도록 한 워터마크 삽입/추출 방법 및 워터마킹 프로세서의 하드웨어 암호화 모듈을 제공함에 그 목적이 있다.Accordingly, the present invention has been made in view of the above-mentioned problems, and the watermark is made to accurately insert the watermark by accurately selecting the insertion position of the watermark, and to enhance the invisibility by minimizing the deterioration of image quality due to the insertion of the watermark. It is an object of the present invention to provide an insertion / extraction method and a hardware encryption module of a watermarking processor.

상기와 같은 목적을 달성하기 위한 본 발명은, 영상을 DCT 변환하여 DC 계수를 출력하는 DCT 코덱과; 네트워크 프로토콜 및 영상 코덱에서 사용 가능한 해시 함수를 선택하고 DC 계수를 입력받아 해시 함수에 전달하여 출력되는 메시지를 워터마크로 출력하는 워터마크 출력부와; 워터마크의 삽입위치를 주파수 영역의 AC 계수에 선정하는 삽입위치 선정부와; 삽입위치 선정부에 의해 선정된 AC 계수에 워터마크를 삽입하는 워터마크 삽입부로 구성한 것을 특징으로 한다.The present invention for achieving the above object, the DCT codec for outputting the DC coefficient by DCT conversion of the image; A watermark output unit for selecting a hash function available in a network protocol and an image codec, receiving a DC coefficient, passing the received coefficient to the hash function, and outputting the message as a watermark; An insertion position selecting unit that selects an insertion position of the watermark to the AC coefficient in the frequency domain; And a watermark inserting unit for inserting a watermark into the AC coefficient selected by the inserting position selecting unit.

또한, 영상을 DCT 변환하여 DC 계수를 출력하는 단계와; 네트워크 프로토콜 및 영상 코덱에서 사용 가능한 해시 함수를 선택하고 DC 계수를 입력받아 해시 함수에 전달하여 출력되는 메시지를 프레임 버퍼링한 다음 실시간으로 워터마크를 출력하는 단계와; 선형 피드백 시프트 레지시터를 이용하여 DCT 블록의 AC 계수를 선정하고 양자화된 픽셀 계수의 소정 하위 비트에 워터마트의 삽입위치를 선정하는 단계와; 선정된 AC 계수에 워터마크를 삽입하는 단계로 이루어진 것을 특징으로 한다.The method may further include DCT converting an image to output a DC coefficient; Selecting a hash function available in a network protocol and an image codec, receiving DC coefficients, passing the received coefficients to the hash function, buffering the output message, and outputting a watermark in real time; Selecting an AC coefficient of the DCT block using the linear feedback shift register and selecting an insertion position of the water mart in a predetermined lower bit of the quantized pixel coefficient; And inserting a watermark into the selected AC coefficient.

이하, 본 발명에 따른 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 실시 예에서 엠펙2 엔코더의 구성을 보인 블록도로서, 이에 도시된 바와 같이 영상을 DCT 변환하여 DC 계수를 출력하는 DCT 코덱(21)과; DCT 변환된 영상의 AC 계수를 출력하는 인코더(23)와; DC 계수를 양자화하여 해시 함수에 입력하여 출력되는 워터마크 메시지를 영상의 AC 계수에 삽입하는 암호화 모듈(22)로 구성된다.2 is a block diagram showing the configuration of an MPEG-2 encoder according to an embodiment of the present invention, and as shown therein, a DCT codec 21 for DCT converting an image to output DC coefficients; An encoder 23 for outputting AC coefficients of the DCT-converted image; And an encryption module 22 for quantizing the DC coefficients and inserting the output watermark message into the AC coefficient of the image.

점선으로 묶여진 DCT 코덱(21), 암호화 모듈(22), 인코더(23)는 본 발명의 실시 예에서 주요 구성 블록에 속하며 이들 블록의 동작을 워터마크 생성 및 삽입순으로 설명한다.The DCT codec 21, the encryption module 22, and the encoder 23, which are enclosed in dotted lines, belong to the main building blocks in the embodiment of the present invention and the operations of these blocks will be described in the order of watermark generation and insertion.

DCT 코덱(21)은 영상을 DCT 변환하여 DC 계수를 출력하고, DCT 변환 후의 DC 계수는 무손실 압축과정으로 인코딩된다. 따라서 DC 계수는 암호화 모듈(22)에 입력되고 암호화 모듈(22)에서 선택된 해시 함수에 의해 출력되는 메시지는 워터마크로 사용된다.The DCT codec 21 performs DCT conversion on an image to output DC coefficients, and the DC coefficients after DCT conversion are encoded by a lossless compression process. Therefore, the DC coefficient is input to the encryption module 22 and the message output by the hash function selected by the encryption module 22 is used as a watermark.

암호화 모듈(22)의 워터마크 출력부(22a)는 네트워크 프로토콜 및 영상 코덱에서 사용 가능한 해시 함수를 선택하고 DC 계수를 입력받아 해시 함수에 전달하여 출력되는 메시지를 워터마트로 사용하고, 암호화 모듈(22)의 워터마크 삽입부(22c)는 DCT 변환된 영상의 AC 계수의 하위 비트에 워터마크를 삽입한다. 암호화 모듈(22)은 SHA, HAS160, MD5등의 해시 함수를 선택 사용한다. 메시지 추출시와 인증시 해시 함수가 다르면 워터마크를 추출할 수 없으므로 암호화 모듈(22)에서 사용되는 워터마크 삽입/추출시의 해시 함수는 동일해야 한다.The watermark output unit 22a of the encryption module 22 selects a hash function available in a network protocol and an image codec, receives a DC coefficient, and transfers the DC coefficient to the hash function to use the output message as a water mart. The watermark embedding section 22c inserts the watermark into the lower bits of the AC coefficient of the DCT-converted image. The encryption module 22 selects and uses hash functions such as SHA, HAS160, and MD5. If the hash function at the time of message extraction and authentication is different, the watermark cannot be extracted. Therefore, the hash function at the time of watermark insertion / extraction used in the encryption module 22 should be the same.

인코더(23)는 DCT 변환된 영상의 AC 계수를 가변 길이 코딩하여 압축된 비트 스트림을 출력한다. 이때, 암호화 모듈(22)은 인코더(23)의 AC 계수를 사용하여 워터마크의 삽입위치를 결정하고 선택된 AC 계수의 하위 비트에 해시 함수에 의해 출력된 워터마크를 삽입하고 하위 비트 이외의 비트 값은 그대로 유지하여 비트 스트림을 처리한다.The encoder 23 variably-length-codes the AC coefficients of the DCT-converted video to output a compressed bit stream. At this time, the encryption module 22 determines the insertion position of the watermark using the AC coefficient of the encoder 23, inserts the watermark outputted by the hash function into the lower bits of the selected AC coefficient, and sets bit values other than the lower bits. Remain intact to process the bit stream.

도 3은 본 발명의 실시 예에서 해시 함수 모듈을 보인 블록도이다. 해시 함수 모듈은 각각 MD5(메시지 다이제스트 알고리듬 5)(도 3a), HAS160(도 3b), SHA(도 3c)이며 하드웨어 모듈로 구성되어 네트워크 프로토콜 및 컨텐츠에 따라 다양하게 선택되어 사용된다. 해시 함수 모듈은 많은 연산량을 하드웨어적으로 처리하여 연산 시간을 단축시키고, 구현된 하드웨어 모듈은 데이터베이스화되어 영상 코덱의 한 블록으로 삽입된다.3 is a block diagram illustrating a hash function module in an embodiment of the present invention. The hash function modules are MD5 (Message Digest Algorithm 5) (FIG. 3A), HAS160 (FIG. 3B), and SHA (FIG. 3C), respectively, and are composed of hardware modules, and variously selected and used according to network protocols and contents. The hash function module processes a large amount of computation in hardware to reduce the computation time, and the implemented hardware module is databaseized and inserted into one block of the image codec.

도 4는 본 발명의 실시 예에서 워터마킹 생성시의 생성된 워터마크 값을 보인 예시도이다. 해시 함수 모듈 MD5는 도 4의 시뮬레이션 결과에 도시된 바와 같이 DC 계수를 입력받아 해시 처리하여 DC 계수에 대응한 메시지인 워터마크 값을 출력한다.4 is an exemplary view illustrating a generated watermark value when generating watermarking according to an embodiment of the present invention. As shown in the simulation result of FIG. 4, the hash function module MD5 receives a DC coefficient and hashes it to output a watermark value that is a message corresponding to the DC coefficient.

암호화 모듈(22)의 삽입위치 선정부(22b)는 워터마크의 비가시성을 위하여 워터마크의 삽입시에는 영상 코덱의 압축 과정에 따른 특성을 충분히 고려하여 워터마크의 삽입위치를 선정한다. 삽입위치 선정부(22b)는 삽입위치를 주파수 영역의 AC 계수에 선정하되 양자화 후에도 워터마크가 살아남을 수 있도록 양자화된 픽셀 계수의 3~4번째 비트에 선정한다. 이때, 삽입된 워터마크가 영상의 화질을 저하시키지 않도록 해야 한다.The insertion position selector 22b of the encryption module 22 selects the insertion position of the watermark in consideration of the characteristics of the compression process of the image codec when the watermark is inserted for the invisibility of the watermark. The insertion position selector 22b selects the insertion position to the AC coefficient in the frequency domain but selects the third to fourth bits of the quantized pixel coefficient so that the watermark can survive the quantization. At this time, the inserted watermark should not deteriorate the image quality of the image.

삽입위치 선정부(22b)에 의해 선정되는 워터마크의 삽입위치는 제삼자에 의해 추정되지 않아야 하며 삽입위치 선정부(22b)는 도 5의 선형 피드백 시프트 레지스터를 이용해서 선택된 8*8 DCT 블록의 AC 계수에만 워터마크를 삽입한다. 이때 선형 피드백 시프트 레지스터의 시드 값에는 미리 선택된 값이 사용된다. 도 5는 본 발명의 실시 예에서 워터마크 삽입블록을 선정할 선형 피드백 시프트 레지스터의 구성을 보인 블록도이다. 선형 피드백 시프트 레지스터는 DC 계수를 입력받아 워터마크의 삽입 위치를 계산하고 계산된 삽입 위치에 대응한 AC 계수를 선택한다. 다른 실시 예로 삽입위치 선정부(22b)는 선형 피드백 시프트 레지스터를 이용하지 않고 워터마크의 삽입 위치인 AC 계수의 데이터를 미리 결정하고 보관하여 사용하고 워터마크 추출시 보관된 AC 계수의 데이터를 사용하여 워터마크를 추출한다.The insertion position of the watermark selected by the insertion position selecting portion 22b should not be estimated by a third party, and the insertion position selecting portion 22b may be selected from the AC of the 8 * 8 DCT block selected using the linear feedback shift register of FIG. Insert a watermark only in the count. In this case, a preselected value is used as the seed value of the linear feedback shift register. 5 is a block diagram illustrating a configuration of a linear feedback shift register for selecting a watermark insertion block according to an embodiment of the present invention. The linear feedback shift register receives a DC coefficient, calculates an insertion position of the watermark, and selects an AC coefficient corresponding to the calculated insertion position. In another embodiment, the insertion position selecting unit 22b determines and stores the data of the AC coefficient, which is the insertion position of the watermark, in advance without using the linear feedback shift register, and uses the stored AC coefficient data when extracting the watermark. Extract the watermark.

암호화 모듈(22)의 워터마크 삽입부(22c)는 삽입위치 선정부(22b)에 의해 선정된 AC 계수에 워터마크 출력부(22a)의 워터마크를 삽입한다. 워터마크의 삽입 개 수와 워터마크의 강도는 직접적으로 상관관계가 있지만 워터마크의 삽입 개수가 무조건 많다고 좋은 것은 아니므로 워터마크 삽입부(22c)는 워터마크를 생성하는데 필요한 해시 연산량을 고려하여 워터마크의 삽입 개수를 조절한다. 워터마크 삽입부(22c)는 해시함수에 의해 출력된 워터마크를 선정된 AC 계수의 3~4번째 비트에 삽입한다.The watermark embedding section 22c of the encryption module 22 embeds the watermark of the watermark output section 22a into the AC coefficient selected by the embedding position selecting section 22b. The number of embedding of the watermark and the strength of the watermark are directly correlated, but it is not good that the number of embedding of the watermark is large, so the watermark embedding unit 22c considers the amount of hash calculation required to generate the watermark. Adjust the number of marks inserted. The watermark inserting unit 22c inserts the watermark output by the hash function into the 3rd to 4th bits of the selected AC coefficient.

해시 함수로부터 추출된 워터마크는 1프레임 버퍼링되어야 실시간으로 컨텐츠에 삽입될 수 있다. 워터마크 삽입부는 워터마크를 1프레임 버퍼링한 다음 실시간으로 출력되는 워터마크를 영상 컨텐츠에 삽입한다.The watermark extracted from the hash function must be buffered one frame before it can be inserted into the content in real time. The watermark inserting unit buffers the watermark by one frame and then inserts the watermark output in real time into the image content.

도 6은 본 발명의 실시 예에서 워터마크의 삽입 동작을 보인 예시도이다.6 is an exemplary view illustrating an operation of inserting a watermark according to an embodiment of the present invention.

영상 프레임이 DCT 변환된 비트플레인에서 추출된 DC 계수는 해시 함수의 입력으로 전달되고 해시 함수는 DC 계수를 입력받아 해시 처리하여 워터마크로 사용될 메시지를 출력한다. 메시지는 워터마크로 사용되어 AC 계수의 하위 비트에 삽입된다.The DC coefficient extracted from the bitplane with the DCT transformed is passed to the input of the hash function, and the hash function receives the DC coefficient and hashes it to output a message to be used as a watermark. The message is used as a watermark and inserted into the lower bits of the AC coefficient.

이상에서 상세히 설명한 바와 같이, 본 발명은 워터마크의 삽입 위치를 정확히 선정하여 워터마크를 삽입하고, 워터마크의 삽입에 의한 화질 열화를 최소화하여 비가시성을 높임으로써 워터마크의 삽입 및 추출이 용이하고, 저작권 논쟁시 고유한 본래 워터마트의 위/변조 논란의 여지가 없는 효과가 있다.As described above in detail, the present invention inserts and extracts a watermark by accurately selecting the insertion position of the watermark, minimizing image quality deterioration due to the insertion of the watermark, and enhancing the invisibility. In the copyright debate, there is an incontrovertible effect of the inherent water mart.

또한, 암호화 모듈에 내장된 해시 함수를 네트워크 프로토콜 및 컨텐츠에 따라 선택 사용함으로써 다양한 디지털 환경에 적응하여 암호화 모듈을 선택 사용하 는 효과가 있다.In addition, by using the hash function built in the encryption module according to the network protocol and content, it is effective to select and use the encryption module by adapting to various digital environments.

또한, 해시 함수의 많은 연산량을 하드웨어적으로 처리하여 연산 시간을 크게 단축시킴으로써 해시 함수가 구현된 하드웨어 모듈을 데이터베이스화하여 영상 코덱의 한 블록으로 삽입하여 사용하는 효과가 있다.In addition, by processing a large amount of operation of the hash function by hardware to significantly reduce the computation time, there is an effect that the hardware module on which the hash function is implemented is inserted into a block of the image codec to be used as a database.

Claims (6)

영상을 DCT 변환하여 DC 계수를 출력하는 DCT 코덱과;A DCT codec for DCT converting an image to output DC coefficients; 네트워크 프로토콜 및 영상 코덱에서 사용 가능한 해시 함수를 선택하고 DC 계수를 입력받아 해시 함수에 전달하여 출력되는 메시지를 워터마크로 출력하는 워터마크 출력부와;A watermark output unit for selecting a hash function available in a network protocol and an image codec, receiving a DC coefficient, passing the received coefficient to the hash function, and outputting the message as a watermark; 워터마크의 삽입위치를 주파수 영역의 AC 계수에 선정하는 삽입위치 선정부와;An insertion position selecting unit that selects an insertion position of the watermark to the AC coefficient in the frequency domain; 삽입위치 선정부에 의해 선정된 AC 계수에 워터마크를 삽입하는 워터마크 삽입부로 구성된 것을 특징으로 하는 워터마킹 프로세서의 하드웨어 암호화 모듈.And a watermark insertion unit for inserting a watermark into the AC coefficient selected by the insertion position selecting unit. 제1항에 있어서, 상기 암호화 모듈은 SHA, HAS160, MD5등의 해시 함수를 선택 사용하게 구성된 것을 특징으로 하는 워터마킹 프로세서의 하드웨어 암호화 모듈.The hardware encryption module of claim 1, wherein the encryption module is configured to selectively use hash functions such as SHA, HAS160, MD5, and the like. 제2항에 있어서, 상기 암호화 모듈은 MD5, HAS160, SHA의 해시 함수를 하드웨어 모듈로 구성하여 해시 함수의 많은 연산량을 하드웨어적으로 처리하고, 구현된 하드웨어 모듈을 데이터베이스화하여 영상 코덱의 한 블록으로 삽입하게 구성된 것을 특징으로 하는 워터마킹 프로세서의 하드웨어 암호화 모듈.The method of claim 2, wherein the encryption module comprises a hardware module of the hash function of the MD5, HAS160, SHA to handle a large amount of computation of the hash function in hardware, and the database of the implemented hardware module to a block of the image codec Hardware encryption module of a watermarking processor, characterized in that configured to insert. 제1항에 있어서, 상기 삽입위치 선정부는 선형 피드백 시프트 레지시터를 이용하여 DCT 블록의 AC 계수를 선정하고 양자화된 픽셀 계수의 소정 하위 비트에 삽입위치를 선정하게 구성된 것을 특징으로 하는 워터마킹 프로세서의 하드웨어 암호화 모듈.The watermarking processor of claim 1, wherein the insertion position selector is configured to select an AC coefficient of the DCT block using a linear feedback shift register and to select an insertion position in a predetermined lower bit of the quantized pixel coefficients. Hardware encryption module. 제1항에 있어서, 상기 워터마크 삽입부는 워터마크를 프레임 버퍼링한 다음 실시간으로 출력되는 워터마크를 영상 컨텐츠에 삽입하게 구성된 것을 특징으로 하는 워터마킹 프로세서의 하드웨어 암호화 모듈.The hardware encryption module of claim 1, wherein the watermark inserting unit is configured to frame-buffer the watermark and insert the watermark output in real time into the image content. 영상을 DCT 변환하여 DC 계수를 출력하는 단계와;Outputting the DC coefficient by DCT converting the image; 네트워크 프로토콜 및 영상 코덱에서 사용 가능한 해시 함수를 선택하고 DC 계수를 입력받아 해시 함수에 전달하여 출력되는 메시지를 프레임 버퍼링한 다음 실시간으로 워터마크를 출력하는 단계와;Selecting a hash function available in a network protocol and an image codec, receiving DC coefficients, passing the received coefficients to the hash function, buffering the output message, and outputting a watermark in real time; 선형 피드백 시프트 레지시터를 이용하여 DCT 블록의 AC 계수를 선정하고 양자화된 픽셀 계수의 소정 하위 비트에 워터마트의 삽입위치를 선정하는 단계와;Selecting an AC coefficient of the DCT block using the linear feedback shift register and selecting an insertion position of the water mart in a predetermined lower bit of the quantized pixel coefficient; 선정된 AC 계수에 워터마크를 삽입하는 단계로 이루어진 것을 특징으로 하는 워터마크 삽입/추출 방법.And inserting a watermark in the selected AC coefficient.
KR1020050013759A 2005-02-18 2005-02-18 Watermark inserting/extracting method and hardware crypto module of watermarking processor KR100664031B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050013759A KR100664031B1 (en) 2005-02-18 2005-02-18 Watermark inserting/extracting method and hardware crypto module of watermarking processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050013759A KR100664031B1 (en) 2005-02-18 2005-02-18 Watermark inserting/extracting method and hardware crypto module of watermarking processor

Publications (2)

Publication Number Publication Date
KR20060092682A true KR20060092682A (en) 2006-08-23
KR100664031B1 KR100664031B1 (en) 2007-01-03

Family

ID=37594030

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050013759A KR100664031B1 (en) 2005-02-18 2005-02-18 Watermark inserting/extracting method and hardware crypto module of watermarking processor

Country Status (1)

Country Link
KR (1) KR100664031B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100930186B1 (en) * 2007-09-14 2009-12-07 삼성전기주식회사 How to insert information in compressed images
CN102547297A (en) * 2012-02-28 2012-07-04 中国传媒大学 MPEG2 (Moving Picture Experts Group 2) video watermarking realization method based on DC (Discrete Cosine) coefficient
KR101509877B1 (en) * 2013-01-21 2015-04-07 에스케이씨앤씨 주식회사 Watermarking Method and Apparatus for Inserting Watermark Created from an image into another image
KR101528300B1 (en) * 2013-10-10 2015-06-11 조선대학교산학협력단 Method for inserting and extracting watermark to JEPG compression image using AC Coefficient
CN107577746A (en) * 2017-08-29 2018-01-12 长江大学 University student's self-service electronic school report acquisition methods and device based on biological characteristic

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100624751B1 (en) * 2003-04-25 2006-09-19 (주)마크텍 A method for embedding watermark into an image and digital video recoreder using said method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100930186B1 (en) * 2007-09-14 2009-12-07 삼성전기주식회사 How to insert information in compressed images
CN102547297A (en) * 2012-02-28 2012-07-04 中国传媒大学 MPEG2 (Moving Picture Experts Group 2) video watermarking realization method based on DC (Discrete Cosine) coefficient
CN102547297B (en) * 2012-02-28 2014-12-03 中国传媒大学 MPEG2 (Moving Picture Experts Group 2) video watermarking realization method based on DC (Discrete Cosine) coefficient
KR101509877B1 (en) * 2013-01-21 2015-04-07 에스케이씨앤씨 주식회사 Watermarking Method and Apparatus for Inserting Watermark Created from an image into another image
KR101528300B1 (en) * 2013-10-10 2015-06-11 조선대학교산학협력단 Method for inserting and extracting watermark to JEPG compression image using AC Coefficient
CN107577746A (en) * 2017-08-29 2018-01-12 长江大学 University student's self-service electronic school report acquisition methods and device based on biological characteristic

Also Published As

Publication number Publication date
KR100664031B1 (en) 2007-01-03

Similar Documents

Publication Publication Date Title
Lian et al. Commutative encryption and watermarking in video compression
AbdelWahab et al. Hiding data in images using steganography techniques with compression algorithms
JP4226897B2 (en) How to embed a digital watermark in digital image data
EP1529262B1 (en) Watermarking and fingerprinting digital content using alternative blocks to embed information
Qian et al. Lossless data hiding in JPEG bitstream
Raja et al. A secure image steganography using LSB, DCT and compression techniques on raw images
JP4027542B2 (en) Digital watermarking method for digital objects
CN111917558B (en) Video frame data double-authentication and hierarchical encryption method based on block chain
JP3834281B2 (en) Watermark embedding method, transmission method, restoration method and apparatus therefor
KR100664031B1 (en) Watermark inserting/extracting method and hardware crypto module of watermarking processor
Luo et al. Fast and robust watermarking of JPEG files
Nikolaidis Low overhead reversible data hiding for color JPEG images
Lim et al. Digital video watermarking using 3D-DCT and intracubic correlation
Choubisa et al. Permutation based invisible digital watermarking technique using DCT domain
Park et al. Invertible semi-fragile watermarking algorithm distinguishing MPEG-2 compression from malicious manipulation
Gupta et al. A new approach for information security using asymmetric encryption and watermarking technique
Ghosal et al. Color image authentication based on two-dimensional separable discrete hartley transform (CIA2D-SDHT)
EP1743296B1 (en) Watermarking a compressed information signal
Ahani et al. Image steganography based on sparse decomposition in wavelet space
Ebrahimi et al. Secure JPEG 2000-JPSEC
Ghoshal et al. Controlled data hiding technique for color image authentication in frequency domain (CDHTCIAFD)
Caragata et al. Fragile watermarking using chaotic sequences
Chen et al. Authentication of lossy compressed video data by semifragile watermarking
Paliwal et al. Digital Watermarking Algorithm for Embedding Color Image using Two Level DWT
Bhatia et al. Video Watermarking using YcbCr and RLE

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
LAPS Lapse due to unpaid annual fee