JP4834844B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP4834844B2
JP4834844B2 JP2007542315A JP2007542315A JP4834844B2 JP 4834844 B2 JP4834844 B2 JP 4834844B2 JP 2007542315 A JP2007542315 A JP 2007542315A JP 2007542315 A JP2007542315 A JP 2007542315A JP 4834844 B2 JP4834844 B2 JP 4834844B2
Authority
JP
Japan
Prior art keywords
coefficient
embedding
subband
coefficients
digital watermark
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2007542315A
Other languages
Japanese (ja)
Other versions
JPWO2007049479A1 (en
Inventor
希実 石原
公輝 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
THE UNIVERSITY OF ELECTRO-COMUNICATINS
Original Assignee
THE UNIVERSITY OF ELECTRO-COMUNICATINS
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 THE UNIVERSITY OF ELECTRO-COMUNICATINS filed Critical THE UNIVERSITY OF ELECTRO-COMUNICATINS
Priority to JP2007542315A priority Critical patent/JP4834844B2/en
Publication of JPWO2007049479A1 publication Critical patent/JPWO2007049479A1/en
Application granted granted Critical
Publication of JP4834844B2 publication Critical patent/JP4834844B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0028Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0052Embedding of the watermark in the frequency domain
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0202Image watermarking whereby the quality of watermarked images is measured; Measuring quality or performance of watermarking methods; Balancing between quality and robustness

Landscapes

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

Description

本発明は、情報処理装置および情報処理方法、並びにプログラムに関し、特に、悪意のある改竄と圧縮・ノイズ等の悪意のない変更を区別して、正確に電子透かし情報を復元するとともに、改竄を的確に検出することができるようにする情報処理装置および情報処理方法、並びにプログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a program, and in particular, distinguishes malicious alteration from non-malicious changes such as compression and noise, accurately restores digital watermark information, and accurately alters the information. The present invention relates to an information processing apparatus, an information processing method, and a program that enable detection.

近年、文字データ、画像データ、音声データ等の多種のデータがコンピュータやネットワーク内で扱われるようになるに伴い、そのデータの不正利用(改竄)を防止するために、著作権情報や利用者情報を電子透かし情報として埋め込む技術が開発されている。   In recent years, as various types of data such as character data, image data, and audio data are handled in computers and networks, copyright information and user information are used to prevent unauthorized use (falsification) of the data. Has been developed for embedding as digital watermark information.

電子透かし情報を埋め込むことは、埋め込みの対象となるデータを変更することになるため、埋め込み強度を強くすると当該データにより表現されるコンテンツの品質が劣化するおそれがある。一方、改竄を的確に検出するためには、電子透かし情報の耐性を強くする必要がある。そこで、埋め込み強度を強くすることなく、すなわち、コンテンツの品質劣化を起こすことなく、電子透かし情報への攻撃に対する耐性を強くした技術として、従来、ウェーブレット変換された係数のうちの所定の複数の係数に対して、電子透かし情報を構成する画素をそれぞれ複数個埋め込み、電子透かし情報を抽出する際には多数決判定によりそれぞれの画素値を決定する発明が知られている(例えば、特許文献1)。   Since embedding digital watermark information changes data to be embedded, if the embedding strength is increased, the quality of content expressed by the data may be deteriorated. On the other hand, in order to accurately detect tampering, it is necessary to increase the tolerance of digital watermark information. Therefore, as a technique for enhancing resistance to attacks on digital watermark information without increasing the embedding strength, that is, without causing deterioration in content quality, conventionally, a plurality of predetermined coefficients among wavelet transformed coefficients are used. On the other hand, an invention is known in which a plurality of pixels constituting digital watermark information are embedded and each pixel value is determined by majority decision when digital watermark information is extracted (for example, Patent Document 1).

特開2000−106624号公報JP 2000-106624 A

ところで、改竄検出においては、正確に電子透かし情報を復元するとともに、データの編集、圧縮、伸張、ノイズ等の悪意のない変更と、悪意のある攻撃としての改竄とを区別して検出する必要がある。   By the way, in the falsification detection, it is necessary to accurately restore the digital watermark information, and to detect and distinguish between malicious changes such as data editing, compression, expansion, noise, and the like, and falsification as a malicious attack. .

ここで、画像データのウェーブレット領域における係数の特性として、深いレベルほど圧縮やノイズ等に強い耐性をもつことが挙げられる。また、圧縮やノイズ等は係数の変更量がそれほど大きくないため、埋め込まれた電子透かし情報の破損は分散傾向にある一方、改竄では破損が集中する傾向にある。   Here, as the characteristic of the coefficient in the wavelet region of the image data, it can be cited that the deeper the level, the stronger the resistance to compression and noise. Further, since the amount of change of the coefficient is not so large for compression, noise, and the like, the damage of the embedded digital watermark information tends to be distributed, but the damage tends to be concentrated in the falsification.

しかしながら、特許文献1に記載の発明では、これらの特徴を考慮することなく、画一的に多数決判定を行うため、画像データに強い圧縮やノイズがかけられた場合に、電子透かし情報の破損が増加して多数決が機能せず、電子透かし情報を復元できなくなったり、悪意のある改竄が検出できなくなるという問題があった。   However, in the invention described in Patent Document 1, since the majority decision is uniformly performed without considering these features, the digital watermark information is damaged when strong compression or noise is applied to the image data. There has been a problem that the majority vote does not work and the digital watermark information cannot be restored, and malicious tampering cannot be detected.

本発明はこのような状況に鑑みてなされたものであり、悪意のある改竄と圧縮・ノイズ等の悪意のない変更を区別して、正確に電子透かし情報を復元するとともに、改竄を的確に検出することができるようにするものである。   The present invention has been made in view of such circumstances, and distinguishes between malicious alterations and non-malicious changes such as compression / noise, accurately restores the digital watermark information, and accurately detects alterations. Is to be able to.

本発明の第1の側面の情報処理装置は、ウェーブレット変換されて電子透かし情報が埋め込まれた対象情報の改竄を検出する情報処理装置において、前記対象情報をウェーブレット変換する変換手段と、前記電子透かし情報を構成する複数の同一画素がそれぞれ埋め込まれる複数の埋め込み係数を検出する埋め込み係数検出手段と、前記埋め込み係数検出手段により検出された前記複数の埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドに応じて重み付けをして計数する計数手段と、前記計数手段による計数結果に基づいて、多数決に負けた埋め込み係数値を壊れ係数とし、前記ウェーブレット変換手段によりウェーブレット変換された前記対象情報において、サブバンドにわたって関連する係数群毎に、前記埋め込み係数の数と前記壊れ係数の数を算出する算出手段と、前記算出手段により算出された前記埋め込み係数の数と前記壊れ係数の数を、前記埋め込み係数および前記壊れ係数が属するサブバンドのレベルに応じて重み付けする重み付け手段と、前記重み付け手段により重み付けされた前記壊れ係数の数と、前記重み付け手段により重み付けされた前記埋め込み係数との比率に基づいて、前記係数群が改竄されたか否かを判定する判定手段と、前記判定手段による判定結果に基づいて、前記係数群の係数値を操作する操作手段とを備える。 The information processing apparatus according to the first aspect of the present invention is an information processing apparatus that detects falsification of target information that has been subjected to wavelet transform and embedded with digital watermark information, conversion means that performs wavelet transform on the target information, and the digital watermark An embedding coefficient detecting means for detecting a plurality of embedding coefficients in which a plurality of identical pixels constituting information are respectively embedded; and the subbands to which the embedding coefficients belong to the plurality of embedding coefficients detected by the embedding coefficient detecting means. In the target information subjected to wavelet transform by the wavelet transform unit, the embedding coefficient value defeated by majority vote is set as a breakage coefficient based on the counting result obtained by weighting according to For each group of coefficients related across the band, the embedding A calculation means for calculating the number of coefficients and the number of breakage coefficients; and the number of embedding coefficients and the number of breakage coefficients calculated by the calculation means are set to the level of the subband to which the embedding coefficient and the breakage coefficient belong. It is determined whether or not the coefficient group has been tampered with based on a ratio of weighting means weighted accordingly, the number of the broken coefficients weighted by the weighting means, and the embedding coefficient weighted by the weighting means. Determining means for performing the operation, and operating means for operating the coefficient values of the coefficient group based on the determination result by the determining means .

第1の側面の情報処理装置には、前記計数手段による計数結果に基づいて、多数決に勝った埋め込み係数値を前記電子透かし情報を構成する画素値として決定する決定手段をさらに設けることができる。   The information processing apparatus according to the first aspect may further include a determining unit that determines an embedding coefficient value that has won the majority decision as a pixel value constituting the digital watermark information based on a counting result by the counting unit.

前記操作手段は、前記比率が所定の閾値以下の場合には、前記係数群に含まれる前記壊れ係数を消去し、前記比率が所定の閾値より大きい場合には、前記係数群に含まれる前記埋め込み係数を壊れ係数に変更することができる。   The operation means deletes the breakage coefficient included in the coefficient group when the ratio is equal to or less than a predetermined threshold, and if the ratio is larger than the predetermined threshold, the embedding included in the coefficient group The factor can be changed to a failure factor.

前記電子透かし情報を構成する複数の同一画素は、ウェーブレット変換された対象情報における第1のサブバンドの係数から予めランダムに決定された埋め込み係数と関連する第2のサブバンドの関連係数に基づいて変調されて、前記埋め込み係数に埋め込まれているようにすることができる。   The plurality of identical pixels constituting the digital watermark information is based on a second subband related coefficient associated with an embedding coefficient randomly determined in advance from a first subband coefficient in wavelet transformed target information. It can be modulated and embedded in the embedding coefficient.

前記第1のサブバンドは、最低域のサブバンド以外のサブバンドであり、前記第2のサブバンドは、前記最低域のサブバンドであるようにすることができる。   The first subband may be a subband other than the lowest band subband, and the second subband may be the lowest band subband.

複数段のウェーブレット変換を随時行うと同時に、各段階のウェーブレット変換が行われる毎に、第1のサブバンドの係数から予めランダムに決定された埋め込み係数と関連する第2のサブバンドの関連係数を検出することができる。   At the same time as performing wavelet transforms of a plurality of stages, whenever a wavelet transform of each stage is performed, a related coefficient of a second subband related to an embedding coefficient randomly determined in advance from a coefficient of the first subband is obtained. Can be detected.

前記第1のサブバンドは、最高域のサブバンド以外のサブバンドであり、前記第2のサブバンドは、前記最高域のサブバンドであるようにすることができる。   The first subband may be a subband other than the highest band subband, and the second subband may be the highest band subband.

第1の側面の情報処理装置には、前記関連係数に基づいて復調を行う復調手段をさらに設け、前記計数手段には、前記復調手段により復調された前記埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドに応じて重み付けをして計数させることができる。   The information processing apparatus according to the first aspect further includes demodulation means for performing demodulation based on the related coefficient, and the counting means includes the embedding coefficient for each of the embedding coefficients demodulated by the demodulation means. Weighting can be performed according to the subband to which the subband belongs.

本発明の第1の情報処理方法、またはプログラムは、ウェーブレット変換されて電子透かし情報が埋め込まれた対象情報の改竄を検出する情報処理方法において、またはウェーブレット変換されて電子透かし情報が埋め込まれた対象情報の改竄を検出する処理をコンピュータに実行させるプログラムにおいて、前記対象情報をウェーブレット変換する変換ステップと、前記電子透かし情報を構成する複数の同一画素がそれぞれ埋め込まれる複数の埋め込み係数を検出する埋め込み係数検出ステップと、前記埋め込み係数検出ステップの処理で検出された前記複数の埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドに応じて重み付けをして計数する計数ステップと、前記計数ステップによる計数結果に基づいて、多数決に負けた埋め込み係数値を壊れ係数とし、前記変換ステップによりウェーブレット変換された前記対象情報において、サブバンドにわたって関連する係数群毎に、前記埋め込み係数の数と前記壊れ係数の数を算出する算出ステップと、前記算出ステップにより算出された前記埋め込み係数の数と前記壊れ係数の数を、前記埋め込み係数および前記壊れ係数が属するサブバンドのレベルに応じて重み付けする重み付けステップと、前記重み付けステップにより重み付けされた前記壊れ係数の数と、前記重み付けステップにより重み付けされた前記埋め込み係数との比率に基づいて、前記係数群が改竄されたか否かを判定する判定ステップと、前記判定ステップによる判定結果に基づいて、前記係数群の係数値を操作する操作ステップとを含む。 The first information processing method or program according to the present invention is an information processing method for detecting falsification of target information embedded with digital watermark information after wavelet conversion, or a target embedded with digital watermark information after wavelet conversion In a program for causing a computer to execute a process for detecting falsification of information, a transform step for performing wavelet transform on the target information, and an embedding coefficient for detecting a plurality of embedding coefficients each embedding a plurality of identical pixels constituting the digital watermark information A counting step for counting the plurality of embedding coefficients detected in the embedding coefficient detecting step by weighting according to a subband to which each embedding coefficient belongs, and a counting result by the counting step Based on the majority A calculation step of calculating the number of embedding coefficients and the number of breakage coefficients for each coefficient group related over subbands in the target information wavelet transformed by the transforming step as a lossy embedding coefficient value. The weighting step of weighting the number of embedding coefficients calculated by the calculating step and the number of breakage coefficients according to the level of the embedding coefficient and the subband to which the breakage coefficient belongs, and weighted by the weighting step Based on the ratio of the number of breakage coefficients and the embedding coefficient weighted in the weighting step, a determination step for determining whether or not the coefficient group has been tampered with, and a determination result by the determination step, And an operation step of operating coefficient values of the coefficient group .

以上のような第1の側面の情報処理装置、情報処理方法、またはプログラムにおいては、前記対象情報がウェーブレット変換され、前記電子透かし情報を構成する複数の同一画素がそれぞれ埋め込まれる複数の埋め込み係数が検出され、検出された前記複数の埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドに応じて重み付けがされて計数される。さらに、その計数結果に基づいて、多数決に負けた埋め込み係数値を壊れ係数とし、ウェーブレット変換された前記対象情報において、サブバンドにわたって関連する係数群毎に、前記埋め込み係数の数と前記壊れ係数の数が算出され、算出された前記埋め込み係数の数と前記壊れ係数の数が、前記埋め込み係数および前記壊れ係数が属するサブバンドのレベルに応じて重み付けされ、重み付けされた前記壊れ係数の数と、重み付けされた前記埋め込み係数との比率に基づいて、前記係数群が改竄されたか否かが判定され、その判定結果に基づいて、前記係数群の係数値が操作される。 In the information processing apparatus, the information processing method, or the program according to the first aspect as described above, the target information is subjected to wavelet transform, and a plurality of embedding coefficients in which a plurality of identical pixels constituting the digital watermark information are embedded respectively. The detected embedding coefficients are weighted and counted according to the subband to which each embedding coefficient belongs. Further, based on the count result, the embedding coefficient value lost to the majority decision is set as a breakage coefficient, and in the target information subjected to wavelet transform, the number of the embedding coefficients and the breakage coefficient for each related coefficient group over the subbands. A number is calculated, the calculated number of embedding coefficients and the number of break coefficients are weighted according to the level of the embedding coefficient and the subband to which the break coefficient belongs, and the number of weighted break coefficients, It is determined whether or not the coefficient group has been tampered with based on the ratio with the weighted embedding coefficient, and the coefficient value of the coefficient group is manipulated based on the determination result.

本発明の第1の側面によれば、効率よく、かつ安全に電子透かし情報を埋め込みまたは抽出することができる。   According to the first aspect of the present invention, digital watermark information can be embedded or extracted efficiently and safely.

本発明を適用した画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus to which this invention is applied. ウェーブレット変換を説明する図である。It is a figure explaining wavelet transformation. 図1の埋め込み部13の電子透かし埋め込み処理を説明するフローチャートである。It is a flowchart explaining the digital watermark embedding process of the embedding part 13 of FIG. 図3のステップS4の処理を説明する図である。It is a figure explaining the process of step S4 of FIG. 図3のステップS4の処理を説明する他の図である。It is another figure explaining the process of step S4 of FIG. 図3のステップS4の処理を説明する他の図である。It is another figure explaining the process of step S4 of FIG. 図3のステップS5およびステップS6の処理を説明する図である。It is a figure explaining the process of step S5 of FIG. 3, and step S6. 本発明を適用した画像処理装置41の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus 41 to which this invention is applied. 図8の改竄検出部53の電子透かし抽出処理を説明するフローチャートである。It is a flowchart explaining the digital watermark extraction process of the falsification detection part 53 of FIG. 図9のステップS23乃至ステップS26の処理を説明する図である。It is a figure explaining the process of step S23 thru | or step S26 of FIG. 図9のステップS27およびステップS28の処理を説明する図である。It is a figure explaining the process of step S27 of FIG. 9, and step S28. 改竄検出用画像の例を示す図である。It is a figure which shows the example of the image for a falsification detection. 重みに応じた破損率を示す図である。It is a figure which shows the failure rate according to a weight. 図8の画像処理部54における画像処理を説明するフローチャートである。It is a flowchart explaining the image process in the image process part 54 of FIG. 図14のステップS52の処理を説明する図である。It is a figure explaining the process of step S52 of FIG. 図14のステップS52の処理を説明する他の図である。It is another figure explaining the process of step S52 of FIG. 図14のステップS55の処理を説明する図である。It is a figure explaining the process of step S55 of FIG. 対象画像の例を示す図である。It is a figure which shows the example of a target image. 対象画像の例を示す図である。It is a figure which shows the example of a target image. 本発明を適用した画像処理装置1の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of the image processing apparatus 1 to which this invention is applied. 図19の埋め込み部101における電子透かし埋め込み処理を説明するフローチャートである。20 is a flowchart illustrating digital watermark embedding processing in the embedding unit 101 of FIG. 図20のステップS84およびステップS85の処理を説明する図である。It is a figure explaining the process of step S84 and step S85 of FIG. 重みに応じた破損率を示す他の図である。It is another figure which shows the failure rate according to a weight. 電子透かし画像の埋め込み方法を説明する図である。It is a figure explaining the embedding method of a digital watermark image. 電子透かし画像の埋め込み方法を説明する他の図である。It is another figure explaining the embedding method of a digital watermark image. 電子透かし画像の埋め込み方法を説明する他の図である。It is another figure explaining the embedding method of a digital watermark image. コンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of a computer.

符号の説明Explanation of symbols

1 画像処理装置, 12 ウェーブレット変換部, 13 電子透かし埋め込み部, 14 逆ウェーブレット変換部, 52 ウェーブレット変換部, 53 改竄検出部, 101 電子透かし埋め込み部   DESCRIPTION OF SYMBOLS 1 Image processing apparatus, 12 Wavelet transformation part, 13 Digital watermark embedding part, 14 Inverse wavelet transformation part, 52 Wavelet transformation part, 53 Tamper detection part, 101 Digital watermark embedding part

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明を適用した画像処理装置1の構成例を示している。この画像処理装置1は、電子透かし情報としての2値画像の電子透かし画像Wを、電子透かし画像Wを埋め込む対象となる対象画像F(例えば、デジタルカメラで撮像された画像)に埋め込むことができる。   FIG. 1 shows a configuration example of an image processing apparatus 1 to which the present invention is applied. The image processing apparatus 1 can embed a digital watermark image W of a binary image as digital watermark information in a target image F (for example, an image captured by a digital camera) to be embedded. .

入力部11には、対象画像F、電子透かし画像W、および電子透かし画像Wの埋め込みに必要な係数選択鍵Cが入力される。係数選択鍵Cには、電子透かし画像Wを構成する1画素の埋め込み数(複製数)、電子透かし画像Wを埋め込む対象画像Fの係数(以下、埋め込み係数と称する)、および埋め込む強さを示す量子化パラメータが含まれている。   The input unit 11 receives the target image F, the digital watermark image W, and the coefficient selection key C necessary for embedding the digital watermark image W. The coefficient selection key C indicates the number of embedded pixels (the number of copies) constituting the digital watermark image W, the coefficient of the target image F in which the digital watermark image W is embedded (hereinafter referred to as an embedded coefficient), and the embedding strength. Quantization parameters are included.

埋め込み係数は、サブバンドLL3を除く、サブバンドHL1、HH1、LH1、HL2、HH2、LH2、HL3、HH3、またはLH3の中からランダムに予め決定されている。例えば図4の例では、レベル1のサブバンドHL1およびサブバンドLH1から係数P1および係数P2が、レベル2のサブバンドHH2から係数P3が、そしてレベル3のサブバンドLH3から係数P4が、それぞれ埋め込み係数として決定される。   The embedding coefficient is randomly determined in advance from the subbands HL1, HH1, LH1, HL2, HH2, LH2, HL3, HH3, or LH3 excluding the subband LL3. For example, in the example of FIG. 4, coefficient P1 and coefficient P2 from level 1 subband HL1 and subband LH1, coefficient P3 from level 2 subband HH2 and coefficient P4 from level 3 subband LH3 are embedded, respectively. Determined as a coefficient.

入力部11は、入力した対象画像Fをウェーブレット変換部12に供給し、入力した電子透かし画像Wおよび係数選択鍵Cを電子透かし埋め込み部13に供給する。   The input unit 11 supplies the input target image F to the wavelet transform unit 12, and supplies the input digital watermark image W and coefficient selection key C to the digital watermark embedding unit 13.

ウェーブレット変換部12は、入力部11から供給される対象画像Fに対して、ウェーブレット変換を行い、その結果得られた周波数変換された対象画像Fの係数を、電子透かし埋め込み部13に供給する。   The wavelet transform unit 12 performs wavelet transform on the target image F supplied from the input unit 11, and supplies the frequency-converted coefficient of the target image F to the digital watermark embedding unit 13.

ウェーブレット変換部12においては、画像の2次元のレベル分布が重み付けが可能な圧縮しやすいデータに周波数変換される。   In the wavelet transform unit 12, the two-dimensional level distribution of the image is frequency-transformed into data that can be weighted and is easily compressed.

具体的には、対象画像Fのピクセルデータを高域成分と低域成分に2分していく処理を繰り返すことにより、対象画像Fが複数の周波数帯域に分解される。   Specifically, the target image F is decomposed into a plurality of frequency bands by repeating the process of dividing the pixel data of the target image F into a high frequency component and a low frequency component.

例えば、高域成分と低域成分に2分していく処理を3段階行う場合、はじめに例えば図2のAの対象画像Fのピクセルデータに対して処理が行われ、対象画像Fが、図2のBに示すように、「低域|低域」のサブバンドLL1、「低域|高域」のサブバンドLH1、「高域|低域」のサブバンドHL1、および「高域|高域」のサブバンドHH1に分解される。なおこの処理で得られたサブバンドLL1、LH1、HL1、またはHH1を、適宜、レベル1のサブバンドと称する。   For example, when performing the process of dividing the high frequency component into the low frequency component in three stages, first, for example, the processing is performed on the pixel data of the target image F in FIG. Subband LL1 of "low range | low range", subband LH1 of "low range | high range", subband HL1 of "high range | low range", and "high range | high range" To subband HH1. The subbands LL1, LH1, HL1, or HH1 obtained by this processing are appropriately referred to as level 1 subbands.

次に2回目の処理が、最低域のサブバンドLL1に対して行われ、サブバンドLL1が、図2のCに示すように、「低域|低域」のサブバンドLL2、「低域|高域」のサブバンドLH2、「高域|低域」のサブバンドHL2、および「高域|高域」のサブバンドHH2に分解される。なおこの処理で得られたサブバンドLL2、LH2、HL2、またはHH2を、適宜、レベル2のサブバンドと称する。   Next, the second processing is performed on the subband LL1 in the lowest band. As shown in FIG. 2C, the subband LL1 is subband LL2 of “low band | low band”, “low band | It is decomposed into a subband LH2 of “high frequency”, a subband HL2 of “high frequency | low frequency”, and a subband HH2 of “high frequency | high frequency”. The subbands LL2, LH2, HL2, or HH2 obtained by this processing are referred to as level 2 subbands as appropriate.

そして3回目の処理が、最低域のサブバンドLL2に対して行われ、サブバンドLL2が、図2のDに示すように、「低域|低域」のサブバンドLL3、「低域|高域」のサブバンドLH3、「高域|低域」のサブバンドHL3、および「高域|高域」のサブバンドHH3に分解される。なおこの処理で得られたサブバンドLL3、LH3、HL3、またはHH3を、適宜、レベル3のサブバンドと称する。   Then, the third processing is performed on the subband LL2 in the lowest band, and the subband LL2 is subband LL3 in “low band | low band”, “low band | high band” as shown in D of FIG. The subband LH3 of “band”, the subband HL3 of “high band | low band”, and the subband HH3 of “high band | high band” are decomposed. The subbands LL3, LH3, HL3, or HH3 obtained by this processing are appropriately referred to as level 3 subbands.

図1に戻り電子透かし埋め込み部(以下、埋め込み部と略称する)13は、ウェーブレット変換部12から供給された対象画像Fの1フレーム分の係数に、入力部11から供給された電子透かし画像Wを、同様に入力部11から供給された係数選択鍵Cに応じて埋め込み、その結果得られた係数を、逆ウェーブレット変換部14に供給する。埋め込み部13はまた、電子透かし画像Wを抽出するために必要な係数選択鍵Cを、出力部15に供給する。   Returning to FIG. 1, the digital watermark embedding unit (hereinafter abbreviated as an embedding unit) 13 adds the digital watermark image W supplied from the input unit 11 to the coefficient of one frame of the target image F supplied from the wavelet transform unit 12. Are similarly embedded according to the coefficient selection key C supplied from the input unit 11, and the coefficient obtained as a result is supplied to the inverse wavelet transform unit 14. The embedding unit 13 also supplies the output unit 15 with a coefficient selection key C necessary for extracting the digital watermark image W.

逆ウェーブレット変換部14は、埋め込み部13から供給された係数に対して、逆ウェーブレット変換を行い(図2に示した処理と逆の処理を行い)、電子透かし画像Wが埋め込まれた対象画像F(対象画像F’)を生成し、出力部15に供給する。   The inverse wavelet transform unit 14 performs inverse wavelet transform on the coefficients supplied from the embedding unit 13 (performs the reverse of the process shown in FIG. 2), and the target image F in which the digital watermark image W is embedded. (Target image F ′) is generated and supplied to the output unit 15.

出力部15は、逆ウェーブレット変換部14から供給された対象画像F’と、埋め込み部13から供給された係数選択鍵Cを、外部の装置(例えば、図8の画像処理装置41)に供給する。   The output unit 15 supplies the target image F ′ supplied from the inverse wavelet transform unit 14 and the coefficient selection key C supplied from the embedding unit 13 to an external device (for example, the image processing device 41 in FIG. 8). .

次に、画像処理装置1の埋め込み部13における電子透かし埋め込み処理を、図3のフローチャートを参照して説明する。   Next, the digital watermark embedding process in the embedding unit 13 of the image processing apparatus 1 will be described with reference to the flowchart of FIG.

ステップS1において、埋め込み部13は、ウェーブレット変換部12から、1フレーム分の対象画像Fの係数(図2のD)を入力する。   In step S1, the embedding unit 13 inputs the coefficient (D in FIG. 2) of the target image F for one frame from the wavelet transform unit 12.

ステップS2において、埋め込み部13は、入力部11から供給された電子透かし画像Wの1画素を選択する。   In step S <b> 2, the embedding unit 13 selects one pixel of the digital watermark image W supplied from the input unit 11.

次にステップS3において、埋め込み部13は、ステップS2で選択した電子透かし画像Wの画素の画素値(以下、透かしビットと称する)を、入力部11から供給された係数選択鍵Cに示される複製数だけ複製する。   Next, in step S3, the embedding unit 13 copies the pixel value of the pixel of the digital watermark image W selected in step S2 (hereinafter referred to as a watermark bit) indicated by the coefficient selection key C supplied from the input unit 11. Duplicate the number.

次にステップS4において、埋め込み部13は、係数選択鍵Cにより与えられた埋め込み係数に関連するサブバンドLL3上の係数(関連係数)を検出する。   In step S4, the embedding unit 13 detects a coefficient (related coefficient) on the subband LL3 related to the embedding coefficient given by the coefficient selection key C.

ウェーブレット変換係数においては、レベルr(r=1,2)のサブバンド上の座標(x,y)の係数と、レベルr+1のサブバンド上の座標(x/2,y/2)の係数とは、近寄った性質を有していること(すなわち、空間的な相関が高いこと)が知られている(以下、この関係を、親子関係と称する)。   In the wavelet transform coefficient, the coefficient of the coordinate (x, y) on the subband of level r (r = 1, 2) and the coordinate (x / 2, y / 2) of the subband of level r + 1 The coefficient is known to have a close property (that is, high spatial correlation) (this relationship is hereinafter referred to as a parent-child relationship).

そこで本発明ではこの親子関係を利用し、図5に示すように、レベル1のサブバンドの座標(x1,y1)の埋め込み係数からは、レベル3のサブバンドLL3の座標(x1/4,y1/4)の係数が、レベル2のサブバンドの座標(x2,y2)の埋め込み係数からは、サブバンドLL3の座標(x2/2,y2/2)の係数が、そしてレベル3のサブバンド(サブバンドLL3を除く)の座標(x3,y3)の埋め込み係数からは、サブバンドLL3の座標(x3,y3)の係数が、それぞれ埋め込み係数に関連するサブバンドLL3の係数として検出される。   Therefore, in the present invention, this parent-child relationship is used, and as shown in FIG. 5, the level 3 subband LL3 coordinates (x1 / 4, y1) are calculated from the embedding coefficients of the level 1 subband coordinates (x1, y1). / 4) from the embedding coefficients of the subband coordinates (x2, y2) of the level 2 sub-band, the coefficients of the subband LL3 coordinates (x2 / 2, y2 / 2) and the subband of the level 3 ( From the embedding coefficients of the coordinates (x3, y3) of the subband LL3), the coefficients of the coordinates (x3, y3) of the subband LL3 are respectively detected as the coefficients of the subband LL3 related to the embedding coefficients.

この親子関係を空間上に表すと、図6に示すことができる。   This parent-child relationship can be represented in space as shown in FIG.

また図4の例の場合、係数P1からは係数Q1が、係数P2からは係数Q2が、係数P3からは係数Q3が、そして係数P4からは係数Q4が、それぞれ関連するサブバンドLL3の係数として検出されるものとする。   In the example of FIG. 4, the coefficient P1 is the coefficient Q1, the coefficient P2 is the coefficient Q2, the coefficient P3 is the coefficient Q3, and the coefficient P4 is the coefficient Q4 as the coefficient of the associated subband LL3. Shall be detected.

次にステップS5において、埋め込み部13は、ステップS4で検出したサブバンドLL3の係数のそれぞれに対して、例えばその係数に隣接する3個の係数を検出するとともに、この3個の係数と、ステップS4で検出したサブバンドLL3の係数との合計4個の係数(以下、この4個の係数を、適宜、対応係数と称する)の係数値の平均値を算出し、それを量子化して2進値(1または0)に変換する。   Next, in step S5, the embedding unit 13 detects, for example, three coefficients adjacent to the coefficient of the subband LL3 detected in step S4, and the three coefficients and step An average value of coefficient values of a total of four coefficients (hereinafter, these four coefficients are appropriately referred to as corresponding coefficients) with the coefficients of the subband LL3 detected in S4 is calculated, and quantized to be binary Convert to value (1 or 0).

図4の係数Q1(例えば座標(xq1,yq1))に対して、図7に示すように、係数Q1に隣接する座標(xq1,yq1+1)、(xq1+1,yq1)、および(xq1+1,yq1+1)の3個の係数が検出され、係数Q1とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値r1が得られる。係数Q2(例えば座標(xq2,yq2))に対して、座標(xq2,yq2+1)、(xq2+1,yq2)、および(xq2+1,yq2+1)の3個の係数が検出され、係数Q2とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値r2が得られる。   For the coefficient Q1 in FIG. 4 (for example, coordinates (xq1, yq1)), as shown in FIG. 7, the coordinates (xq1, yq1 + 1), (xq1 + 1, yq1) adjacent to the coefficient Q1 and (xq1 + 1, yq1 + 1) Three coefficients are detected, an average value of the coefficient Q1 and the coefficient value of the three coefficients is calculated, and quantized to obtain a binary value r1. For coefficient Q2 (for example, coordinates (xq2, yq2)), three coefficients of coordinates (xq2, yq2 + 1), (xq2 + 1, yq2), and (xq2 + 1, yq2 + 1) are detected, and coefficient Q2 and its three An average value of coefficient values is calculated and quantized to obtain a binary value r2.

また係数Q3(例えば座標(xq3,yq3))に対して、座標(xq3,yq3+1)、(xq3+1,yq3)、および(xq3+1,yq3+1)の3個の係数が検出され、係数Q3とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値r3が得られる。係数Q4(例えば座標(xq4,yq4))に対して、座標(xq4,yq4+1)、(xq4+1,yq4)、および(xq4+1,yq4+1)の3個の係数が検出され、係数Q4とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値r4が得られる。   For the coefficient Q3 (for example, coordinates (xq3, yq3)), three coefficients of coordinates (xq3, yq3 + 1), (xq3 + 1, yq3), and (xq3 + 1, yq3 + 1) are detected. The average value of the coefficient values is calculated and quantized to obtain a binary value r3. For coefficient Q4 (for example, coordinates (xq4, yq4)), three coefficients of coordinates (xq4, yq4 + 1), (xq4 + 1, yq4), and (xq4 + 1, yq4 + 1) are detected, and coefficient Q4 and its three The average value of the coefficient values of the coefficients is calculated and quantized to obtain a binary value r4.

次にステップS6において、埋め込み部13は、ステップS3で複製した透かしビットのそれぞれと、ステップS5で得られた平均値の2進値のそれぞれとの排他的論理和演算(XOR)を行い(すなわち透かしビットを、ステップS5で得られた平均値の2進値で変調し)、その結果得られた値(以下、変調ビットと称する)を、係数選択鍵Cに含まれる量子化ステップの強さに応じて埋め込む。   Next, in step S6, the embedding unit 13 performs an exclusive OR operation (XOR) on each of the watermark bits copied in step S3 and each of the binary values of the average values obtained in step S5 (that is, The watermark bit is modulated with the binary value of the average value obtained in step S5), and the resulting value (hereinafter referred to as modulation bit) is the strength of the quantization step included in the coefficient selection key C. Embed according to.

図7の例では、透かしビットwaと値r1との排他的論理和演算(XOR)の結果得られた変調ビットwa1が係数P1の係数値とされ、透かしビットwaと値r2とのXORの結果得られた変調ビットwa2が係数P2の係数値とされ、透かしビットwaと値r3とのXORの結果得られた変調ビットwa3が係数P3の係数値とされ、透かしビットwaと値r4とのXORの結果得られた変調ビットwa4が係数P4の係数値とされる。   In the example of FIG. 7, the modulation bit wa1 obtained as a result of the exclusive OR operation (XOR) of the watermark bit wa and the value r1 is the coefficient value of the coefficient P1, and the result of the XOR of the watermark bit wa and the value r2 The obtained modulation bit wa2 is the coefficient value of the coefficient P2, the modulation bit wa3 obtained as a result of the XOR of the watermark bit wa and the value r3 is the coefficient value of the coefficient P3, and the XOR of the watermark bit wa and the value r4 The modulation bit wa4 obtained as a result of is used as the coefficient value of the coefficient P4.

ステップS7において、埋め込み部13は、電子透かし画像Wのすべての画素を選択したか否かを判定し、まだ選択していない画素が残っていると判定した場合、ステップS2に戻り、次の画素を選択して、ステップS3以降の処理を同様に実行する。   In step S7, the embedding unit 13 determines whether or not all the pixels of the digital watermark image W have been selected, and if it is determined that there are still pixels that have not been selected, the process returns to step S2 to return to the next pixel. Is selected, and the processing after step S3 is similarly executed.

ステップS7で、すべての画素を選択したと判定した場合、埋め込み部13は、電子透かし埋め込み処理を終了する。   If it is determined in step S7 that all the pixels have been selected, the embedding unit 13 ends the digital watermark embedding process.

以上のような処理が、電子透かし画像Wが埋め込まれる対象画像Fが入力される毎に行われる。   The above processing is performed every time the target image F in which the digital watermark image W is embedded is input.

以上のように、電子透かし情報を埋め込む際に、埋め込み係数をランダムに決定するようにしたので(ステップS3)、第三者による埋め込み係数の特定が困難になる。例えば特許文献1の方法では、電子透かし情報を埋め込む係数を絶対値がn番目に大きい係数と限定しているので、電子透かし情報が埋め込まれた係数が特定しやすい。   As described above, since the embedding coefficient is randomly determined when embedding the digital watermark information (step S3), it becomes difficult to specify the embedding coefficient by a third party. For example, in the method of Patent Document 1, the coefficient in which the digital watermark information is embedded is limited to the coefficient whose absolute value is the nth largest, so that the coefficient in which the digital watermark information is embedded can be easily specified.

また以上のように、ランダムに決定された埋め込み係数に対して埋め込み処理がなされるので(ステップS4乃至ステップS6)、効率よく埋め込み処理を行うことができる。
例えば特許文献1の方法では、絶対値がn番目の係数を検出するために、全係数を走査する必要があるので、処理に時間がかかる。
As described above, since the embedding process is performed on the embedding coefficient determined at random (steps S4 to S6), the embedding process can be performed efficiently.
For example, in the method of Patent Document 1, since it is necessary to scan all the coefficients in order to detect the n-th coefficient having an absolute value, the processing takes time.

また、電子透かし情報と、電子透かし情報が埋め込まれた係数の関連性に基づいて係数値を操作し、あたかも電子透かし情報が埋め込まれているかのように偽装する、いわゆるCollage Attackでは、電子透かし情報と、電子透かし情報が埋め込まれた係数の関連性に基づいて係数値が操作されて改竄が行われるので、その防御策としては、電子透かし情報が埋め込まれた係数と、それとは別の位置の係数とを何らかの関係で対応付けることが有効とされている。例えば、電子透かし情報が埋め込まれる係数とその隣の係数の大小を調べ、電子透かし情報が埋め込まれる係数の方が大きければ0、隣の係数が大きければ1とするようにして、その値が埋め込まれるようにする方法である。   In the so-called Collage Attack, which manipulates the coefficient value based on the relationship between the digital watermark information and the coefficient in which the digital watermark information is embedded, the digital watermark information is disguised as if the digital watermark information is embedded. Since the coefficient value is manipulated based on the relevance of the coefficient in which the digital watermark information is embedded and tampering is performed, as a countermeasure, the coefficient in which the digital watermark information is embedded and It is effective to associate the coefficients with some relationship. For example, the coefficient in which the digital watermark information is embedded and the adjacent coefficient are checked, and if the coefficient in which the digital watermark information is embedded is larger, it is set to 0, and if the adjacent coefficient is larger, the value is embedded. It is a method to make it.

そこで以上のように、埋め込み係数と、それに関連する最低域サブバンド(この例の場合、サブバンドLL3)を対応付けて埋め込まれる値(変調ビット)を決定するようにしたので(ステップS4乃至ステップS6)、Collage Attackを防御することができる。   Therefore, as described above, the value (modulation bit) to be embedded is determined by associating the embedding coefficient with the associated lowest band subband (in this case, subband LL3) (step S4 to step S4). S6), Collage Attack can be defended.

次に、図8を参照して、図1の画像処理装置1により電子透かし画像Wが埋め込まれた対象画像F(対象画像F’)から、電子透かし画像Wを抽出する画像処理装置41について説明する。   Next, an image processing device 41 that extracts the digital watermark image W from the target image F (target image F ′) in which the digital watermark image W is embedded by the image processing device 1 of FIG. 1 will be described with reference to FIG. To do.

入力部51には、図1の画像処理装置1より出力された、対象画像F’および電子透かし情報抽出のための係数選択鍵Cが入力される。   The input unit 51 receives the target image F ′ and the coefficient selection key C for extracting digital watermark information output from the image processing apparatus 1 of FIG.

入力部51は、入力した対象画像F’をウェーブレット変換部52に供給し、入力した係数選択鍵Cを改竄検出部53および画像処理部54に供給する。   The input unit 51 supplies the input target image F ′ to the wavelet transform unit 52 and supplies the input coefficient selection key C to the falsification detection unit 53 and the image processing unit 54.

ウェーブレット変換部52は、入力部51から供給された対象画像F’に対して、図1に示すウェーブレット変換部12と同じウェーブレット変換を行い(図2)、その結果得られた1フレーム分の対象画像F’の係数を、改竄検出部53および画像処理部54に供給する。   The wavelet transform unit 52 performs the same wavelet transform as the wavelet transform unit 12 shown in FIG. 1 on the target image F ′ supplied from the input unit 51 (FIG. 2), and the target for one frame obtained as a result thereof The coefficient of the image F ′ is supplied to the falsification detection unit 53 and the image processing unit 54.

改竄検出部53は、ウェーブレット変換部52から供給された対象画像F’の係数から、係数選択鍵Cに基づいて電子透かし画像Wを抽出するとともに、その際に得られた改竄情報を、画像処理部54に供給する。   The falsification detection unit 53 extracts the digital watermark image W from the coefficient of the target image F ′ supplied from the wavelet transform unit 52 based on the coefficient selection key C, and the falsification information obtained at that time is subjected to image processing. Supplied to the unit 54.

画像処理部54は、ウェーブレット変換部52から供給された対象画像F’の係数に対して、入力部51から供給された係数選択鍵Cおよび改竄検出部53から供給された改竄情報に応じて係数操作を行う。   The image processing unit 54 applies coefficients to the coefficients of the target image F ′ supplied from the wavelet transform unit 52 according to the coefficient selection key C supplied from the input unit 51 and the falsification information supplied from the falsification detection unit 53. Perform the operation.

次に、改竄検出部53における電子透かし画像および改竄検出用画像の抽出処理を、図9のフローチャートを参照して説明する。   Next, extraction processing of the digital watermark image and the falsification detection image in the falsification detection unit 53 will be described with reference to the flowchart of FIG.

ステップS21において、改竄検出部53は、ウェーブレット変換部52から、1フレーム分の対象画像F’の係数を入力する。   In step S <b> 21, the falsification detection unit 53 inputs the coefficient of the target image F ′ for one frame from the wavelet transform unit 52.

次にステップS22において、改竄検出部53は、入力部51から供給された係数選択鍵Cから、電子透かし画像Wの1画素についての係数選択鍵を読み出す。   Next, in step S <b> 22, the falsification detection unit 53 reads the coefficient selection key for one pixel of the digital watermark image W from the coefficient selection key C supplied from the input unit 51.

ステップS23において、改竄検出部53は、読み出した係数選択鍵に基づいて、ステップS21で入力した1フレーム分の係数の中から、埋め込み係数(ステップS22で選択された1画素の透かしビットが埋め込まれている埋め込み係数)を検出する。   In step S23, the falsification detection unit 53 embeds the embedding coefficient (the watermark bit of one pixel selected in step S22 from the coefficients for one frame input in step S21 based on the read coefficient selection key. Detection).

例えば図7に示すように電子透かし画像Wが埋め込まれた対象画像Fから電子透かし画像Wを抽出する場合、図10に示すように、図7における場合と同様にレベル1のサブバンドHL1の係数P1およびサブバンドLH1の係数P2が、レベル2のサブバンドHH2から係数P3が、そしてレベル3のサブバンドLH3から係数P4が、それぞれ埋め込み係数として検出される。   For example, when the digital watermark image W is extracted from the target image F in which the digital watermark image W is embedded as shown in FIG. 7, as shown in FIG. 10, the coefficients of the level 1 subband HL1 are the same as in FIG. Coefficient P2 of P1 and subband LH1, coefficient P3 from level 2 subband HH2, and coefficient P4 from level 3 subband LH3 are detected as embedding coefficients, respectively.

次にステップS24において、改竄検出部53は、ウェーブレット変換の親子関係に基づいて、検出した埋め込み係数に関連するサブバンドLL3の係数を検出する。   In step S24, the falsification detection unit 53 detects the coefficient of the subband LL3 related to the detected embedding coefficient based on the parent-child relationship of the wavelet transform.

図10の例の場合、図7における場合と同様に、係数P1から係数Q1が、係数P2から係数Q2が、係数P3から係数Q3が、そして係数P4から係数Q4が、それぞれ関連するサブバンドLL3の係数として検出される。   In the case of the example of FIG. 10, as in the case of FIG. 7, the subband LL3 associated with the coefficient P1 to the coefficient Q1, the coefficient P2 to the coefficient Q2, the coefficient P3 to the coefficient Q3, and the coefficient P4 to the coefficient Q4, respectively. It is detected as a coefficient.

ステップS25において、改竄検出部53は、ステップS24で検出したサブバンドLL3の係数のそれぞれに対して、例えばその係数に隣接する3個の係数を検出するとともに、その3個の係数と、ステップS24で検出したサブバンドLL3の係数との合計4個の係数(対応係数)の係数値の平均値を算出し、それを量子化して2進値に変換する。   In step S25, the falsification detection unit 53 detects, for example, three coefficients adjacent to the coefficient for each of the coefficients of the subband LL3 detected in step S24, and the three coefficients and step S24. The average value of the coefficient values of a total of four coefficients (corresponding coefficients) with the coefficients of the subband LL3 detected in (5) is calculated, quantized, and converted into a binary value.

図10の例の場合は、図7における場合と同様に、係数Q1(座標(xq1,yq1))に対して、座標(xq1,yq1+1)、(xq1+1,yq1)、および(xq1+1,yq1+1)の3個の係数が検出され、係数Q1とその3個の係数の係数値の平均値が算出され、それが量子化されて2進数値r1’が得られる。係数Q2(座標(xq2,yq2))に対して、座標(xq2,yq2+1)、(xq2+1,yq2)、および(xq2+1,yq2+1)の3個の係数が検出され、係数Q2とその3個の係数の係数値の平均値が算出され、それが量子化されて2進数値r2’が得られる。   In the case of the example of FIG. 10, as in the case of FIG. 7, the coordinates (xq1, yq1 + 1), (xq1 + 1, yq1), and (xq1 + 1, yq1 + 1) are applied to the coefficient Q1 (coordinates (xq1, yq1)). Three coefficients are detected, an average value of the coefficient Q1 and the coefficient value of the three coefficients is calculated, and quantized to obtain a binary value r1 ′. For coefficient Q2 (coordinates (xq2, yq2)), three coefficients of coordinates (xq2, yq2 + 1), (xq2 + 1, yq2), and (xq2 + 1, yq2 + 1) are detected, and coefficient Q2 and its three coefficients An average value of the coefficient values is calculated and quantized to obtain a binary value r2 '.

また係数Q3(座標(xq3,yq3))に対して、座標(xq3,yq3+1)、(xq3+1,yq3)、および(xq3+1,yq3+1)の3個の係数が検出され、係数Q3とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値r3’が得られる。係数Q4(座標(xq4,yq4))に対して、座標(xq4,yq4+1)、(xq4+1,yq4)、および(xq4+1,yq4+1)の3個の係数が検出され、係数Q4とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値r4’が得られる。   Also, for the coefficient Q3 (coordinates (xq3, yq3)), three coefficients of coordinates (xq3, yq3 + 1), (xq3 + 1, yq3), and (xq3 + 1, yq3 + 1) are detected, and the coefficient Q3 and its three The average value of the coefficient values of the coefficients is calculated and quantized to obtain a binary value r3 ′. For coefficient Q4 (coordinates (xq4, yq4)), three coefficients of coordinates (xq4, yq4 + 1), (xq4 + 1, yq4), and (xq4 + 1, yq4 + 1) are detected, and coefficient Q4 and its three coefficients The average value of the coefficient values is calculated and quantized to obtain a binary value r4 '.

ステップS26において、改竄検出部53は、ステップS23で検出した埋め込み係数の係数値(変調ビット(図3のステップS6))のそれぞれと、対応するステップS25で得られた平均値の2進値のそれぞれとのXORをとり(すなわち変調ビットを、ステップS25で得られた平均値の2進値で復調し)、その結果得られた値(以下、復調ビットと称する)を、ステップS22で選択した電子透かし画像Wの画素の画素値(透かしビット)の候補とする。   In step S26, the falsification detection unit 53 calculates each of the embedding coefficient coefficient values (modulation bits (step S6 in FIG. 3)) detected in step S23 and the binary value of the average value obtained in the corresponding step S25. XOR with each other (that is, the modulation bit is demodulated with the binary value of the average value obtained in step S25), and the resulting value (hereinafter referred to as the demodulation bit) is selected in step S22 The pixel value (watermark bit) of the pixel of the digital watermark image W is a candidate.

図10の例の場合、変調ビットwa1’と値r1’とのXORの結果得られた復調ビットwb1、変調ビットwa2’と値r2’とのXORの結果得られた復調ビットwb2、変調ビットwa3’と値r3’とのXORの結果得られた復調ビットwb3、および変調ビットwa4’と値r4’とのXORの結果得られた復調ビットwb4のそれぞれが、透かしビットの候補とされる。   In the case of the example of FIG. 10, the demodulated bit wb1 obtained as a result of the XOR between the modulation bit wa1 'and the value r1', the demodulated bit wb2 obtained as the result of the XOR between the modulation bit wa2 'and the value r2', and the modulation bit wa3 The demodulated bit wb3 obtained as a result of XOR between 'and the value r3' and the demodulated bit wb4 obtained as a result of the XOR between the modulated bit wa4 'and the value r4' are set as watermark bit candidates.

次にステップS27において、改竄検出部53は、ステップS26で得られた透かしビットの候補としての復調ビットを、復調ビットの属するサブバンドのレベルに応じて重み付けてカウントし、その結果に基づいて多数決をとり、勝った復調ビット(以下、勝ちビットと称する)と負けた復調ビット(以下、負けビットと称する)を決定する。   Next, in step S27, the falsification detection unit 53 counts the demodulated bits as the watermark bit candidates obtained in step S26 with weighting according to the level of the subband to which the demodulated bits belong, and determines the majority based on the result. Then, a winning demodulated bit (hereinafter referred to as a winning bit) and a losing demodulated bit (hereinafter referred to as a losing bit) are determined.

例えば、レベル1に属するサブバンドの復調ビットについての重みを1とし、レベル2に属するサブバンドの復調ビットについての重みを6とし、そしてレベル3に属するサブバンドの復調ビットについての重みを8とし、それぞれ重みが乗算された数の復調ビットが用意され、その中で多いビットと少ないビットが検出される。   For example, a weight for a demodulated bit of a subband belonging to level 1 is set to 1, a weight for a demodulated bit of a subband belonging to level 2 is set to 6, and a weight of a demodulated bit of a subband belonging to level 3 is set to 8. , The number of demodulated bits multiplied by the weight is prepared, among which many bits and few bits are detected.

図10の例の場合において、復調ビットwb1,wb4,wb3,wb2が、図11に示すように、0,0,0,1であるとき、レベル1の復調ビットwb1としての値0が1個、レベル3の復調ビットwb4としての値0が8個、レベル2の復調ビットwb3としての値0が6個、そしてレベル1の復調ビットwb2としての値1が1個、すなわち15個の値0と、1個の値1が用意される。   In the case of the example of FIG. 10, when the demodulated bits wb1, wb4, wb3, and wb2 are 0, 0, 0, and 1 as shown in FIG. 11, one value 0 as the demodulated bit wb1 of level 1 is one. 8 values 0 as level 3 demodulation bits wb4, 6 values 0 as level 2 demodulation bits wb3, and 1 value 1 as level 1 demodulation bits wb2, that is, 15 values 0 One value 1 is prepared.

従ってこの例の場合、値0が15個で、値1が1個となるので、値0が勝ちビット、そして値1が負けビットとして検出される。   Therefore, in this example, since the value 0 is 15 and the value 1 is 1, the value 0 is detected as a winning bit and the value 1 is detected as a losing bit.

次にステップS28において、改竄検出部53は、図11に示すように、ステップS27で検出した勝ちビット(0)を、ステップS22で選択した電子透かし画像Wの画素の画素値とし、負けビット(1)を、予め用意された3段階のウェーブレット変換処理がなされた白色画像(以下、改竄検出用画像と称する)M’の、対象画像F’の係数P2に対応する係数P2’の係数値とする。   Next, in step S28, the falsification detection unit 53 uses the winning bit (0) detected in step S27 as the pixel value of the pixel of the digital watermark image W selected in step S22 as shown in FIG. 1) is a coefficient value of a coefficient P2 ′ corresponding to a coefficient P2 of the target image F ′ of a white image (hereinafter referred to as a falsification detection image) M ′ that has been subjected to three stages of wavelet transform processing prepared in advance. To do.

ステップS29において、改竄検出部53は、ステップS22で、電子透かし画像Wのすべての画素についての係数選択鍵を読み出したか否かを判定し、まだ読み出していない係数選択鍵があると判定した場合、ステップS22に戻り、次の画素の係数選択鍵を読み出し、ステップS23以降の処理を行う。   In step S29, the falsification detection unit 53 determines whether or not the coefficient selection key for all the pixels of the digital watermark image W has been read in step S22, and determines that there is a coefficient selection key that has not been read. Returning to step S22, the coefficient selection key for the next pixel is read out, and the processes in and after step S23 are performed.

ステップS29で、すべての画素の係数選択鍵が読み出されたと判定された場合、ステップS30に進み、電子透かし画像Wが復元され、改竄検出用画像M’が生成される。改竄検出部53は、改竄検出用画像M’を画像処理部54に供給する。なお、改竄検出用画像M’に逆ウェーブレット変換処理を行った改竄検出用画像Mは、例えば図12に示すように表示される。   If it is determined in step S29 that the coefficient selection keys for all the pixels have been read, the process proceeds to step S30, where the digital watermark image W is restored, and an alteration detection image M ′ is generated. The falsification detection unit 53 supplies the falsification detection image M ′ to the image processing unit 54. Note that the falsification detection image M obtained by performing the inverse wavelet transform process on the falsification detection image M ′ is displayed as shown in FIG. 12, for example.

以上のようにして電子透かし情報が抽出される。   The digital watermark information is extracted as described above.

画像のウェーブレット変換係数の特徴として、深いレベルほど圧縮やノイズに強い耐性を有するので、深いレベルに埋め込まれた電子透かし情報は圧縮やノイズに強い。したがって深いレベルに埋め込まれた電子透かし画像Wおよび改竄検出用画像M’が壊れたとすると、それは圧縮やノイズではなく、切り取りや貼り付け処理などの改竄によるものと考えることができる。   As a characteristic of the image wavelet transform coefficient, the deeper the level, the stronger the resistance to compression and noise, so that the digital watermark information embedded at the deep level is resistant to compression and noise. Therefore, if the digital watermark image W and the falsification detection image M ′ embedded at a deep level are broken, it can be considered that this is not due to compression or noise but due to falsification such as cutting and pasting processing.

従って、以上のように深いレベルに埋め込まれた電子透かし情報には浅いレベルに埋め込まれた電子透かし情報より重みを大きくして(レベル1に属するサブバンドの復調ビットについての重みを1とし、レベル2に属するサブバンドの復調ビットについての重みを6とし、そしてレベル3に属するサブバンドの復調ビットについての重みを8として)、深いレベルに埋め込まれた電子透かし情報の影響が大となるようにして透かしビットを検出するようにしたので、電子透かし情報をより正確に検出することができる。   Accordingly, the watermark information embedded at a deep level as described above has a higher weight than the watermark information embedded at a shallow level (the weight for the demodulated bits of subbands belonging to level 1 is set to 1, The weight of the demodulated bit of the subband belonging to 2 is set to 6 and the weight of the demodulated bit of the subband belonging to level 3 is set to 8) so that the influence of the digital watermark information embedded in the deep level becomes large. Since the watermark bits are detected, the digital watermark information can be detected more accurately.

図13は、対象画像Fが圧縮率60%のJPEG圧縮で圧縮された場合の、X軸に示すレベル2の透かしにかけた重みと、Y軸に示すレベル3の透かしにかけた重みを利用したときの破損率を示している。この例では、レベル2の重みを6とし、レベル3の重みを8乃至10にしたときに、最も低い電子透かし情報の破損率が得られる。   FIG. 13 shows the case where the weight applied to the level 2 watermark shown on the X axis and the weight applied to the level 3 watermark shown on the Y axis when the target image F is compressed by JPEG compression with a compression rate of 60% are used. Shows the damage rate. In this example, when the level 2 weight is set to 6 and the level 3 weight is set to 8 to 10, the lowest digital watermark information damage rate can be obtained.

次に画像処理装置41の画像処理部54の処理を、図14のフローチャートを参照して説明する。   Next, the processing of the image processing unit 54 of the image processing apparatus 41 will be described with reference to the flowchart of FIG.

ステップS51において、画像処理部54は、ウェーブレット変換部52から供給された1フレーム分の対象画像F’の係数におけるレベル3のサブバンドLH3およびHL3のそれぞれを、例えば、4×4画素のブロックに分割する。   In step S51, the image processing unit 54 converts each of the level 3 subbands LH3 and HL3 in the coefficient of the target image F ′ for one frame supplied from the wavelet transform unit 52 into, for example, a 4 × 4 pixel block. To divide.

次にステップS52において、画像処理部54は、ステップS51で得られたサブバンドLH3およびサブバンドHL3のブロックのそれぞれについて、それらに対応するレベル2のサブバンドLH2およびサブバンドHL2、並びにレベル1のサブバンドLH1およびサブバンドHL1のブロックを、ウェーブレット変換の親子関係に基づいて決定する。   Next, in step S52, the image processing unit 54, for each of the subband LH3 and subband HL3 blocks obtained in step S51, corresponds to the level 2 subband LH2 and subband HL2 and the level 1 subband LH3. The subband LH1 and the block of the subband HL1 are determined based on the parent-child relationship of the wavelet transform.

なお例えば、レベル3のサブバンドLH3またはサブバンドHL3のブロックは所定のブロック番号で識別できるとともに、そのブロックに対応するレベル2のサブバンドLH2およびサブバンドHL2、並びにレベル1のサブバンドLH1およびサブバンドHL1のブロックも、対応するサブバンドLH3またはサブバンドHL3のブロックと同じブロック番号で識別できるものとする。   For example, the level 3 subband LH3 or the block of the subband HL3 can be identified by a predetermined block number, and the level 2 subband LH2 and subband HL2 and the level 1 subband LH1 and subband corresponding to the block can be identified. The block of the band HL1 can also be identified by the same block number as the corresponding subband LH3 or the block of the subband HL3.

すなわち各ブロックは、例えばレベルをk、そしてブロック番号をiとする符号bk(i)で識別することができ、さらに同一の符号bk(i)で表されるブロック群を、符号Bk(i)に属するブロックとして表すことができるものとする。   That is, each block can be identified by, for example, a code bk (i) having a level k and a block number i, and a block group represented by the same code bk (i) is represented by a code Bk (i). It can be expressed as a block belonging to.

例えば図15に示すレベル3のサブバンドLH3およびサブバンドHL3のブロックを、ブロックb3(1)とし、それに対応する、レベル2のサブバンドLH2およびサブバンドHL2のブロックをブロックb2(1)とし、レベル1のサブバンドLH1およびサブバンドHL1のブロックをブロックb1(1)とするものとし、図16に示すように、レベル1のサブバンドLH1およびHL1のブロックb1(1)で表されるブロック群を、ブロック群B1(1)とし、レベル2のサブバンドLH2およびHL2のブロックb2(1)で表されるブロック群を、ブロック群B2(1)とし、そしてレベル3のサブバンドLH3およびHL3のブロックb3(1)で表されるブロック群を、ブロック群B3(1)とするものとする。   For example, the block of level 3 subband LH3 and subband HL3 shown in FIG. 15 is block b3 (1), and the corresponding block of level 2 subband LH2 and subband HL2 is block b2 (1). The block of level 1 subband LH1 and subband HL1 is assumed to be block b1 (1), and as shown in FIG. 16, the block group represented by level 1 subband LH1 and block b1 (1) of HL1 Is a block group B1 (1), a block group represented by block b2 (1) of level 2 subbands LH2 and HL2 is block group B2 (1), and subbands LH3 and HL3 of level 3 A block group represented by the block b3 (1) is assumed to be a block group B3 (1).

次にステップS53において、画像処理部54は、1つのブロック番号iを選択し、ステップS54において、係数選択鍵Cに基づいて、ブロック群B1(i),B2(i),B3(i)に属するブロックのそれぞれについて、それに含まれる埋め込み係数の数を算出する。また画像処理部54は、改竄検出用画像M’に基づいて、ブロック群B1(i),B2(i),B3(i)に属するブロックのそれぞれについて、それに含まれる負けビットが埋め込まれた係数(以下、壊れ係数と称する)の数を算出する。   Next, in step S53, the image processing unit 54 selects one block number i, and in step S54, the block group B1 (i), B2 (i), B3 (i) is assigned based on the coefficient selection key C. For each block to which it belongs, the number of embedding coefficients included in it is calculated. Further, the image processing unit 54, based on the falsification detection image M ′, for each block belonging to the block group B1 (i), B2 (i), B3 (i), a coefficient in which the losing bit included therein is embedded. The number is calculated (hereinafter referred to as breakage coefficient).

次にステップS55において、画像処理部54は、各ブロックの埋め込み係数の数と壊れ係数の数のそれぞれを、ブロック群B1(i),B2(i),B3(i)毎に合計し、レベルに応じた重みを乗算する。   In step S55, the image processing unit 54 sums the number of embedding coefficients and the number of breakage coefficients for each block for each of the block groups B1 (i), B2 (i), and B3 (i). Multiply the weight according to.

例えば、図17に示すように、ブロック群B3(i)に属するブロックに含まれる埋め込み係数の数の合計と、ブロック群B3(i)に属するブロックに含まれる壊れ係数の数の合計のそれぞれに8が乗算される。   For example, as shown in FIG. 17, each of the total number of embedding coefficients included in the blocks belonging to the block group B3 (i) and the total number of breakage coefficients included in the blocks belonging to the block group B3 (i) 8 is multiplied.

ブロック群B2(i)に属するブロックに含まれる埋め込み係数の数の合計と、ブロック群B2(i)に属するブロックに含まれる壊れ係数の数の合計のそれぞれに6が乗算される。   Each of the total number of embedding coefficients included in the blocks belonging to the block group B2 (i) and the total number of breakage coefficients included in the blocks belonging to the block group B2 (i) are multiplied by 6.

そしてブロック群B1(i)に属するブロックに含まれる埋め込み係数の数の合計と、ブロックB群1(i)に属するブロックに含まれる壊れ係数の数の合計のそれぞれに1が乗算される。   Then, 1 is multiplied to each of the total number of embedding coefficients included in the blocks belonging to the block group B1 (i) and the total number of breakage coefficients included in the blocks belonging to the block B group 1 (i).

ステップS56において、画像処理部54は、式(1)に示すように、ステップS55での重み付けで得られた壊れ係数の合計を、ステップS55での重み付けで得られた埋め込み係数の合計で除算する。   In step S56, the image processing unit 54 divides the sum of the breakage coefficients obtained by the weighting in step S55 by the sum of the embedding coefficients obtained by the weighting in step S55, as shown in Expression (1). .

Figure 0004834844
Figure 0004834844

次にステップS57において、画像処理部54は、ステップS56での演算の結果得られた値(以下、改竄率と称する)が所定の閾値以下であるか否かを判定し、閾値以下であると判定した場合、そのブロック番号iのブロック群は改竄されていないとして、ステップS58において、対象となっているブロックに含まれる壊れ係数の係数値(負けビット)を消去する(以下、この処理をふるい処理と称する)。   Next, in step S57, the image processing unit 54 determines whether or not a value obtained as a result of the calculation in step S56 (hereinafter referred to as a tampering rate) is equal to or less than a predetermined threshold, and is equal to or less than the threshold. If it is determined that the block group with the block number i has not been tampered with, the coefficient value (loss bit) of the break coefficient included in the target block is deleted in step S58 (hereinafter, this process is performed). Called processing).

一方ステップS57で、所定の閾値より大きいと判定された場合、そのブロック番号iのブロック群は改竄されたものとして、ステップS59に進み、画像処理部54は、そのブロックに属する全係数を、壊れ係数に変更する(以下、この処理を強調処理と称する)。   On the other hand, if it is determined in step S57 that it is larger than the predetermined threshold value, the block group with the block number i is assumed to have been tampered with, and the process proceeds to step S59, where the image processing unit 54 breaks all the coefficients belonging to that block. The coefficient is changed (hereinafter, this processing is referred to as enhancement processing).

なお、閾値は、上述のように1つ設けるようにしてもよいし、上限の閾値と下限の閾値とを設け、下限の閾値以下の場合にはふるい処理を行い、上限の閾値以上の場合には強調処理を行うようにしてもよい。この場合、改竄率が上限の閾値と下限の閾値との間である場合にはふるい処理も強調処理も行われないようになる。   One threshold may be provided as described above, or an upper threshold and a lower threshold are provided. If the threshold is lower than the lower threshold, a sieving process is performed. May perform an emphasis process. In this case, when the tampering rate is between the upper limit threshold and the lower limit threshold, the sieving process and the enhancement process are not performed.

ステップS58で壊れ係数が消去されたとき、またはステップS59でブロック番号iのブロック群の係数が変更されたとき、ステップS60に進み、画像処理部54は、ステップS53ですべてのブロック番号iを選択したか否かを判定し、まだ選択していないブロック番号が存在すると判定した場合、ステップS53に戻り、次のブロックを選択し、ステップS54以降の処理を同様に実行する。   When the break coefficient is deleted in step S58 or when the coefficient of the block group having the block number i is changed in step S59, the process proceeds to step S60, and the image processing unit 54 selects all the block numbers i in step S53. If it is determined that there is a block number that has not yet been selected, the process returns to step S53, the next block is selected, and the processing from step S54 onward is similarly executed.

ステップS60で、すべてのブロック番号iが選択されたと判定された場合、処理は終了する。   If it is determined in step S60 that all block numbers i have been selected, the process ends.

以上のようにして画像処理が行われる。   Image processing is performed as described above.

以上のように、改竄率に基づいてふるい処理および強調処理を行うようにしたので、対象画像Fが図18Aである場合、図18Bに示すように、改竄されたブロックに対応する画像を強調して表示することができる。   As described above, since the sieving process and the enhancement process are performed based on the tampering rate, when the target image F is FIG. 18A, the image corresponding to the tampered block is enhanced as shown in FIG. 18B. Can be displayed.

圧縮やノイズは、画素係数の修正量がそれほど多くないため、電子透かし情報の破損は分散する傾向にあるが、切り取りや貼り付け等の改竄があった場合、その改竄の画像係数は、集中して破損している傾向にある。そのため上述したように破損した電子透かし情報の密度(改竄率)を調べ、それを閾値と比較することにより、その破損が圧縮やノイズによるものか、改竄によるものを適切に判別することができる。   For compression and noise, the correction amount of the pixel coefficient is not so large, and the damage of the digital watermark information tends to be dispersed. However, if tampering such as cutting or pasting occurs, the image coefficient of the tampering is concentrated. Tend to be damaged. Therefore, as described above, the density (falsification rate) of the damaged digital watermark information is checked and compared with a threshold value, so that it is possible to appropriately determine whether the damage is due to compression or noise or due to falsification.

図19は、画像処理装置1の他の構成例を示している。この画像処理装置には、図1の電子透かし埋め込み部13に代えて、電子透かし埋め込み部101が設けられている。他の部分は、図1における場合と同様である。   FIG. 19 shows another configuration example of the image processing apparatus 1. In this image processing apparatus, a digital watermark embedding unit 101 is provided instead of the digital watermark embedding unit 13 of FIG. The other parts are the same as in FIG.

図1の埋め込み部13における埋め込み処理は、埋め込み係数を最低域のサブバンド(サブバンドLL3)の係数に関連付けたが、埋め込み部101は、最低域のサブバンドに代えて、埋め込み係数と同一のレベルのサブバンドHHの係数に関連付けて、埋め込み処理を行う。   The embedding process in the embedding unit 13 in FIG. 1 associates the embedding coefficient with the coefficient of the lowest band subband (subband LL3). However, the embedding unit 101 replaces the lowest band subband with the same embedding coefficient. The embedding process is performed in association with the coefficient of the level subband HH.

埋め込み部101における電子透かし埋め込み処理を、図20のフローチャートを参照して説明する。   The digital watermark embedding process in the embedding unit 101 will be described with reference to the flowchart of FIG.

ステップS81において、埋め込み部101は、ウェーブレット変換部12から、1フレームの対象画像Fに対する、1回目のウェーブレット変換が行われ、そして2回目のウェーブレット変換がさらに行われたとき、その結果得られた係数(図2のC)を入力する。   In step S81, the embedding unit 101 obtains a result obtained when the first wavelet transform is performed on the target image F of one frame from the wavelet transform unit 12, and the second wavelet transform is further performed. Enter a coefficient (C in FIG. 2).

ステップS82において、埋め込み部101は、電子透かし画像(2値画像)Wの1画素を選択する。   In step S82, the embedding unit 101 selects one pixel of the digital watermark image (binary image) W.

次にステップS83において、埋め込み部101は、ステップS82で選択された電子透かし画像Wの画素の画素値(透かしビット)を、入力部11から供給された係数選択鍵Cに示される複製数だけ複製する。   In step S83, the embedding unit 101 duplicates the pixel value (watermark bit) of the pixel of the digital watermark image W selected in step S82 by the number of copies indicated by the coefficient selection key C supplied from the input unit 11. To do.

次にステップS84において、埋め込み部101は、係数選択鍵Cにより与えられたレベル2のサブバンドHL2およびサブバンドLH2の埋め込み係数に関連するレベル2のサブバンドHH2の係数を検出する。   Next, in step S84, the embedding unit 101 detects the coefficient of the level 2 subband HH2 related to the embedding coefficient of the level 2 subband HL2 and the subband LH2 given by the coefficient selection key C.

例えば、図21のレベル2のサブバンドLH2の係数P11(座標(xq11,yq11))が埋め込み係数である場合、サブバンドHH2の座標(xq11,yq11)の係数Q11が、係数P11と関連するサブバンドHH2の係数として検出される。   For example, if the coefficient P11 (coordinates (xq11, yq11)) of the subband LH2 of level 2 in FIG. 21 is an embedding coefficient, the coefficient Q11 of the coordinates (xq11, yq11) of the subband HH2 is related to the coefficient P11. It is detected as a coefficient of the band HH2.

次にステップS85において、埋め込み部101は、ステップS84で検出したサブバンドHH2の係数に対して、例えばその係数に隣接する3個の係数を検出するとともに、この3個の係数と、ステップS84で検出したサブバンドHH2の係数との合計4個の係数(対応係数)の係数値の平均値を算出し、それを量子化して2進値(1または0)に変換する。   Next, in step S85, the embedding unit 101 detects, for example, three coefficients adjacent to the coefficient of the subband HH2 detected in step S84, and the three coefficients and the coefficient in step S84. An average value of coefficient values of a total of four coefficients (corresponding coefficients) with the detected coefficient of the subband HH2 is calculated, quantized, and converted into a binary value (1 or 0).

図21の係数Q11(座標(xq11,yq11))に対して、係数Q11に隣接する座標(xq11,yq11+1)、(xq11+1,yq11)、および(xq11+1,yq11+1)の3個の係数が検出され、係数Q11とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値が得られる。   For the coefficient Q11 (coordinates (xq11, yq11)) in FIG. 21, three coefficients of coordinates (xq11, yq11 + 1), (xq11 + 1, yq11) adjacent to the coefficient Q11, and (xq11 + 1, yq11 + 1) are detected. An average value of the coefficient Q11 and the coefficient values of the three coefficients is calculated, and is quantized to obtain a binary value.

次にステップS86において、埋め込み部101は、ステップS83で複製した透かしビットと、ステップS85で得られた平均値の2進値との排他的論理和演算(XOR)を行い(すなわち透かしビットを、ステップS85で得られた平均値の2進値で変調し)、その結果得られた値(変調ビット)を、係数選択鍵Cに含まれる量子化ステップの強さに応じて埋め込む。   Next, in step S86, the embedding unit 101 performs an exclusive OR operation (XOR) of the watermark bit copied in step S83 and the binary value of the average value obtained in step S85 (that is, the watermark bit is Modulation is performed with the binary value of the average value obtained in step S85), and the value (modulation bit) obtained as a result is embedded according to the strength of the quantization step included in the coefficient selection key C.

ステップS87において、埋め込み部101は、電子透かし画像Wのすべての画素を選択したか否かを判定し、まだ選択していない画素が残っていると判定した場合、ステップS82に戻り、次の画素を選択して、ステップS83以降の処理を同様に実行する。   In step S87, the embedding unit 101 determines whether or not all the pixels of the digital watermark image W have been selected. If it is determined that there are still pixels that have not been selected, the embedding unit 101 returns to step S82 and returns to the next pixel. Is selected, and the processing after step S83 is similarly executed.

なお透かしビットのすべてを、レベル2のサブバンドに埋め込む必要はないので、レベル2のサブバンドに埋め込まない透かしビットが選択されたときには、ステップS83乃至ステップS86の処理は、適宜、スキップされる。   Since it is not necessary to embed all of the watermark bits in the level 2 subband, when a watermark bit that is not embedded in the level 2 subband is selected, the processing in steps S83 to S86 is skipped as appropriate.

ステップS87で、すべての画素を選択したと判定した場合、埋め込み部101は、ステップS88に進み、対象画像Fの1フレーム分の係数の全部を入力したか否かを判定し、全部を入力していないと判定した場合、ステップS81に戻る。   If it is determined in step S87 that all the pixels have been selected, the embedding unit 101 proceeds to step S88, determines whether or not all the coefficients for one frame of the target image F have been input, and inputs all. If it is determined that it is not, the process returns to step S81.

いまの場合、ステップS81において、埋め込み部101は、ウェーブレット変換部12で1フレームの対象画像Fに対する、3回目のウェーブレット変換が行われたとき、その結果得られた係数(図2のD)を入力する。この係数を入力した場合の処理を続けて説明する。   In this case, in step S81, the embedding unit 101 uses the coefficient (D in FIG. 2) obtained when the wavelet transform unit 12 performs the third wavelet transform on the target image F of one frame. input. Processing when this coefficient is input will be described.

すなわちステップS82で、電子透かし画像Wの1画素が選択される。   That is, in step S82, one pixel of the digital watermark image W is selected.

次にステップS83で、ステップS82で選択された電子透かし画像Wの画素の画素値(透かしビット)が、入力部11から供給された係数選択鍵Cに示される複製数だけ複製される。   Next, in step S83, the pixel value (watermark bit) of the pixel of the digital watermark image W selected in step S82 is copied by the number of copies indicated by the coefficient selection key C supplied from the input unit 11.

次にステップS84で、係数選択鍵Cにより与えられたレベル3のサブバンドHL3およびサブバンドLH3の埋め込み係数に関連するレベル3のサブバンドHH3の係数が検出される。   Next, in step S84, the level 3 subband HL3 and the level 3 subband HH3 coefficient associated with the embedding coefficient of the subband LH3 given by the coefficient selection key C are detected.

例えば、図21のレベル3のサブバンドHL3の係数P21(座標(xq21,yq21))が埋め込み係数である場合、サブバンドHH3の座標(xq21,yq21)の係数Q21が検出される。   For example, when the coefficient P21 (coordinates (xq21, yq21)) of the subband HL3 of level 3 in FIG. 21 is an embedding coefficient, the coefficient Q21 of the coordinates (xq21, yq21) of the subband HH3 is detected.

次にステップS85で、ステップS84で検出されたサブバンドHH3の係数に対して、例えばその係数に隣接する3個の係数が検出されるとともに、この3個の係数と、ステップS84で検出されたサブバンドHH3の係数との合計4個の係数(対応係数)の係数値の平均値が算出され、それが量子化されて2進値(1または0)に変換される。   Next, in step S85, for example, three coefficients adjacent to the coefficient of the subband HH3 detected in step S84 are detected, and these three coefficients and the coefficient detected in step S84 are detected. An average value of coefficient values of a total of four coefficients (corresponding coefficients) with the coefficients of the subband HH3 is calculated, and is quantized and converted into a binary value (1 or 0).

図21の係数Q21(座標(xq21,yq21))に対して、係数Q21に隣接する座標(xq21,yq21+1)、(xq21+1,yq21)、および(xq21+1,yq21+1)の3個の係数が検出され、係数Q21とその3個の係数の係数値の平均値が算出され、それが量子化されて2進値が得られる。   For the coefficient Q21 (coordinates (xq21, yq21)) in FIG. 21, three coefficients of coordinates (xq21, yq21 + 1), (xq21 + 1, yq21) and (xq21 + 1, yq21 + 1) adjacent to the coefficient Q21 are detected. An average value of the coefficient Q21 and the coefficient values of the three coefficients is calculated, and is quantized to obtain a binary value.

次にステップS86で、ステップS83で複製された透かしビットと、ステップS85で得られた平均値の2進値との排他的論理和演算(XOR)が行われ(すなわち透かしビットが、ステップS85で得られた平均値の2進値で変調され)、その結果得られた値(変調ビット)を、係数選択鍵Cに含まれる量子化ステップの強さに応じて埋め込む。   Next, in step S86, an exclusive OR operation (XOR) of the watermark bit copied in step S83 and the binary value of the average value obtained in step S85 is performed (that is, the watermark bit is changed in step S85). The obtained average value is modulated with a binary value), and the resulting value (modulation bit) is embedded according to the strength of the quantization step included in the coefficient selection key C.

ステップS87で、電子透かし画像Wのすべての画素が選択されたか否かを判定され、まだ選択されていない画素が残っていると判定された場合、ステップS82に戻り、次の画素が選択されて、ステップS83以降の処理を同様に実行される。   In step S87, it is determined whether or not all the pixels of the digital watermark image W have been selected. If it is determined that there are still pixels that have not been selected, the process returns to step S82 to select the next pixel. The processes after step S83 are similarly executed.

なお透かしビットのすべてを、レベル3のサブバンドに埋め込む必要はないので、レベル3のサブバンドに埋め込まない透かしビットが選択されたときには、ステップS83乃至ステップS86の処理は、適宜、スキップされる。   Since it is not necessary to embed all of the watermark bits in the level 3 subband, when a watermark bit that is not embedded in the level 3 subband is selected, the processing in steps S83 to S86 is skipped as appropriate.

ステップS87で、すべての画素を選択したと判定された場合、ステップS88に進み、対象画像Fの1フレーム分の係数の全部が入力されたと判定され、処理は終了する。   If it is determined in step S87 that all the pixels have been selected, the process proceeds to step S88, where it is determined that all the coefficients for one frame of the target image F have been input, and the process ends.

図1の埋め込み部13では、埋め込み係数と、それに関連する最低域サブバンド(この例の場合、サブバンドLL3)を対応付けるようにして埋め込み処理が行われる。また最低域サブバンドは、図2のDに示すように、すべての段階のウェーブレット変換処理が行われた後に形成される。   In the embedding unit 13 in FIG. 1, the embedding processing is performed so as to associate the embedding coefficient with the lowest band subband (in this example, subband LL3) associated therewith. Further, as shown in FIG. 2D, the lowest band subband is formed after the wavelet transform process of all stages is performed.

すなわち図1の埋め込み部13における埋め込み処理は、ウェーブレット変換部12におけるウェーブレット処理が終了するのを待って行う必要があった。   That is, the embedding process in the embedding unit 13 in FIG. 1 has to be performed after the wavelet process in the wavelet transform unit 12 is completed.

これに対して図19の埋め込み部101は、最低域のサブバンドに代えて、埋め込み係数と同一のレベルのサブバンドHHの係数を対応付けるようにして、上述したように、各レベルのウェーブレット係数が得られたとき埋め込み処理を行うようにしたので(ウェーブレット変換処理と埋め込み処理を並列に行うようにしたので)、図1の場合の埋め込み処理に比べ、迅速に行うことができる。   On the other hand, the embedding unit 101 in FIG. 19 associates the coefficient of the subband HH at the same level as the embedding coefficient in place of the subband of the lowest band, and as described above, the wavelet coefficient of each level Since the embedding process is performed when obtained (because the wavelet transform process and the embedding process are performed in parallel), the embedding process can be performed more quickly than the embedding process in the case of FIG.

なおここで利用するサブバンドHHは、改竄に対して最も弱いバンドであり、破損率の増加を招く。例えばサブバンドHLまたはLHの埋め込み係数が壊れていなくても、それと関連付けられたサブバンドHHの係数が大きく変わってしまうと、壊れたものとなってしまう。そこで、この場合、攻撃に弱いレベル1を埋め込みに用いず、レベル2およびレベル3に対して、埋め込みを行うようにした。   Note that the subband HH used here is the weakest band against tampering, and causes an increase in the damage rate. For example, even if the embedding coefficient of the subband HL or LH is not broken, if the coefficient of the subband HH associated with the subband HL or the LH is significantly changed, the subband HL or the LH is broken. Therefore, in this case, level 1 which is vulnerable to attack is not used for embedding, and level 2 and level 3 are embedded.

図19の画像処理装置1により電子透かし画像Wが埋め込まれた対象画像F(対象画像F’)から、電子透かし画像Wを抽出する場合の画像処理装置41の動作は、図9および図14に示した通りであるので、その説明は省略する。   The operation of the image processing apparatus 41 when extracting the digital watermark image W from the target image F (target image F ′) in which the digital watermark image W is embedded by the image processing apparatus 1 of FIG. 19 is shown in FIGS. Since it is as shown, its description is omitted.

図22は、図19の画像処理装置1により電子透かし画像Wが埋め込まれた対象画像F(対象画像F’)から、電子透かし画像Wを抽出する場合において、対象画像Fが圧縮率60%のJPEG圧縮で圧縮されたときの、X軸に示すレベル2の透かしにかけた重みと、Y軸に示すレベル3の透かしにかけた重みを利用したときの破損率を示している。この例では、レベル2の重みを1とし、レベル3の重みを5、またはレベル2の重みを2とし、レベル3の重みを9若しくは10としたときに、最も低い破損率が得られる。   FIG. 22 shows a case where the target image F has a compression rate of 60% when the digital watermark image W is extracted from the target image F (target image F ′) embedded with the digital watermark image W by the image processing apparatus 1 of FIG. This shows the damage rate when using the weight applied to the level 2 watermark shown on the X axis and the weight applied to the level 3 watermark shown on the Y axis when compressed by JPEG compression. In this example, when the level 2 weight is 1, the level 3 weight is 5, or the level 2 weight is 2, and the level 3 weight is 9 or 10, the lowest failure rate is obtained.

なお以上において、対象画像Fへの電子透かし画像Wの埋め込みは、例えばサブバンドLL3の対応係数の平均値と透かしビットとの排他的論理和演算(XOR)の結果得られた変調ビットを、量子化パラメータの強さに応じて埋め込むようにしたが(図3のステップS4乃至ステップS6)、以下に説明するようにして埋め込むことができる。   In the above, embedding of the digital watermark image W into the target image F is performed by, for example, quantizing the modulation bit obtained as a result of the exclusive OR (XOR) of the average value of the corresponding coefficient of the subband LL3 and the watermark bit. Although embedding is performed according to the strength of the activation parameter (steps S4 to S6 in FIG. 3), the embedding can be performed as described below.

ここで対象画像Fをウェーブレット変換したものを式(2)で表すものとする。式(2)中、kは式(3)で表され、lは、レベルであり、(m,n)は、画素の位置(座標)を表す。

Figure 0004834844
Figure 0004834844
Here, it is assumed that a target image F obtained by wavelet transform is expressed by Expression (2). In Expression (2), k is expressed by Expression (3), l is a level, and (m, n) indicates the position (coordinates) of the pixel.
Figure 0004834844
Figure 0004834844

電子透かし画像Wの埋め込みは、例えば式(4)で定義される量子化関数Qを用いてfl,k(m,n)(式(2))が2進値されて写像されることによって行われるが、ここで説明する埋め込みは、埋め込み後のfl,k(m,n)が式(5)で表す区間の中央値となるようにするものである。

Figure 0004834844
Figure 0004834844
The digital watermark image W is embedded by, for example, mapping f l, k (m, n) (formula (2)) with a binary value using the quantization function Q defined by formula (4). The embedding described here is performed so that fl, k (m, n) after embedding becomes the median value of the section represented by the equation (5).
Figure 0004834844
Figure 0004834844

なお式(4)中、Δは、量子化パラメータである。電子透かし画像Wのi番目のピクセルを式(6)で表す。

Figure 0004834844
In Expression (4), Δ is a quantization parameter. The i-th pixel of the digital watermark image W is expressed by Expression (6).
Figure 0004834844

例えば量子化関数Qについて(式(4))、式(7)が成立するとき、次の規則を用いて、式(5)を満たすfl,k(m,n)がその区間の中央に変更される。

Figure 0004834844
For example, for the quantization function Q (equation (4)), when equation (7) holds, f l, k (m, n) satisfying equation (5) is at the center of the section using the following rule: Be changed.
Figure 0004834844

具体的には、式(8)が成立するときは、fl,k(m,n)は、式(9)により求められる。

Figure 0004834844
Figure 0004834844
Specifically, when Expression (8) is established, f l, k (m, n) is obtained by Expression (9).
Figure 0004834844
Figure 0004834844

なおこの規則に基づくfl,k(m,n)の変更を、模式的に表すと図23に示すようになる。FIG. 23 schematically shows the change of fl, k (m, n) based on this rule.

また式(10)が成立するときは、fl,k(m,n)は、式(11)により求められる。

Figure 0004834844
Figure 0004834844
Further, when Expression (10) is established, fl, k (m, n) is obtained by Expression (11).
Figure 0004834844
Figure 0004834844

また量子化関数Qについて(式(4))、式(12)が成立するときは、次の規則を用いて、式(13)が成立するように、fl,k(m,n)が変更される。

Figure 0004834844
Figure 0004834844
For the quantization function Q (equation (4)), when equation (12) is established, f l, k (m, n) is expressed by the following rule so that equation (13) is established. Be changed.
Figure 0004834844
Figure 0004834844

具体的には、式(14)が成立するときは、fl,k(m,n)は、式(15)により求められる。

Figure 0004834844
Figure 0004834844
Specifically, when Expression (14) is established, f l, k (m, n) is obtained by Expression (15).
Figure 0004834844
Figure 0004834844

また式(16)が成立するときは、fl,k(m,n)は、式(17)により求められる。

Figure 0004834844
Figure 0004834844
When the equation (16) is established, f l, k (m, n) is obtained by the equation (17).
Figure 0004834844
Figure 0004834844

この規則に基づく場合において、fl,k(m,n)>0であるときのfl,k(m,n)の変更を、模式的に表すと図24Aおよび図24Bに示すようになる。なお図24Aは、式(18)が、図24Bは、式(19)が成り立つ場合のものである。

Figure 0004834844
Figure 0004834844
In the case under this rule, f l, the change of k (m, n), as shown in FIGS. 24A and 24B is represented schematically when a f l, k (m, n )> 0 . Note that FIG. 24A is a case where equation (18) is satisfied, and FIG. 24B is a case where equation (19) is satisfied.
Figure 0004834844
Figure 0004834844

このように、埋め込み後のfl,k(m,n)(式(2))が式(5)で表す区間の中央値となるように、電子透かし画像Wを対象画像Fに埋め込むようにすることにより、電子透かし画像Wが埋め込まれることによる対象画像Fの画質への影響を小さくすることができるとともに、圧縮などの攻撃に対しても強いものとすることができる。In this way, the digital watermark image W is embedded in the target image F so that fl l, k (m, n) (equation (2)) after embedding becomes the median value of the section represented by equation (5). By doing so, it is possible to reduce the influence on the image quality of the target image F by embedding the digital watermark image W, and to be strong against attacks such as compression.

上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。   The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software executes various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a program recording medium in a general-purpose personal computer or the like.

図23は、上述した一連の処理をプログラムにより実行するパーソナルコンピュータの構成の例を示すブロック図である。CPU(Central Processing Unit)201は、ROM(Read Only Memory)202、または記憶部208に記憶されているプログラムに従って各種の処理を実行する。RAM(Random Access Memory)203には、CPU201が実行するプログラムやデータなどが適宜記憶される。これらのCPU201、ROM202、およびRAM203は、バス204により相互に接続されている。   FIG. 23 is a block diagram showing an example of the configuration of a personal computer that executes the above-described series of processing by a program. A CPU (Central Processing Unit) 201 executes various processes according to a program stored in a ROM (Read Only Memory) 202 or a storage unit 208. A RAM (Random Access Memory) 203 appropriately stores programs executed by the CPU 201 and data. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204.

コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム記録媒体は、図23に示すように、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)を含む)、光磁気ディスク、もしくは半導体メモリなどよりなるパッケージメディアであるリムーバブルメディア211、または、プログラムが一時的もしくは永続的に格納されるROM202や、記憶部208を構成するハードディスクなどにより構成される。プログラム記録媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインタフェースである通信部209を介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。   As shown in FIG. 23, a program recording medium that stores a program that is installed in a computer and can be executed by the computer includes a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disc-Read Only). Memory, DVD (Digital Versatile Disc), a magneto-optical disk, a removable medium 211 that is a package medium composed of a semiconductor memory, or the like, a ROM 202 in which a program is temporarily or permanently stored, or a storage unit 208 It is comprised by the hard disk etc. which comprise The program is stored in the program recording medium using a wired or wireless communication medium such as a local area network, the Internet, or digital satellite broadcasting via a communication unit 209 that is an interface such as a router or a modem as necessary. Done.

なお、本明細書において、プログラム記録媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing the program stored in the program recording medium is not limited to the processing performed in time series in the described order, but is not necessarily performed in time series. Or the process performed separately is also included.

また、画像処理装置1および画像処理装置41は、例えばパーソナルコンピュータにより一体的に構成するようにしてもよいし、画像処理装置1をデジタルカメラに実装し、画像処理装置41をパーソナルコンピュータに実装する等別々に構成するようにしてもよい。なお、特に画像処理装置1をデジタルカメラに実装する場合、電子透かし情報の埋め込み処理の高速化が要請されるため、この観点からは、電子透かし画像の同一画素を複数個埋め込むことなく、単にウェーブレット変換と電子透かし情報の埋め込みとを並列に処理するようにすればよい。   Further, the image processing apparatus 1 and the image processing apparatus 41 may be integrally configured by, for example, a personal computer, the image processing apparatus 1 is mounted on a digital camera, and the image processing apparatus 41 is mounted on a personal computer. Etc. may be configured separately. In particular, when the image processing apparatus 1 is mounted on a digital camera, it is required to speed up the process of embedding digital watermark information. From this point of view, the wavelet is simply embedded without embedding a plurality of identical pixels in the digital watermark image. Conversion and digital watermark information embedding may be processed in parallel.

Claims (10)

ウェーブレット変換されて電子透かし情報が埋め込まれた対象情報の改竄を検出する情報処理装置において、
前記対象情報をウェーブレット変換する変換手段と、
前記電子透かし情報を構成する複数の同一画素がそれぞれ埋め込まれる複数の埋め込み係数を検出する埋め込み係数検出手段と、
前記埋め込み係数検出手段により検出された前記複数の埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドのレベルに応じて重み付けをして計数する計数手段と
前記計数手段による計数結果に基づいて、多数決に負けた埋め込み係数値を壊れ係数とし、前記ウェーブレット変換手段によりウェーブレット変換された前記対象情報において、サブバンドにわたって関連する係数群毎に、前記埋め込み係数の数と前記壊れ係数の数を算出する算出手段と、
前記算出手段により算出された前記埋め込み係数の数と前記壊れ係数の数を、前記埋め込み係数および前記壊れ係数が属するサブバンドのレベルに応じて重み付けする重み付け手段と、
前記重み付け手段により重み付けされた前記壊れ係数の数と、前記重み付け手段により重み付けされた前記埋め込み係数との比率に基づいて、前記係数群が改竄されたか否かを判定する判定手段と、
前記判定手段による判定結果に基づいて、前記係数群の係数値を操作する操作手段と
を備える情報処理装置。
In an information processing apparatus that detects falsification of target information that has been wavelet transformed and embedded with digital watermark information,
A transforming means for wavelet transforming the target information;
An embedding coefficient detecting means for detecting a plurality of embedding coefficients in which a plurality of the same pixels constituting the digital watermark information are respectively embedded;
Counting means for weighting and counting the plurality of embedding coefficients detected by the embedding coefficient detecting means according to the level of the subband to which each embedding coefficient belongs ,
Based on the counting result by the counting means, the embedding coefficient value lost to the majority vote is a broken coefficient, and in the target information wavelet transformed by the wavelet transforming means, the embedding coefficient value Calculating means for calculating the number and the number of breakage coefficients;
Weighting means for weighting the number of the embedding coefficients calculated by the calculating means and the number of the breakage coefficients according to the level of the embedding coefficient and the subband to which the breakage coefficient belongs;
Determining means for determining whether or not the coefficient group has been tampered with based on a ratio between the number of the broken coefficients weighted by the weighting means and the embedding coefficient weighted by the weighting means;
An information processing apparatus comprising: an operation unit that operates a coefficient value of the coefficient group based on a determination result by the determination unit.
前記計数手段による計数結果に基づいて、多数決に勝った埋め込み係数値を前記電子透かし情報を構成する画素値として決定する決定手段
をさらに備える請求項1の情報処理装置。
The information processing apparatus according to claim 1, further comprising: a determination unit that determines an embedding coefficient value that has won the majority decision as a pixel value constituting the digital watermark information based on a counting result by the counting unit.
前記操作手段は、
前記比率が所定の閾値以下の場合には、前記係数群に含まれる前記壊れ係数を消去し、前記比率が所定の閾値より大きい場合には、前記係数群に含まれる前記埋め込み係数を壊れ係数に変更する
請求項1または請求項2に記載の情報処理装置。
The operation means includes
When the ratio is less than or equal to a predetermined threshold, the break coefficient included in the coefficient group is deleted, and when the ratio is greater than the predetermined threshold, the embedding coefficient included in the coefficient group is set as a break coefficient. The information processing apparatus according to claim 1 or 2 .
前記電子透かし情報を構成する複数の同一画素は、ウェーブレット変換された対象情報における第1のサブバンドの係数から予めランダムに決定された埋め込み係数と関連する第2のサブバンドの関連係数に基づいて変調されて、前記埋め込み係数に埋め込まれている
請求項1乃至請求項のいずれか一項に記載の情報処理装置。
The plurality of identical pixels constituting the digital watermark information is based on a second subband related coefficient associated with an embedding coefficient randomly determined in advance from a first subband coefficient in wavelet transformed target information. The information processing apparatus according to any one of claims 1 to 3 , wherein the information processing apparatus is modulated and embedded in the embedding coefficient.
前記第1のサブバンドは、最低域のサブバンド以外のサブバンドであり、
前記第2のサブバンドは、前記最低域のサブバンドである
請求項に記載の情報処理装置。
The first subband is a subband other than the lowest band.
The information processing apparatus according to claim 4 , wherein the second subband is the lowest band subband.
複数段のウェーブレット変換を随時行うと同時に、
各段階のウェーブレット変換が行われる毎に、第1のサブバンドの係数から予めランダムに決定された埋め込み係数と関連する第2のサブバンドの関連係数を検出する
請求項に記載の情報処理装置。
At the same time performing multi-stage wavelet transform,
5. The information processing apparatus according to claim 4 , wherein each time wavelet transform is performed, an associated coefficient of the second subband associated with an embedding coefficient that is randomly determined in advance from the coefficient of the first subband is detected. .
前記第1のサブバンドは、最高域のサブバンド以外のサブバンドであり、
前記第2のサブバンドは、前記最高域のサブバンドである
請求項に記載の情報処理装置。
The first subband is a subband other than the highest frequency subband;
The information processing apparatus according to claim 6 , wherein the second subband is the highest frequency subband.
前記関連係数に基づいて復調を行う復調手段をさらに備え、
前記計数手段は、前記復調手段により復調された前記埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドに応じて重み付けをして計数する
請求項乃至請求項のいずれか一項に記載の情報処理装置。
Further comprising demodulation means for performing demodulation based on the related coefficient,
Said counting means, for the embedding coefficient demodulated by the demodulating means, as claimed in any one of claims 4 to 7, each of the embedding coefficient counted by weighting in accordance with the sub-band belonging Information processing device.
ウェーブレット変換されて電子透かし情報が埋め込まれた対象情報の改竄を検出する情報処理方法において、
前記対象情報をウェーブレット変換する変換ステップと、
前記電子透かし情報を構成する複数の同一画素がそれぞれ埋め込まれる複数の埋め込み係数を検出する埋め込み係数検出ステップと、
前記埋め込み係数検出ステップの処理で検出された前記複数の埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドのレベルに応じて重み付けをして計数する計数ステップと
前記計数ステップによる計数結果に基づいて、多数決に負けた埋め込み係数値を壊れ係数とし、前記変換ステップによりウェーブレット変換された前記対象情報において、サブバンドにわたって関連する係数群毎に、前記埋め込み係数の数と前記壊れ係数の数を算出する算出ステップと、
前記算出ステップにより算出された前記埋め込み係数の数と前記壊れ係数の数を、前記埋め込み係数および前記壊れ係数が属するサブバンドのレベルに応じて重み付けする重み付けステップと、
前記重み付けステップにより重み付けされた前記壊れ係数の数と、前記重み付けステップにより重み付けされた前記埋め込み係数との比率に基づいて、前記係数群が改竄されたか否かを判定する判定ステップと、
前記判定ステップによる判定結果に基づいて、前記係数群の係数値を操作する操作ステップと
を含む情報処理方法。
In an information processing method for detecting falsification of target information embedded with digital watermark information by wavelet transformation,
A transforming step for wavelet transforming the target information;
An embedding coefficient detection step for detecting a plurality of embedding coefficients in which a plurality of identical pixels constituting the digital watermark information are embedded;
A counting step of weighting and counting the plurality of embedding coefficients detected in the embedding coefficient detecting step according to the level of the subband to which each embedding coefficient belongs ,
Based on the counting result of the counting step, the embedding coefficient value lost to the majority is a broken coefficient, and in the target information wavelet transformed by the converting step, the number of embedding coefficients for each related coefficient group over subbands And a calculating step for calculating the number of breakage coefficients,
A weighting step of weighting the number of embedding coefficients and the number of breakage coefficients calculated by the calculating step according to the level of the embedding coefficient and the subband to which the breakage coefficient belongs;
A determination step of determining whether or not the coefficient group has been tampered with based on a ratio between the number of the broken coefficients weighted by the weighting step and the embedding coefficient weighted by the weighting step;
And an operation step of operating a coefficient value of the coefficient group based on a determination result of the determination step .
ウェーブレット変換されて電子透かし情報が埋め込まれた対象情報の改竄を検出する処理をコンピュータに実行させるプログラムにおいて、
前記対象情報をウェーブレット変換する変換ステップと、
前記電子透かし情報を構成する複数の同一画素がそれぞれ埋め込まれる複数の埋め込み係数を検出する埋め込み係数検出ステップと、
前記埋め込み係数検出ステップの処理で検出された前記複数の埋め込み係数について、それぞれの前記埋め込み係数が属するサブバンドのレベルに応じて重み付けをして計数する計数ステップと
前記計数ステップによる計数結果に基づいて、多数決に負けた埋め込み係数値を壊れ係数とし、前記変換ステップによりウェーブレット変換された前記対象情報において、サブバンドにわたって関連する係数群毎に、前記埋め込み係数の数と前記壊れ係数の数を算出する算出ステップと、
前記算出ステップにより算出された前記埋め込み係数の数と前記壊れ係数の数を、前記埋め込み係数および前記壊れ係数が属するサブバンドのレベルに応じて重み付けする重み付けステップと、
前記重み付けステップにより重み付けされた前記壊れ係数の数と、前記重み付けステップにより重み付けされた前記埋め込み係数との比率に基づいて、前記係数群が改竄されたか否かを判定する判定ステップと、
前記判定ステップによる判定結果に基づいて、前記係数群の係数値を操作する操作ステップと
を含む処理をコンピュータに実行させるプログラム。
In a program for causing a computer to execute processing for detecting falsification of target information that has been wavelet transformed and embedded with digital watermark information,
A transforming step for wavelet transforming the target information;
An embedding coefficient detection step for detecting a plurality of embedding coefficients in which a plurality of identical pixels constituting the digital watermark information are embedded;
A counting step of weighting and counting the plurality of embedding coefficients detected in the embedding coefficient detecting step according to the level of the subband to which each embedding coefficient belongs ;
Based on the counting result of the counting step, the embedding coefficient value lost to the majority vote is a broken coefficient, and in the target information wavelet transformed by the converting step, the number of embedding coefficients for each related coefficient group over subbands And a calculating step for calculating the number of breakage coefficients,
A weighting step of weighting the number of embedding coefficients and the number of breakage coefficients calculated by the calculating step according to the level of the embedding coefficient and the subband to which the breakage coefficient belongs;
A determination step of determining whether or not the coefficient group has been tampered with based on a ratio between the number of the broken coefficients weighted by the weighting step and the embedding coefficient weighted by the weighting step;
A program for causing a computer to execute a process including an operation step of operating a coefficient value of the coefficient group based on a determination result of the determination step .
JP2007542315A 2005-10-25 2006-10-16 Information processing apparatus, information processing method, and program Active JP4834844B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007542315A JP4834844B2 (en) 2005-10-25 2006-10-16 Information processing apparatus, information processing method, and program

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2005309980 2005-10-25
JP2005309980 2005-10-25
PCT/JP2006/320578 WO2007049479A1 (en) 2005-10-25 2006-10-16 Information processing apparatus, information processing method, and program
JP2007542315A JP4834844B2 (en) 2005-10-25 2006-10-16 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JPWO2007049479A1 JPWO2007049479A1 (en) 2009-04-30
JP4834844B2 true JP4834844B2 (en) 2011-12-14

Family

ID=37967592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007542315A Active JP4834844B2 (en) 2005-10-25 2006-10-16 Information processing apparatus, information processing method, and program

Country Status (2)

Country Link
JP (1) JP4834844B2 (en)
WO (1) WO2007049479A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4863219B2 (en) * 2007-05-28 2012-01-25 三菱電機株式会社 Digital watermark detection apparatus, digital watermark detection method, digital watermark detection program, and digital watermark processing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257300A (en) * 1997-03-12 1998-09-25 Nippon Telegr & Teleph Corp <Ntt> Picture processing method and picture processor
JP2004221715A (en) * 2003-01-10 2004-08-05 Sanyo Electric Co Ltd Electronic watermark embedding method, and encoder and decoder capable of utilizing the method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257300A (en) * 1997-03-12 1998-09-25 Nippon Telegr & Teleph Corp <Ntt> Picture processing method and picture processor
JP2004221715A (en) * 2003-01-10 2004-08-05 Sanyo Electric Co Ltd Electronic watermark embedding method, and encoder and decoder capable of utilizing the method

Also Published As

Publication number Publication date
JPWO2007049479A1 (en) 2009-04-30
WO2007049479A1 (en) 2007-05-03

Similar Documents

Publication Publication Date Title
Chakraborty et al. LSB based non blind predictive edge adaptive image steganography
Feng et al. Reversible watermarking: Current status and key issues.
Benrhouma et al. Chaotic watermark for blind forgery detection in images
Dasgupta et al. Optimized video steganography using genetic algorithm (GA)
US6895101B2 (en) System and method for embedding information in digital signals
Phadikar et al. Region based QIM digital watermarking scheme for image database in DCT domain
Chamlawi et al. Digital image authentication and recovery: employing integer transform based information embedding and extraction
US20060153424A1 (en) Image processing apparatus and method, program code and storage medium
JP2004507177A (en) How to embed a digital watermark in digital image data
Lee et al. Blind image watermarking based on adaptive data spreading in n‐level DWT subbands
Qadir et al. Estimating JPEG2000 compression for image forensics using Benford's Law
KR100987748B1 (en) System and Method for robust lossless data hiding and recovering from the integer wavelet representation
Kumar et al. Reversible data hiding based on prediction error expansion using adjacent pixels
Wu et al. Image steganography scheme using chaos and fractals with the wavelet transform
Naik et al. An IWT based blind and robust image watermarking scheme using secret key matrix
Phadikar et al. Quantization based data hiding scheme for efficient quality access control of images using DWT via lifting
Vanmathi et al. A Survey of State of the Art techniques of Steganography
Ling et al. Watermarking for image authentication
JP4834844B2 (en) Information processing apparatus, information processing method, and program
Sowmya et al. Video authentication using watermark and digital signature—a study
Senthil et al. Digital image watermarking using edge detection and wavelets with robustness analysis against jpeg compression attacks
Vybornova Method for construction of highly robust watermarks in the task of copyright protection for digital images
Rosales-Roldan et al. Semi-fragile watermarking-based color image authentication with recovery capability
Xiang et al. Effective steganalysis of YASS based on statistical moments of wavelet characteristic function and Markov process
Phadikar et al. QIM data hiding for tamper detection and correction in digital images using wavelet transform

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110825

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150