JP2000287073A - Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit - Google Patents

Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit

Info

Publication number
JP2000287073A
JP2000287073A JP11303185A JP30318599A JP2000287073A JP 2000287073 A JP2000287073 A JP 2000287073A JP 11303185 A JP11303185 A JP 11303185A JP 30318599 A JP30318599 A JP 30318599A JP 2000287073 A JP2000287073 A JP 2000287073A
Authority
JP
Japan
Prior art keywords
detection
image
digital watermark
detection target
sequence
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.)
Pending
Application number
JP11303185A
Other languages
Japanese (ja)
Inventor
Takao Nakamura
高雄 中村
Hiroshi Ogawa
宏 小川
Atsuki Tomioka
淳樹 富岡
Yoichi Takashima
洋一 高嶋
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP11303185A priority Critical patent/JP2000287073A/en
Publication of JP2000287073A publication Critical patent/JP2000287073A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect an electronic watermark from a partial image by adding a watermark pattern resulting from applying discrete inverse Fourier transform to a watermark series matrix, after revision to an original image in a form of tiles to generate an imbedded image and to quicken image processing. SOLUTION: An imbed object component designation section 130 uses key information 104 to generate imbed object component position information 131 and gives the information 131 to a component value revision section 140. An imbed series generating section 120 spreads position marker information and an electronic watermark 103 to an imbed series 121 and gives the result to the component value revision section 140. The component value revision section 140 uses the imbed object component position information 131 and the imbed series 121, to set a null matrix to a watermark coefficient matrix 141 as its initial value. The component value revision section 140 revises component values of the watermark coefficient matrix 141 that is a complex matrix set initially to the null matrix, and a discrete inverse Fourier transform section 150 applies discrete inverse Fourier transform to the watermark coefficient matrix 141 to generate a watermark pattern 151. Then a watermark pattern addition section 110 emphasizes the watermark pattern by using a strength parameter 102, to provide an output of an imbedded image 105 that results from adding the watermark pattern to the input original image 101 in a form of tiles.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子透かし埋め込
み方法及び電子透かし検出方法及び電子透かし埋め込み
装置、及び電子透かし検出装置、及び電子透かし埋め込
みプログラムを格納した記憶媒体、及び電子透かし検出
プログラムを格納した記憶媒体、及び電子透かしシステ
ム及び集積回路に係り、特に、ディジタルコンテンツの
著作権保護を実現するために、コンテンツ自体の情報を
人間には知覚出来ない程度の微小量だけ変更し、当該コ
ンテンツ内に、人間の知覚に感知されないようにするた
めの情報である透かし情報を埋め込み、その透かし情報
を検出するための電子透かし埋め込み方法及び電子透か
し検出方法及び電子透かし埋め込み装置、及び電子透か
し検出装置、及び電子透かし埋め込みプログラムを格納
した記憶媒体、及び電子透かし検出プログラムを格納し
た記憶媒体、及び電子透かしシステム及び集積回路に関
する。
The present invention relates to a digital watermark embedding method, a digital watermark detecting method, a digital watermark embedding device, a digital watermark detecting device, a storage medium storing a digital watermark embedding program, and a digital watermark detecting program. In particular, the present invention relates to a storage medium, a digital watermarking system, and an integrated circuit, in which, in order to realize copyright protection of digital content, the information of the content itself is changed by a very small amount that cannot be perceived by humans, and A digital watermark embedding method, a digital watermark detection method, a digital watermark embedding device, and a digital watermark detection device for embedding watermark information, which is information for preventing human perception, from detecting the watermark information. And a storage medium storing a digital watermark embedding program, and Storage medium storing the digital watermark detection program, and an electronic watermark system, and an integrated circuit.

【0002】近年、ディジタルコンテンツをネットワー
クを利用して送信することが、音声・動画・静止画など
のディジタル情報に対する技術(例えば、JPEG方式
[Joint Picture Coding Expert Group ]など)の進歩
により、容易になってきている。また、ネットワークに
よるコンテンツの流通も、インターネットなどの情報イ
ンフラの普及に伴い始まりつつある。
In recent years, transmission of digital contents over a network has been facilitated by the advancement of digital information technology (eg, JPEG [Joint Picture Coding Expert Group], etc.) for audio, video, and still images. It has become to. In addition, distribution of contents via a network has begun with the spread of information infrastructure such as the Internet.

【0003】ところが、ネットワークによって配送され
るコンテンツは、ディジタル情報であるため、パーソナ
ルコンテンツなどを用いて完全な複製を行うことが容易
である。また、インターネットなどの情報インフラで
は、すべての利用者が情報発信者となり得るため、不正
コピーや、不正コピーを販売するといった著作権侵害が
行われ得る。さらに、パーソナルコンピュータの処理能
力の向上に伴って、パーソナルコンピュータ上で画像や
音声データを加工・編集することも容易となり、原著作
権者の意図しない改ざんや、不正な二次利用等の著作権
侵害も行われ得る。これらの、著作権侵害の脅威が著作
者に情報提供を躊躇させ、ネットワークによる情報流通
を阻害しているという現状がある。
[0003] However, since the content delivered through the network is digital information, it is easy to make a complete copy using personal content or the like. Further, in an information infrastructure such as the Internet, all users can be information senders, so that illegal copying or copyright infringement such as selling illegal copying may be performed. Furthermore, with the improvement in the processing capability of personal computers, it becomes easier to process and edit image and audio data on personal computers, and copyrights such as unintended tampering by the original copyright owner and unauthorized secondary use are Infringement can also take place. These threats of copyright infringement make the authors hesitate to provide information and hinder the distribution of information through networks.

【0004】また、これとは別に、現在コンテンツ製作
の現場からは「あるコンテンツを正しく権利処理して正
当な二次利用をしたいと思っても、権利の所在が分から
ずどこに問い合わせればよいのか分からない」といった
問題もあり、コンテンツの再利用の促進が抑制されてい
る現状である。本発明は、これらの現状を踏まえて、電
子透かしの埋込及び検出を行うための電子透かし埋め込
み方法及び電子透かし検出方法及び電子透かし埋め込み
装置、及び電子透かし検出装置、及び電子透かし埋め込
みプログラムを格納した記憶媒体、及び電子透かし検出
プログラムを格納した記憶媒体、及び電子透かしシステ
ム及び集積回路に関する。
[0004] Separately from this, from the current content production site, even if the user wants to correctly process a certain content and perform a legitimate secondary use, he does not know where the right is and where should he inquire? There is a problem such as "I don't know." The present invention stores a digital watermark embedding method, a digital watermark detecting method, a digital watermark embedding device, a digital watermark detecting device, and a digital watermark embedding program for embedding and detecting a digital watermark in view of these circumstances. The present invention relates to a storage medium, a storage medium storing a digital watermark detection program, a digital watermark system, and an integrated circuit.

【0005】[0005]

【従来の技術】従来において、電子透かし技術を利用し
た著作権管理/保護システムが提案されている。電子透
かし技術に関連した技術として、「A.Piva et al.:"DCT
-based Watermark Recovering without Resorting to t
he Uncorrupted Orignal Image", Proceedings of the
1997 International Conference on Image Processing
(ICIP'97),1997」(以下、Ref.1 と記す) や、「Takao
Nakamura, Hiroshi Ogawa, Youichi Takashima,:"A Wat
ermarking Technique for Still Image" NTT R&D Vol.4
7,No.6, 1998 」(以下、Ref.2 と記す) や、「Wisetsu
it Piyapisuit, Kineo Matsui,: "Block Characteristi
c in Color Image Watermarking Using Equivalent Sig
nal Transform" National Conference of the Institut
e of Electronics,Information and Communication Eng
ineers, D-11-42, 1999 」(以下、Ref.3と記す) 等が
ある。
2. Description of the Related Art Conventionally, a copyright management / protection system using a digital watermark technique has been proposed. As a technology related to digital watermarking technology, “A. Piva et al.:”DCT
-based Watermark Recovering without Resorting to t
he Uncorrupted Orignal Image ", Proceedings of the
1997 International Conference on Image Processing
(ICIP'97), 1997 ”(hereinafter referred to as Ref. 1) and“ Takao
Nakamura, Hiroshi Ogawa, Youichi Takashima,: "A Wat
ermarking Technique for Still Image "NTT R & D Vol.4
7, No. 6, 1998 "(hereinafter referred to as Ref. 2) and" Wisetsu
it Piyapisuit, Kineo Matsui ,: "Block Characteristi
c in Color Image Watermarking Using Equivalent Sig
nal Transform "National Conference of the Institut
e of Electronics, Information and Communication Eng
ineers, D-11-42, 1999 "(hereinafter referred to as Ref. 3).

【0006】Ref.1 に示す方法は、画像サイズで直交変
換して周波数成分行列を取得し、透周波数成分行列の中
の中間周波数帯域の係数値を変更することにより透かし
情報を埋め込む。係数値の変更は、スペクトル拡散技術
を用いる。これにより、画像の非可逆圧縮や色変換、コ
ントラスト変更などに対し、耐性がある。また、Ref.1
に示す方法は、透かし情報を読み取りの際には、調べた
い画像を直交変換して得られる周波数成分行列中の中間
周波数帯域の係数値を逆拡散することにより、透かし情
報読み取る。これにより、画像の拡大/ 縮小に対して
は、オリジナルのディジタルコンテンツと比較し、オリ
ジナルのディジタルコンテンツと同じサイズに併せてか
ら検出を行うことで対応できる。
The method shown in Ref. 1 embeds watermark information by obtaining a frequency component matrix by orthogonally transforming the image size and changing the coefficient value of the intermediate frequency band in the transmission frequency component matrix. The change of the coefficient value uses a spread spectrum technique. Thereby, it is resistant to irreversible compression, color conversion, and contrast change of an image. Also, Ref. 1
In reading the watermark information, the watermark information is read by despreading the coefficient value of the intermediate frequency band in the frequency component matrix obtained by orthogonally transforming the image to be examined. As a result, the enlargement / reduction of the image can be dealt with by comparing the size of the image with the original digital content and performing detection after adjusting the size to the same size as the original digital content.

【0007】また、Ref.1 に示す方法は、読み取り時
は、スペクトル拡散で用いる乱数の初期値を一つずつ試
して、レスポンスが高かったものを読み取り透かし情報
とする。これにより、一部切り出しなどについては、切
り取られた部分がオリジナルのディジタルコンテンツの
どこにあたるかがわかれば、検出可能である。次に、上
記のRef.2 に示す方法は、画像を一般の非可逆圧縮で用
いられるブロックサイズにより大きなブロックに分割
し、ブロック毎に直交変換を行い周波数成分行列を得
て、これを正規化する。そして、埋め込みを行う係数列
を鍵情報によって選択し、係数値の量子化によって透か
し情報を埋め込む。変更後の行列を逆正規化、逆直交変
換を行うことで透かし埋め込み済画像を得る。また、当
該方法は、低周波数帯域を変更することにより耐性が向
上する。
In the method shown in Ref. 1, at the time of reading, the initial values of random numbers used in spread spectrum are tried one by one, and the one with a high response is read as watermark information. Thus, partial cutout and the like can be detected if it is known where the cutout portion corresponds to the original digital content. Next, the method shown in Ref. 2 above divides an image into large blocks according to the block size used in general lossy compression, performs orthogonal transformation for each block, obtains a frequency component matrix, and normalizes this. I do. Then, a coefficient sequence to be embedded is selected based on the key information, and watermark information is embedded by quantizing the coefficient value. The watermark-embedded image is obtained by performing inverse normalization and inverse orthogonal transformation on the changed matrix. In addition, the method improves the tolerance by changing the low frequency band.

【0008】上記のRef.3 に示す方法は、カラー像の等
価信号変換(例えば、RGB←→YCbCrなど)の変
換行列を定義通りのものから透かし情報に応じて若干変
更した変換を施すことで埋め込みを行う。Ref.3 におけ
る透かし情報検出時には、検出対象画像を等価信号変換
し、これらの統計値が埋め込みによって特異な状態にな
っているかどうかで検出を行う。これにより、Ref.3 に
示す方法は、画像の幾何学的改変に対して耐性を持つ。
[0008] The method shown in Ref. 3 mentioned above applies a conversion in which a conversion matrix for equivalent signal conversion of a color image (for example, RGB ← → YCbCr, etc.) is slightly changed from the defined one according to watermark information. Perform embedding. At the time of watermark information detection in Ref.3, the detection target image is converted into an equivalent signal, and detection is performed based on whether or not these statistical values are peculiar due to embedding. Thus, the method shown in Ref. 3 is resistant to geometrical modification of the image.

【0009】また、電子透かしをディジタル画像内に埋
め込む際に、画像全体に渡って、透かしパターンと呼ば
れる模様を等しい強さで加算して電子透かしを埋め込ん
だ画像を得る方法もある。
In embedding a digital watermark in a digital image, there is a method of adding a pattern called a watermark pattern with equal strength over the entire image to obtain an image in which a digital watermark is embedded.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上記の
Ref.1 に示す方法は、以下のような問題がある。 I. 部分切取りに対する耐性が低い。 II. 原画像サイズの直交変換を用いるため処理が重
い。 III. 透かし埋め込みによる画質劣化が大きい。
SUMMARY OF THE INVENTION
The method shown in Ref.1 has the following problems. I. Low resistance to partial clipping. II. Processing is heavy because orthogonal transform of original image size is used. III. Image quality is significantly degraded due to watermark embedding.

【0011】IV. 透かし情報の検出時に透かし情報の
取り得る値全てについて試行を行うので、処理が重い。 また、上記のRef.2 に示す方法は、非可逆圧縮に対する
耐性を有するが、色変換、コントラスト変更、部分切取
りに対する耐性が低いという問題がある。また、正規化
によって画像の複雑部分には強く、平坦部分には弱く埋
め込むことにより画質/耐性の向上を狙っているがあま
り有効に機能しない。また、Ref.2 における透かし情報
検出時には、埋め込み時の正規化までの処理を行い、鍵
情報と正規化周波数成分行列から透かし情報を検出す
る。これにより、ブロックサイズが画像サイズと同じ場
合、拡大/縮小に対する耐性を持つ。しかし、検出した
透かし情報の信頼度の定量的評価をしていない。また、
透かし埋め込みによる画質劣化が大きいという問題があ
る。
IV. Since the trial is performed for all possible values of the watermark information when detecting the watermark information, the processing is heavy. The method described in Ref. 2 has resistance to lossy compression, but has a problem that resistance to color conversion, contrast change, and partial clipping is low. In addition, normalization aims at improvement of image quality / resistance by embedding strong in a complicated part of an image and weakly in a flat part, but does not function very effectively. When watermark information is detected in Ref.2, processing up to normalization at the time of embedding is performed, and watermark information is detected from the key information and the normalized frequency component matrix. Thereby, when the block size is the same as the image size, it has resistance to enlargement / reduction. However, it does not quantitatively evaluate the reliability of the detected watermark information. Also,
There is a problem that image quality degradation due to watermark embedding is large.

【0012】また、Ref.3 に示す方法は、非可逆圧縮や
色変換などに非常に弱い。また、多ビット埋め込みの場
合、ブロック毎に1ビットを埋め込むので、幾何学的改
変に対する耐性が弱くなるという問題がある。さらに、
電子透かしを埋め込む際に、透かしパターンという模様
を等しい強さで埋め込む方法は、一般に画像の平坦部分
は複雑な部分よりも劣化に対して知覚されやすいので、
平坦部分で劣化が知覚されない程度の強さでしか透かし
パターンを画像に加算することができないという問題が
ある。
The method shown in Ref. 3 is very weak in irreversible compression and color conversion. Also, in the case of multi-bit embedding, since one bit is embedded for each block, there is a problem that resistance to geometrical modification is weakened. further,
When embedding a digital watermark, a method of embedding a pattern called a watermark pattern with equal strength is generally perceived as being more likely to deteriorate in a flat part of an image than in a complicated part.
There is a problem that a watermark pattern can be added to an image only with such an intensity that deterioration is not perceived in a flat portion.

【0013】本発明は、上記の点に鑑みなされたもの
で、埋め込み処理を高速に行うことが可能であると共
に、検出処理において、原画像がなく、部分画像が原画
像のどの部分に相当するかが分からない場合において
も、部分画像からの電子透かしを検出することが可能
な、電子透かし埋め込み方法及び電子透かし検出方法及
び電子透かし埋め込み装置、及び電子透かし検出装置、
及び電子透かし埋め込みプログラムを格納した記憶媒
体、及び電子透かし検出プログラムを格納した記憶媒
体、及び電子透かしシステム及び集積回路を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and enables the embedding process to be performed at a high speed. In the detection process, there is no original image, and a partial image corresponds to any part of the original image. A digital watermark embedding method, a digital watermark detection method, a digital watermark embedding device, and a digital watermark detection device capable of detecting a digital watermark from a partial image even when it is unknown.
It is another object of the present invention to provide a storage medium storing a digital watermark embedding program, a storage medium storing a digital watermark detection program, and a digital watermark system and an integrated circuit.

【0014】本発明の更なる目的は、視覚的特性に基づ
いた画像の局所的複雑度の算出方法を用いて、画像の局
所的複雑度に応じて透かしパターンの強度を変更し、相
対的に透かしの耐性を向上させることが可能な、電子透
かし埋め込み方法及び電子透かし検出方法及び電子透か
し埋め込み装置、及び電子透かし検出装置、及び電子透
かし埋め込みプログラムを格納した記憶媒体、及び電子
透かし検出プログラムを格納した記憶媒体、及び電子透
かしシステム及び集積回路を提供することである。
It is a further object of the present invention to use a method of calculating the local complexity of an image based on visual characteristics to change the strength of a watermark pattern according to the local complexity of the image, and to relatively change the strength of the watermark pattern. A digital watermark embedding method, a digital watermark detecting method, a digital watermark embedding device, a digital watermark detecting device, a storage medium storing the digital watermark embedding program, and a digital watermark detecting program capable of improving the resistance of the watermark And a digital watermark system and an integrated circuit.

【0015】[0015]

【課題を解決するための手段】図1は、本発明の第1の
原理を説明するための図である。本発明(請求項1)
は、ディジタル画像に対して電子透かしを人間の知覚に
感知されないように埋め込みを行う電子透かし埋込方法
において、電子透かしをディジタル原画像に埋め込む際
に、鍵情報とディジタル画像に埋め込む電子透かしから
複素行列である透かし係数行列の各係数値の実数成分と
虚数成分を独立に変更し(ステップ1)、変更後の透か
し系列行列を離散逆フーリエ変換して、透かしパターン
を生成し(ステップ2)、透かしパターンを原画像にタ
イル状に加算し(ステップ3)、埋め込み済画像を生成
する(ステップ4)。
FIG. 1 is a diagram for explaining a first principle of the present invention. The present invention (Claim 1)
Is a digital watermark embedding method that embeds a digital watermark in a digital image so that it is not perceived by human perception. The real component and the imaginary component of each coefficient value of the watermark coefficient matrix, which is a matrix, are independently changed (step 1), and the watermark sequence matrix after the change is subjected to discrete inverse Fourier transform to generate a watermark pattern (step 2). The watermark pattern is added to the original image in a tile shape (step 3) to generate an embedded image (step 4).

【0016】本発明(請求項2)は、鍵情報から電子透
かしを埋め込む長さの系列である埋め込み対象成分位置
情報を生成し、鍵情報を用いて、位置マーカ情報と電子
透かしを埋め込み系列に拡散し、埋め込み対象成分位置
情報と埋め込み系列を用いて、初期値が零行列の複素行
列である透かし係数行列の成分値を変更し、透かし係数
行列を離散逆フーリエ変換し、透かしパターンを生成
し、透かしパターンを強度パラメータによって強調し、
強調された透かしパターンを入力された画像にタイル状
に加算して得られる埋め込み済画像を生成する。
According to the present invention (claim 2), embedding target component position information, which is a sequence of a length for embedding an electronic watermark, is generated from key information, and position marker information and an electronic watermark are converted into an embedding sequence using the key information. Spread, using the embedding target component position information and the embedding sequence, change the component value of the watermark coefficient matrix whose initial value is a complex matrix of zero matrix, perform a discrete inverse Fourier transform of the watermark coefficient matrix, and generate a watermark pattern. , Emphasizing the watermark pattern with the intensity parameter,
An embedded image is generated by adding the emphasized watermark pattern to the input image in a tiled manner.

【0017】本発明(請求項3)は、埋め込み対象成分
位置情報を生成する際に、鍵情報を初期値とする乱数列
を生成し、乱数列から埋め込み対象成分位置情報を生成
する。本発明(請求項4)は、位置マーカ情報と電子透
かしを埋込系列に拡散する際に、 鍵情報を初期値とす
る0番目の拡散系列を生成し、拡散系列を位置マーカ情
報を表す系列とし、所定倍して格納しておき、電子透か
しをシンボル表現に変換し、シンボル総数及び各シンボ
ル値を取得し、鍵情報にシンボル値を加えたものを初期
値とする拡散系列を生成し、シンボルを表す系列とし
て、格納されている拡散系列の各項に加え、格納されて
いる値の平均値を求め、各項から平均値を減算した値を
埋め込み系列とする。
According to the present invention (claim 3), when generating the position information of the component to be embedded, a random number sequence having the key information as an initial value is generated, and the position information of the component to be embedded is generated from the random number sequence. According to the present invention (claim 4), when spreading position marker information and a digital watermark into an embedded sequence, a 0th spreading sequence with key information as an initial value is generated, and the spreading sequence is a sequence representing position marker information. And store it by multiplying it by a predetermined number, convert the digital watermark into a symbol expression, obtain the total number of symbols and each symbol value, and generate a spreading sequence whose initial value is the sum of the key information and the symbol value, As a sequence representing a symbol, an average value of stored values is obtained in addition to each item of the stored spread sequence, and a value obtained by subtracting the average value from each item is used as an embedded sequence.

【0018】本発明(請求項5)は、拡散系列を生成す
る際に、拡散系列として、+1または、−1のいずれか
を用いる。本発明(請求項6)は、位置マーカ情報と電
子透かしを埋め込み系列に拡散する際に、 鍵情報を初
期値として、拡散系列を生成し、所定のパラメータを該
拡散系列に乗算して、記憶手段に保持し、電子透かしを
シンボル表現に変換し、該シンボル表現のシンボルに対
応する拡散系列を、記憶手段の各項に加算し、記憶手段
の各項から平均値を減算した結果を埋め込み系列とす
る。
According to the present invention (claim 5), when generating a spreading sequence, either +1 or -1 is used as the spreading sequence. According to the present invention (claim 6), when spreading position marker information and a digital watermark into an embedded sequence, a spread sequence is generated using key information as an initial value, and a predetermined parameter is multiplied by the spread sequence and stored. Means for converting the digital watermark into a symbol representation, adding a spread sequence corresponding to the symbol of the symbol representation to each item of the storage means, and subtracting an average value from each term of the storage means to obtain an embedded sequence. And

【0019】本発明(請求項7)は、拡散系列を生成す
る際に、拡散系列として、+1または、−1のいずれか
を用いる。本発明(請求項8)は、ディジタル画像に対
して人間の知覚に感知されないように電子透かしが埋め
込まれた検出対象画像から該電子透かしを検出するため
の電子透かし検出方法において、検出対象画像に埋め込
まれている電子透かしを検出する際に、検出対象画像の
任意の位置からブロックを切り出し(ステップ5)、ブ
ロックを離散フーリエ変換して、係数行列を取得し(ス
テップ6)、鍵情報によって指定される検出対象成分位
置情報を生成し(ステップ7)、検出対象成分位置情報
の各項に平行移動量による係数の位相差を掛け算し、位
置マーカ系列を生成し(ステップ8)、埋め込まれてい
る透かしパターンの開始点と検出対象画像から切り出し
た画素ブロックの開始点が一致する時の平行移動量であ
るオフセット情報を抽出し(ステップ9)、オフセット
情報に基づいて切り出した画素ブロックから埋め込まれ
ている電子透かしを検出する(ステップ10)。
According to the present invention (claim 7), when generating a spreading sequence, either +1 or -1 is used as the spreading sequence. The present invention (claim 8) provides a digital watermark detection method for detecting a digital watermark from a detection target image in which a digital image is embedded so that the digital watermark is not perceived by human perception. When detecting the embedded digital watermark, a block is cut out from an arbitrary position of the detection target image (step 5), the block is subjected to discrete Fourier transform, a coefficient matrix is obtained (step 6), and designated by key information. The detected target component position information to be detected is generated (step 7), and each term of the detected target component position information is multiplied by the phase difference of the coefficient according to the amount of translation to generate a position marker sequence (step 8). Offset information, which is the amount of parallel movement when the start point of the watermark pattern that is present and the start point of a pixel block cut out from the detection target image match ( Step 9) for detecting digital watermark that is embedded from the pixel block cut out on the basis of the offset information (step 10).

【0020】本発明(請求項9)は、鍵情報から検出対
象成分位置情報を生成する際に、鍵情報を初期値とする
乱数列を生成し、乱数列から検出対象成分位置情報を生
成する。本発明(請求項10)は、位置マーカ系列を生
成する際に、鍵情報を初期値とする0番目の拡散系列を
生成し、拡散系列を位置マーカ系列として出力する。
According to the present invention (claim 9), when generating the detection target component position information from the key information, a random number sequence having the key information as an initial value is generated, and the detection target component position information is generated from the random number sequence. . According to the present invention (claim 10), when a position marker sequence is generated, a 0th spreading sequence with key information as an initial value is generated, and the spreading sequence is output as a position marker sequence.

【0021】本発明(請求項11)は、オフセット情報
を抽出する際に、オフセット候補情報を生成し、検出対
象画像のオフセット候補情報の位置から画素ブロックを
切り出し、画素ブロックを離散フーリエ変換し、検出対
象係数行列を生成し、検出対象成分位置情報と検出対象
係数行列から検出対象系列を生成し、位置マーカ系列と
検出対象系列の相関値とオフセット候補情報を組にし
て、位置マーカ検出情報を生成し、位置マーカ系列と検
出対象系列の相関値が最大の時のオフセット候補情報を
オフセット情報として抽出する。
According to the present invention (claim 11), when extracting offset information, offset candidate information is generated, a pixel block is cut out from the position of the offset candidate information of the detection target image, and the pixel block is subjected to discrete Fourier transform. A detection target coefficient matrix is generated, a detection target sequence is generated from the detection target component position information and the detection target coefficient matrix, and a position marker sequence, a correlation value of the detection target sequence, and offset candidate information are set, and the position marker detection information is obtained. The offset candidate information generated when the correlation value between the position marker sequence and the detection target sequence is maximum is extracted as offset information.

【0022】本発明(請求項12)は、電子透かしを検
出する際に、検出対象画像からオフセット候補情報だけ
平行移動した位置から、N×N画素の画素ブロックを切
り出し、画素ブロックを離散フーリエ変換し、検出対象
係数行列を生成し、検出対象成分位置情報と検出対象係
数行列から検出対象系列を生成し、検出対象系列と鍵情
報からシンボル検出情報を生成し、シンボル検出情報か
ら検出シンボルを生成し、各検出シンボルから検出結果
を電子透かしとして検出して出力する。
According to the present invention (claim 12), when detecting a digital watermark, a pixel block of N × N pixels is cut out from a position translated from the detection target image by offset candidate information, and the pixel block is subjected to discrete Fourier transform. Generates a detection target coefficient matrix, generates a detection target sequence from the detection target component position information and the detection target coefficient matrix, generates symbol detection information from the detection target sequence and key information, and generates a detection symbol from the symbol detection information. Then, a detection result is detected as a digital watermark from each detection symbol and output.

【0023】本発明(請求項13)は、電子透かしを検
出する際に、シンボル検出情報からシンボル位置毎にシ
ンボル位置毎系列を生成し、各シンボル位置毎系列の中
で最大値をとる時のシンボル候補を検出シンボルとし、
検出シンボルを逆シンボル変換し、検出結果を取得す
る。
According to the present invention (claim 13), when detecting a digital watermark, a sequence for each symbol position is generated for each symbol position from the symbol detection information, and a maximum value among the sequences for each symbol position is obtained. Let the symbol candidate be a detected symbol,
The detection symbol is subjected to inverse symbol conversion to obtain a detection result.

【0024】本発明(請求項14)は、電子透かしを検
出する際に、切り出した画素ブロックをオフセット情報
によりサイクリックシフトすることにより画素ブロック
を出力する。本発明(請求項15)は、電子透かしを検
出する際に、検出対象画像がN×Nサイズ以上である場
合には、該検出対象画像からN×N画素の画素ブロック
を切り出し、検出対象画像がN×Nサイズより小さい場
合には、該検出対象画像のN×Nサイズに含まれる検出
対象画像部分の平均画素値を求め、該N×Nサイズに足
りない部分を該平均画素値で埋め、画素ブロックを生成
し、切り出された画素ブロックをサイクリックシフトす
ることにより画素ブロックを出力する。
According to the present invention (claim 14), when detecting a digital watermark, a pixel block is output by cyclically shifting a cut-out pixel block based on offset information. According to the present invention (claim 15), when detecting a digital watermark, if the detection target image is equal to or larger than N × N size, a pixel block of N × N pixels is cut out from the detection target image, and the detection target image is extracted. Is smaller than the N × N size, an average pixel value of the detection target image portion included in the N × N size of the detection target image is obtained, and a portion less than the N × N size is filled with the average pixel value. , A pixel block is generated, and the extracted pixel block is cyclically shifted to output the pixel block.

【0025】本発明(請求項16)は、電子透かしを検
出する際に、検出対象画像のオフセットの位置から画素
ブロックを分割し、分割された画素ブロックを離散フー
リエ変換し、検出対象係数行列を生成し、検出対象成分
位置情報と、検出対象係数行列から検出対象系列を生成
し、検出対象系列と鍵情報からシンボル検出情報を生成
し、シンボル検出情報から画素ブロックを出力する。
According to the present invention (claim 16), when detecting a digital watermark, a pixel block is divided from an offset position of a detection target image, a discrete Fourier transform is performed on the divided pixel block, and a detection target coefficient matrix is obtained. Then, a detection target sequence is generated from the detection target component position information and the detection target coefficient matrix, symbol detection information is generated from the detection target sequence and key information, and a pixel block is output from the symbol detection information.

【0026】本発明(請求項17)は、電子透かしを検
出する際に、検出対象画像を画素ブロックに分割し、該
画素ブロックをオフセット情報によりサイクリックシフ
トし、サイクリックシフトされた画素ブロックを離散フ
ーリエ変換し、検出対象系列行列を生成し、検出対象成
分位置情報と検出対象係数行列から検出対象系列を生成
し、検出対象系列と鍵情報からシンボル検出情報を生成
し、シンボル検出情報から各検出シンボルを生成し、検
出シンボルから電子透かしを検出する。
According to the present invention (claim 17), when detecting a digital watermark, an image to be detected is divided into pixel blocks, the pixel blocks are cyclically shifted by offset information, and the cyclically shifted pixel blocks are detected. Performs discrete Fourier transform, generates a detection target sequence matrix, generates a detection target sequence from the detection target component position information and the detection target coefficient matrix, generates symbol detection information from the detection target sequence and the key information, and generates symbol detection information from the symbol detection information. A detection symbol is generated, and a digital watermark is detected from the detection symbol.

【0027】本発明(請求項18)は、電子透かしを検
出する際に、検出対象画像を画素ブロックに分割し、該
画素ブロックをオフセットによりサイクリックシフト
し、このとき、該検出対象画像の端の辺りでN×Nサイ
ズに満たない部分については、足りない部分を平均画素
値で埋め、画素ブロックを離散フーリエ変換し、検出対
象係数行列を生成し、検出対象成分位置情報と検出対象
係数行列から検出対象系列を生成し、検出対象系列と鍵
情報からシンボル検出情報を生成し、シンボル検出情報
から各検出シンボルを生成し、検出シンボルから電子透
かしを検出する。
According to the present invention (claim 18), when detecting a digital watermark, an image to be detected is divided into pixel blocks, and the pixel blocks are cyclically shifted by an offset. , The portion less than the N × N size is filled in with the average pixel value, the pixel block is subjected to discrete Fourier transform, a detection target coefficient matrix is generated, and the detection target component position information and the detection target coefficient matrix , A symbol detection information is generated from the detection target sequence and the key information, each detection symbol is generated from the symbol detection information, and a digital watermark is detected from the detection symbol.

【0028】本発明(請求項19)は、位置マーカ系列
を生成する際に、検出対象画像をオフセット情報により
ブロックに分割し、画素ブロックの画素値が加算された
加算ブロックを画素ブロックとして出力する。本発明
(請求項20)は、位置マーカ系列を生成する際に、検
出対象画像をブロックに分割し、分割されたブロックの
画素値を加算して得られたブロックを加算ブロックと
し、加算ブロックをオフセット情報によりサイクリック
シフトし、画素ブロックを生成する。
According to the present invention (claim 19), when a position marker sequence is generated, an image to be detected is divided into blocks according to offset information, and an added block to which the pixel values of the pixel blocks are added is output as a pixel block. . According to the present invention (claim 20), when a position marker sequence is generated, a detection target image is divided into blocks, a block obtained by adding pixel values of the divided blocks is set as an addition block, and the addition block is The pixel data is cyclically shifted by the offset information to generate a pixel block.

【0029】本発明(請求項21)は、位置マーカ系列
を生成する際に、検出対象画像をブロックに分割し、こ
のとき、該検出対象画像の端の辺りで1ブロックに満た
ない画素領域について、分割時の検出対象画像相当分の
平均値を求めて埋め、それでも足りない部分は検出対象
画像相当分の画素値の平均値を求め、該平均値で埋めて
ブロックとし、分割されたブロックの画素値を加算して
得られたブロックを加算ブロックとし、加算ブロックを
オフセット情報によりサイクリックシフトし、画素ブロ
ックを生成する。
According to the present invention (claim 21), when a position marker sequence is generated, an image to be detected is divided into blocks. At this time, a pixel area less than one block around an edge of the image to be detected is determined. Then, an average value corresponding to the image to be detected at the time of division is obtained and filled, and the portion that is still insufficient is obtained by averaging the pixel values corresponding to the image to be detected, and the average value is filled to form a block. A block obtained by adding the pixel values is set as an addition block, and the addition block is cyclically shifted based on the offset information to generate a pixel block.

【0030】本発明(請求項22)は、位置マーカ系列
を生成する際に、検出対象系列生成後に、該検出対象系
列の平均を0に変える。本発明(請求項23)は、電子
透かしを検出する際に、検出対象系列を生成した後に、
該検出対象系列の平均を0に変える。本発明(請求項2
4)は、位置マーカ系列の検出時にオフセット情報を抽
出する際に、すべての位置マーカ検出情報の最大値を求
め、所定の閾値より該最大値が小さい場合には、オフセ
ットの検出に失敗したことを表す信号を出力し、該最大
値が該所定の閾値以上である場合には、該最大値をとる
ときのオフセット情報を出力する。
According to the present invention (claim 22), when the position marker sequence is generated, the average of the detection target sequence is changed to 0 after the detection target sequence is generated. According to the present invention (claim 23), when detecting a digital watermark, after generating a detection target sequence,
The average of the detection target series is changed to 0. The present invention (Claim 2
4) When the offset information is extracted at the time of detecting the position marker sequence, the maximum value of all the position marker detection information is obtained. If the maximum value is smaller than a predetermined threshold, the offset detection has failed. Is output, and when the maximum value is equal to or greater than the predetermined threshold value, offset information for obtaining the maximum value is output.

【0031】本発明(請求項25)は、電子透かしを検
出する際に、シンボル検出情報をシンボル位置毎に分割
して、シンボル位置毎系列を生成し、シンボル位置毎系
列の最大値を求め、最大値が所定の閾値より小さい場合
には、検出対象画像に埋め込まれている電子透かしの検
出に失敗したことを表す信号を出力し、該最大値が該所
定の閾値以上の場合には、該最大値をとるときのシンボ
ル候補を検出シンボルとし、検出シンボルから電子透か
しの表現に変換する。
According to the present invention (claim 25), when detecting a digital watermark, symbol detection information is divided for each symbol position to generate a sequence for each symbol position, and the maximum value of the sequence for each symbol position is obtained. If the maximum value is smaller than the predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output.If the maximum value is equal to or larger than the predetermined threshold, the signal is output. The symbol candidate at the maximum value is set as a detected symbol, and the detected symbol is converted into a digital watermark expression.

【0032】本発明(請求項26)は、閾値として、平
均0、分散1の正規分布の分布関数の値に基づいて定め
られた閾値を適用する。本発明(請求項27)は、ディ
ジタル画像に対して人間の知覚に感知されないように電
子透かしが埋め込まれた検出対象画像から該電子透かし
を検出するための電子透かし検出方法において、検出対
象画像から電子透かしを検出する際に、鍵情報から検出
対象成分位置情報を生成し、鍵情報から位置マーカ系列
を生成し、検出された位置マーカ検出情報により、埋め
込み時の透かしパターンの開始点と検出対象画像から切
り出した画素ブロックの開始点とのずれを表すオフセッ
ト情報を検出し、オフセット情報を用いて画素ブロック
に埋め込まれている電子透かしを検出する。
In the present invention (claim 26), a threshold determined based on the value of a normal distribution function having a mean of 0 and a variance of 1 is applied as the threshold. The present invention (claim 27) provides a digital watermark detection method for detecting a digital image from a detection target image in which a digital watermark is embedded such that the digital image is not perceived by human perception. When detecting a digital watermark, the detection target component position information is generated from the key information, a position marker sequence is generated from the key information, and the start point of the watermark pattern at the time of embedding and the detection target are detected based on the detected position marker detection information. Offset information indicating a deviation from the start point of the pixel block cut out from the image is detected, and a digital watermark embedded in the pixel block is detected using the offset information.

【0033】本発明(請求項28)は、検出対象成分位
置情報を生成する際に、鍵情報を初期値とする乱数列を
生成し、乱数列を元に、埋め込まれている埋め込み系列
の長さと同じ長さの検出対象成分位置情報を生成する。
本発明(請求項29)は、位置マーカ系列を生成する際
に、鍵情報を初期値とする最初の拡散系列を生成し、該
拡散系列を位置マーカ系列とする。
According to the present invention (claim 28), when generating detection target component position information, a random number sequence having key information as an initial value is generated, and based on the random number sequence, the length of the embedded sequence embedded is determined. And the detection target component position information having the same length as
According to the present invention (claim 29), when a position marker sequence is generated, a first spread sequence with key information as an initial value is generated, and the spread sequence is used as a position marker sequence.

【0034】本発明(請求項30)は、位置マーカ検出
情報を検出する際に、検出対象画像と検出対象成分位置
情報と位置マーカ系列を用いて、該検出対象画像からN
×Nサイズの画素ブロックを切り出し、画素ブロックを
離散フーリエ変換して、検出対象係数行列を生成し、オ
フセット情報、検出対象係数行列、及び検出対象成分位
置情報から検出対象系列を生成し、位置マーカ系列と検
出対象系列との相関値を組にして位置マーカ検出情報と
する。
According to the present invention (claim 30), when detecting the position marker detection information, the detection target image, the detection target component position information, and the position marker sequence are used to detect the position marker detection information.
A pixel block of size N is cut out, a discrete Fourier transform is performed on the pixel block, a detection target coefficient matrix is generated, a detection target sequence is generated from the offset information, the detection target coefficient matrix, and the detection target component position information, and a position marker is generated. A set of correlation values between the sequence and the detection target sequence is used as position marker detection information.

【0035】本発明(請求項31)は、位置マーカ系列
を生成する際に、検出対象画像をN×Nサイズのブロッ
クに分割し、すべてのブロックの画素値が加算された加
算ブロックを画素ブロックとする。本発明(請求項3
2)は、電子透かしを検出する際に、検出対象画像と、
検出対象成分位置情報とオフセット情報及び鍵情報を用
いて、該検出対象画像から画素ブロックを切り出し、画
素ブロックを離散フーリエ変換して、検出対象係数行列
を生成し、オフセット情報、検出対象係数行列、及び検
出対象成分位置情報から検出対象系列を生成し、鍵情報
とシンボル候補情報から生成される系列と検出対象系列
との相関値からシンボル検出結果を生成し、シンボル検
出結果の各シンボル位置に基づいて、鍵情報とシンボル
候補情報から生成される系列と検出対象系列との相関値
が最大時のシンボル候補値を検出シンボルとし、検出シ
ンボルを電子透かしの形式に変換した結果を出力する。
According to the present invention (claim 31), when a position marker sequence is generated, an image to be detected is divided into N × N size blocks, and an added block in which the pixel values of all blocks are added is a pixel block. And The present invention (claim 3
2) When detecting a digital watermark, an image to be detected is
Using the detection target component position information, offset information, and key information, a pixel block is cut out from the detection target image, the pixel block is subjected to discrete Fourier transform, a detection target coefficient matrix is generated, and the offset information, the detection target coefficient matrix, A detection target sequence is generated from the detection target component position information, a symbol detection result is generated from a correlation value between the detection target sequence and a sequence generated from the key information and the symbol candidate information, and a symbol detection result is generated based on each symbol position of the symbol detection result. Then, a symbol candidate value having the maximum correlation value between the sequence generated from the key information and the symbol candidate information and the detection target sequence is used as a detected symbol, and the result of converting the detected symbol into a digital watermark format is output.

【0036】本発明(請求項33)は、位置マーカ系列
を生成する際に、検出対象画像からN×Nサイズのブロ
ックを切り出した時、該検出対象画像からN×Nサイズ
に切り出せない場合には、N×Nサイズで切り出そうと
した時に含まれる検出対象画像相当分のみを切り出し、
N×Nサイズで足りない部分は、該検出対象画像相当分
の画素値の平均を求め、該平均で足りない部分を埋め
る。
According to the present invention (claim 33), when a position marker sequence is generated, when an N × N size block is cut out from a detection target image, and when the N × N size block cannot be cut out from the detection target image, Cuts out only the detection target image equivalent included when trying to cut out in N × N size,
For a portion that is not enough in the N × N size, an average of pixel values corresponding to the detection target image is obtained, and the portion that is missing in the average is filled.

【0037】本発明(請求項34)は、電子透かしを検
出する際に、検出対象画像から画素ブロックを分割し、
画素ブロックを離散フーリエ変換し、検出対象係数行列
を生成し、オフセット情報と検出対象成分位置情報と検
出対象係数行列から検出対象系列を生成し、検出対象系
列と鍵情報から検出シンボルを生成し、検出シンボルか
ら副画像を検出する。
According to the present invention (claim 34), when detecting a digital watermark, a pixel block is divided from an image to be detected.
Perform a discrete Fourier transform of the pixel block, generate a detection target coefficient matrix, generate a detection target sequence from the offset information, the detection target component position information, and the detection target coefficient matrix, generate a detection symbol from the detection target sequence and the key information, A sub-image is detected from the detected symbol.

【0038】本発明(請求項35)は、検出対象画像か
ら画素ブロックを分割する際に、検出対象画像からN×
Nサイズのブロックを切り出した時、該検出対象画像か
らN×Nサイズに切り出せない場合には、N×Nサイズ
で切り出そうとした時に含まれる検出対象画像相当分の
みを切り出し、N×Nサイズで足りない部分について、
該検出対象画像相当分の画素値の平均値を求めて埋め
る。
According to the present invention (claim 35), when dividing a pixel block from an image to be detected, N ×
If an N-size block cannot be cut out from the detection target image when an N-size block is cut out, only a portion of the detection target image that is included when trying to cut out the N-by-N size is cut out, and N × N About the part where the size is not enough,
An average value of pixel values corresponding to the image to be detected is obtained and filled.

【0039】本発明(請求項36)は、位置マーカ系列
を検出する際及び、電子透かしを検出する際に、検出対
象画像をN×Nサイズのブロックに分割し、すべてのブ
ロックの画素値が加算された加算ブロックを画素ブロッ
クとする。本発明(請求項37)は、電子透かしを検出
する際に、検出対象画像からN×Nサイズのブロックを
切り出した時、該検出対象画像からN×Nサイズに切り
出せない場合には、N×Nサイズで切り出そうとした時
に含まれる検出対象画像相当分のみを切り出し、N×N
サイズで足りない部分は、該検出対象画像相当分の画素
値の平均値を求め、該平均値で足りない部分を埋める。
According to the present invention (claim 36), when detecting a position marker sequence and when detecting a digital watermark, an image to be detected is divided into N × N size blocks, and the pixel values of all the blocks are The added block obtained by the addition is defined as a pixel block. According to the present invention (claim 37), when a block of N × N size is cut out from an image to be detected when detecting a digital watermark, if the block cannot be cut out to N × N size from the image to be detected, N × N size is used. Cut out only the part equivalent to the detection target image included when trying to cut out in N size, and N × N
For the portion where the size is insufficient, an average value of the pixel values corresponding to the image to be detected is obtained, and the portion where the average value is insufficient is filled.

【0040】本発明(請求項38)は、位置マーカ系列
を検出する際に、検出対象系列を生成した後に、該検出
対象系列の平均を0に変える処理を行う。本発明(請求
項39)は、請求項32において電子透かしを検出する
際に、検出対象系列の生成後に、該検出対象系列の平均
を0に変える処理を行う。本発明(請求項40)は、請
求項34において電子透かしを検出する際に、検出対象
系列の生成後に、該検出対象系列の平均を0に変える処
理を行う。
According to the present invention (claim 38), when detecting a position marker sequence, a process of changing the average of the detection target sequence to 0 after generating the detection target sequence is performed. According to the present invention (claim 39), upon detecting a digital watermark in claim 32, after generating the detection target sequence, a process of changing the average of the detection target sequence to 0 is performed. According to the present invention (claim 40), in detecting the digital watermark in claim 34, after generating the detection target sequence, a process of changing the average of the detection target sequence to 0 is performed.

【0041】本発明(請求項41)は、オフセット情報
を検出する際に、位置マーカ検出情報の最大値を求め、
最大値が所定の閾値より小さい場合には、オフセット情
報の検出に失敗したことを表す信号を出力し、最大値が
所定の閾値以上の場合には、該最大値をとる時のオフセ
ット情報を出力する。
According to the present invention (claim 41), when the offset information is detected, the maximum value of the position marker detection information is obtained.
When the maximum value is smaller than the predetermined threshold, a signal indicating that the detection of the offset information has failed is output. When the maximum value is equal to or more than the predetermined threshold, the offset information at the time of obtaining the maximum value is output. I do.

【0042】本発明(請求項42)は、電子透かしを検
出する際に、シンボル検出結果をシンボル位置毎に分割
し、シンボル位置毎のシンボル位置毎系列の最大値を求
め、最大値が所定の閾値より小さい場合には、検出対象
画像に埋め込まれている電子透かしの検出に失敗したこ
とを表す信号を出力し、最大値が所定の閾値以上の場合
には、該最大値をとる時のシンボル候補を出力する。
According to the present invention (claim 42), when detecting a digital watermark, the symbol detection result is divided for each symbol position, and the maximum value of the symbol position sequence for each symbol position is determined. If the value is smaller than the threshold value, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output. If the maximum value is equal to or greater than the predetermined threshold value, the symbol at which the maximum value is taken is output. Output candidates.

【0043】本発明(請求項43)は、上記の閾値とし
て、平均0、分散1の正規分布の分布関数の値に基づい
て定められた閾値を用いる。図2は、本発明の第1の原
理構成図である。本発明(請求項44)は、ディジタル
画像に対して人間の知覚に感知されないように電子透か
しの埋め込みを行う電子透かし埋込装置であって、鍵情
報とディジタル画像に埋め込む電子透かしから複素行列
である透かし係数行列の各係数値の実数成分と虚数成分
を独立に変更する変更手段1Aと、変更後の透かし系列
行列を離散逆フーリエ変換して、透かしパターンを生成
する透かしパターン生成手段2Aと、透かしパターンを
原画像にタイル状に加算する加算手段3Aと、埋め込み
済画像を生成する画像生成手段4Aとを有する。
According to the present invention (claim 43), a threshold determined based on the value of a distribution function of a normal distribution having an average of 0 and a variance of 1 is used as the threshold. FIG. 2 is a first principle configuration diagram of the present invention. The present invention (Claim 44) is an electronic watermark embedding device for embedding an electronic watermark in a digital image so as not to be perceived by human perception. Changing means 1A for independently changing the real component and imaginary component of each coefficient value of a certain watermark coefficient matrix, watermark pattern generating means 2A for generating a watermark pattern by performing a discrete inverse Fourier transform on the changed watermark sequence matrix, It has an adding unit 3A for adding a watermark pattern to the original image in a tile shape, and an image generating unit 4A for generating an embedded image.

【0044】本発明(請求項45)は、鍵情報から電子
透かしを埋め込む長さの系列である埋め込み対象成分位
置情報を生成する埋め込み対象成分指定手段と、鍵情報
を用いて、位置マーカ情報と電子透かしを埋め込み系列
に拡散する埋め込み系列生成手段と、埋め込み対象成分
位置情報と埋め込み系列を用いて、初期値が零行列の複
素行列である透かし係数行列の成分値を変更する成分値
変更手段と、透かし係数行列を離散逆フーリエ変換し、
透かしパターンを生成する離散逆フーリエ変換手段と、
透かしパターンを強度パラメータによって強調し、強調
された透かしパターンを入力された画像にタイル状に加
算して得られる埋め込み済画像を生成する透かしパター
ン加算手段とを有する。
According to the present invention (claim 45), embedding target component designation means for generating embedding target component position information which is a sequence of lengths for embedding an electronic watermark from key information, and position marker information using key information. An embedding sequence generating unit that spreads an electronic watermark into an embedding sequence, and a component value changing unit that changes a component value of a watermark coefficient matrix whose initial value is a complex matrix of zero matrix, using the embedding target component position information and the embedding sequence. , Performs a discrete inverse Fourier transform of the watermark coefficient matrix,
Discrete inverse Fourier transform means for generating a watermark pattern,
Watermark pattern adding means for emphasizing the watermark pattern with the intensity parameter and generating an embedded image obtained by adding the emphasized watermark pattern to the input image in a tiled manner.

【0045】本発明(請求項46)は、埋め込み対象成
分指定手段において、鍵情報を初期値とする乱数列を生
成する乱数生成手段を含み、乱数列から埋め込み対象成
分位置情報を生成する手段を含む。本発明(請求項4
7)は、埋め込み系列生成手段において、鍵情報を初期
値とする0番目の拡散系列を生成し、該拡散系列を位置
マーカ情報を表す系列とし、所定倍して格納しておき、
電子透かしをシンボル表現に変換し、シンボル総数及び
各シンボル値を取得し、鍵情報にシンボル値を加えたも
のを初期値とする拡散系列を生成し、シンボルを表す系
列として、格納されている拡散系列の各項に加え、格納
されている値の平均値を求め、各項から平均値を減算し
た値を埋め込み系列とする手段を含む。
According to the present invention (claim 46), the embedding target component designating means includes a random number generating means for generating a random number sequence having key information as an initial value, and means for generating embedding component position information from the random number sequence. Including. The present invention (Claim 4
7) In the embedded sequence generating means, a 0th spread sequence with the key information as an initial value is generated, and the spread sequence is a sequence representing position marker information, which is stored by multiplying by a predetermined number.
The digital watermark is converted to a symbol representation, the total number of symbols and each symbol value are obtained, a spreading sequence is generated with the initial value obtained by adding the symbol value to the key information, and the spreading sequence stored as the symbol sequence is stored. Means for obtaining an average value of stored values in addition to each term of the series, and using a value obtained by subtracting the average value from each term as an embedded series.

【0046】本発明(請求項48)は、埋め込み系列生
成手段において、拡散系列として、+1または、−1の
いずれかを用いる。本発明(請求項49)は、埋め込み
系列生成手段において、鍵情報を初期値として、拡散系
列を生成し、所定のパラメータを該拡散系列に乗算し
て、記憶手段に保持し、電子透かしをシンボル表現に変
換し、該シンボル表現のシンボルに対応する拡散系列
を、記憶手段の各項に加算し、該記憶手段の各項から平
均値を減算した結果を埋め込み系列とする手段を含む。
According to the present invention (claim 48), the embedded sequence generating means uses either +1 or -1 as the spread sequence. The present invention (claim 49) provides an embedding sequence generating unit that generates a spreading sequence using key information as an initial value, multiplies the spreading sequence by a predetermined parameter, stores the multiplication in a storage unit, stores a digital watermark in a symbol. Means for converting to a representation, adding a spreading sequence corresponding to the symbol of the symbol representation to each term of the storage means, and subtracting an average value from each term of the storage means as an embedded sequence.

【0047】本発明(請求項50)は、埋め込み系列生
成手段において、拡散系列として、+1または、−1の
いずれかを用いる。本発明(請求項51)は、ディジタ
ル画像に対して人間の知覚に感知されないように電子透
かしが埋め込まれた検出対象画像から該電子透かしを検
出するための電子透かし検出装置であって、鍵情報から
検出対象成分位置情報を生成する検出対象成分指定手段
5Aと、鍵情報から位置マーカ系列を生成する位置マー
カ系列生成手段6Aと、位置マーカ系列を検出し、埋め
込み時の透かしパターンの開始点と検出対象画像から切
り出した画素ブロックの開始点が一致する時のオフセッ
ト情報を抽出する位置マーカ検出手段7Aと、オフセッ
ト情報に基づいて切り出した画素ブロックから埋め込ま
れている電子透かしを検出する電子透かし検出手段8A
とを有する。
According to the present invention (claim 50), the embedded sequence generating means uses either +1 or -1 as the spread sequence. The present invention (Claim 51) is an electronic watermark detection apparatus for detecting an electronic watermark from a detection target image in which an electronic watermark is embedded so that a digital image is not perceived by human perception. Detection target component specifying means 5A for generating detection target component position information from the position information, position marker sequence generation means 6A for generating a position marker sequence from the key information, a position marker sequence, and a starting point of a watermark pattern at the time of embedding. Position marker detection means 7A for extracting offset information when the start point of a pixel block cut out from the detection target image coincides, and digital watermark detection for detecting a digital watermark embedded from the pixel block cut out based on the offset information Means 8A
And

【0048】本発明(請求項52)は、検出対象成分指
定手段5Aにおいて、鍵情報を初期値とする乱数列を生
成する手段を含み、乱数列から検出対象成分位置情報を
生成する手段を含む。本発明(請求項53)は、位置マ
ーカ系列生成手段6Aにおいて、鍵情報を初期値とする
0番目の拡散系列を生成し、該拡散系列を位置マーカ系
列として出力する手段を含む。
According to the present invention (claim 52), the detection target component designating means 5A includes means for generating a random number sequence having key information as an initial value, and includes means for generating detection target component position information from the random number sequence. . The present invention (claim 53) includes a means for generating a 0th spreading sequence with key information as an initial value in the position marker sequence generating means 6A and outputting the spreading sequence as a position marker sequence.

【0049】本発明(請求項54)は、位置マーカ検出
手段7Aにおいて、オフセット候補情報を生成し、検出
対象画像のオフセット候補情報の位置から画素ブロック
を切り出す手段と、画素ブロックを離散フーリエ変換
し、検出対象係数行列を生成する手段と、検出対象成分
位置情報と検出対象係数行列から検出対象系列を生成す
る手段と、位置マーカ系列と該検出対象系列の相関値と
該オフセット候補情報を組にして、位置マーカ検出情報
を生成する手段と、位置マーカ系列と該検出対象系列の
相関値が最大の時のオフセット候補情報をオフセット情
報として抽出する手段を含む。
According to the present invention (claim 54), the position marker detecting means 7A generates offset candidate information, cuts out a pixel block from the position of the offset candidate information of the detection target image, and performs a discrete Fourier transform on the pixel block. Means for generating a detection target coefficient matrix; means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; and a set of a position marker sequence, a correlation value of the detection target sequence, and the offset candidate information. Means for generating position marker detection information, and means for extracting offset candidate information when the correlation value between the position marker sequence and the detection target sequence is maximum as offset information.

【0050】本発明(請求項55)は、電子透かし検出
手段8Aにおいて、検出対象画像からオフセット候補情
報だけ平行移動した位置から、N×N画素の画素ブロッ
クを切り出す手段と、画素ブロックを離散フーリエ変換
し、検出対象係数行列を生成する手段と、検出対象成分
位置情報と検出対象係数行列から検出対象系列を生成す
る手段と、検出対象系列と鍵情報からシンボル検出情報
を生成する手段と、シンボル検出情報から各検出シンボ
ルを生成する手段と、各検出シンボルから検出結果を電
子透かしとして出力する手段とを含む。
According to the present invention (claim 55), in the digital watermark detecting means 8A, means for extracting a pixel block of N × N pixels from a position translated from the detection target image by the offset candidate information, Means for converting and generating a detection target coefficient matrix, means for generating a detection target sequence from detection target component position information and the detection target coefficient matrix, means for generating symbol detection information from the detection target sequence and key information, Means for generating each detection symbol from the detection information and means for outputting a detection result from each detection symbol as an electronic watermark are included.

【0051】本発明(請求項56)は、電子透かし検出
手段8Aにおいて、シンボル検出情報から各シンボル位
置毎に各シンボル位置毎系列を生成する手段と、各シン
ボル位置毎系列の中で最大値をとる時のシンボル候補を
検出シンボルとし、検出シンボルを逆シンボル変換し、
検出結果を取得する手段とを含む。
According to the present invention (claim 56), in the digital watermark detecting means 8A, means for generating a sequence for each symbol position from each symbol position from the symbol detection information, The candidate symbol at the time of taking is set as a detected symbol, and the detected symbol is subjected to inverse symbol conversion.
Means for acquiring a detection result.

【0052】本発明(請求項57)は、電子透かし検出
手段8Aにおいて、切り出した画素ブロックをオフセッ
トによりサイクリックシフトすることにより画素ブロッ
クを出力する手段を含む。本発明(請求項58)は、電
子透かし検出手段8Aにおいて、検出対象画像がN×N
サイズ以上である場合には、該検出対象画像からN×N
画素の画素ブロックを切り出す手段と、検出対象画像が
N×Nサイズより小さい場合には、該検出対象画像のN
×Nサイズに含まれる検出対象画像部分の平均画素値を
求め、該N×Nサイズに足りない部分を該平均画素値で
埋め、画素ブロックを生成する手段と、切り出された画
素ブロックをサイクリックシフトすることにより画素ブ
ロックを出力する手段を含む。
The present invention (Claim 57) includes means for outputting a pixel block by cyclically shifting an extracted pixel block by offset in the digital watermark detection means 8A. According to the present invention (claim 58), in the digital watermark detecting means 8A, the detection target image is N × N.
If the size is greater than or equal to the
Means for cutting out a pixel block of pixels; and, if the detection target image is smaller than N × N,
Means for obtaining an average pixel value of a detection target image portion included in the × N size, filling a portion less than the N × N size with the average pixel value, and generating a pixel block; Means for outputting a pixel block by shifting.

【0053】本発明(請求項59)は、電子透かし検出
手段8Aにおいて、検出対象画像のオフセットの位置か
ら画素ブロックを分割する手段と、分割された画素ブロ
ックを離散フーリエ変換し、検出対象係数行列を生成す
る手段と、検出対象成分位置情報と、検出対象係数行列
から検出対象系列を生成する手段と、検出対象系列と鍵
情報からシンボル検出情報を生成する手段と、シンボル
検出情報から画素ブロックを出力する手段とを含む。
According to the present invention (claim 59), in the digital watermark detecting means 8A, means for dividing a pixel block from an offset position of a detection target image, discrete Fourier transform of the divided pixel block, and a detection target coefficient matrix Means for generating detection target component position information, means for generating a detection target sequence from the detection target coefficient matrix, means for generating symbol detection information from the detection target sequence and key information, and a pixel block from the symbol detection information. Output means.

【0054】本発明(請求項60)は、電子透かし検出
手段8Aにおいて、検出対象画像を画素ブロックに分割
し、該画素ブロックをオフセットでサイクリックシフト
する手段と、サイクリックシフトされた画素ブロックを
離散フーリエ変換し、検出対象系列行列を生成する手段
と、検出対象成分位置情報と検出対象係数行列から検出
対象系列を生成する手段と、検出対象系列と鍵情報から
シンボル検出情報を生成する手段と、シンボル検出情報
から各検出シンボルを生成する手段と、検出シンボルか
ら電子透かしを検出する手段とを含む。
According to the present invention (claim 60), the digital watermark detecting means 8A divides the image to be detected into pixel blocks and cyclically shifts the pixel blocks by an offset. Means for performing a discrete Fourier transform to generate a detection target sequence matrix, means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, and means for generating symbol detection information from the detection target sequence and key information , Means for generating each detected symbol from the symbol detection information, and means for detecting a digital watermark from the detected symbol.

【0055】本発明(請求項61)は、電子透かし検出
手段8Aにおいて、検出対象画像を画素ブロックに分割
し、該画素ブロックをオフセットでサイクリックシフト
し、このとき、検出対象画像の端の辺りでN×Nサイズ
に満たない部分については、足りない部分を平均画素値
で埋める手段と、画素ブロックを離散フーリエ変換し、
検出対象係数行列を生成する手段と、検出対象成分位置
情報と検出対象係数行列から検出対象系列を生成する手
段と、検出対象系列と鍵情報からシンボル検出情報を生
成する手段と、シンボル検出情報から各検出シンボルを
生成する手段と、検出シンボルから電子透かしを検出す
る手段とを含む。
According to the present invention (claim 61), the digital watermark detecting means 8A divides the image to be detected into pixel blocks, and cyclically shifts the pixel blocks with an offset. Means for filling a portion less than the N × N size with an average pixel value, and a discrete Fourier transform of the pixel block,
Means for generating a detection target coefficient matrix, means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, means for generating symbol detection information from the detection target sequence and key information, and Means for generating each detected symbol and means for detecting a digital watermark from the detected symbol are included.

【0056】本発明(請求項62)は、位置マーカ系列
生成手段6Aにおいて、検出対象画像をオフセットによ
り画素ブロックに分割する手段と、画素ブロックの画素
値が加算された加算ブロックを画素ブロックとして出力
する手段とを含む。本発明(請求項63)は、位置マー
カ系列生成手段6Aにおいて、検出対象画像をブロック
に分割する手段と、分割されたブロックの画素値を加算
して得られたブロックを加算ブロックとし、該加算ブロ
ックをオフセットによりサイクリックシフトし、画素ブ
ロックを生成する手段を含む。
According to the present invention (claim 62), the position marker sequence generating means 6A divides the image to be detected into pixel blocks by offset, and outputs an addition block obtained by adding the pixel values of the pixel blocks as a pixel block. Means. According to the present invention (claim 63), in the position marker sequence generating means 6A, means for dividing the detection target image into blocks, and a block obtained by adding the pixel values of the divided blocks as an addition block, Means for cyclically shifting the block by the offset to generate a pixel block is included.

【0057】本発明(請求項64)は、位置マーカ系列
生成手段6Aにおいて、検出対象画像をブロックに分割
し、このとき、該検出対象画像の端の辺りで1ブロック
に満たない画素領域について、分割時の検出対象画像相
当分の平均値を求め、足りない部分は検出対象画像相当
分の画素値の平均値を求め、該平均値で埋めてブロック
とする手段と、分割されたブロックの画素値を加算して
得られたブロックを加算ブロックとする手段と、加算ブ
ロックをオフセットによりサイクリックシフトし、画素
ブロックを生成する手段とを含む。
According to the present invention (claim 64), the position marker sequence generating means 6A divides an image to be detected into blocks, and at this time, for a pixel area less than one block around an end of the image to be detected. Means for obtaining an average value corresponding to the image to be detected at the time of division, obtaining an average value of pixel values corresponding to the image to be detected for a portion that is not sufficient, filling the average value to form a block, The block includes a unit obtained by adding the values to be an addition block and a unit that cyclically shifts the addition block by an offset to generate a pixel block.

【0058】本発明(請求項65)は、位置マーカ系列
生成手段6Aにおいて、検出対象系列生成後に、該検出
対象系列の平均を0に変える手段を含む。本発明(請求
項66)は、電子透かし検出手段8Aにおいて、検出対
象系列を生成した後に、該検出対象系列の平均を0に変
える手段を含む。本発明(請求項67)は、位置マーカ
検出手段7Aにおいて、すべての位置マーカ検出情報の
最大値を求め、所定の閾値より該最大値が小さい場合に
は、オフセットの検出に失敗したことを表す信号を出力
し、該最大値が該所定の閾値以上である場合には、該最
大値をとるときのオフセットを出力する手段を含む。
The present invention (claim 65) includes a means for changing the average of the detection target sequence to 0 after the detection target sequence is generated in the position marker sequence generation means 6A. The present invention (Claim 66) includes means for changing the average of the detection target sequence to 0 after generating the detection target sequence in the digital watermark detection means 8A. According to the present invention (claim 67), in the position marker detecting means 7A, the maximum value of all the position marker detection information is obtained, and if the maximum value is smaller than a predetermined threshold value, it indicates that the offset detection has failed. Means for outputting a signal, and when the maximum value is equal to or greater than the predetermined threshold value, outputting an offset when the maximum value is obtained.

【0059】本発明(請求項68)は、電子透かし検出
手段8Aにおいて、シンボル検出情報をシンボル位置毎
に分割して、シンボル位置毎系列を生成する手段と、シ
ンボル位置毎系列の最大値を求める手段と、最大値が所
定の閾値より小さい場合には、検出対象画像に埋め込ま
れている電子透かしの検出に失敗したことを表す信号を
出力し、該最大値が該所定の閾値以上の場合には、該最
大値をとるときのシンボル候補を検出シンボルとする手
段と、検出シンボルから電子透かしの表現に変換する手
段とを含む。
According to the present invention (claim 68), the digital watermark detecting means 8A divides the symbol detection information for each symbol position to generate a sequence for each symbol position, and obtains the maximum value of the sequence for each symbol position. Means for outputting a signal indicating that detection of a digital watermark embedded in the detection target image has failed when the maximum value is smaller than a predetermined threshold value, and outputting the signal when the maximum value is equal to or more than the predetermined threshold value. Includes means for using the symbol candidate at the time of taking the maximum value as a detection symbol, and means for converting the detection symbol into a digital watermark expression.

【0060】本発明(請求項69)は、上記の閾値とし
て、平均0、分散1の正規分布の分布関数の値に基づい
て定められた閾値を適用する。本発明(請求項70)
は、ディジタル画像に対して人間の知覚に感知されない
ように埋め込まれた電子透かしを検出するための電子透
かし検出装置であって、鍵情報から検出対象成分位置情
報を生成する検出対象成分指定手段と、鍵情報から位置
マーカ系列を生成する位置マーカ系列生成手段と、検出
された位置マーカ検出情報により、埋め込み時の透かし
パターンの開始点と検出対象画像から切り出した画素ブ
ロックの開始点とのずれを表すオフセット情報を検出す
る位置マーカ検出手段と、オフセット情報を用いて画素
ブロックに埋め込まれている電子透かしを検出する電子
透かし検出手段とを有する。
According to the present invention (claim 69), a threshold determined based on the value of a normal distribution function having a mean of 0 and a variance of 1 is applied as the threshold. The present invention (claim 70)
Is a digital watermark detection device for detecting a digital watermark embedded in a digital image so as not to be perceived by human perception, and a detection target component designation means for generating detection target component position information from key information; A position marker sequence generating means for generating a position marker sequence from the key information, and a detected position marker detection information, which is used to determine a shift between a start point of a watermark pattern at the time of embedding and a start point of a pixel block cut out from a detection target image. It has position marker detection means for detecting offset information to be represented, and digital watermark detection means for detecting a digital watermark embedded in a pixel block using the offset information.

【0061】本発明(請求項71)は、検出対象成分指
定手段において、鍵情報を初期値とする乱数列を生成す
る手段と、乱数列を元に、埋め込まれている埋め込み系
列の長さと同じ長さの検出対象成分位置情報を生成する
手段を含む。本発明(請求項72)は、位置マーカ系列
生成手段において、鍵情報を初期値とする最初の拡散系
列を生成し、該拡散系列を位置マーカ系列とする手段を
含む。
According to the present invention (claim 71), in the detection target component designating means, a means for generating a random number sequence with key information as an initial value is provided. Means for generating length detection target component position information is included. The present invention (claim 72) includes a means for generating a first spreading sequence with key information as an initial value in the position marker sequence generating means, and using the spreading sequence as a position marker sequence.

【0062】本発明(請求項73)は、位置マーカ検出
手段において、検出対象画像と検出対象成分位置情報と
位置マーカ系列を用いて、該検出対象画像からN×Nサ
イズの画素ブロックを切り出す手段と、画素ブロックを
離散フーリエ変換して、検出対象係数行列を生成する手
段と、オフセット情報、検出対象係数行列、及び検出対
象成分位置情報から検出対象系列を生成する手段と、位
置マーカ系列と検出対象系列との相関値を組にして位置
マーカ検出情報とする手段とを含む。
According to the present invention (claim 73), in the position marker detecting means, an N × N size pixel block is cut out from the detection target image using the detection target image, the detection target component position information, and the position marker series. Means for generating a detection target coefficient matrix by performing a discrete Fourier transform of the pixel block, means for generating a detection target sequence from offset information, a detection target coefficient matrix, and detection target component position information, and detecting a position marker sequence. Means for combining the correlation values with the target series to obtain position marker detection information.

【0063】本発明(請求項74)は、電子透かし検出
手段において、検出対象画像と、検出対象成分位置情報
とオフセット情報及び鍵情報を用いて、該検出対象画像
から画素ブロックを切り出す手段と、画素ブロックを離
散フーリエ変換して、検出対象係数行列を生成する手段
と、オフセット情報、検出対象係数行列、及び検出対象
成分位置情報から検出対象系列を生成する手段と、鍵情
報とシンボル候補情報から生成される系列と検出対象系
列との相関値からシンボル検出結果を生成する手段と、
シンボル検出結果の各シンボル位置に基づいて、鍵情報
とシンボル候補情報から生成される系列と検出対象系列
との相関値が最大時のシンボル候補値を検出シンボルと
する手段と、検出シンボルを電子透かしの形式に変換し
た結果を出力する手段とを含む。
According to the present invention (claim 74), in the digital watermark detecting means, means for extracting a pixel block from the detection target image using the detection target image, the detection target component position information, the offset information and the key information, Means for generating a detection target coefficient matrix by performing a discrete Fourier transform of the pixel block; means for generating a detection target sequence from offset information, a detection target coefficient matrix, and detection target component position information; and, from key information and symbol candidate information. Means for generating a symbol detection result from a correlation value between the generated sequence and the detection target sequence,
Means for determining a symbol candidate value having a maximum correlation value between a sequence generated from key information and symbol candidate information and a detection target sequence based on each symbol position of the symbol detection result as a detection symbol; And a means for outputting the result of conversion into the format.

【0064】本発明(請求項75)は、位置マーカ系列
生成手段において、検出対象画像からN×Nサイズのブ
ロックを切り出した時、該検出対象画像からN×Nサイ
ズに切り出せない場合には、N×Nサイズで切り出そう
とした時に含まれる検出対象画像相当分のみを切り出
し、N×Nサイズで足りない部分は、該検出対象画像相
当分の画素値の平均を求め、該平均で足りない部分を埋
める手段を含む。
According to the present invention (claim 75), in the position marker sequence generating means, when a block of N × N size is cut out from the image to be detected and the block cannot be cut out to N × N size from the image to be detected, Only the portion corresponding to the detection target image included when trying to cut out in the N × N size is cut out, and the portion that is not sufficient in the N × N size is obtained by averaging the pixel values corresponding to the detection target image. Includes means to fill in missing parts.

【0065】本発明(請求項76)は、電子透かし検出
手段において、検出対象画像から画素ブロックを分割す
る手段と、画素ブロックを離散フーリエ変換し、検出対
象係数行列を生成する手段と、オフセット情報と検出対
象成分位置情報と検出対象係数行列から検出対象系列を
生成する手段と、検出対象系列と鍵情報から検出シンボ
ルを生成する手段と、検出シンボルから副画像を検出す
る。
According to the present invention (claim 76), in the digital watermark detection means, means for dividing a pixel block from an image to be detected, means for performing a discrete Fourier transform on the pixel block to generate a coefficient matrix for a detection, and offset information Means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; means for generating a detection symbol from the detection target sequence and the key information; and detecting a sub-image from the detection symbol.

【0066】本発明(請求項77)は、電子透かし検出
手段において、検出対象画像からN×Nサイズのブロッ
クを切り出した時、該検出対象画像からN×Nサイズに
切り出せない場合には、N×Nサイズで切り出そうとし
た時に含まれる検出対象画像相当分のみを切り出し、N
×Nサイズで足りない部分は、該検出対象画像相当分の
画素値の平均値を求め、該平均値で足りない部分を埋め
る手段を含む。
The present invention (Claim 77) provides a digital watermark detecting means that, when a block of N × N size is cut out from an image to be detected, if the block cannot be cut out to N × N size from the image to be detected, XN only the image corresponding to the image to be detected included when trying to extract in size
The portion that is not enough in the size xN includes means for obtaining an average value of pixel values corresponding to the image to be detected and filling the portion that is not enough with the average value.

【0067】本発明(請求項78)は、位置マーカ系列
生成手段及び電子透かし検出手段において、検出対象画
像をN×Nサイズのブロックに分割する手段と、すべて
のブロックの画素値が加算された加算ブロックを画素ブ
ロックとする手段を含む。
According to the present invention (claim 78), in the position marker series generating means and the digital watermark detecting means, means for dividing the detection target image into N × N size blocks and the pixel values of all the blocks are added. Means for making the addition block a pixel block is included.

【0068】本発明(請求項79)は、位置マーカ系列
生成手段及び電子透かし検出手段において、検出対象画
像からN×Nサイズのブロックを切り出した時、該検出
対象画像からN×Nサイズに切り出せない場合には、N
×Nサイズで切り出そうとした時に含まれる検出対象画
像相当分のみを切り出し、N×Nサイズで足りない部分
は、該検出対象画像相当分の画素値の平均値を求め、該
平均値で足りない部分を埋める手段を含む。
According to the present invention (claim 79), in the position marker sequence generating means and the digital watermark detecting means, when a block of N × N size is cut out from a detection target image, the block can be cut out to N × N size from the detection target image. Otherwise, N
Only the portion equivalent to the detection target image included when attempting to cut out in the size of × N is cut out, and the portion that is not sufficient in the size N × N is obtained by averaging the pixel values corresponding to the detection target image. Includes means to fill in missing parts.

【0069】本発明(請求項80)は、位置マーカ系列
生成手段において、検出対象系列を生成した後に、該検
出対象系列の平均を0に変える処理を行う手段を含む。
本発明(請求項81)は、電子透かし検出手段におい
て、検出対象系列の生成後に、該検出対象系列の平均を
0に変える処理を行う手段を含む。
According to the present invention (claim 80), the position marker sequence generating means includes means for performing a process of changing the average of the detection target sequence to 0 after generating the detection target sequence.
The present invention (claim 81) includes means for performing, in the digital watermark detection means, a process of changing the average of the detection target sequence to 0 after generating the detection target sequence.

【0070】本発明(請求項82)は、位置マーカ検出
手段において、位置マーカ検出情報の最大値を求める手
段と、最大値が所定の閾値より小さい場合には、オフセ
ット情報の検出に失敗したことを表す信号を出力し、該
最大値が所定の閾値以上の場合には、該最大値をとる時
のオフセット情報を出力する手段を含む。
According to the present invention (claim 82), the position marker detecting means determines the maximum value of the position marker detection information, and the detection of the offset information fails if the maximum value is smaller than a predetermined threshold value. And means for outputting offset information when the maximum value is obtained when the maximum value is equal to or greater than a predetermined threshold value.

【0071】本発明(請求項83)は、電子透かし検出
手段において、検出対象系列と鍵情報から生成されたシ
ンボル検出情報シンボル位置毎に分割する手段と、シン
ボル位置毎のシンボル位置毎系列の最大値を求める手段
と、最大値が所定の閾値より小さい場合には、検出対象
画像に埋め込まれている電子透かしの検出に失敗したこ
とを表す信号を出力し、該最大値が所定の閾値以上の場
合には、該最大値をとる時のシンボル候補を出力する手
段を含む。
According to the present invention (claim 83), in the digital watermark detecting means, means for dividing each detection target symbol generated from the detection target sequence and the key information into symbol positions, and a maximum of the symbol position sequence for each symbol position. Means for calculating a value, and when the maximum value is smaller than a predetermined threshold value, a signal indicating that detection of a digital watermark embedded in the detection target image has failed is output, and the maximum value is not less than a predetermined threshold value. In this case, means for outputting a symbol candidate when the maximum value is taken is included.

【0072】本発明(請求項84)は、上記閾値とし
て、平均0、分散1の正規分布の分布関数の値に基づい
て定められた閾値を用いる。本発明(請求項85)は、
ディジタル画像に対して人間の知覚に感知されないため
の電子透かしを埋め込む電子透かし埋込プログラムを格
納した記憶媒体であって、鍵情報とディジタル画像に埋
め込む電子透かしから複素行列である透かし係数行列の
各係数値の実数成分と虚数成分を独立に変更するプロセ
スと、変更後の透かし系列行列を離散逆フーリエ変換し
て、透かしパターンを生成するプロセスと、透かしパタ
ーンを原画像にタイル状に加算し、埋め込み済画像を生
成するプロセスとを有する。
According to the present invention (claim 84), a threshold determined based on the value of a normal distribution function having a mean of 0 and a variance of 1 is used as the threshold. The present invention (claim 85) provides
A storage medium storing a digital watermark embedding program for embedding a digital watermark in a digital image so as not to be perceived by a human perception, wherein each of a key information and a watermark coefficient matrix which is a complex matrix is obtained from the digital watermark embedded in the digital image. A process of independently changing the real component and the imaginary component of the coefficient value, a process of generating a watermark pattern by performing a discrete inverse Fourier transform on the changed watermark sequence matrix, and a process of adding the watermark pattern to the original image in a tiled manner, Generating an embedded image.

【0073】本発明(請求項86)は、鍵情報から電子
透かしを埋め込む長さの系列である埋め込み対象成分位
置情報を生成する埋め込み対象成分指定プロセスと、鍵
情報を用いて、位置マーカ情報と電子透かしを埋め込み
系列に拡散する埋め込み系列生成プロセスと、埋め込み
対象成分位置情報と埋め込み系列を用いて、初期値が零
行列の複素行列である透かし係数行列の成分値を変更す
る成分値変更プロセスと、透かし係数行列を離散逆フー
リエ変換し、透かしパターンを生成する離散逆フーリエ
変換プロセスと、透かしパターンを強度パラメータによ
って強調し、強調された透かしパターンを入力された画
像にタイル状に加算して得られる埋め込み済画像を生成
する透かしパターン加算プロセスとを有する。
According to the present invention (claim 86), an embedding target component designation process for generating an embedding target component position information which is a sequence of lengths for embedding an electronic watermark from key information, and a position marker information using key information. An embedding sequence generation process of spreading an electronic watermark into an embedding sequence, and a component value changing process of changing a component value of a watermark coefficient matrix whose initial value is a complex matrix of zero matrix using the embedding target component position information and the embedding sequence. A discrete inverse Fourier transform process for generating a watermark pattern by performing a discrete inverse Fourier transform on a watermark coefficient matrix, and emphasizing the watermark pattern with an intensity parameter, and adding the enhanced watermark pattern to the input image in a tiled manner. And a watermark pattern adding process for generating an embedded image.

【0074】本発明(請求項87)は、埋め込み対象成
分指定プロセスにおいて、鍵情報を初期値とする乱数列
を生成する乱数生成プロセスを含み、乱数列から埋め込
み対象成分位置情報を生成するプロセスを含む。本発明
(請求項88)は、埋め込み系列生成プロセスにおい
て、鍵情報を初期値とする0番目の拡散系列を生成し、
該拡散系列を位置マーカ情報を表す系列とし、所定倍し
て格納しておき、電子透かしをシンボル表現に変換し、
シンボル総数及び各シンボル値を取得し、鍵情報にシン
ボル値を加えたものを初期値とする拡散系列を生成し、
シンボルを表す系列として、格納されている拡散系列の
各項に加え、格納されている値の平均値を求め、各項か
ら平均値を減算した値を埋め込み系列とするプロセスを
含む。
According to the present invention (claim 87), the embedding target component designation process includes a random number generation process for generating a random number sequence with key information as an initial value, and a process for generating the embedding target component position information from the random number sequence. Including. According to the present invention (claim 88), in an embedded sequence generation process, a 0th spread sequence with key information as an initial value is generated,
The spread sequence is set as a sequence representing position marker information, stored by multiplying by a predetermined number, and the digital watermark is converted into a symbol expression.
Acquire the total number of symbols and each symbol value, generate a spreading sequence with the initial value obtained by adding the symbol value to the key information,
As a sequence representing a symbol, in addition to each item of the stored spread sequence, an average value of stored values is obtained, and a value obtained by subtracting the average value from each item is used as an embedded sequence.

【0075】本発明(請求項89)埋め込み系列生成プ
ロセスにおいて、鍵情報を初期値として、拡散系列を生
成し、所定のパラメータを該拡散系列に乗算して、記憶
手段に保持し、電子透かしをシンボル表現に変換し、該
シンボル表現のシンボルに対応する拡散系列を、記憶手
段の各項に加算し、該記憶手段の各項から平均値を減算
した結果を埋め込み系列とするプロセスを含む。
In the present invention (claim 89), in the process of generating an embedded sequence, a spread sequence is generated using key information as an initial value, a predetermined parameter is multiplied by the spread sequence, the result is stored in storage means, and a digital watermark is generated. The method includes a process of converting into a symbol representation, adding a spreading sequence corresponding to the symbol of the symbol representation to each term of the storage means, and subtracting an average value from each term of the storage means as an embedded sequence.

【0076】本発明(請求項90)は、埋め込み系列生
成プロセスにおいて、拡散系列として、+1または、−
1のいずれかを用いる。本発明(請求項91)は、ディ
ジタル画像に対して人間の知覚に感知されないための電
子透かしが埋め込まれた検出対象画像から該電子透かし
を検出するための電子透かし検出プログラムを格納した
記憶媒体であって、鍵情報から検出対象成分位置情報を
生成する検出対象成分指定プロセスと、鍵情報から位置
マーカ系列を生成する位置マーカ系列生成プロセスと、
位置マーカ系列を検出し、埋め込み時の透かしパターン
の開始点と検出対象画像から切り出した画素ブロックの
開始点が一致する時のオフセット情報を抽出する位置マ
ーカ検出プロセスと、オフセット情報に基づいて切り出
した画素ブロックから埋め込まれている電子透かしを検
出する電子透かし検出プロセスとを有する。
According to the present invention (claim 90), in the embedded sequence generation process, +1 or −
Use any one of 1. The present invention (claim 91) is a storage medium storing a digital watermark detection program for detecting a digital image from a detection target image in which a digital watermark for preventing the digital image from being sensed by human perception is embedded. A detection target component designation process for generating detection target component position information from the key information; a position marker sequence generation process for generating a position marker sequence from the key information;
A position marker detection process for detecting a position marker sequence and extracting offset information when a start point of a watermark pattern at the time of embedding and a start point of a pixel block cut out from a detection target image match, and cut out based on the offset information A digital watermark detection process for detecting a digital watermark embedded from the pixel block.

【0077】本発明(請求項92)は、検出対象成分指
定プロセスにおいて、鍵情報を初期値とする乱数列を生
成するプロセスを含み、乱数列から検出対象成分位置情
報を生成するプロセスを含む。本発明(請求項93)
は、位置マーカ系列生成プロセスにおいて、鍵情報を初
期値とする0番目の拡散系列を生成し、該拡散系列を位
置マーカ系列として出力するプロセスを含む。
The present invention (claim 92) includes a process of generating a random number sequence with key information as an initial value in the detection target component designation process, and a process of generating detection target component position information from the random number sequence. The present invention (claim 93)
Includes a process of generating a 0th spreading sequence with key information as an initial value in a position marker sequence generating process, and outputting the spreading sequence as a position marker sequence.

【0078】本発明(請求項94)は、位置マーカ検出
プロセスにおいて、オフセット候補情報を生成し、検出
対象画像のオフセット候補情報の位置から画素ブロック
を切り出すプロセスと、画素ブロックを離散フーリエ変
換し、検出対象係数行列を生成するプロセスと、検出対
象成分位置情報と検出対象係数行列から検出対象系列を
生成するプロセスと、位置マーカ系列と該検出対象系列
の相関値と該オフセット候補情報を組にして、位置マー
カ検出情報を生成するプロセスと、位置マーカ系列と該
検出対象系列の相関値が最大の時のオフセット候補情報
をオフセット情報として抽出するプロセスを含む。
According to the present invention (claim 94), in a position marker detection process, offset candidate information is generated, a pixel block is cut out from the position of the offset candidate information of the detection target image, and a discrete Fourier transform is performed on the pixel block. A process of generating a detection target coefficient matrix, a process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, and a set of a position marker sequence, a correlation value of the detection target sequence, and the offset candidate information. , A process of generating position marker detection information, and a process of extracting offset candidate information when the correlation value between the position marker sequence and the detection target sequence is the maximum as offset information.

【0079】本発明(請求項95)は、電子透かし検出
プロセスにおいて、検出対象画像からオフセット候補情
報だけ平行移動した位置から、N×N画素の画素ブロッ
クを切り出すプロセスと、画素ブロックを離散フーリエ
変換し、検出対象係数行列を生成するプロセスと、検出
対象成分位置情報と検出対象係数行列から検出対象系列
を生成するプロセスと、検出対象系列と鍵情報からシン
ボル検出情報を生成するプロセスと、シンボル検出情報
から各検出シンボルを生成するプロセスと、各検出シン
ボルから検出結果を電子透かしとして出力するプロセス
とを含む。
According to the present invention (claim 95), in the digital watermark detection process, a process of cutting out a pixel block of N × N pixels from a position translated from the detection target image by the offset candidate information, and a discrete Fourier transform of the pixel block A process of generating a detection target coefficient matrix; a process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; a process of generating symbol detection information from the detection target sequence and key information; The method includes a process of generating each detection symbol from information and a process of outputting a detection result from each detection symbol as a digital watermark.

【0080】本発明(請求項96)は、電子透かし検出
プロセスにおいて、シンボル検出情報から各シンボル位
置毎に各シンボル位置毎系列を生成するプロセスと、各
シンボル位置毎系列の中で最大値をとる時のシンボル候
補を検出シンボルとし、検出シンボルを逆シンボル変換
し、検出結果を取得するプロセスとを含む。
According to the present invention (claim 96), in the digital watermark detection process, a process of generating a sequence for each symbol position from each symbol position from the symbol detection information, and taking the maximum value among the sequences for each symbol position. A symbol candidate at the time as a detected symbol, converting the detected symbol into an inverse symbol, and obtaining a detection result.

【0081】本発明(請求項97)は、電子透かし検出
プロセスにおいて、切り出した画素ブロックをオフセッ
トによりサイクリックシフトすることにより画素ブロッ
クを出力するプロセスを含む。本発明(請求項98)
は、電子透かし検出プロセスにおいて、検出対象画像が
N×Nサイズ以上である場合には、該検出対象画像から
N×N画素の画素ブロックを切り出すプロセスと、検出
対象画像がN×Nサイズより小さい場合には、該検出対
象画像のN×Nサイズに含まれる検出対象画像部分の平
均画素値を求め、該N×Nサイズに足りない部分を該平
均画素値で埋め、画素ブロックを生成するプロセスと、
切り出された画素ブロックをサイクリックシフトするこ
とにより画素ブロックを出力するプロセスを含む。
The present invention (Claim 97) includes, in the digital watermark detection process, a process of outputting a pixel block by cyclically shifting an extracted pixel block by an offset. The present invention (claim 98)
In the digital watermark detection process, when the detection target image is equal to or larger than N × N size, a process of cutting out a pixel block of N × N pixels from the detection target image, and a case where the detection target image is smaller than N × N size In this case, a process of obtaining an average pixel value of a detection target image portion included in the N × N size of the detection target image, filling a portion less than the N × N size with the average pixel value, and generating a pixel block When,
The process includes a process of outputting a pixel block by cyclically shifting the extracted pixel block.

【0082】本発明(請求項99)は、電子透かし検出
プロセスにおいて、検出対象画像のオフセットの位置か
ら画素ブロックを分割するプロセスと、分割された画素
ブロックを離散フーリエ変換し、検出対象係数行列を生
成するプロセスと、検出対象成分位置情報と、検出対象
係数行列から検出対象系列を生成するプロセスと、検出
対象系列と鍵情報からシンボル検出情報を生成するプロ
セスと、シンボル検出情報から画素ブロックを出力する
プロセスとを含む。
According to the present invention (claim 99), in the digital watermark detection process, a process of dividing a pixel block from an offset position of a detection target image, a discrete Fourier transform of the divided pixel block, and a detection target coefficient matrix are performed. A process of generating, a process of generating a detection target sequence from the detection target component position information and a detection target coefficient matrix, a process of generating symbol detection information from the detection target sequence and key information, and outputting a pixel block from the symbol detection information Process.

【0083】本発明(請求項100)は、電子透かし検
出プロセスにおいて、検出対象画像を画素ブロックに分
割し、該画素ブロックをオフセットでサイクリックシフ
トするプロセスと、サイクリックシフトされた画素ブロ
ックを離散フーリエ変換し、検出対象系列行列を生成す
るプロセスと、検出対象成分位置情報と検出対象係数行
列から検出対象系列を生成するプロセスと、検出対象系
列と鍵情報からシンボル検出情報を生成するプロセス
と、シンボル検出情報から各検出シンボルを生成するプ
ロセスと、検出シンボルから電子透かしを検出するプロ
セスとを含む。
According to the present invention (claim 100), in a digital watermark detection process, a detection target image is divided into pixel blocks, and the pixel blocks are cyclically shifted by an offset. Fourier transform, a process of generating a detection target sequence matrix, a process of generating a detection target sequence from detection target component position information and a detection target coefficient matrix, and a process of generating symbol detection information from the detection target sequence and key information, The method includes a process of generating each detected symbol from the symbol detection information and a process of detecting a digital watermark from the detected symbol.

【0084】本発明(請求項101)は、電子透かし検
出プロセスにおいて、検出対象画像を画素ブロックに分
割し、該画素ブロックをオフセットでサイクリックシフ
トし、このとき、検出対象画像の端の辺りでN×Nサイ
ズに満たない部分については、足りない部分を平均画素
値で埋めるプロセスと、画素ブロックを離散フーリエ変
換し、検出対象係数行列を生成するプロセスと、検出対
象成分位置情報と検出対象係数行列から検出対象系列を
生成するプロセスと、検出対象系列と鍵情報からシンボ
ル検出情報を生成するプロセスと、シンボル検出情報か
ら各検出シンボルを生成するプロセスと、検出シンボル
から電子透かしを検出するプロセスとを含む。
According to the present invention (claim 101), in a digital watermark detection process, an image to be detected is divided into pixel blocks, and the pixel blocks are cyclically shifted with an offset. For a portion less than the N × N size, a process of filling the missing portion with an average pixel value, a process of performing a discrete Fourier transform on a pixel block to generate a detection target coefficient matrix, a detection target component position information and a detection target coefficient A process of generating a detection target sequence from a matrix, a process of generating symbol detection information from the detection target sequence and key information, a process of generating each detection symbol from the symbol detection information, and a process of detecting a digital watermark from the detection symbol. including.

【0085】本発明(請求項102)は、位置マーカ系
列生成プロセスにおいて、検出対象画像をオフセットに
よりブロックに分割するプロセスと、画素ブロックの画
素値が加算された加算ブロックを画素ブロックとして出
力するプロセスとを含む。本発明(請求項103)は、
位置マーカ系列生成プロセスにおいて、検出対象画像を
ブロックに分割するプロセスと、分割されたブロックの
画素値を加算して得られたブロックを加算ブロックと
し、該加算ブロックをオフセットによりサイクリックシ
フトし、画素ブロックを生成するプロセスを含む。
According to the present invention (claim 102), in the position marker series generation process, a process of dividing a detection target image into blocks by an offset and a process of outputting an added block obtained by adding pixel values of a pixel block as a pixel block. And The present invention (claim 103) provides
In the position marker sequence generation process, a process of dividing the detection target image into blocks, and a block obtained by adding the pixel values of the divided blocks to an addition block, and cyclically shifting the addition block by an offset, Includes the process of creating blocks.

【0086】本発明(請求項104)は、位置マーカ系
列生成プロセスにおいて、検出対象画像をブロックに分
割し、このとき、該検出対象画像の端の辺りで1ブロッ
クに満たない画素領域について、分割時の検出対象画像
相当分の平均値を求め、足りない部分は検出対象画像相
当分の画素値の平均値を求め、該平均値で埋めてブロッ
クとするプロセスと、分割されたブロックの画素値を加
算して得られたブロックを加算ブロックとするプロセス
と、加算ブロックをオフセットによりサイクリックシフ
トし、画素ブロックを生成するプロセスとを含む。
According to the present invention (claim 104), in the position marker series generation process, the detection target image is divided into blocks, and at this time, a pixel area less than one block around the end of the detection target image is divided. The process of obtaining an average value corresponding to the image to be detected at the time, obtaining the average value of the pixel values corresponding to the image to be detected in the missing portion, filling the average value into a block, and the pixel value of the divided block Are added to each other, and a process of cyclically shifting the added block by offset to generate a pixel block is included.

【0087】本発明(請求項105)は、位置マーカ系
列生成プロセスにおいて、検出対象系列生成後に、該検
出対象系列の平均を0に変えるプロセスを含む。本発明
(請求項106)は、電子透かし検出プロセスにおい
て、検出対象系列を生成した後に、該検出対象系列の平
均を0に変えるプロセスを含む。本発明(請求項10
7)は、電子透かし検出プロセスにおいて、検出対象系
列を生成した後に、該検出対象系列の平均を0に変える
プロセスを含む。
The present invention (Claim 105) includes a process of changing the average of the detection target sequence to 0 after the generation of the detection target sequence in the position marker sequence generation process. The present invention (claim 106) includes, in the digital watermark detection process, a process of changing the average of the detection target sequence to 0 after generating the detection target sequence. The present invention (claim 10
7) includes a process of, after generating a detection target sequence in the digital watermark detection process, changing the average of the detection target sequence to zero.

【0088】本発明(請求項108)は、位置マーカ検
出プロセスにおいて、すべての位置マーカ検出情報の最
大値を求め、所定の閾値より該最大値が小さい場合に
は、オフセットの検出に失敗したことを表す信号を出力
し、該最大値が該所定の閾値以上である場合には、該最
大値をとるときのオフセットを出力するプロセスを含
む。
According to the present invention (claim 108), in the position marker detection process, the maximum value of all the position marker detection information is obtained, and if the maximum value is smaller than a predetermined threshold value, the offset detection fails. And outputting the offset when the maximum value is obtained when the maximum value is equal to or larger than the predetermined threshold value.

【0089】本発明(請求項109)は、電子透かし検
出プロセスにおいて、シンボル検出情報をシンボル位置
毎に分割して、シンボル位置毎系列を生成するプロセス
と、シンボル位置毎系列の最大値を求めるプロセスと、
最大値が所定の閾値より小さい場合には、検出対象画像
に埋め込まれている電子透かしの検出に失敗したことを
表す信号を出力し、該最大値が該所定の閾値以上の場合
には、該最大値をとるときのシンボル候補を検出シンボ
ルとするプロセスと、検出シンボルから電子透かしの表
現に変換するプロセスとを含む。
The present invention (claim 109) provides a digital watermark detection process in which symbol detection information is divided for each symbol position to generate a sequence for each symbol position, and a process for obtaining the maximum value of the sequence for each symbol position. When,
If the maximum value is smaller than the predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output.If the maximum value is equal to or larger than the predetermined threshold, the signal is output. The process includes a process of setting a symbol candidate at the maximum value as a detection symbol and a process of converting the detection symbol into a digital watermark expression.

【0090】本発明(請求項110)は、閾値として、
平均0、分散1の正規分布の分布関数の値に基づいて定
められた閾値を適用する。本発明(請求項111)は、
ディジタル画像に対して人間の知覚に感知されないよう
に埋め込まれた電子透かしを検出するための電子透かし
検出プログラムを格納した記憶媒体であって、鍵情報か
ら検出対象成分位置情報を生成する検出対象成分指定プ
ロセスと、鍵情報から位置マーカ系列を生成する位置マ
ーカ系列生成プロセスと、検出された位置マーカ検出情
報により、埋め込み時の透かしパターンの開始点と検出
対象画像から切り出した画素ブロックの開始点とのずれ
を表すオフセット情報を検出する位置マーカ検出プロセ
スと、オフセット情報を用いて画素ブロックに埋め込ま
れている電子透かしを検出する電子透かし検出プロセス
とを有する。
According to the present invention (claim 110),
A threshold determined based on the value of the distribution function of a normal distribution with mean 0 and variance 1 is applied. The present invention (claim 111) provides:
A storage medium storing a digital watermark detection program for detecting a digital watermark embedded in a digital image so as not to be perceived by human perception, and a detection target component for generating detection target component position information from key information A designation process, a position marker sequence generation process of generating a position marker sequence from key information, and a start point of a watermark pattern at the time of embedding and a start point of a pixel block cut out from a detection target image based on the detected position marker detection information. And a digital watermark detection process for detecting a digital watermark embedded in a pixel block using the offset information.

【0091】本発明(請求項112)は、検出対象成分
指定プロセスにおいて、鍵情報を初期値とする乱数列を
生成するプロセスと、乱数列を元に、埋め込まれている
埋め込み系列の長さと同じ長さの検出対象成分位置情報
を生成するプロセスを含む。本発明(請求項113)
は、位置マーカ系列生成プロセスにおいて、鍵情報を初
期値とする最初の拡散系列を生成し、該拡散系列を位置
マーカ系列とするプロセスを含む。
According to the present invention (claim 112), in the detection target component designation process, a process of generating a random number sequence using key information as an initial value is performed based on the random number sequence and has the same length as the length of the embedded sequence embedded. The method includes a process of generating position detection target component position information. The present invention (Claim 113)
Includes a process of generating a first spread sequence using key information as an initial value in a position marker sequence generation process, and using the spread sequence as a position marker sequence.

【0092】本発明(請求項114)は、位置マーカ検
出プロセスにおいて、検出対象画像と検出対象成分位置
情報と位置マーカ系列を用いて、該検出対象画像からN
×Nサイズの画素ブロックを切り出すプロセスと、画素
ブロックを離散フーリエ変換して、検出対象係数行列を
生成するプロセスと、オフセット情報、検出対象係数行
列、及び検出対象成分位置情報から検出対象系列を生成
するプロセスと、位置マーカ系列と検出対象系列との相
関値を組にして位置マーカ検出情報とするプロセスとを
含む。
According to the present invention (claim 114), in the position marker detection process, the detection target image, the detection target component position information, and the position marker sequence are used to detect N
A process of cutting out a pixel block of × N size, a process of generating a detection target coefficient matrix by performing a discrete Fourier transform of the pixel block, and a generation of a detection target sequence from offset information, a detection target coefficient matrix, and detection target component position information And a process of setting a correlation value between the position marker sequence and the detection target sequence as a set to obtain position marker detection information.

【0093】本発明(請求項115)は、電子透かし検
出プロセスにおいて、検出対象画像と、検出対象成分位
置情報とオフセット情報及び鍵情報を用いて、該検出対
象画像から画素ブロックを切り出すプロセスと、画素ブ
ロックを離散フーリエ変換して、検出対象係数行列を生
成するプロセスと、オフセット情報、検出対象係数行
列、及び検出対象成分位置情報から検出対象系列を生成
するプロセスと、鍵情報とシンボル候補情報から生成さ
れる系列と検出対象系列との相関値からシンボル検出結
果を生成するプロセスと、シンボル検出結果の各シンボ
ル位置に基づいて、相関値が最大時のシンボル候補値を
検出シンボルとするプロセスと、検出シンボルを電子透
かしの形式に変換した結果を出力するプロセスとを含
む。
According to the present invention (claim 115), in the digital watermark detection process, a pixel block is cut out from the detection target image using the detection target image, the detection target component position information, the offset information and the key information, A process of generating a detection target coefficient matrix by performing a discrete Fourier transform on a pixel block, a process of generating a detection target sequence from offset information, a detection target coefficient matrix, and detection target component position information, and a process of generating key information and symbol candidate information. A process of generating a symbol detection result from a correlation value between the generated sequence and the detection target sequence; and a process of setting a symbol candidate value having a maximum correlation value as a detection symbol based on each symbol position of the symbol detection result. Outputting the result of converting the detected symbols into a digital watermark format.

【0094】本発明(請求項116)は、位置マーカ系
列生成プロセスにおいて、検出対象画像からN×Nサイ
ズのブロックを切り出した時、該検出対象画像からN×
Nサイズに切り出せない場合には、N×Nサイズで切り
出そうとした時に含まれる検出対象画像相当分のみを切
り出し、N×Nサイズで足りない部分は、該検出対象画
像相当分の画素値の平均を求め、該平均で足りない部分
を埋めるプロセスを含む。
According to the present invention (claim 116), in a position marker sequence generation process, when a block of N × N size is cut out from a detection target image, N × N size blocks are extracted from the detection target image.
If the image cannot be cut out to the N size, only the image to be detected included in an attempt to cut out the image to the N × N size is cut out. And filling the missing parts with the average.

【0095】本発明(請求項117)は、電子透かし検
出プロセスにおいて、検出対象画像から画素ブロックを
分割するプロセスと、画素ブロックを離散フーリエ変換
し、検出対象係数行列を生成するプロセスと、オフセッ
ト情報と検出対象成分位置情報と検出対象係数行列から
検出対象系列を生成するプロセスと、検出対象系列と鍵
情報から検出シンボルを生成するプロセスと、検出シン
ボルから副画像を検出する。
The present invention (claim 117) provides a digital watermark detection process in which a pixel block is divided from a detection target image, a process in which the pixel block is subjected to discrete Fourier transform to generate a detection target coefficient matrix, and offset information. A process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, a process of generating a detection symbol from the detection target sequence and the key information, and detecting a sub-image from the detection symbol.

【0096】本発明(請求項118)は、電子透かし検
出プロセスにおいて、検出対象画像からN×Nサイズの
ブロックを切り出した時、該検出対象画像からN×Nサ
イズに切り出せない場合には、N×Nサイズで切り出そ
うとした時に含まれる検出対象画像相当分のみを切り出
し、N×Nサイズで足りない部分は、該検出対象画像相
当分の画素値の平均値を求め、該平均値で足りない部分
を埋めるプロセスを含む。
According to the present invention (claim 118), in the digital watermark detection process, when a block of N × N size is cut out from an image to be detected, if the block cannot be cut out to N × N size from the image to be detected, N Only the portion equivalent to the detection target image included when attempting to cut out in the size of × N is cut out, and the portion that is not sufficient in the size N × N is obtained by averaging the pixel values corresponding to the detection target image. Includes the process of filling in missing parts.

【0097】本発明(請求項119)は、位置マーカ系
列生成プロセスにおいて、検出対象画像をN×Nサイズ
のブロックに分割するプロセスと、すべてのブロックの
画素値が加算された加算ブロックを画素ブロックとする
プロセスを含む。本発明(請求項120)は、電子透か
し検出プロセスにおいて、検出対象画像をN×Nサイズ
のブロックに分割するプロセスと、すべてのブロックの
画素値が加算された加算ブロックを画素ブロックとする
プロセスを含む。
According to the present invention (claim 119), in the position marker series generation process, the process of dividing the detection target image into N × N size blocks and the addition block in which the pixel values of all the blocks are added are performed in the pixel block. Process. According to the present invention (claim 120), in the digital watermark detection process, a process of dividing a detection target image into N × N size blocks and a process of setting an addition block obtained by adding pixel values of all blocks to a pixel block are used. Including.

【0098】本発明(請求項121)は、電子透かし検
出プロセスにおいて、検出対象画像からN×Nサイズの
ブロックを切り出した時、該検出対象画像からN×Nサ
イズに切り出せない場合には、N×Nサイズで切り出そ
うとした時に含まれる検出対象画像相当分のみを切り出
し、N×Nサイズで足りない部分は、該検出対象画像相
当分の画素値の平均値を求め、該平均値で足りない部分
を埋めるプロセスを含む。
According to the present invention (claim 121), in the digital watermark detection process, when a block of N × N size is cut out from an image to be detected, if the block cannot be cut out to N × N size from the image to be detected, N Only the portion equivalent to the detection target image included when attempting to cut out in the size of × N is cut out, and the portion that is not sufficient in the size N × N is obtained by averaging the pixel values corresponding to the detection target image. Includes the process of filling in missing parts.

【0099】本発明(請求項122)は、位置マーカ系
列生成プロセスにおいて、検出対象画像からN×Nサイ
ズのブロックを切り出した時、該検出対象画像からN×
Nサイズに切り出せない場合には、N×Nサイズで切り
出そうとした時に含まれる検出対象画像相当分のみを切
り出し、N×Nサイズで足りない部分は、該検出対象画
像相当分の画素値の平均値を求め、該平均値で足りない
部分を埋めるプロセスを含む。
According to the present invention (claim 122), in a position marker series generation process, when a block of N × N size is cut out from a detection target image, N × N size blocks are extracted from the detection target image.
If the image cannot be cut out to the N size, only the image to be detected included in an attempt to cut out the image to the N × N size is cut out. And a process of filling in a portion where the average value is insufficient.

【0100】本発明(請求項123)は、位置マーカ系
列生成プロセスにおいて、検出対象系列を生成した後
に、該検出対象系列の平均を0に変える処理を行うプロ
セスを含む。本発明(請求項124)は、電子透かし検
出プロセスにおいて、検出対象系列の生成後に、該検出
対象系列の平均を0に変える処理を行うプロセスを含
む。
The present invention (Claim 123) includes, in the position marker sequence generation process, a process of generating a detection target sequence and then performing a process of changing the average of the detection target sequence to zero. The present invention (claim 124) includes, in the digital watermark detection process, a process of performing a process of changing the average of the detection target sequence to 0 after generating the detection target sequence.

【0101】本発明(請求項125)は、位置マーカ検
出プロセスにおいて、位置マーカ検出情報の最大値を求
めるプロセスと、最大値が所定の閾値より小さい場合に
は、オフセット情報の検出に失敗したことを表す信号を
出力し、該最大値が所定の閾値以上の場合には、該最大
値をとる時のオフセット情報を出力するプロセスを含
む。
According to the present invention (claim 125), in the position marker detection process, the process of obtaining the maximum value of the position marker detection information and the step of detecting the offset information when the maximum value is smaller than a predetermined threshold value have failed. And outputting the offset information when the maximum value is obtained when the maximum value is equal to or greater than a predetermined threshold value.

【0102】本発明(請求項126)は、電子透かし検
出プロセスにおいて、検出対象系列と鍵情報から生成さ
れたシンボル検出情報シンボル位置毎に分割するプロセ
スと、シンボル位置毎のシンボル位置毎系列の最大値を
求めるプロセスと、最大値が所定の閾値より小さい場合
には、検出対象画像に埋め込まれている電子透かしの検
出に失敗したことを表す信号を出力し、該最大値が所定
の閾値以上の場合には、該最大値をとる時のシンボル候
補を出力するプロセスを含む。
According to the present invention (claim 126), in the digital watermark detection process, a process of dividing the symbol detection information generated from the detection target sequence and the key information into each symbol position, and a maximum of the symbol position sequence for each symbol position are performed. When the maximum value is smaller than a predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output, and the maximum value is equal to or larger than the predetermined threshold. In such a case, a process of outputting a symbol candidate when the maximum value is obtained is included.

【0103】本発明(請求項127)は、電子透かし検
出プロセスにおいて、検出対象系列と鍵情報から生成さ
れたシンボル検出情報シンボル位置毎に分割するプロセ
スと、シンボル位置毎のシンボル位置毎系列の最大値を
求めるプロセスと、最大値が所定の閾値より小さい場合
には、検出対象画像に埋め込まれている電子透かしの検
出に失敗したことを表す信号を出力し、該最大値が所定
の閾値以上の場合には、該最大値をとる時のシンボル候
補を出力するプロセスを含む。
According to the present invention (claim 127), in the digital watermark detection process, a process of dividing each detection target symbol and a symbol detection information generated from key information into symbol positions, When the maximum value is smaller than a predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output, and the maximum value is equal to or larger than the predetermined threshold. In such a case, a process of outputting a symbol candidate when the maximum value is obtained is included.

【0104】本発明(請求項128)は、請求項126
において、上記閾値として、平均0、分散1の正規分布
の分布関数の値に基づいて定められた閾値を用いる。本
発明(請求項129)は、請求項127において、閾値
は、平均0、分散1の正規分布の分布関数の値に基づい
て定められた閾値を用いる。本発明(請求項130)
は、ディジタル画像に対して人間の知覚に感知されない
ための電子透かしを埋め込む電子透かし埋込装置と、該
電子透かしを検出する電子透かし検出装置からなる電子
透かしシステムであって、電子透かし埋め込み装置は、
埋め込みのための鍵情報から電子透かしを埋め込む長さ
と同じ長さの系列である埋め込み対象成分位置情報を生
成する埋め込み対象成分指定手段と、鍵情報を用いて、
位置マーカ情報と電子透かしを埋め込み系列に拡散する
埋め込み系列生成手段と、埋め込み対象成分位置情報と
埋め込み系列を用いて、初期値が零行列の複素行列であ
る透かし係数行列の成分値を変更する成分値変更手段
と、透かし係数行列を離散逆フーリエ変換し、透かしパ
ターンを生成する離散逆フーリエ変換手段と、透かしパ
ターンを強度パラメータによって強調し、強調された透
かしパターンを入力された画像にタイル状に加算して得
られる埋め込み済画像を生成する透かしパターン加算手
段とを有し、電子透かし検出装置は、鍵情報から検出対
象成分位置情報を生成する検出対象成分指定手段と、鍵
情報から位置マーカ系列を生成する位置マーカ系列生成
手段と、位置マーカ系列を検出し、埋め込み時の透かし
パターンの開始点と検出対象画像から切り出した画素ブ
ロックの開始点が一致するオフセット情報を抽出する位
置マーカ検出手段と、オフセット情報に基づいて切り出
した画素ブロックから埋め込まれている電子透かしを検
出する電子透かし検出手段とを有する。
The present invention (claim 128) provides claim 126
In the above, a threshold determined based on the value of a distribution function of a normal distribution having an average of 0 and a variance of 1 is used as the threshold. The present invention (claim 129) is based on claim 127, wherein the threshold value is a threshold value determined based on the value of the distribution function of a normal distribution with mean 0 and variance 1. The present invention (Claim 130)
Is a digital watermark embedding device that embeds a digital watermark in a digital image so as not to be perceived by human perception, and a digital watermark detection device that detects the digital watermark. ,
Using the key information, an embedding target component specifying unit that generates embedding target component position information that is a sequence having the same length as the length of embedding the digital watermark from the key information for embedding,
An embedding sequence generating unit that spreads the position marker information and the digital watermark to the embedding sequence, and a component that changes the component value of a watermark coefficient matrix whose initial value is a complex matrix of zero matrix using the embedding target component position information and the embedding sequence Value changing means, discrete inverse Fourier transform of a watermark coefficient matrix to generate a watermark pattern, and a discrete inverse Fourier transform means for generating a watermark pattern, the watermark pattern is enhanced by an intensity parameter, and the enhanced watermark pattern is tiled on the input image. A watermark pattern adding unit that generates an embedded image obtained by addition; a digital watermark detection device includes a detection target component designating unit that generates detection target component position information from key information; and a position marker sequence from the key information. A position marker sequence generating means for generating a position marker sequence, detecting a position marker sequence, Position marker detecting means for extracting offset information at which the start point of the pixel block cut out from the output target image matches, and digital watermark detecting means for detecting a digital watermark embedded from the pixel block cut out based on the offset information. Have.

【0105】本発明(請求項131)は、電子透かし埋
込装置が、集積回路により構成される。本発明(請求項
132)は、電子透かし検出装置が、集積回路により構
成される。本発明(請求項133)は、ディジタル画像
に対して人間の知覚に感知されないための電子透かしを
埋め込む電子透かし埋込装置と、該電子透かしを検出す
る電子透かし検出装置からなる電子透かしシステムであ
って、電子透かし埋込装置は、埋め込みのための鍵情報
から電子透かしを埋め込む長さと同じ長さの系列である
埋め込み対象成分位置情報を生成する埋め込み対象成分
指定手段と、鍵情報を用いて、位置マーカ情報と電子透
かしを埋め込み系列に拡散する埋め込み系列生成手段
と、埋め込み対象成分位置情報と埋め込み系列を用い
て、初期値が零行列の複素行列である透かし係数行列の
成分値を変更する成分値変更手段と、透かし係数行列を
離散逆フーリエ変換し、透かしパターンを生成する離散
逆フーリエ変換手段と、透かしパターンを強度パラメー
タによって強調し、強調された透かしパターンを入力さ
れた画像にタイル状に加算して得られる埋め込み済画像
を生成する透かしパターン加算手段とを有し、電子透か
し検出装置は、鍵情報から検出対象成分位置情報を生成
する検出対象成分指定手段と、鍵情報から位置マーカ系
列を生成する位置マーカ系列生成手段と、検出された位
置マーカ検出情報により、埋め込み時の透かしパターン
の開始点と検出対象画像から切り出した画素ブロックの
開始点とのずれを表すオフセット情報を検出する位置マ
ーカ検出手段と、オフセット情報を用いて画素ブロック
に埋め込まれている電子透かしを検出する電子透かし検
出手段とを有する。
According to the present invention (claim 131), the digital watermark embedding device is constituted by an integrated circuit. According to the present invention (claim 132), the digital watermark detection device is configured by an integrated circuit. The present invention (claim 133) provides a digital watermark embedding device that embeds a digital watermark in a digital image so as not to be perceived by human perception, and a digital watermark detection device that detects the digital watermark. The digital watermark embedding apparatus uses an embedding target component designating unit that generates, from key information for embedding, embedding target component position information that is a sequence having the same length as the length of embedding an electronic watermark, and key information, An embedding sequence generating unit that spreads the position marker information and the digital watermark to the embedding sequence, and a component that changes the component value of the watermark coefficient matrix whose initial value is a complex matrix of zero matrix using the embedding target component position information and the embedding sequence Value changing means, discrete inverse Fourier transform means for performing a discrete inverse Fourier transform on a watermark coefficient matrix, and a watermark pattern, A watermark pattern adding means for emphasizing the watermark pattern with an intensity parameter and adding an enhanced watermark pattern to the input image in a tiled manner to generate an embedded image obtained. Detection target component specifying means for generating detection target component position information from the information; position marker sequence generation means for generating a position marker sequence from the key information; and a start point of the watermark pattern at the time of embedding based on the detected position marker detection information. Position marker detecting means for detecting offset information indicating a deviation from a start point of a pixel block cut out from the detection target image, and digital watermark detecting means for detecting a digital watermark embedded in the pixel block using the offset information. Having.

【0106】本発明(請求項134)は、電子透かし埋
込装置が、集積回路で構成される。本発明(請求項13
5)は、電子透かし検出装置が、集積回路で構成され
る。図3は、本発明の第2の原理を説明するための図で
ある。本発明(請求項136)は、ディジタル画像に対
して電子透かしを埋め込む電子透かし埋込方法におい
て、画像の局所的複雑度を求め(ステップ11) 画像の局所的複雑度に応じて、画像の複雑な部分を該部
分より複雑度が低い部分より大きく変更し(ステップ1
2)、埋め込み画像を取得する(ステップ13)。
According to the present invention (claim 134), the digital watermark embedding device is constituted by an integrated circuit. The present invention (claim 13
In 5), the digital watermark detection device is configured by an integrated circuit. FIG. 3 is a diagram for explaining the second principle of the present invention. The present invention (claim 136) provides a digital watermark embedding method for embedding a digital watermark in a digital image, wherein the local complexity of the image is obtained (step 11). Is changed to a part that is less complex than that part (step 1).
2) Acquire an embedded image (step 13).

【0107】本発明(請求項137)は、画像の中のテ
クスチャ領域に大きな値を持ち、平坦領域やエッジ部分
において、小さな値を持つような画像の局所的複雑度を
作成する際に、入力画像と各画素と隣接画素との差分
が、ある閾値以上の時に、インクリメントされるカウン
タによって、エッジとテクスチャ領域を測る。
According to the present invention (claim 137), when creating a local complexity of an image having a large value in a texture region in an image and a small value in a flat region or an edge portion, When the difference between the image, each pixel, and an adjacent pixel is equal to or greater than a certain threshold, the edge and the texture area are measured by a counter that is incremented.

【0108】本発明(請求項138)は、エッジとテク
スチャ領域を測って得られるエッジ・テクスチャ成分値
画像を微小なブロックに細分し、細分されたブロック毎
に該ブロック中のエッジ・テクスチャ成分値の総和を求
め、当該総和をブロックのテクスチャ度指標とする。
According to the present invention (claim 138), an edge / texture component value image obtained by measuring an edge and a texture area is subdivided into minute blocks, and the edge / texture component value in the block is divided for each subdivided block. , And the sum is used as a texture degree index of the block.

【0109】本発明(請求項139)は、エッジとテク
スチャ領域を測って得られるエッジ・テクスチャ成分値
画像を微小なブロックに細分し、細分されたブロック毎
に該ブロック中のエッジ・テクスチャ成分値の総和を求
め、当該総和を予め定めた関数でマッピングした値をそ
のブロックのテクスチャ度指標とする。
According to the present invention (claim 139), an edge / texture component value image obtained by measuring an edge and a texture region is subdivided into minute blocks, and the edge / texture component value in the block is divided for each subdivided block. , And a value obtained by mapping the sum with a predetermined function is used as a texture degree index of the block.

【0110】本発明(請求項140)は、エッジ・テク
スチャ成分値画像とテクスチャ度指標を用いて、エッジ
・テクスチャ成分値を微小なブロックに分割し、分割さ
れたブロック中の各エッジ・テクスチャ成分値に対応す
るテクスチャ度指標を乗算することにより、テクスチャ
成分値画像を得る。本発明(請求項141)は、エッジ
・テクスチャ成分値画像とテクスチャ度指標を用いて、
エッジ・テクスチャ成分値を微小なブロックに分割し、
分割されたブロック中の各エッジ・テクスチャ成分値に
対応するテクスチャ度指標を乗算することにより、テク
スチャ成分値画像を得る。
According to the present invention (claim 140), the edge / texture component value is divided into minute blocks using the edge / texture component value image and the texture degree index, and each edge / texture component in the divided block is divided. The texture component value image is obtained by multiplying the value by the texture degree index corresponding to the value. The present invention (claim 141) uses an edge / texture component value image and a texture degree index,
Divide the edge / texture component value into small blocks,
A texture component value image is obtained by multiplying each edge / texture component value in the divided block by the texture degree index corresponding to the value.

【0111】本発明(請求項142)は、画像の局所的
複雑度に応じて該画像を変更する際に、画像の局所的複
雑度として、入力画像と各画素と隣接画素との差分が、
ある閾値以上の時に、インクリメントされるカウンタの
値に基づいて、エッジとテクスチャ領域を測ることによ
りエッジ・テクスチャ成分値画像を取得し、 エッジ・
テクスチャ成分値画像を画像の局所的複雑度として用い
る。
According to the present invention (claim 142), when the image is changed in accordance with the local complexity of the image, the difference between the input image and each pixel and the adjacent pixel is determined as the local complexity of the image.
An edge / texture component value image is obtained by measuring an edge and a texture area based on the value of a counter that is incremented when the threshold value is equal to or greater than a certain threshold value.
The texture component value image is used as the local complexity of the image.

【0112】本発明(請求項143)は、画像の局所的
複雑度に応じて、画像を変更する際に、画像の局所的複
雑度として、エッジとテクスチャ領域を測って得られる
エッジ・テクスチャ成分値画像を微小なブロックに細分
し、細分されたブロック毎に該ブロック中のエッジ・テ
クスチャ成分値の総和を求め、該総和をブロックのテク
スチャ度指標とし、テクスチャ度指標をアップサンプル
したものを画像の局所的複雑度として用いる。
According to the present invention (claim 143), when an image is changed in accordance with the local complexity of an image, an edge / texture component obtained by measuring an edge and a texture region as the local complexity of the image. The value image is subdivided into minute blocks, and the sum of the edge / texture component values in each subdivided block is obtained. The sum is used as the texture index of the block, and an image obtained by up-sampling the texture index is obtained. Is used as the local complexity of

【0113】本発明(請求項144)は、画像の局所的
複雑度に応じて、該画像を変更する際に、画像の局所的
複雑度として、エッジとテクスチャ領域を測って得られ
るエッジ・テクスチャ成分値画像を微小なブロックに細
分し、細分されたブロック毎に該ブロック中のエッジ・
テクスチャ成分値の総和を求め、該総和を予め定めた関
数でマッピングした値をブロックのテクスチャ度指標と
し、テクスチャ度指標をアップサンプルしたものを画像
の局所的複雑度として用いる。
According to the present invention (claim 144), when an image is changed in accordance with the local complexity of an image, an edge / texture obtained by measuring an edge and a texture area as the local complexity of the image. The component value image is subdivided into minute blocks, and the edge
The sum of the texture component values is obtained, the value obtained by mapping the sum with a predetermined function is used as the texture index of the block, and the upsampled texture index is used as the local complexity of the image.

【0114】本発明(請求項145)は、画像の局所的
複雑度に応じて、該画像を変更する際に、 画像の局所
的複雑度として、エッジ・テクスチャ成分値画像とテク
スチャ度指標を用いて、エッジ・テクスチャ成分値を微
小なブロックに分割し、分割されたブロック中の各エッ
ジ・テクスチャ成分値に対応するテクスチャ度指標を乗
算することにより、テクスチャ成分値画像を取得し、テ
クスチャ成分値画像を画像の局所的複雑度として用い
る。
The present invention (claim 145) uses an edge / texture component value image and a texture degree index as the local complexity of an image when changing the image in accordance with the local complexity of the image. Dividing the edge / texture component value into minute blocks, and multiplying each edge / texture component value in the divided block by a texture index corresponding to the texture / component value image to obtain a texture component value image; Use the image as the local complexity of the image.

【0115】本発明(請求項146)は、ディジタル画
像に対して、人間の知覚に感知されないための電子透か
しを埋め込む電子透かし埋込方法において、ディジタル
画像内に別の電子透かしを知覚されないように埋め込む
際に、ディジタル画像である入力画像から画像の局所的
複雑度を生成し、埋め込みに必要な鍵情報を用いて電子
透かしから透かしパターンを生成し、画像の局所的複雑
度に応じて透かしパターンを入力画像に加算し、情報埋
め込み済画像を生成する。
The present invention (claim 146) provides a digital watermark embedding method for embedding a digital watermark in a digital image so as not to be perceived by human perception, so that another digital watermark is not perceived in the digital image. When embedding, the local complexity of the image is generated from the input image which is a digital image, the watermark pattern is generated from the digital watermark using the key information necessary for embedding, and the watermark pattern is generated according to the local complexity of the image. Is added to the input image to generate an information embedded image.

【0116】本発明(請求項147)は、画像の局所的
複雑度を生成する際に、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタをインクリメントし、隣接画素についての処理が終
了した時の差分カウンタの値をエッジ・テクスチャ成分
値画像とし、エッジ・テクスチャ成分値画像を画像の局
所的複雑度とする。
According to the present invention (claim 147), when generating the local complexity of an image, a difference counter is incremented when a difference between each pixel of an input image and an adjacent pixel is larger than a predetermined threshold value. Then, the value of the difference counter at the time when the processing for the adjacent pixel is completed is set as the edge / texture component value image, and the edge / texture component value image is set as the local complexity of the image.

【0117】本発明(請求項148)は、画像の局所的
複雑度を生成する際に、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタをインクリメントし、隣接画素についての処理が終
了した時の差分カウンタの値をエッジ・テクスチャ成分
値画像とし、エッジ・テクスチャ成分画像をブロックに
細分し、該ブロックのエッジ・テクスチャ成分値の総和
をとり、当該ブロックのテクスチャ度指標とし、テクス
チャ度指標をアップサンプルしたものを画像の局所複雑
度とする。
According to the present invention (claim 148), when generating the local complexity of an image, the difference counter is incremented when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value. Then, the value of the difference counter at the time when the processing for the adjacent pixels is completed is defined as an edge / texture component value image, the edge / texture component image is subdivided into blocks, and the sum of the edge / texture component values of the block is calculated. The texture degree index of the block is used, and an up-sample of the texture degree index is used as the local complexity of the image.

【0118】本発明(請求項149)は、画像の局所的
複雑度を生成する際に、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタをインクリメントし、隣接画素についての処理が終
了した時の差分カウンタの値をエッジ・テクスチャ成分
値画像とし、エッジ・テクスチャ成分画像をブロックに
細分し、該ブロックのエッジ・テクスチャ成分値の総和
をとり、当該ブロックのテクスチャ度指標とし、テクス
チャ度指標を当該ブロック毎のエッジ・テクスチャ成分
画像に乗算し、テクスチャ成分値画像を取得し、画像の
局所的複雑度とする。
According to the present invention (claim 149), when generating the local complexity of an image, the difference counter is incremented when the difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value. Then, the value of the difference counter at the time when the processing for the adjacent pixels is completed is defined as an edge / texture component value image, the edge / texture component image is subdivided into blocks, and the sum of the edge / texture component values of the block is calculated. The texture / index is multiplied by the edge / texture component image of each block, and a texture component value image is obtained as the local complexity of the image.

【0119】本発明(請求項150)は、ディジタル画
像に対して、人間の知覚に感知されないように電子透か
しを埋め込む電子透かし埋込方法において、ディジタル
画像内に別の電子透かしを知覚されないように埋め込む
際に、ディジタル画像である入力画像を所定のサイズの
ブロックに細分し、画像の局所的複雑度を生成し、埋め
込みに必要な鍵情報を用いて、電子透かしの基本となる
パターンである基本透かしパターンを生成し、ブロック
の直交変数係数の振幅値に応じて基本透かしパターンの
対応する直交変換係数を強調した適応透かしパターンを
生成し、基本パターンと透かしパターンを画像の局所的
複雑度及び強度パラメータに応じてブロックに加算し、
情報埋め込み済画像を生成する。
The present invention (claim 150) provides a digital watermark embedding method for embedding a digital watermark in a digital image so as not to be perceived by human perception, so that another digital watermark is not perceived in the digital image. When embedding, the input image, which is a digital image, is subdivided into blocks of a predetermined size, the local complexity of the image is generated, and key information necessary for embedding is used. Generate a watermark pattern, generate an adaptive watermark pattern emphasizing the corresponding orthogonal transform coefficient of the basic watermark pattern according to the amplitude value of the orthogonal variable coefficient of the block, and combine the basic pattern and the watermark pattern with the local complexity and intensity of the image. Add to the block according to the parameter,
Generate an information embedded image.

【0120】本発明(請求項151)は、画像の局所的
複雑度を生成する際に、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタをインクリメントし、隣接画素についての処理が終
了した時の差分カウンタの値をエッジ・テクスチャ成分
値画像とし、エッジ・テクスチャ成分値画像を画像の局
所的複雑度とする。
According to the present invention (claim 151), when the local complexity of an image is generated, the difference counter is incremented when the difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value. Then, the value of the difference counter at the time when the processing for the adjacent pixel is completed is set as the edge / texture component value image, and the edge / texture component value image is set as the local complexity of the image.

【0121】本発明(請求項152)は、画像の局所的
複雑度を生成する際に、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタをインクリメントし、隣接画素についての処理が終
了した時の差分カウンタの値をエッジ・テクスチャ成分
値画像とし、エッジ・テクスチャ成分画像をブロックに
細分し、該ブロックのエッジ・テクスチャ成分値の総和
をとり、当該ブロックのテクスチャ度指標とし、テクス
チャ度指標をアップサンプルしたものを画像の局所複雑
度とする。
According to the present invention (claim 152), when the local complexity of an image is generated, a difference counter is incremented when a difference between each pixel of an input image and an adjacent pixel is larger than a predetermined threshold value. Then, the value of the difference counter at the time when the processing for the adjacent pixels is completed is defined as an edge / texture component value image, the edge / texture component image is subdivided into blocks, and the sum of the edge / texture component values of the block is calculated. The texture degree index of the block is used, and an up-sample of the texture degree index is used as the local complexity of the image.

【0122】本発明(請求項153)は、エッジ・テク
スチャ成分値画像から作成されたテクスチャ度指標を所
定の関数を用いてマッピングした値をテクスチャ度指標
とする。本発明(請求項154)は、画像の局所的複雑
度を生成する際に、入力画像の各画素と隣接画素との差
が、予め指定された閾値より大きい場合に差分カウンタ
を1加算し、隣接画素についての処理が終了した時の差
分カウンタの値をエッジ・テクスチャ成分値画像とし、
エッジ・テクスチャ成分画像をブロックに細分し、該ブ
ロックのエッジ・テクスチャ成分値の総和をとり、当該
ブロックのテクスチャ度指標とし、テクスチャ度指標を
当該ブロック毎のエッジ・テクスチャ成分画像に乗算
し、テクスチャ成分値画像を取得し、画像の局所的複雑
度とする。
According to the present invention (claim 153), a value obtained by mapping a texture index generated from an edge / texture component value image using a predetermined function is used as a texture index. According to the present invention (claim 154), when the local complexity of an image is generated, a difference counter is incremented by 1 when a difference between each pixel of an input image and an adjacent pixel is larger than a predetermined threshold value, The value of the difference counter at the time when the processing for the adjacent pixel is completed is defined as an edge / texture component value image,
The edge / texture component image is subdivided into blocks, and the sum of the edge / texture component values of the block is calculated as a texture index of the block. The component value image is obtained and is set as the local complexity of the image.

【0123】図4は、本発明の第2の原理構成図であ
る。本発明(請求項155)は、ディジタル画像に対し
て、人間の知覚に感知されないように電子透かしを埋め
込む電子透かし埋込装置であって、入力するための入力
画像を入力とし、画像の局所的複雑度を求める局所的複
雑度作成手段1Bと、電子透かしを表すパターンを、埋
め込みに必要な鍵情報を用いて作成する透かしパターン
作成手段2Bと、入力画像に、透かしパターン作成手段
で作成されたパターンと、画像の局所的複雑度を加算し
て、情報埋め込み済画像を生成する画像加算手段3Bと
を有する。
FIG. 4 is a block diagram showing the second principle of the present invention. The present invention (claim 155) is an electronic watermark embedding device for embedding an electronic watermark in a digital image so as not to be perceived by human perception. Local complexity creating means 1B for obtaining complexity, watermark pattern creating means 2B for creating a pattern representing a digital watermark using key information necessary for embedding, and watermark pattern creating means for an input image. An image adding unit 3B that adds the pattern and the local complexity of the image to generate an information-embedded image.

【0124】本発明(請求項156)は、局所的複雑度
作成手段1Bにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
する手段と、エッジ・テクスチャ成分値画像を画像の局
所的複雑度とする手段とを含む。
According to the present invention (claim 156), the local complexity creating means 1B adds 1 to a difference counter when the difference between each pixel of an input image and an adjacent pixel is larger than a predetermined threshold value. It includes means for setting the value of the difference counter when the processing for the adjacent pixels is completed as an edge / texture component value image, and means for setting the edge / texture component value image as the local complexity of the image.

【0125】本発明(請求項157)は、局所的複雑度
作成手段1Bにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
する手段と、エッジ・テクスチャ成分画像をブロックに
細分し、該ブロックのエッジ・テクスチャ成分値の総和
をとり、当該ブロックのテクスチャ度指標とする手段
と、テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とする手段とを含む。
According to the present invention (claim 157), the local complexity creating means 1B adds 1 to a difference counter when the difference between each pixel of an input image and an adjacent pixel is larger than a predetermined threshold value. Means for setting the value of the difference counter when the processing for the adjacent pixel is completed as an edge / texture component value image; subdividing the edge / texture component image into blocks; taking the sum of the edge / texture component values of the block; It includes a means for setting the texture degree index of the block and a means for setting an up-sample of the texture degree index as the local complexity of the image.

【0126】本発明(請求項158)は、局所的複雑度
作成手段1Bにおいて、入力画像からエッジ・テクスチ
ャ成分値画像を生成する手段と、エッジ・テクスチャ成
分値画像からテクスチャ度指標を作成する手段と、テク
スチャ度指標を予め定められた関数を用いてマッピング
して、画像の局所的複雑度とする手段を有する。
According to the present invention (claim 158), in the local complexity generating means 1B, means for generating an edge / texture component value image from an input image and means for generating a texture index from the edge / texture component value image. And means for mapping the texture index using a predetermined function to obtain the local complexity of the image.

【0127】本発明(請求項159)は、局所的複雑度
作成手段1Bにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
する手段と、エッジ・テクスチャ成分画像をブロックに
細分し、該ブロックのエッジ・テクスチャ成分値の総和
をとり、当該ブロックのテクスチャ度指標とする手段
と、テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とする手段とを含む。
According to the present invention (claim 159), the local complexity creating means 1B adds 1 to a difference counter when a difference between each pixel of an input image and an adjacent pixel is larger than a predetermined threshold value. Means for setting the value of the difference counter when the processing for the adjacent pixel is completed as an edge / texture component value image; subdividing the edge / texture component image into blocks; taking the sum of the edge / texture component values of the block; Means for setting a texture index of the block; and means for multiplying the edge / texture component image of each block by the texture index to obtain a texture component value image and setting the local complexity of the image.

【0128】本発明(請求項160)は、ディジタル画
像に対して、人間の知覚に感知されないように電子透か
しを埋め込む電子透かし埋込装置であって、入力するた
めの入力画像を入力とし、該入力画像を所定のサイズの
ブロックに細分するブロック分割手段と、埋め込みに用
いる鍵情報と入力画像に埋め込む電子透かしから該電子
透かしを表す基本となる基本透かしパターンを作成する
基本透かしパターン生成手段と、ブロック分割手段で分
割されたブロックの直交変換係数の振幅値に応じて基本
透かしパターンの対応する直交変換係数を強調した適応
的パターンを作成する適応透かしパターン作成手段と、
ブロックから画像の局所的複雑度を求める局所的複雑度
作成手段と、ブロック毎に基本透かしパターンと適応透
かしパターンを、画像の局所的複雑度及び埋め込みの強
さを表す強度パラメータに応じて、ブロクに加算して、
情報埋め込み済画像を生成する加算手段とを有する。
The present invention (Claim 160) is an electronic watermark embedding device for embedding an electronic watermark in a digital image so as not to be perceived by human perception. Block dividing means for subdividing the input image into blocks of a predetermined size, basic watermark pattern generating means for creating a basic watermark pattern representing the digital watermark from key information used for embedding and a digital watermark to be embedded in the input image, Adaptive watermark pattern creating means for creating an adaptive pattern that emphasizes the corresponding orthogonal transform coefficient of the basic watermark pattern according to the amplitude value of the orthogonal transform coefficient of the block divided by the block dividing means,
A local complexity generating means for obtaining a local complexity of an image from a block, and a basic watermark pattern and an adaptive watermark pattern for each block are classified into blocks according to an intensity parameter representing the local complexity of the image and the strength of embedding. And add
Adding means for generating an information embedded image.

【0129】本発明(請求項161)は、局所的複雑度
作成手段において、入力画像の各画素と隣接画素との差
が、予め指定された閾値より大きい場合に差分カウンタ
を1加算し、隣接画素についての処理が終了した時の差
分カウンタの値をエッジ・テクスチャ成分値画像とする
手段と、エッジ・テクスチャ成分値画像を画像の局所的
複雑度とする手段とを含む。
According to the present invention (claim 161), the local complexity generating means adds 1 to the difference counter when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value. It includes means for setting the value of the difference counter when the processing for the pixel is completed as an edge / texture component value image, and means for setting the edge / texture component value image as the local complexity of the image.

【0130】本発明(請求項162)は、局所的複雑度
作成手段において、入力画像の各画素と隣接画素との差
が、予め指定された閾値より大きい場合に差分カウンタ
を1加算し、隣接画素についての処理が終了した時の差
分カウンタの値をエッジ・テクスチャ成分値画像とする
手段と、エッジ・テクスチャ成分画像をブロックに細分
し、該ブロックのエッジ・テクスチャ成分値の総和をと
り、当該ブロックのテクスチャ度指標とする手段と、テ
クスチャ度指標をアップサンプルしたものを画像の局所
複雑度とする手段とを含む。
According to the present invention (claim 162), the local complexity generating means adds 1 to the difference counter when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value. Means for setting the value of the difference counter at the time of completion of the processing for the pixel as an edge / texture component value image; subdividing the edge / texture component image into blocks; taking the sum of the edge / texture component values of the block; It includes a means for setting the texture degree index of the block, and a means for setting an up-sample of the texture degree index as the local complexity of the image.

【0131】本発明(請求項163)は、局所的複雑度
作成手段において、入力画像からエッジ・テクスチャ成
分値画像を生成する手段と、エッジ・テクスチャ成分値
画像からテクスチャ度指標を作成する手段と、テクスチ
ャ度指標を予め定められた関数を用いてマッピングし
て、画像の局所的複雑度とする手段を有する請求項16
0記載の電子透かし埋込装置。
According to the present invention (claim 163), the local complexity generating means includes means for generating an edge / texture component value image from an input image, and means for generating a texture index from the edge / texture component value image. And means for mapping the texture degree index using a predetermined function to obtain the local complexity of the image.
Electronic watermark embedding device according to 0.

【0132】本発明(請求項164)は、局所的複雑度
作成手段において、入力画像の各画素と隣接画素との差
が、予め指定された閾値より大きい場合に差分カウンタ
を1加算し、隣接画素についての処理が終了した時の差
分カウンタの値をエッジ・テクスチャ成分値画像とする
手段と、エッジ・テクスチャ成分画像をブロックに細分
し、該ブロックのエッジ・テクスチャ成分値の総和をと
り、当該ブロックのテクスチャ度指標とする手段と、テ
クスチャ度指標を当該ブロック毎のエッジ・テクスチャ
成分画像に乗算し、テクスチャ成分値画像を取得し、画
像の局所的複雑度とする手段とを含む。
According to the present invention (claim 164), the local complexity generating means adds 1 to the difference counter when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value. Means for setting the value of the difference counter at the time of completion of the processing for the pixel as an edge / texture component value image; subdividing the edge / texture component image into blocks; taking the sum of the edge / texture component values of the block; Means for setting a texture degree index of a block, and means for multiplying an edge / texture component image of each block by the texture degree index to obtain a texture component value image and setting the local complexity of the image.

【0133】本発明(請求項165)は、請求項155
の電子透かし埋込装置が、集積回路で構成される。本発
明(請求項166)は、請求項160の電子透かし埋込
装置が、集積回路で構成される。本発明(請求項16
7)は、ディジタル画像に対して、人間の知覚に感知さ
れないための電子透かしを埋め込む電子透かし埋込プロ
グラムを格納した記憶媒体であって、入力するための入
力画像から画像の局所的複雑度を求める局所的複雑度作
成プロセスと、電子透かしを表すパターンを作成する透
かしパターン作成プロセスと、入力画像に、透かしパタ
ーン作成プロセスで作成されたパターンと、画像の局所
的複雑度を加算して、情報埋め込み済画像を生成する画
像加算プロセスとを有する。
The present invention (claim 165) is based on claim 155.
Electronic watermark embedding device is configured by an integrated circuit. According to the present invention (claim 166), the digital watermark embedding device of claim 160 is constituted by an integrated circuit. The present invention (Claim 16
7) is a storage medium storing a digital watermark embedding program for embedding a digital watermark in a digital image so that the digital watermark is not perceived by human perception, and determines a local complexity of the image from an input image to be input. The required local complexity creation process, the watermark pattern creation process for creating a pattern representing the digital watermark, and the input image, adding the pattern created in the watermark pattern creation process and the local complexity of the image to obtain information And an image adding process for generating an embedded image.

【0134】本発明(請求項168)は、局所的複雑度
作成プロセスにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
するプロセスと、エッジ・テクスチャ成分値画像を画像
の局所的複雑度とするプロセスとを含む。
According to the present invention (claim 168), in the local complexity generation process, when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value, the difference counter is incremented by one, and The process includes a process of setting the value of the difference counter at the time when the process for the pixel is completed as an edge / texture component value image, and a process of setting the edge / texture component value image as a local complexity of the image.

【0135】本発明(請求項169)は、局所的複雑度
作成プロセスにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
するプロセスと、エッジ・テクスチャ成分画像をブロッ
クに細分し、該ブロックのエッジ・テクスチャ成分値の
総和をとり、当該ブロックのテクスチャ度指標とするプ
ロセスと、テクスチャ度指標をアップサンプルしたもの
を画像の局所複雑度とする プロセスとを含む。
According to the present invention (claim 169), in the local complexity creating process, when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value, the difference counter is incremented by one, and A process of setting the value of the difference counter at the time when the processing for the pixel is completed to an edge / texture component value image, subdividing the edge / texture component image into blocks, taking the sum of the edge / texture component values of the block, The process includes a process of setting a texture degree index of a block and a process of setting an upsampled texture degree index to a local complexity of an image.

【0136】本発明(請求項170)は、局所的複雑度
作成プロセスにおいて、入力画像からエッジ・テクスチ
ャ成分値画像を生成するプロセスと、エッジ・テクスチ
ャ成分値画像からテクスチャ度指標を作成するプロセス
と、テクスチャ度指標を予め定められた関数を用いてマ
ッピングして、画像の局所的複雑度とするプロセスを有
する。
The present invention (Claim 170) provides a process for generating an edge / texture component value image from an input image and a process for generating a texture index from the edge / texture component value image in the local complexity generation process. , The texture index is mapped using a predetermined function to obtain the local complexity of the image.

【0137】本発明(請求項171)は、局所的複雑度
作成プロセスにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
するプロセスと、エッジ・テクスチャ成分画像をブロッ
クに細分し、該ブロックのエッジ・テクスチャ成分値の
総和をとり、当該ブロックのテクスチャ度指標とするプ
ロセスと、テクスチャ度指標を当該ブロック毎のエッジ
・テクスチャ成分画像に乗算し、テクスチャ成分値画像
を取得し、画像の局所的複雑度とするプロセスとを含
む。
According to the present invention (claim 171), in the local complexity generating process, when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value, the difference counter is incremented by one, and A process of setting the value of the difference counter at the time when the processing for the pixel is completed to an edge / texture component value image, subdividing the edge / texture component image into blocks, taking the sum of the edge / texture component values of the block, The process includes a process of setting a texture degree index of a block and a process of multiplying the edge / texture component image of each block by the texture degree index to obtain a texture component value image and setting the local complexity of the image.

【0138】本発明(請求項172)は、ディジタル画
像に対して、人間の知覚に感知されないための電子透か
しを埋め込む電子透かし埋込プログラムを格納した記憶
媒体であって、入力するための入力画像を入力とし、該
入力画像を所定のサイズのブロックに細分するブロック
分割プロセスと、埋め込みに用いる鍵情報と入力画像に
埋め込む電子透かしから該電子透かしを表す基本となる
基本透かしパターンを作成する基本透かしパターン生成
プロセスと、ブロック分割プロセスで分割されたブロッ
クの直交変換係数の振幅値に応じて基本透かしパターン
の対応する直交変換係数を強調した適応的パターンを作
成する適応透かしパターン作成プロセスと、ブロックか
ら画像の局所的複雑度を求める局所的複雑度作成プロセ
スと、ブロック毎に基本透かしパターンと適応透かしパ
ターンを、画像の局所的複雑度及び埋め込みの強さを表
す強度パラメータに応じて、ブロクに加算して、情報埋
め込み済画像を生成する加算プロセスとを有する。
The present invention (claim 172) is a storage medium storing a digital watermark embedding program for embedding a digital watermark in a digital image so that the digital watermark is not perceived by human perception. , And a block dividing process of subdividing the input image into blocks of a predetermined size, and a basic watermark that creates a basic watermark pattern representing the digital watermark from key information used for embedding and a digital watermark to be embedded in the input image. A pattern generation process, an adaptive watermark pattern creation process for creating an adaptive pattern that emphasizes the corresponding orthogonal transform coefficient of the basic watermark pattern according to the amplitude value of the orthogonal transform coefficient of the block divided in the block division process, and Local complexity creation process to find local complexity of image An adaptive watermark pattern and the basic watermark pattern, according to the intensity parameter indicative of the local complexity and embedding strength of the image, and an addition process that adds the Buroku, generates information-embedded-image.

【0139】本発明(請求項173)は、局所的複雑度
作成プロセスにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
するプロセスと、エッジ・テクスチャ成分値画像を画像
の局所的複雑度とするプロセスとを含む。
According to the present invention (claim 173), in the local complexity generation process, when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value, the difference counter is incremented by one, and The process includes a process of setting the value of the difference counter at the time when the process for the pixel is completed as an edge / texture component value image, and a process of setting the edge / texture component value image as a local complexity of the image.

【0140】本発明(請求項174)は、局所的複雑度
作成プロセスにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
するプロセスと、エッジ・テクスチャ成分画像をブロッ
クに細分し、該ブロックのエッジ・テクスチャ成分値の
総和をとり、当該ブロックのテクスチャ度指標とするプ
ロセスと、テクスチャ度指標をアップサンプルしたもの
を画像の局所複雑度とするプロセスとを含む。
According to the present invention (claim 174), in the local complexity generation process, when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value, the difference counter is incremented by one, and A process of setting the value of the difference counter at the time when the processing for the pixel is completed to an edge / texture component value image, subdividing the edge / texture component image into blocks, taking the sum of the edge / texture component values of the block, The process includes a process of setting a texture degree index of a block and a process of setting an up-sample of the texture degree index as a local complexity of an image.

【0141】本発明(請求項175)は、局所的複雑度
作成プロセスにおいて、入力画像からエッジ・テクスチ
ャ成分値画像を生成するプロセスと、エッジ・テクスチ
ャ成分値画像からテクスチャ度指標を作成するプロセス
と、テクスチャ度指標を予め定められた関数を用いてマ
ッピングして、画像の局所的複雑度とするプロセスを有
する。
The present invention (claim 175) provides a process for generating an edge / texture component value image from an input image and a process for generating a texture index from the edge / texture component value image in the local complexity generation process. , The texture index is mapped using a predetermined function to obtain the local complexity of the image.

【0142】本発明(請求項176)は、局所的複雑度
作成プロセスにおいて、入力画像の各画素と隣接画素と
の差が、予め指定された閾値より大きい場合に差分カウ
ンタを1加算し、隣接画素についての処理が終了した時
の差分カウンタの値をエッジ・テクスチャ成分値画像と
するプロセスと、エッジ・テクスチャ成分画像をブロッ
クに細分し、該ブロックのエッジ・テクスチャ成分値の
総和をとり、当該ブロックのテクスチャ度指標とするプ
ロセスと、テクスチャ度指標を当該ブロック毎のエッジ
・テクスチャ成分画像に乗算し、テクスチャ成分値画像
を取得し、画像の局所的複雑度とするプロセスとを含
む。
According to the present invention (claim 176), in the local complexity generation process, when the difference between each pixel of the input image and the adjacent pixel is larger than a predetermined threshold value, the difference counter is incremented by one, and A process of setting the value of the difference counter at the time when the processing for the pixel is completed to an edge / texture component value image, subdividing the edge / texture component image into blocks, taking the sum of the edge / texture component values of the block, The process includes a process of setting a texture degree index of a block and a process of multiplying the edge / texture component image of each block by the texture degree index to obtain a texture component value image and setting the local complexity of the image.

【0143】これにより、本発明によれば、鍵情報と電
子透かしから、複素行列である透かし係数行列の各係数
値の実数成分と虚数成分を独立に変更し、変更後の透か
し係数行列を離散逆フーリエ変換することによって、透
かしパターンを生成し、透かしパターンを原画像にタイ
ル状に加算することによって埋め込み済画像を得ること
が可能となる。
Thus, according to the present invention, the real component and the imaginary component of each coefficient value of the watermark coefficient matrix, which is a complex matrix, are independently changed from the key information and the digital watermark, and the changed watermark coefficient matrix is discrete. By performing the inverse Fourier transform, a watermark pattern is generated, and an embedded image can be obtained by adding the watermark pattern to the original image in a tile shape.

【0144】また、本発明によれば、テクスチャ領域に
おいて、比較的大きな値を持ち、平坦領域あるいは、エ
ッジ部分では比較的小さな値を持つような画像の局所的
複雑度を作成することが可能となる。これにより、従来
技術より視覚特性に適応的な情報埋め込みが実現でき、
相対的に電子透かしの耐性が増す。また、本発明によれ
ば、埋め込みの際に、元の画像の模様を反映したパター
ンを加算することから、より画質の向上、つまり相対的
な耐性の更なる向上が可能となる。
According to the present invention, it is possible to create local complexity of an image having a relatively large value in a texture region and a relatively small value in a flat region or an edge portion. Become. As a result, information embedding that is more adaptive to the visual characteristics than the conventional technology can be realized,
The watermark resistance is relatively increased. Further, according to the present invention, at the time of embedding, since a pattern reflecting the pattern of the original image is added, it is possible to further improve the image quality, that is, further improve the relative tolerance.

【0145】また、本発明によれば、エッジとテクスチ
ャを同等に扱って得られるエッジ・テクスチャ成分値画
像、エッジ・テクスチャ成分値画像の局所的な密度から
得られるテクスチャ度指標、そして、前者2つから得ら
れるテクスチャ成分値画像を生成することにより、テク
スチャ領域において比較的大きな値を持ち、平坦領域、
あるいは、エッジ部分では比較的小さな値を持つような
テクスチャ成分値画像を作成することができ、従来の技
術より視覚特性に適応的な情報埋め込みが表現でき、相
対的に電子透かしの耐性が増す。
Further, according to the present invention, an edge / texture component value image obtained by treating edges and textures equally, a texture degree index obtained from a local density of the edge / texture component value image, and the former 2 By generating a texture component value image obtained from a single
Alternatively, a texture component value image having a relatively small value can be created in an edge portion, information embedding can be expressed more adaptively to visual characteristics than in the conventional technology, and the resistance to digital watermarking relatively increases.

【0146】また、本発明によれば、検出の際に、検出
対象画像の任意の位置からブロックを切り出し、ブロッ
クを離散フーリエ変換して係数行列を得た後、鍵情報に
よって指定される成分値列を作成し、成分値列の各項に
平行移動量による係数の位相差を掛け算した系列と、透
かしパターンの開始点を意味する系列との相関をとるこ
とによって平行移動量のサーチを行い、サーチの結果、
最大のレスポンス値を出力した時の平行移動量が透かし
パターンの開始点から切り出されたブロックの開始点ま
での平行移動量であるとし、この平行移動量を用いて、
さらに埋め込まれている電子透かしを検出することが可
能となる。
Further, according to the present invention, upon detection, a block is cut out from an arbitrary position in the image to be detected, a discrete Fourier transform is performed on the block to obtain a coefficient matrix, and then component values specified by key information are obtained. A sequence is created, and a search is made for the amount of translation by correlating a sequence obtained by multiplying each term of the component value sequence by the phase difference of the coefficient according to the amount of translation with a sequence meaning the start point of the watermark pattern, As a result of the search,
Assume that the translation amount when the maximum response value is output is the translation amount from the start point of the watermark pattern to the start point of the cut-out block, and using this translation amount,
Further, it becomes possible to detect the embedded digital watermark.

【0147】さらに、本発明によれば、平行移動量の探
索の際に、走査毎に離散フーリエ変換を行う必要がな
く、探索前に一度だけ離散フーリエ変換をすれば良いこ
とから、単純な平行移動量探索(座標をずらしながら直
交変換して走査する方法)よりも検出処理時間の短縮が
可能となる。
Further, according to the present invention, it is not necessary to perform a discrete Fourier transform for each scan when searching for the amount of parallel movement, and it is sufficient to perform a discrete Fourier transform only once before the search. It is possible to reduce the detection processing time as compared with the moving amount search (a method of performing orthogonal transformation and scanning while shifting the coordinates).

【0148】[0148]

【発明の実施の形態】以下、図面と共に、本発明の実施
例の形態として、いくつかの実施例を用いて説明する。 [第1の実施例]本実施例では、透かし情報を埋め込む
第1の例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described below with reference to the accompanying drawings. [First Embodiment] In this embodiment, a first example of embedding watermark information will be described.

【0149】図5は、本発明の第1の実施例の透かし埋
込装置の構成を示す。同図に示す電子透かし埋込装置1
00は、透かしパターン加算部110、埋込系列生成部
120、埋込対象成分指定部130、成分値変更部14
0、離散逆フーリエ変換部150から構成される。当該
電子透かし埋込装置100は、入力画像101、強度パ
ラメータ102、電子透かし103、鍵情報104を入
力とし、最終的に埋込済画像105を出力する。
FIG. 5 shows the configuration of the watermark embedding device according to the first embodiment of the present invention. Digital watermark embedding device 1 shown in FIG.
00 denotes a watermark pattern adding unit 110, an embedding sequence generating unit 120, an embedding target component specifying unit 130, and a component value changing unit 14.
0, comprising a discrete inverse Fourier transform unit 150. The digital watermark embedding device 100 receives an input image 101, an intensity parameter 102, a digital watermark 103, and key information 104 as input, and finally outputs an embedded image 105.

【0150】次に、上記の構成による動作の概要を説明
する。図6は、本発明の第1の実施例の透かし埋込装置
の動作を示すフローチャートである。 ステップ110) 入力を受け付けた情報埋込装置10
0には、入力画像101、強度パラメータ102、電子
透かし103、鍵情報104が入力される。まず、埋込
対象成分指定部130において、鍵情報104を用いて
埋込対象成分位置情報131を生成し、これを成分値変
更部140に送る。
Next, an outline of the operation of the above configuration will be described. FIG. 6 is a flowchart showing the operation of the watermark embedding device according to the first embodiment of the present invention. Step 110) The information embedding device 10 receiving the input
In 0, an input image 101, an intensity parameter 102, a digital watermark 103, and key information 104 are input. First, the embedding target component specifying unit 130 generates the embedding target component position information 131 using the key information 104, and sends this to the component value changing unit 140.

【0151】ステップ120) また、埋込系列生成部
120において、鍵情報104を用いて位置マーカ情報
と電子透かし103を埋込系列121に拡散し、これを
成分値変更部140に送る。 ステップ130) 成分値変更部140は、埋込対象成
分指定部130から取得した埋込対象成分位置情報13
1と埋込系列121を用いて、初期値を零行列とする。
Step 120) The embedding sequence generation unit 120 spreads the position marker information and the digital watermark 103 to the embedding sequence 121 using the key information 104, and sends this to the component value changing unit 140. Step 130) The component value changing section 140 obtains the embedding target component position information 13 acquired from the embedding target component specifying section 130.
Using 1 and the embedding sequence 121, the initial value is set to a zero matrix.

【0152】ステップ140) 成分値変更部140
は、零行列の複素行列である透かし係数行列141の成
分値を変更する。 ステップ150) 離散逆フーリエ変換部150は、透
かし係数行列141を離散逆フーリエ変換することによ
り、透かしパターン151を作成する。 ステップ160) 透かしパターン加算部110は、透
かしパターン151を強度パラメータ102によって強
調し、これを入力画像101にタイル状に加算して得ら
れる埋込済画像105を出力し、情報埋込処理を終了す
る。
Step 140) Component value changing section 140
Changes the component values of the watermark coefficient matrix 141, which is a complex matrix of zero matrices. Step 150) The discrete inverse Fourier transform unit 150 creates a watermark pattern 151 by performing a discrete inverse Fourier transform on the watermark coefficient matrix 141. Step 160) The watermark pattern adding unit 110 emphasizes the watermark pattern 151 with the intensity parameter 102, outputs an embedded image 105 obtained by adding the watermark pattern 151 to the input image 101 in a tile shape, and ends the information embedding process. I do.

【0153】まず、図5における埋込対象成分指定部1
30の処理について説明する。図7は、本発明の第1の
実施例の埋込対象成分指定部の構成を示す。同図に示す
埋込対象成分指定部130は、鍵情報104を入力とし
て埋込対象成分位置情報131を生成する乱数生成器1
32を有する。図7は、本発明の第1の実施例の埋込対
象成分指定部の動作を示すフローチャートである。
First, the embedding target component designating section 1 in FIG.
30 will be described. FIG. 7 shows a configuration of the embedding target component designation section according to the first embodiment of the present invention. The embedding target component designation unit 130 shown in FIG. 1 receives the key information 104 as input and generates the embedding target component position information 131.
32. FIG. 7 is a flowchart illustrating the operation of the embedding target component specifying unit according to the first embodiment of this invention.

【0154】ステップ111) 埋込対象成分指定部1
30は、鍵情報104を入力とし、乱数生成器132を
用いて鍵情報104を初期値とする乱数列を生成する。 ステップ112) 埋込対象成分指定部130は、さら
に、生成した乱数列を元に、後述する埋込系列の長さn
と同じ長さの系列である埋込対象成分位置情報131を
生成する。
Step 111) Component 1 to be embedded
30 receives the key information 104 and generates a random number sequence using the random number generator 132 with the key information 104 as an initial value. Step 112) The embedding target component designating unit 130 further calculates the length n of an embedding sequence described later based on the generated random number sequence.
The embedding target component position information 131, which is a sequence having the same length as, is generated.

【0155】埋込対象成分位置情報131は、以下のよ
うな構成になっている。 Lk =(xk ,yk ,zk ) (0≦k<n) xk :埋込対象係数x方向次数 yk :埋込対象係数y方向次数 zk :埋込対象係数の虚実を表すフラグ(実数成分か虚
数成分か) 埋込対象成分指定部130は、埋込対象成分位置情報1
31の各項において、重複(2つの項Lk とLm につい
て、上記3つの成分が全て一致)することがないように
して選ぶ。また、電子透かしの雑音付加、非可逆圧縮耐
性を実現するために、帯域制限をして、高周波帯域から
係数を選ばないようにする(例えば、
The embedding target component position information 131 has the following configuration. L k = (x k , y k , z k ) (0 ≦ k <n) x k : the coefficient to be embedded in the x direction y k : the coefficient to be embedded in the y direction z k : the virtual reality of the coefficient to be embedded The flag to indicate (whether a real component or an imaginary component)
In each of the 31 terms, the selection is made such that there is no overlap (all of the above three components coincide with each other for the two terms L k and L m ). Also, in order to add noise to the digital watermark and achieve irreversible compression resistance, the band is limited so that coefficients are not selected from the high frequency band (for example,

【数1】 (Equation 1)

【0156】のような制約条件によっては(rはフィル
タリング帯域))。さらに、離散逆フーリエ変換で得ら
れる信号が実数値となるのに必要な係数行列の対称性 F(u,v) = F* (N−u,N−v) (但し、F(u,v)は、標本値f(x,y)(0≦x
<N,0≦y<N)のフーリエ変換) (Nは後述する透かし係数行列の縦及び横のサイズ) (*は複素共役を表す) を保って埋め込みを行うために、埋め込み対象系列のx
方向次数、あるいは、y方向次数は、正のもののみを選
ぶ、といった考慮も必要である。埋め込み対象成分位置
情報131は、成分値変更部140に送られる。
(R is a filtering band) depending on the constraint conditions as described above. Furthermore, the symmetry of the coefficient matrix required for the signal obtained by the discrete inverse Fourier transform to be a real value F (u, v) = F * (Nu, Nv) (where F (u, v ) Is a sample value f (x, y) (0 ≦ x
(N, 0 ≦ y <N) Fourier transform) (N is the vertical and horizontal sizes of the watermark coefficient matrix described later) (* indicates the complex conjugate)
It is necessary to consider that only the positive order is selected for the direction order or the y direction. The embedding target component position information 131 is sent to the component value changing unit 140.

【0157】次に、本実施例における埋め込み系列生成
部120の構成について説明する。図9は、本発明の第
1の実施例の埋め込み系列生成部の構成を示す。埋め込
み系列生成部120は、拡散系列生成器122を有し、
電子透かし103及び鍵情報104を入力とする。基本
的にはスペクトル拡散通信方式における直接拡散方式を
基にしたものである。具体的には図10に示す処理で、
長さnの実数列である埋め込み系列121を生成する。
Next, the configuration of the embedded sequence generating section 120 in the present embodiment will be described. FIG. 9 shows the configuration of the embedded sequence generation unit according to the first embodiment of the present invention. The embedded sequence generation unit 120 has a spreading sequence generator 122,
The digital watermark 103 and the key information 104 are input. Basically, it is based on the direct spread system in the spread spectrum communication system. Specifically, in the process shown in FIG.
An embedded sequence 121, which is a real number sequence of length n, is generated.

【0158】図10は、本発明の第1の実施例の埋め込
み系列生成部の動作を示すフローチャートである。 ステップ121) 位置マーカの拡散: 拡散系列生成
器122は、長さnの系列を、K種類生成しうるものと
し、各々の拡散系列をr(k) 、(0≦k<K−1)と表
すことにする。拡散系列としては、例えば、M−系列な
どを用いる。
FIG. 10 is a flowchart showing the operation of the embedded sequence generation unit according to the first embodiment of the present invention. Step 121) Diffusion of position marker: The spreading sequence generator 122 can generate K types of sequences of length n, and sets each spreading sequence to r (k) and (0 ≦ k <K−1). I will represent it. As the spreading sequence, for example, an M-sequence or the like is used.

【0159】拡散系列生成器122は、鍵情報104を
初期値として、0番目の長さnの拡散系列{ri (0)
(0≦i<n)を生成し、これに予め定められているパ
ラメータである重みα(≧1)を乗算して、長さnの実
数値バッファ{mi }(0≦i<n)に格納する。これ
を式で表すと、 mi :=α・ri (0) (0≦i<n) (:=は右辺の値を左辺に代入することを表す) となる。
Spread sequence generator 122 uses key information 104 as an initial value, and generates a spread sequence {r i (0) } of the 0th length n.
(0 ≦ i <n) is generated, multiplied by a predetermined parameter weight α (≧ 1), and a real-valued buffer {m i } of length n (0 ≦ i <n) To be stored. Expressing this by the formula, m i: = α · r i (0) (0 ≦ i <n) (: = indicates that substitutes the value of the right side to the left side) and a.

【0160】ステップ122) 電子透かしのシンボル
表現への変換: 埋込系列生成部120は、電子透かし
103をシンボル表現に変換する。例えば、電子透かし
が4文字の8ビット文字からなる情報であるとして、8
ビットずつをシンボルに変換すると、4つのシンボル
(各シンボルの値は0〜255、文字のASCIIコー
ドに相当)に変換できる。この時、シンボルの個数はK
より小さく、各シンボルのとり得る最大値は、nより小
であるように選ぶ。各シンボルの値をsj (1≦j≦J
(<K))、sj のとり得る値の最大値をM(≦n)と
表すことにする。
Step 122) Conversion of Digital Watermark into Symbol Expression: The embedded sequence generation unit 120 converts the digital watermark 103 into a symbol expression. For example, assuming that the digital watermark is information composed of four 8-bit characters,
When each bit is converted into a symbol, it can be converted into four symbols (the value of each symbol is 0 to 255, corresponding to the ASCII code of a character). At this time, the number of symbols is K
It is smaller and the maximum possible value of each symbol is chosen to be smaller than n. Let the value of each symbol be s j (1 ≦ j ≦ J
(<K)), the maximum value of the possible values of s j is represented by M (≦ n).

【0161】ステップ123) 電子透かしの拡散:
埋込系列生成部120は、各シンボルsj に対応する拡
散系列を{mi }に加算する、j番目の処理について説
明する。鍵情報104にシンボル値sj を加えた値を初
期値として、拡散系列生成器122でj番目の長さのn
の拡散系列{ri (j) }(0≦i<n)を生成する。次
に、埋込系列生成部120は、{ri (j) }の各項を
{mi }の各項に加算する。式で表すと、 mi :=mi +ri (j) (0≦i<n) これを1≦j≦Jの間繰り返す。
Step 123) Diffusion of digital watermark:
A description will be given of a j-th process in which embedded sequence generation section 120 adds a spreading sequence corresponding to each symbol s j to {m i }. Using a value obtained by adding the symbol value s j to the key information 104 as an initial value, the spreading sequence generator 122 sets the j-th length n
To generate a spreading sequence {r i (j) } (0 ≦ i <n). Next, embedded sequence generation section 120 adds each item of {r i (j) } to each item of {m i }. Expressed in equation, m i: = m i + r i (j) (0 ≦ i <n) This is repeated for 1 ≦ j ≦ J.

【0162】ステップ124) 埋込系列生成部120
は、上記のステップ123までに得られた{mi }の平
均値を0とするように、{mi }の各項から平均値を減
算した結果を埋め込み系列121として出力し、成分値
変更部140に送る。減算処理を式で表すと、
Step 124) Embedding sequence generator 120
Outputs the result of subtracting the average value from each term of {m i } as an embedded sequence 121 so that the average value of {m i } obtained up to the above step 123 becomes 0, and changes the component value. Send to section 140. Expressing the subtraction process by an expression,

【数2】 (Equation 2)

【0163】mi :=mi − ave (0≦i<n)
とする。次に、本実施例の成分値変更部140の動作を
説明する。成分値変更部140は、埋め込み対象成分位
置情報131と、埋め込み系列121を入力とし、図1
1に示す手順で透かし係数行列を生成する。図11は、
本発明の第1の実施例の成分値変更部の動作のフローチ
ャートである。
[0163] m i: = m i - ave (0 ≦ i <n)
And Next, the operation of the component value changing unit 140 according to the present embodiment will be described. The component value changing unit 140 receives the embedding target component position information 131 and the embedding sequence 121 as inputs, and
A watermark coefficient matrix is generated according to the procedure shown in FIG. FIG.
5 is a flowchart of the operation of the component value changing unit according to the first embodiment of the present invention.

【0164】ステップ131) 成分値変更部140に
おいて、N×Nサイズの複素行列である透かし係数行列
F(u,v)を用意し、初期値を零行列とする。 ステップ141) 成分値変更部140は、k番目の埋
め込み対象成分位置情報131であるLk =(xk ,y
k ,zk )を用いて、F(u,v)の要素を変更する。
Step 131) The component value changing section 140 prepares a watermark coefficient matrix F (u, v), which is a complex matrix of N × N size, and sets the initial value to a zero matrix. Step 141) The component value changing unit 140 determines that the k-th embedding target component position information 131 is L k = (x k , y
k , z k ) to modify the elements of F (u, v).

【0165】ステップ142) zk が実数成分を表す
値の時:成分値変更部140は、F(xk ,yk )の実
数成分にmk を加える。また、フーリエ変換係数の対称
性を保つように、F(N−xk ,N−yk )の実数成分
にもmk を加える。式で表せば、 F(xk ,yk ):=F(xk ,yk )+mk F(N−xk ,N−yk ):=F(N−xk ,N−
k )+mk となる。
Step 142) When z k is a value representing a real component: The component value changing unit 140 adds mk to the real component of F (x k , y k ). Moreover, to maintain the symmetry of Fourier transform coefficients, F (N-x k, N-y k) to the real component of the addition of m k. Expressed by the formula, F (x k, y k ): = F (x k, y k) + m k F (N-x k, N-y k): = F (N-x k, N-
y k ) + m k .

【0166】ステップ143) zk が虚数成分を表す
値の時:成分値変更部140は、F(xk ,yk )の虚
数成分にmk を加える。また、フーリエ変換係数の対称
性を保つように、F(N−xk ,N−yk )の虚数成分
から、mk を引算する。式で表すと、 F(xk ,yk ):=F(xk ,yk )+mk ・i F(N−xk ,N−yk ):=F(N−xk ,N−
k )+mk ・i (iは虚数単位) これを、k=0…n−1について順次行う。
[0166] Step 143) When z k is a value that represents the imaginary component: component value changing unit 140, F (x k, the imaginary component of y k) is added m k. Further, m k is subtracted from the imaginary component of F (N−x k , N−y k ) so as to maintain the symmetry of the Fourier transform coefficients. When expressed by an equation, F (x k , y k ): = F (x k , y k ) + m k · i F (N−x k , N−y k ): = F (N−x k , N−
y k ) + m k · i (i is an imaginary unit) This is sequentially performed for k = 0... n−1.

【0167】次に、本実施例における離散逆フーリエ変
換部150の動作について説明する。図12は、本発明
の第1の実施例の離散逆フーリエ変換部の動作を説明す
るための図である。離散逆フーリエ変換部150は、透
かし係数行列141を離散逆フーリエ変換して、N×N
サイズの実数行列(虚数成分を切り捨てる)である透か
しパターン151を得て、これを透かしパターン加算部
110に送る。
Next, the operation of the discrete inverse Fourier transform unit 150 in this embodiment will be described. FIG. 12 is a diagram for explaining the operation of the discrete inverse Fourier transform unit according to the first embodiment of the present invention. The discrete inverse Fourier transform unit 150 performs a discrete inverse Fourier transform on the watermark coefficient matrix 141 to obtain N × N
A watermark pattern 151 which is a real matrix of a size (an imaginary component is discarded) is obtained and sent to the watermark pattern adding unit 110.

【0168】次に、本実施例における透かしパターン加
算部110の動作について説明する。図13は、本発明
の第1の実施例の透かしパターン加算部の動作を説明す
るための図である。透かしパターン加算部110は、透
かしパターン151を強度パラメータ102の値で強調
して、入力画像101にタイル状に加算して埋め込み済
画像105を生成して出力する。式で表すと、 {Ixy}:入力画像(0≦x<Width ,0≦y<Height) (Width は入力画像の横サイズ、Heightは入力画像の縦サイズ) {Wij}:透かしパターン(0≦i,j<N) power :強度パラメータ のとき、 I’xy:=Ixy+power ・WX%N,y%N (0≦x<Width ,0≦y<Height) (a%bは、aをbで割った時の剰余を表す) によって定まる。透かしパターン加算部110は、
{i’xy}を埋め込み済画像105として出力する。な
お、強度パラメータ102の値が1であるときには、透
かしパターンは強調されずに加算される。つまり、強度
パラメータを用いなかった場合と等価となる。
Next, the operation of the watermark pattern adding unit 110 in this embodiment will be described. FIG. 13 is a diagram for explaining the operation of the watermark pattern adding unit according to the first embodiment of this invention. The watermark pattern adding unit 110 emphasizes the watermark pattern 151 with the value of the intensity parameter 102, adds it to the input image 101 in a tile shape, and generates and outputs the embedded image 105. Expression: {I xy }: input image (0 ≦ x <Width, 0 ≦ y <Height) (Width is the horizontal size of the input image, Height is the vertical size of the input image) {W ij }: watermark pattern ( 0 ≦ i, j <N) power: intensity parameter, I ′ xy : = I xy + power W X% N, y% N (0 ≦ x <Width, 0 ≦ y <Height) (a% b is , A represents the remainder when a is divided by b). The watermark pattern adding unit 110
{I ′ xy } is output as the embedded image 105. When the value of the intensity parameter 102 is 1, the watermark pattern is added without emphasis. That is, this is equivalent to a case where no intensity parameter is used.

【0169】上記により、本実施例の電子透かし埋め込
み装置の動作は終了する。本実施例を用いた電子透かし
埋め込み処理では、N×Nの大きさの2次元離散逆フー
リエ変換を1回行うだけである。従来の技術では、N×
Nの大きさの離散フーリエ変換と、離散逆フーリエ変換
を、画像をN×N画素のブロックに分割した時のブロッ
クの数だけ行う必要がある。例えば、ブロック数がbの
場合、第1の実施例と従来の技術の埋め込み処理量の比
は、1:2bとなり、第1の実施例を用いれば高速に埋
め込み処理を行うことができる。
As described above, the operation of the digital watermark embedding device of the present embodiment is completed. In the digital watermark embedding process using this embodiment, the N × N two-dimensional discrete inverse Fourier transform is performed only once. In the conventional technology, N ×
It is necessary to perform the discrete Fourier transform and the discrete inverse Fourier transform having the size of N by the number of blocks when the image is divided into blocks of N × N pixels. For example, when the number of blocks is b, the ratio of the embedding processing amount between the first embodiment and the conventional technology is 1: 2b, and the embedding processing can be performed at high speed by using the first embodiment.

【0170】[第2の実施例]次に、本実施例では、上
記の第1の実施例に示す電子透かし埋込装置において埋
め込まれた電子透かしを検出対象画像から検出するため
の処理について説明する。図14は、本発明の第2の実
施例の電子透かし検出装置の構成を示す。
[Second Embodiment] Next, in this embodiment, a process for detecting a digital watermark embedded in the digital watermark embedding apparatus shown in the first embodiment from a detection target image will be described. I do. FIG. 14 shows the configuration of a digital watermark detection device according to the second embodiment of the present invention.

【0171】電子透かし検出装置200は、前述の第1
の実施例の方法を用いて得られる埋め込み済画像に一部
切取り、非可逆圧縮などの処理が施された画像から、埋
め込まれた電子透かしを検出するための装置である。電
子透かし検出装置200は、検出対象成分指定部21
0、位置マーカ系列生成部220、位置マーカ検出部2
30、電子透かし検出部240から構成される。
The digital watermark detection device 200 is the same as the first digital watermark detection device described above.
This is an apparatus for detecting an embedded digital watermark from an image in which a process such as irreversible compression has been partially cut out from an embedded image obtained using the method of the embodiment. The digital watermark detection device 200 includes a detection target component designating unit 21
0, position marker sequence generation unit 220, position marker detection unit 2
30 and a digital watermark detection unit 240.

【0172】図15は、本発明の第2の実施例の電子透
かし検出装置の動作を示すフローチャートである。 ステップ210) 電子透かし検出装置200は、検出
対象画像201と、埋め込み時に用いた鍵情報202を
入力とする。まず、検出対象成分指定部210におい
て、鍵情報から前述の第1の実施例における埋め込み対
象成分指定部130と同様の方法によって、検出対象成
分位置情報211を生成し、これを位置マーカ検出部2
30と電子透かし検出部240に送る。
FIG. 15 is a flowchart showing the operation of the digital watermark detection apparatus according to the second embodiment of the present invention. Step 210) The digital watermark detection device 200 receives the detection target image 201 and the key information 202 used at the time of embedding. First, the detection target component specifying unit 210 generates the detection target component position information 211 from the key information in the same manner as the embedding target component specifying unit 130 in the above-described first embodiment.
30 and the digital watermark detection unit 240.

【0173】ステップ220) 位置マーカ系列生成部
220において、鍵情報202から位置マーカ系列22
1を生成し、これを位置マーカ検出部230に送る。 ステップ230) 位置マーカ検出部230は、検出対
象画像201から、N×N(Nは、前述の第1の実施例
における透かしパターンのサイズ)サイズの画素ブロッ
クを切り出し、切り出した画素ブロックの開始点(画素
ブロックの左上の位置)の埋め込み時の透かしパターン
の開始点と一致するときの、画素ブロックの開始点をオ
フセット情報231として出力し、電子透かし検出部2
40に送る。
Step 220) In the position marker sequence generation section 220, the position marker sequence 22
1 is sent to the position marker detector 230. Step 230) The position marker detection unit 230 cuts out a pixel block of size N × N (N is the size of the watermark pattern in the first embodiment) from the detection target image 201, and the starting point of the cut-out pixel block. The start point of the pixel block, which coincides with the start point of the watermark pattern at the time of embedding (the upper left position of the pixel block), is output as offset information 231, and the digital watermark detection unit 2
Send to 40.

【0174】ステップ240) 電子透かし検出部24
0は、検出対象画像201と鍵情報202と検出対象成
分位置情報211とオフセット情報231で指定される
オフセット位置からN×Nサイズの画素ブロックを切り
出し、この画素ブロックに埋め込まれている電子透かし
を検出し、検出結果203を出力する。次に、本実施例
における検出対象成分指定部210について説明する。
Step 240) Digital watermark detecting section 24
0 indicates that a pixel block of N × N size is cut out from an offset position specified by the detection target image 201, key information 202, detection target component position information 211, and offset information 231, and a digital watermark embedded in this pixel block is extracted. It detects and outputs the detection result 203. Next, the detection target component designation unit 210 according to the present embodiment will be described.

【0175】図16は、本発明の第2の実施例の検出対
象成分指定部の構成を示し、図17は、本発明の第2の
実施例の検出対象成分指定部の動作を示すフローチャー
トである。 ステップ211) 検出対象成分指定部210は、乱数
生成器212を有し、鍵情報202を入力とし、乱数生
成器212を用いて、当該鍵情報202を初期値とする
乱数列を生成する。
FIG. 16 shows the configuration of the detection target component designating section according to the second embodiment of the present invention, and FIG. 17 is a flowchart showing the operation of the detection target component designating section according to the second embodiment of the present invention. is there. Step 211) The detection target component designation unit 210 has a random number generator 212, receives the key information 202, and generates a random number sequence using the key information 202 as an initial value using the random number generator 212.

【0176】ステップ212) 生成した乱数列を元
に、前述の第1の実施例で用いた埋め込み系列の長さn
と同じ長さの系列である検出対象成分位置情報211を
生成する。 検出対象成分位置情報211は、以下のような構成にな
っている。 Lk =(xk ,yk ,zk ) (0≦k<n) xk :検出対象係数x方向次数 yk :検出対象係数y方向次数 zk :検出対象係数の虚実を表すフラグ(実数成分か虚
数成分か) 検出対象成分指定部210は、前述の第1の実施例にお
ける埋め込み対象成分指定部130と全く同様の動作を
する。即ち、同じ鍵情報を入力として、第1の実施例の
埋め込み対象成分指定部130で生成される埋め込み対
象成分位置情報131と、本実施例の検出対象成分指定
部210で生成される検出対象成分位置情報211は全
く同じものである。生成された検出対象成分位置情報2
11は、位置マーカ検出部230に送られる。
Step 212) On the basis of the generated random number sequence, the length n of the embedded sequence used in the first embodiment is used.
The detection target component position information 211 which is a sequence having the same length as the above is generated. The detection target component position information 211 has the following configuration. L k = (x k , y k , z k ) (0 ≦ k <n) x k : coefficient to be detected in the x direction y k : coefficient to be detected in the y direction z k : flag representing the imaginary reality of the coefficient to be detected ( Real component or imaginary component) The detection target component designation unit 210 operates in exactly the same way as the embedding target component designation unit 130 in the first embodiment described above. That is, using the same key information as input, the embedding target component position information 131 generated by the embedding target component specifying unit 130 of the first embodiment and the detection target component generated by the detection target component specifying unit 210 of the present embodiment The position information 211 is exactly the same. Generated detection target component position information 2
11 is sent to the position marker detection unit 230.

【0177】次に、本実施例における位置マーカ系列生
成部220について説明する。図18は、本発明の第2
の実施例の位置マーカ系列生成部の構成を示し、図19
は、本発明の第2の実施例の位置マーカ系列生成部の動
作を示すフローチャートである。 ステップ221) 位置マーカ系列生成部220は、拡
散系列生成器222を有し、鍵情報202を入力とし
て、当該拡散系列生成器222によって、鍵情報202
を初期値とする0番目の長さnの拡散系列{ri (0)
(0≦i<n)を生成し、この拡散系列をそのまま位置
マーカ系列221({pi }(0≦i<n)とする(p
i :=ri (0) (0≦i<n))とする。これを、位置
マーカ検出部230に送る。位置マーカ系列生成部22
0の中の拡散系列生成器222は、前述の第1の実施例
における埋め込み系列生成部120の中の拡散系列生成
器122と同様の動作をするものを用いる。
Next, a description will be given of the position marker sequence generation unit 220 in this embodiment. FIG. 18 shows a second embodiment of the present invention.
FIG. 19 shows the configuration of the position marker sequence generation unit of the embodiment of FIG.
9 is a flowchart illustrating an operation of the position marker sequence generation unit according to the second example of the present invention. Step 221) The position marker sequence generation unit 220 has a spread sequence generator 222, and receives the key information 202 as an input and uses the spread sequence generator 222 to generate the key information 202.
Is the 0-th spreading sequence of length n {r i (0) }
(0 ≦ i <n) is generated, and this spread sequence is directly used as a position marker sequence 221 ({p i } (0 ≦ i <n) (p
i : = r i (0) (0 ≦ i <n)). This is sent to the position marker detection unit 230. Position marker sequence generator 22
As the spreading sequence generator 222 in 0, one that performs the same operation as the spreading sequence generator 122 in the embedded sequence generator 120 in the first embodiment described above is used.

【0178】次に、本実施例における位置マーカ検出部
230について説明する。図20は、本発明の第2の実
施例の位置マーカ検出部の構成を示す。同図に示す位置
マーカ検出部230は、オフセット候補情報生成部23
2、ブロック生成部233、離散フーリエ変換部23
4、検出対象系列生成部235、位置マーカ検出情報生
成部236、オフセット情報生成部237から構成され
る。
Next, the position marker detecting section 230 in this embodiment will be described. FIG. 20 shows the configuration of the position marker detection unit according to the second embodiment of the present invention. The position marker detection unit 230 shown in FIG.
2. Block generator 233, discrete Fourier transformer 23
4, a detection target sequence generation unit 235, a position marker detection information generation unit 236, and an offset information generation unit 237.

【0179】図21は、本発明の第2の実施例の位置マ
ーカ検出部の動作を示すフローチャートである。 ステップ231) 位置マーカ検出部230は、検出対
象画像201と検出対象成分位置情報211と位置マー
カ系列221を入力として、まず、オフセット候補情報
生成部232にいて、オフセット候補情報204(a,
b)を(0,0)から(N−1,N−1)まで順次生成
する。
FIG. 21 is a flowchart showing the operation of the position marker detecting section according to the second embodiment of the present invention. Step 231) The position marker detection unit 230 receives the detection target image 201, the detection target component position information 211, and the position marker sequence 221 as input, and first, in the offset candidate information generation unit 232, the offset candidate information 204 (a,
b) are sequentially generated from (0, 0) to (N-1, N-1).

【0180】ステップ232) 以下、ブロック生成部
233から位置マーカ検出情報生成部236までの処理
は各々オフセット候補情報204毎に行われる。図22
は、本発明の第2の実施例のブロック生成部の動作を説
明するための図であり、図23は、本発明の第2の実施
例のブロック生成部の動作のフローチャートである。以
下、図22と図23に基づいてブロック生成部233の
動作を説明する。
Step 232) Hereinafter, the processes from the block generation unit 233 to the position marker detection information generation unit 236 are performed for each offset candidate information 204. FIG.
FIG. 23 is a diagram for explaining the operation of the block generation unit according to the second embodiment of the present invention, and FIG. 23 is a flowchart of the operation of the block generation unit according to the second embodiment of the present invention. Hereinafter, the operation of the block generation unit 233 will be described with reference to FIGS.

【0181】ステップ232−1) ブロック生成部2
33は、検出対象画像201とオフセット候補情報20
4を入力する。 ステップ232−2) 検出対象画像201の左上から
オフセット候補情報204(a,b)だけオフセットし
た位置からN×Nサイズの画素ブロックを切り出す。
Step 232-1) Block generator 2
33 is a detection target image 201 and offset candidate information 20
Enter 4. Step 232-2) A pixel block of N × N size is cut out from a position offset from the upper left of the detection target image 201 by the offset candidate information 204 (a, b).

【0182】ステップ232−3) 切り出した画素ブ
ロックを離散フーリエ変換部234に送る。 ステップ233) 離散フーリエ変換部234は、画素
ブロックを離散フーリエ変換して検出対象係数行列20
6を生成し、これを検出対象系列生成部235に送る。
Step 232-3) The cut-out pixel block is sent to the discrete Fourier transform unit 234. Step 233) The discrete Fourier transform unit 234 performs a discrete Fourier transform on the pixel block to perform the detection target coefficient matrix 20
6 is sent to the detection target sequence generation unit 235.

【0183】ステップ234) 検出対象系列生成部2
35において、検出対象成分位置情報211と検出対象
係数行列206から次のようにして検出対象系列207
を得る。図24は、本発明の第2の実施例の検出対象系
列生成部の動作を示すフローチャートである。 ステップ234−1) 検出対象系列生成部235は、
検出対象成分位置情報211をLk (xk ,yk
k )(0≦k<n)、検出対象係数行列206をF
(u,v)(0≦u<N,0≦v<N)とし、検出対象
系列207を{qk}(0≦k<n)と表すと、以下の
分岐により処理を行う。
Step 234) Detection target sequence generation section 2
At 35, the detection target sequence 207 is obtained from the detection target component position information 211 and the detection target coefficient matrix 206 as follows.
Get. FIG. 24 is a flowchart illustrating the operation of the detection target sequence generation unit according to the second embodiment of this invention. Step 234-1) The detection target sequence generation unit 235
The detection target component position information 211 is represented by L k (x k , y k ,
z k ) (0 ≦ k <n), and the detection target coefficient matrix 206 is represented by F
If (u, v) (0 ≦ u <N, 0 ≦ v <N) and the detection target sequence 207 is represented by {q k } (0 ≦ k <n), the processing is performed by the following branch.

【0184】ステップ234−2) zk が実数成分を
表す値の時: qk :=(F(x ,y )の実数成分値) とする。 ステップ234−3) zk が虚数成分を表す値の時: qk :=(F(x ,y )の虚数成分値) とする。上記のステップ234−2、234−3の処理
をk=0…n−1について順次行う。
Step 234-2) When z k is a value representing a real component: q k : = (real component value of F (x, y)). Step 234-3) When z k is a value representing an imaginary component: q k : = (imaginary component value of F (x, y)). The processing of the above steps 234-2 and 234-3 is sequentially performed for k = 0... N-1.

【0185】ステップ234−4) 上記で求めた検出
対象系列207{qk }を出力する。 ステップ235) 次に、位置マーカ検出情報生成部2
36において、以下の式により位置マーカ系列221と
検出対象系列207の相関値を求め、これをオフセット
候補情報204と組にして、位置マーカ検出情報208
corrabとして出力する。当該位置マーカ検出情報2
08は以下の式により求められる。
Step 234-4) The detection target sequence 207 {q k } obtained above is output. Step 235) Next, the position marker detection information generation unit 2
At 36, the correlation value between the position marker sequence 221 and the detection target sequence 207 is obtained by the following equation, and this is combined with the offset candidate information 204 to obtain the position marker detection information 208.
Output as corr ab . The position marker detection information 2
08 is obtained by the following equation.

【数3】 (Equation 3)

【0186】上記のブロック生成部233から位置マー
カ検出情報生成部236までの処理をオフセット候補情
報(a,b)204が(0,0)〜(N−1,N−1)
まで巡回する間順次繰り返し、全ての位置マーカ検出情
報208をオフセット情報生成部237に送る。 ステップ236) オフセット情報生成部237は、入
力された全ての位置マーカ検出情報208のうち、入力
されたすべての位置マーカ系列221と検出対象系列2
07の相関値が最大のときオフセット候補情報(a,
b)をオフセット情報231として出力し、電子透かし
検出部240に送る。
The processing from the block generation unit 233 to the position marker detection information generation unit 236 is performed by setting the offset candidate information (a, b) 204 to (0, 0) to (N-1, N-1).
The position marker detection information 208 is sequentially transmitted to the offset information generation unit 237. Step 236) The offset information generation unit 237 outputs all the input position marker sequences 221 and the detection target sequence 2 out of all the input position marker detection information 208.
07 is the maximum when the correlation value of the offset candidate information (a,
b) is output as offset information 231 and sent to the digital watermark detection unit 240.

【0187】位置マーカ検出部230から出力されるオ
フセット情報231は、検出対象画像201の左上から
埋め込み時の透かしパターンの開始点がどれだけずれた
位置にあるかを表している。次に、本実施例における電
子透かし検出部240について説明する。図25は、本
発明の第2の実施例の電子透かし検出部の構成を示す。
同図に示す電子透かし検出部240は、ブロック生成部
241、離散フーリエ変換部242、検出対象系列生成
部243、シンボル検出部244、検出結果生成部24
5から構成される。
The offset information 231 output from the position marker detecting section 230 indicates how far the starting point of the watermark pattern at the time of embedding is shifted from the upper left of the detection target image 201. Next, the digital watermark detection unit 240 according to the present embodiment will be described. FIG. 25 shows the configuration of the digital watermark detection unit according to the second embodiment of the present invention.
The digital watermark detection unit 240 shown in the figure includes a block generation unit 241, a discrete Fourier transform unit 242, a detection target sequence generation unit 243, a symbol detection unit 244, and a detection result generation unit 24.
5 is comprised.

【0188】図26は、本発明の第2の実施例の電子透
かし検出部の動作を示すフローチャートである。 ステップ241) 電子透かし検出部240は、検出対
象画像201、検出対象成分位置情報211、オフセッ
ト情報231、及び鍵情報202を入力として、まず、
ブロック生成部241において検出対象画像の左上から
オフセット情報(a,b)に基づいてオフセットした位
置からN×Nサイズの画素ブロックを切り出し、離散フ
ーリエ変換部242に送る。
FIG. 26 is a flowchart showing the operation of the digital watermark detection unit according to the second embodiment of the present invention. Step 241) The digital watermark detection unit 240 receives the detection target image 201, the detection target component position information 211, the offset information 231 and the key information 202, and
The block generation unit 241 cuts out an N × N size pixel block from a position offset based on the offset information (a, b) from the upper left of the detection target image, and sends it to the discrete Fourier transform unit 242.

【0189】ステップ242) 離散フーリエ変換部2
42は、画素ブロック205を離散フーリエ変換して検
出対象係数行列247を生成し、これを検出対象系列生
成部243に送る。 ステップ243) 検出対象系列生成部243は、位置
マーカ検出部230の中の検出対象系列生成部235と
同様の処理によって検出対象系列248を得て、シンボ
ル検出部244に送る。
Step 242) Discrete Fourier Transform Unit 2
42 generates a detection target coefficient matrix 247 by performing a discrete Fourier transform on the pixel block 205, and sends this to the detection target sequence generation unit 243. Step 243) The detection target sequence generation unit 243 obtains the detection target sequence 248 by the same processing as the detection target sequence generation unit 235 in the position marker detection unit 230, and sends it to the symbol detection unit 244.

【0190】ステップ244) シンボル検出部244
は、鍵情報202と各シンボル候補情報とから生成され
る系列と検出対象系列248との相関値を求めて、シン
ボル検出情報249を生成する。 ステップ245) すべてのシンボル検出情報249を
得た後、検出結果生成部245は、シンボル検出情報2
49の各シンボル位置について、相関値が最大の時のシ
ンボル候補値を検出シンボルとする。
Step 244) Symbol detector 244
Calculates a correlation value between a sequence generated from the key information 202 and each piece of symbol candidate information and a detection target sequence 248, and generates symbol detection information 249. Step 245) After obtaining all the symbol detection information 249, the detection result generation unit 245 sets the symbol detection information 2
For each of the 49 symbol positions, the symbol candidate value when the correlation value is the maximum is set as a detected symbol.

【0191】ステップ246) 全てのシンボル位置か
ら検出シンボルを決定した後、検出結果生成部245
は、検出シンボルを電子透かしの形式に逆変換した結果
を検出結果203として出力する。 次に、上記の電子透かし検出部240のシンボル検出部
244について説明する。図27は、本発明の第2の実
施例のシンボル検出部の構成を示す。
Step 246) After determining detection symbols from all symbol positions, the detection result generation section 245
Outputs the result of inversely converting the detected symbol to the digital watermark format as a detection result 203. Next, the symbol detection unit 244 of the digital watermark detection unit 240 will be described. FIG. 27 shows the configuration of the symbol detector of the second embodiment of the present invention.

【0192】同図に示すシンボル検出部244は、シン
ボル候補生成部2441、シンボル系列生成部244
2、シンボル検出情報生成部2443から構成され、鍵
情報202と検出対象系列248とを入力とし、予め設
定されている検出するシンボル数J個の各シンボル位置
毎に、M個のシンボル候補についてのシンボル検出情報
249を生成し、検出結果生成部245に出力する。以
下、j(1≦j≦J)番目のシンボル検出について説明
する。
The symbol detecting section 244 shown in the figure includes a symbol candidate generating section 2441 and a symbol sequence generating section 244.
2. It is composed of a symbol detection information generating section 2443, which receives the key information 202 and the detection target sequence 248 as input, and sets M symbol candidates for each of J symbol positions to be detected in advance. The symbol detection information 249 is generated and output to the detection result generation unit 245. Hereinafter, detection of the j-th (1 ≦ j ≦ J) symbol will be described.

【0193】図28は、本発明の第2の実施例のシンボ
ル検出部の動作を示すフローチャートである。 ステップ244−1) シンボル検出部244のシンボ
ル候補生成部2441は、シンボル候補cを0からM−
1まで順次生成し、各シンボル候補ごとに、ステップ2
44−2からステップ244−3までの処理を行う。M
は、前述の第1の実施例におけるシンボル変換によるシ
ンボル値の最大値を表す。
FIG. 28 is a flowchart showing the operation of the symbol detecting section according to the second embodiment of the present invention. Step 244-1) The symbol candidate generation unit 2441 of the symbol detection unit 244 sets the symbol candidate c from 0 to M-
1 sequentially, and for each symbol candidate, step 2
The processing from 44-2 to step 244-3 is performed. M
Represents the maximum value of the symbol value by the symbol conversion in the first embodiment described above.

【0194】ステップ244−2) シンボル系列生成
部2442で行われる処理について説明する。図29
は、本発明の第2の実施例のシンボル系列生成部の構成
を示し、図30は、本発明の第2の実施例のシンボル系
列生成部の動作を示すフローチャートである。 ステップ244−2−1) シンボル系列生成部244
2は、鍵情報202とシンボル候補c2444を入力と
し、cと鍵情報202を加算した値を初期値として、拡
散系列生成器2447でj番目の長さnの拡散系列{r
i (j) }(0≦i<n)を生成し、これをそのままシン
ボル系列2445{pi (j) }(0≦i<n)として用
いる(pi j):=ri (j) (0≦i<n))。シンボル
系列をシンボル検出情報生成部2443に送る。
Step 244-2) The processing performed by the symbol sequence generation section 2442 will be described. FIG.
Shows the configuration of the symbol sequence generator of the second embodiment of the present invention, and FIG. 30 is a flowchart showing the operation of the symbol sequence generator of the second embodiment of the present invention. Step 244-2-1) Symbol Sequence Generation Unit 244
2, a spread sequence generator 2447 inputs a key information 202 and a symbol candidate c2444, and sets a value obtained by adding c and the key information 202 as an initial value.
i (j)} (0 ≦ i <n) to generate, which used directly as the symbol sequence 2445 {p i (j)} (0 ≦ i <n) (p i j): = r i (j) (0 ≦ i <n)). The symbol sequence is sent to symbol detection information generation section 2443.

【0195】ステップ244−3) シンボル検出情報
生成部2443は、検出対象系列248とシンボル系列
2445とシンボル候補c2444と現在処理中のシン
ボル位置jを入力として、以下の式によりシンボル系列
と検出対象系列248の相関値を求め、相関値とシンボ
ル候補とシンボル位置を組にしてシンボル検出情報co
rrc (j) 249を生成する。
Step 244-3) The symbol detection information generation section 2443 receives the detection target sequence 248, the symbol sequence 2445, the symbol candidate c2444, and the symbol position j currently being processed and inputs the symbol sequence and the detection target sequence by the following formula. 248 correlation values are obtained, and the correlation value, the symbol candidate, and the symbol position are grouped to form symbol detection information
rr c (j) 249 is generated.

【数4】 (Equation 4)

【0196】シンボル検出情報249は、検出結果生成
部245に送られる。次に、本実施例の検出結果生成部
245について説明する。図31は、本発明の第2の実
施例の検出結果生成部の構成を示す。同図に示す検出結
果生成部245は、各シンボル位置毎系列生成部245
1、検出シンボル生成部2452、及び逆シンボル変換
部2453から構成される。
The symbol detection information 249 is sent to the detection result generator 245. Next, the detection result generation unit 245 according to the present embodiment will be described. FIG. 31 shows the configuration of the detection result generator according to the second embodiment of this invention. The detection result generation unit 245 shown in FIG.
1, a detection symbol generation unit 2452 and an inverse symbol conversion unit 2453.

【0197】図32は、本発明の第2の実施例の検出結
果生成部の動作を示すフローチャートである。 ステップ245−1) 検出結果生成部245は、シン
ボル検出情報249を入力とし、まず、各シンボル位置
毎系列生成部2451において、シンボル検出情報24
9をシンボル位置j毎に分割し、長さMの各シンボル位
置毎系列corrc (j) ,(0≦c<M)2454をj
=1〜Jまでの各々のjについて生成して検出シンボル
生成部2452に送る。
FIG. 32 is a flow chart showing the operation of the detection result generator according to the second embodiment of the present invention. Step 245-1) The detection result generation section 245 receives the symbol detection information 249 as an input, and first, the symbol generation information for each symbol position
9 is divided for each symbol position j, and the sequence corr c (j) , (0 ≦ c <M) 2454 for each symbol position of length M is j
= 1 to J are generated and sent to the detected symbol generator 2452.

【0198】ステップ245−2) 検出シンボル生成
部2452は、各シンボル位置毎系列2454を入力と
し、各シンボル位置j毎に各シンボル位置毎系列245
4中で最大の相関値をとる時のシンボル候補cを見つけ
て検出シンボルsj (1≦j<J)2455を生成す
る。 ステップ245−3) すべてのsj を求めた後に、逆
シンボル変換部2453は、シンボル表現から元々の電
子透かしの表現に変換(例えば、第1の実施例における
変換に対応する逆変換は、4つの検出シンボル(各検出
シンボルの値は、0〜255)の値を各々ASCIIコ
ードとみなして、4文字の8ビット文字に変換する処理
である)して、検出結果203を生成し、出力する。こ
の検出結果203は、検出対象画像201に埋め込まれ
ていた電子透かしを表している。
Step 245-2) The detected symbol generation section 2452 receives the sequence 2454 for each symbol position as input, and outputs the sequence 245 for each symbol position for each symbol position j.
4, a symbol candidate c having the largest correlation value is found, and a detected symbol s j (1 ≦ j <J) 2455 is generated. Step 245-3) After obtaining all s j , the inverse symbol conversion unit 2453 converts the symbol expression to the original digital watermark expression (for example, the inverse conversion corresponding to the conversion in the first embodiment is 4). This is a process of converting the values of one detection symbol (the value of each detection symbol is 0 to 255) into ASCII codes, each of which is regarded as an ASCII code, and generates and outputs a detection result 203. . The detection result 203 represents a digital watermark embedded in the detection target image 201.

【0199】上記の処理により、第2の実施例における
電子透かし検出装置の処理を終了する。上記の第2の実
施例による電子透かし検出処理では、検出対象画像から
ブロック画素をずらしながら、切り出し、離散フーリエ
変換を行って検出対象系列を得て、検出対象系列と位置
マーカ系列との相関のピークを見つけることで、埋め込
み時の透かしパターンの開始点が検出対象画像の左上か
らどれだけオフセットしているかを見つける。このこと
によって検出対象画像が、第1の実施例における埋め込
み済画像を任意の位置から切り出した部分画像(サイズ
は2N×2N以上)である場合についても正しく透かし
パターンの位置を見つけることができる。オフセット量
を見つけたら、その位置から始まる画素ブロックから電
子透かしの検出を行えば、埋め込まれている電子透かし
を正しく検出することができる。
With the above processing, the processing of the digital watermark detection device in the second embodiment ends. In the digital watermark detection processing according to the second embodiment, a block to be detected is shifted from a detection target image while being shifted, a discrete Fourier transform is performed to obtain a detection target sequence, and a correlation between the detection target sequence and the position marker sequence is obtained. By finding the peak, it is found how much the starting point of the watermark pattern at the time of embedding is offset from the upper left of the detection target image. This makes it possible to correctly find the position of the watermark pattern even when the detection target image is a partial image (size is 2N × 2N or more) obtained by cutting out the embedded image in the first embodiment from an arbitrary position. When the offset amount is found, the digital watermark is detected from the pixel block starting from that position, so that the embedded digital watermark can be correctly detected.

【0200】また、第2の実施例による電子透かし検出
処理では、原画像(第1の実施例の入力画像)が不要で
ある。以上述べたように第2の実施例による電子透かし
検出は、従来の技術では不可能であった埋め込み済画像
を任意の位置から切り出した画像からの電子透かしの検
出を原画像なしに行うことが可能となる。 [第3の実施例]次に、本発明の第3の実施例として、
前述の第2の実施例において、切り出した画素ブロック
をオフセット情報によりサイクリックシフトする例を説
明する。
In the digital watermark detection processing according to the second embodiment, the original image (the input image according to the first embodiment) is unnecessary. As described above, the digital watermark detection according to the second embodiment can detect a digital watermark from an image obtained by cutting out an embedded image from an arbitrary position without an original image, which is impossible with the related art. It becomes possible. [Third Embodiment] Next, as a third embodiment of the present invention,
In the above-described second embodiment, an example will be described in which a clipped pixel block is cyclically shifted based on offset information.

【0201】以下の本実施例の説明において、以下に述
べる部分以外については、前述の第2の実施例と同様で
ある。最初に、本実施例における位置マーカ検出部23
0中のブロック生成部233の動作を説明する。なお、
構成は、図20に示す構成と同様である。図33は、本
発明の第3の実施例のブロック生成部の動作を示すフロ
ーチャートである。
In the following description of this embodiment, parts other than those described below are the same as those of the above-described second embodiment. First, the position marker detection unit 23 in the present embodiment
The operation of the block generation unit 233 during 0 will be described. In addition,
The configuration is the same as the configuration shown in FIG. FIG. 33 is a flowchart illustrating the operation of the block generation unit according to the third embodiment of this invention.

【0202】ステップ301) 位置マーカ検出部23
0のブロック生成部233は、検出対象画像201とオ
フセット候補情報204を入力する。 ステップ302) まず、ブロック生成部233は、図
34に示すように、検出対象画像201の左上からN×
Nサイズのブロックを切り出す。 ステップ303) 次に、ブロック生成部233は、こ
のブロックをオフセット候補情報204をもとにサイク
リックシフト(平行移動によってブロックからはみ出し
た部分は、反対側の辺の方に移す)を行って画素ブロッ
ク205を得る。
Step 301) Position marker detector 23
The block generation unit 233 of 0 inputs the detection target image 201 and the offset candidate information 204. Step 302) First, as illustrated in FIG. 34, the block generation unit 233 performs N × N ×
Cut out N size blocks. Step 303) Next, the block generation unit 233 performs a cyclic shift on the block based on the offset candidate information 204 (moving a portion that protrudes from the block by parallel movement to the opposite side) to perform pixel shift. Obtain block 205.

【0203】ステップ304) 得られた画素ブロック
205を出力する。この画素ブロックを式で表すと、 {Bij}:検出対象画像201の左上からN×Nサイズ
を切り出して得られるブロックとすると、オフセット候
補情報(a,b)によるサイクリックシフトで得られる
画素ブロックは、 B’ij=B(i+a)%N,(j+b)%N (0≦i<N,0≦j<N,x%yは、xをyで割った
剰余を表す) と表した時の{B’ij}を画素ブロックとして出力す
る。
Step 304) The obtained pixel block 205 is output. When this pixel block is represented by an equation, {B ij }: a block obtained by cutting out an N × N size from the upper left of the detection target image 201, a pixel obtained by a cyclic shift based on offset candidate information (a, b) The block is: B ′ ij = B (i + a)% N, (j + b)% N (0 ≦ i <N, 0 ≦ j <N, x% y represents the remainder of x divided by y ) And outputs {B ′ ij } as a pixel block.

【0204】次に、第3の実施例における電子透かし検
出部240中のブロック生成部241の動作について以
下に説明する。本実施例における電子透かし検出部24
0中のブロック生成部241は、検出対象画像201と
オフセット情報231を入力とし、位置マーカ検出部2
30中のブロック生成部233と同様に(オフセット情
報をオフセット候補情報として入力して)、サイクリッ
クシフトを用いて画素ブロックを出力する。
Next, the operation of the block generation unit 241 in the digital watermark detection unit 240 according to the third embodiment will be described below. Digital watermark detection unit 24 in the present embodiment
0, the block generation unit 241 receives the detection target image 201 and the offset information 231 as inputs, and outputs the position marker detection unit 2
Similarly to the block generation unit 233 of FIG. 30 (inputting offset information as offset candidate information), a pixel block is output using cyclic shift.

【0205】本実施例を用いた電子透かし検出処理の場
合、前述の第2の実施例に比べて、検出対象画像に必要
なサイズが、2N×2N以上からN×N以上になり、よ
り小さな検出対象画像からの検出が可能となる。 [第4の実施例]次に、本発明の第4の実施例では、電
子透かしを検出する際に、検出対象画像がN×Nサイズ
以上または、N×Nサイズより小さい場合における画素
ブロックの切り出しの例を説明する。
In the case of the digital watermark detection processing using this embodiment, the size required for the image to be detected is increased from 2N × 2N or more to N × N or more, and is smaller than that of the second embodiment. Detection from the detection target image becomes possible. [Fourth Embodiment] Next, in a fourth embodiment of the present invention, when detecting a digital watermark, the size of a pixel block in a case where the detection target image is equal to or larger than N × N size or smaller than N × N size. An example of clipping will be described.

【0206】まず、位置マーカ検出部230のブロック
生成部233について説明する。以下に述べる部分以外
については、前述の第2の実施例及び第3の実施例と同
様である。図35は、本発明の第4の実施例のブロック
生成部の動作を説明するための図であり、図36は、本
発明の第4の実施例の位置マーカ検出部のブロック生成
部の動作を示すフローチャートである。
First, the block generator 233 of the position marker detector 230 will be described. Except for the parts described below, the configuration is the same as that of the above-described second and third embodiments. FIG. 35 is a diagram for explaining the operation of the block generation unit according to the fourth embodiment of the present invention, and FIG. 36 is an operation of the block generation unit of the position marker detection unit according to the fourth embodiment of the present invention. It is a flowchart which shows.

【0207】ステップ401) 本実施例における位置
マーカ検出部230のブロック生成部233には、検出
対象画像201とオフセット候補情報204が入力され
る。 ステップ402) ブロック生成部233は、検出対象
画像201がN×Nサイズ以上であるかを判断し、そう
であれば、ステップ403に移行し、そうでない場合に
はステップ404に移行する。
Step 401) The detection target image 201 and the offset candidate information 204 are input to the block generation unit 233 of the position marker detection unit 230 in this embodiment. Step 402) The block generation unit 233 determines whether the detection target image 201 is equal to or larger than the N × N size. If so, the process proceeds to step 403; otherwise, the process proceeds to step 404.

【0208】ステップ403) ブロック生成部233
は、検出対象画像の左上からN×Nサイズのブロックを
切り出す。 ステップ404) 検出対象画像201が小さくてN×
Nサイズに切り出せない場合は、ブロック生成部233
は、N×Nで切り出そうとした時に含まれる検出対象画
像相当分(図35A)のみを切り出し、N×Nサイズに
足りない部分は、検出対象画像相当分の画素値の平均値
を求めて、これで埋める。
Step 403) Block generator 233
Cuts out an N × N size block from the upper left of the detection target image. Step 404) The detection target image 201 is small and N ×
If the image cannot be cut out to the N size, the block generation unit 233
Cuts out only the portion corresponding to the detection target image (FIG. 35A) included when trying to cut out N × N, and calculates the average value of the pixel values corresponding to the detection target image for the portion that is less than the N × N size. And fill it with this.

【0209】ステップ405) ブロック生成部233
は、上記の処理で得られたブロックを前述の第3の実施
例と同様にサイクリックシフトして画素ブロックを得
る。 ステップ406) ブロック生成部233は、得られた
画素ブロック205を出力する。以下に、電子透かし検
出部240中のブロック生成部241の動作について説
明する。
Step 405) Block generator 233
Obtains a pixel block by cyclically shifting the block obtained by the above processing in the same manner as in the third embodiment. Step 406) The block generator 233 outputs the obtained pixel block 205. Hereinafter, the operation of the block generation unit 241 in the digital watermark detection unit 240 will be described.

【0210】前述の第3の実施例における電子透かし検
出部240のブロック生成部241は、検出対象画像2
01とオフセット情報231が入力され、位置マーカ検
出部230のブロック生成部233と同様の処理によっ
て(オフセット情報をオフセット候補情報として入力し
て)画素ブロック246を得て出力する。本実施例を用
いた電子透かし検出処理の場合、第3の実施例に比べ
て、検出対象画像に必要なサイズがN×N以上から任意
のサイズになり、より小さな検出対象画像からの検出が
可能となる。
The block generation unit 241 of the digital watermark detection unit 240 in the third embodiment described above
01 and the offset information 231 are input, and a pixel block 246 is obtained and output by the same processing as that of the block generation unit 233 of the position marker detection unit 230 (inputting the offset information as offset candidate information). In the case of the digital watermark detection processing using the present embodiment, the size required for the detection target image becomes an arbitrary size from N × N or more as compared with the third embodiment, and the detection from the smaller detection target image can be performed. It becomes possible.

【0211】[第5の実施例]次に、本発明の第5の実
施例について説明する。以下に述べる部分以外について
は、前述の第2の実施例と同様である。本実施例では、
電子透かし検出部について説明する。図37は、本発明
の第5の実施例の電子透かし検出部の構成を示す。
[Fifth Embodiment] Next, a fifth embodiment of the present invention will be described. Except for the parts described below, the configuration is the same as that of the second embodiment. In this embodiment,
The digital watermark detection unit will be described. FIG. 37 shows the configuration of the digital watermark detection unit according to the fifth embodiment of the present invention.

【0212】同図に示す電子透かし検出部500は、ブ
ロック分割部510、離散フーリエ変換部520、検出
対象系列生成部530、シンボル検出部540、検出結
果生成部550から構成される。図38は、本発明の第
5の実施例の電子透かし検出部の動作を示すフローチャ
ートである。
[0212] The digital watermark detection section 500 shown in the figure comprises a block division section 510, a discrete Fourier transform section 520, a detection target sequence generation section 530, a symbol detection section 540, and a detection result generation section 550. FIG. 38 is a flowchart showing the operation of the digital watermark detection unit according to the fifth embodiment of the present invention.

【0213】ステップ510) 電子透かし検出部50
0は、検出対象画像201と検出対象成分位置情報21
1とオフセット情報231と鍵情報202を入力とし
て、まず、ブロック分割部510において、検出対象画
像201を、図39に示すように、左上からオフセット
情報(a,b)231だけオフセットした位置からN×
Nサイズの画素ブロックT個に分割し、分割によって得
られた画素ブロック511に0〜T−1の番号を振る。
Step 510) Digital watermark detecting section 50
0 is the detection target image 201 and the detection target component position information 21
39, the offset information 231 and the key information 202 are input. First, the block dividing unit 510 shifts the detection target image 201 from the position offset by the offset information (a, b) 231 from the upper left as shown in FIG. ×
The pixel block is divided into T pixel blocks of N size, and numbers 0 to T−1 are assigned to the pixel blocks 511 obtained by the division.

【0214】t(0≦t<T)番目の画素ブロック51
1について、以下の処理を行う。 ステップ520) 離散フーリエ変換部520は、t番
目の画素ブロック511を離散フーリエ変換して、検出
対象係数行列521を得る。 ステップ530) 検出対象系列生成部530は、検出
対象成分位置情報211と検出対象係数行列521から
検出対象系列531を生成する。
The t-th (0 ≦ t <T) -th pixel block 51
The following processing is performed for No. 1. Step 520) The discrete Fourier transform unit 520 performs a discrete Fourier transform on the t-th pixel block 511 to obtain a detection target coefficient matrix 521. Step 530) The detection target sequence generation unit 530 generates a detection target sequence 531 from the detection target component position information 211 and the detection target coefficient matrix 521.

【0215】ステップ540) シンボル検出部540
は、鍵情報202と各シンボル候補情報とから生成され
る系列と検出対象系列531との相関値を求めてシンボ
ル検出情報546を生成する。 ステップ550) すべてのtについてシンボル検出情
報546を得た後、検出結果生成部550は、シンボル
検出情報546の各シンボル位置について、相関値が最
大の時のシンボル候補値を検出シンボルとする。
Step 540) Symbol detection section 540
Generates the symbol detection information 546 by calculating the correlation value between the sequence generated from the key information 202 and each symbol candidate information and the detection target sequence 531. Step 550) After obtaining the symbol detection information 546 for all t, the detection result generation unit 550 sets, for each symbol position of the symbol detection information 546, the symbol candidate value having the maximum correlation value as the detection symbol.

【0216】ステップ560) 検出結果生成部550
は、すべてのシンボル位置から検出シンボルを決定した
後、検出シンボルを電子透かしの形式に逆変換した検出
結果203として出力する。 次に、本実施例におけるシンボル検出部540について
説明する。図40は、本発明の第5の実施例のシンボル
検出部の構成を示す。同図に示すシンボル検出部540
は、シンボル候補生成部541、シンボル系列生成部5
42、シンボル検出情報生成部543から構成され、シ
ンボル検出部540は、鍵情報202と(t番目の画素
ブロックから得られる)検出対象系列531を入力と
し、予め設定されている検出するシンボル数J個の各シ
ンボル位置毎に、M個のシンボル候補544についての
シンボル検出情報546を生成し、検出結果生成部55
0に出力する。以下j(1≦j≦J)番目のシンボル検
出について説明する。
Step 560) Detection result generator 550
Determines the detected symbols from all symbol positions, and outputs the detected symbols as a detection result 203 obtained by inversely converting the detected symbols into a digital watermark format. Next, the symbol detection unit 540 in the present embodiment will be described. FIG. 40 shows the configuration of the symbol detector of the fifth embodiment of the present invention. Symbol detection section 540 shown in FIG.
Are the symbol candidate generator 541 and the symbol sequence generator 5
42, a symbol detection information generation unit 543. The symbol detection unit 540 receives the key information 202 and the detection target sequence 531 (obtained from the t-th pixel block) as input, and sets a predetermined number J of detected symbols. The symbol detection information 546 for the M symbol candidates 544 is generated for each symbol position.
Output to 0. Hereinafter, detection of the j-th (1 ≦ j ≦ J) symbol will be described.

【0217】図41は、本発明の第5の実施例のシンボ
ル検出部の動作を示すフローチャートである。 ステップ551) シンボル候補生成部541は、シン
ボル候補cを0からM−1まで順次生成し、各シンボル
候補毎に以下のステップ552〜ステップ553の処理
を行う。Mは、前述の第1の実施例におけるシンボル変
換によるシンボル値の最大値を表す。
FIG. 41 is a flowchart showing the operation of the symbol detecting section according to the fifth embodiment of the present invention. Step 551) The symbol candidate generation unit 541 sequentially generates the symbol candidates c from 0 to M-1, and performs the following steps 552 to 553 for each symbol candidate. M represents the maximum value of the symbol value by the symbol conversion in the first embodiment.

【0218】ステップ552) シンボル系列生成部5
42について説明する。図42は、本発明の第5の実施
例のシンボル系列生成部の構成を示し、図43は、本発
明の第5の実施例のシンボル系列生成部の動作を示すフ
ローチャートである。 ステップ552−1) シンボル系列生成部542は、
鍵情報202とシンボル情報cを入力とし、cと鍵情報
202を加算した値を初期値として、拡散系列生成器5
421でj番目の長さnの拡散系列{ri (j) }(0≦
i<n)を生成し、これをそのままシンボル系列545
{pi (j) }(0≦i<n)として用いる(pi (j)
=ri (j) (0≦i<n))。シンボル系列545をシ
ンボル検出情報生成部543に送る。
Step 552) Symbol sequence generator 5
42 will be described. FIG. 42 shows the configuration of the symbol sequence generator of the fifth embodiment of the present invention, and FIG. 43 is a flowchart showing the operation of the symbol sequence generator of the fifth embodiment of the present invention. Step 552-1) The symbol sequence generation unit 542 determines
The spread sequence generator 5 receives the key information 202 and the symbol information c as input and sets a value obtained by adding c and the key information 202 as an initial value.
421, the j-th spreading sequence of length n {r i (j) } (0 ≦
i <n), which is directly used as a symbol sequence 545
Used as {p i (j) } (0 ≦ i <n) (p i (j) :
= R i (j) (0 ≦ i <n)). The symbol sequence 545 is sent to the symbol detection information generator 543.

【0219】ステップ553) シンボル検出情報生成
部543は、検出対象系列531とシンボル系列545
と、シンボル候補cと現在処理中のシンボル位置jを入
力として、以下の式によりシンボル系列545と検出対
象系列531の相関値を求め、相関値とシンボル候補と
シンボル位置と画素ブロック位置を組にしてシンボル検
出情報corrc (j)(t)546を生成する。
Step 553) The symbol detection information generation section 543 generates the detection target sequence 531 and the symbol sequence 545.
And the symbol candidate c and the symbol position j currently being processed are input, the correlation value between the symbol sequence 545 and the detection target sequence 531 is obtained by the following equation, and the correlation value, the symbol candidate, the symbol position, and the pixel block position are grouped. generating a symbol detection information corr c (j) (t) 546 Te.

【数5】 (Equation 5)

【0220】シンボル検出情報546は、検出結果生成
部550に送られる。次に、本実施例の検出結果生成部
550について説明する。図44は、本発明の第5の実
施例の検出結果生成部の構成を示す。同図に示す検出結
果生成部550は、各シンボル位置毎系列生成部55
1、検出シンボル生成部552、逆シンボル変換部55
3から構成される。
[0220] Symbol detection information 546 is sent to detection result generating section 550. Next, the detection result generation unit 550 of the present embodiment will be described. FIG. 44 shows the configuration of the detection result generator according to the fifth embodiment of the present invention. The detection result generation unit 550 shown in FIG.
1, detection symbol generation section 552, inverse symbol conversion section 55
3

【0221】図45は、本発明の第5の実施例の検出結
果生成部の動作を示すフローチャートである。 ステップ561) 検出結果生成部550は、シンボル
検出情報546を入力とし、シンボルを検出結果556
(電子透かし)として取得する。まず、各シンボル位置
毎系列生成部551は、シンボル検出情報546をシン
ボル位置j毎に分割し、長さM×Tの各シンボル位置毎
系列corrc (j)(t),(0≦c<M,0≦t<T)5
54をj=1〜Jまでの各々のjについて生成して検出
シンボル生成部552に送る。
FIG. 45 is a flowchart showing the operation of the detection result generator according to the fifth embodiment of the present invention. Step 561) The detection result generation unit 550 receives the symbol detection information 546 as input, and detects a symbol as the detection result 556.
(Digital watermark). First, each symbol position for each sequence generation unit 551 divides the symbol detection information 546 for each symbol position j, the length M × each symbol position for each sequence corr c of T (j) (t), (0 ≦ c < M, 0 ≦ t <T) 5
54 is generated for each of j = 1 to J and sent to the detected symbol generation unit 552.

【0222】ステップ562) 検出シンボル生成部5
52は、各シンボル位置毎系列554を入力とし、各シ
ンボル位置j毎に各シンボル位置毎系列554中で最大
の相関値をとる時のシンボル候補cを見つけて検出シン
ボルsj (1≦j<J)を生成する。 ステップ563) すべてのsj を求めた後に、逆シン
ボル変換部553は、シンボル表現からもともとの電子
透かしの表現に変換(例えば、第1の実施例における変
換に対応する逆変換は、4つの検出シンボル(各検出シ
ンボルの値は、0から255)の値を各々ASCIIコ
ードとみなして、4文字の8ビット文字に変換する処理
である)して、検出結果203を生成し、出力する。
Step 562) Detected symbol generator 5
52 receives the symbol position sequence 554 as input, finds the symbol candidate c at which the maximum correlation value is obtained in each symbol position sequence 554 for each symbol position j, and detects the detected symbol s j (1 ≦ j < J). Step 563) After obtaining all s j , the inverse symbol conversion unit 553 converts the symbol expression into the original digital watermark expression (for example, four inverse detections corresponding to the conversion in the first embodiment are performed). A symbol (the value of each detected symbol is 0 to 255) is regarded as an ASCII code and is converted into four 8-bit characters, and a detection result 203 is generated and output.

【0223】検出結果203は、検出対象画像に埋め込
まれていた電子透かしを表している。本実施例による電
子透かし検出処理では、検出対象画像(2N×2N以上
のサイズ)201をブロックに分割して、すべてのブロ
ックの中で最大の相関値をとる時のシンボルを検出して
いるので、前述の第2の実施例(1つのブロックからし
か検出しない)に比べて、より精度の高い検出が可能と
なる。
The detection result 203 indicates a digital watermark embedded in the image to be detected. In the digital watermark detection processing according to the present embodiment, the detection target image (size of 2N × 2N or more) 201 is divided into blocks, and the symbol having the maximum correlation value among all the blocks is detected. As compared with the above-described second embodiment (detection is performed only from one block), more accurate detection is possible.

【0224】[第6の実施例]次に、本発明の第6の実
施例として、電子透かし検出部について説明する。以下
に述べる部分以外については、前述の第3の実施例と同
様である。図46は、本発明の第6の実施例の電子透か
し検出部の構成を示す。同図に示す電子透かし検出部6
00は、ブロック分割部610、離散フーリエ変換部6
20、検出対象系列生成部630、シンボル検出部64
0、検出結果生成部650から構成される。
[Sixth Embodiment] Next, a digital watermark detection section will be described as a sixth embodiment of the present invention. Except for the parts described below, the configuration is the same as that of the third embodiment. FIG. 46 shows the configuration of the digital watermark detection unit according to the sixth embodiment of the present invention. Digital watermark detection unit 6 shown in FIG.
00 denotes a block dividing unit 610 and a discrete Fourier transform unit 6
20, detection target sequence generation section 630, symbol detection section 64
0, a detection result generation unit 650.

【0225】図47は、本発明の第6の実施例の電子透
かし検出部の動作を示すフローチャートである。 ステップ610) 電子透かし検出部600は、検出対
象画像201と検出対象成分位置情報211とオフセッ
ト情報231と鍵情報202を入力とし、電子透かしを
検出結果203として出力する。まず、ブロック分割部
610は、検出対象画像201を図48に示すように、
左上からN×Nサイズのブロックに分割し、位置マーカ
検出部230のブロック生成部233と同様にして、オ
フセット情報(a,b)231を用いて各ブロックをサ
イクリックシフトして得られるT個のN×Nサイズの画
素ブロックを生成する。さらに、ブロック分割部610
は、分割によって得られた画素ブロックに0〜T−1の
番号を振る。t(0≦t<T)番目の画素ブロック60
1について、ステップ620からステップ640の処理
を繰り返す。
FIG. 47 is a flowchart showing the operation of the digital watermark detection unit according to the sixth embodiment of the present invention. Step 610) The digital watermark detection unit 600 receives the detection target image 201, the detection target component position information 211, the offset information 231 and the key information 202, and outputs the digital watermark as the detection result 203. First, the block dividing unit 610 converts the detection target image 201 as shown in FIG.
It is divided into N × N size blocks from the upper left, and T blocks obtained by cyclically shifting each block using the offset information (a, b) 231 in the same manner as the block generation unit 233 of the position marker detection unit 230 N × N pixel blocks are generated. Further, the block dividing unit 610
Assigns numbers 0 to T-1 to the pixel blocks obtained by the division. t (0 ≦ t <T) -th pixel block 60
The processing from step 620 to step 640 is repeated for 1.

【0226】ステップ620) 離散フーリエ変換部6
20は、t番目の画素ブロック601を離散フーリエ変
換して検出対象係数行列602を得る。 ステップ630) 検出対象系列生成部630は、位置
マーカ検出部230の検出対象系列生成部235と同様
の処理によって検出対象系列603を得て、シンボル検
出部640に送る。
Step 620) Discrete Fourier Transform Unit 6
20 obtains a detection target coefficient matrix 602 by performing a discrete Fourier transform on the t-th pixel block 601. Step 630) The detection target sequence generation unit 630 obtains the detection target sequence 603 by the same processing as the detection target sequence generation unit 235 of the position marker detection unit 230, and sends the detection target sequence 603 to the symbol detection unit 640.

【0227】ステップ640) シンボル検出部640
は、鍵情報202と各シンボル候補情報とから生成され
る系列と検出対象系列603との相関値を求めてシンボ
ル検出情報604を生成する。T番目の画素ブロック6
01まで、ステップ620以降の処理を繰り返す。 ステップ650) すべてのtの画素ブロック601に
ついて、シンボル検出情報604を得た後、検出結果生
成部650は、シンボル検出情報604の各シンボル位
置について相関値が最大の時のシンボル候補値を検出シ
ンボルとする。
Step 640) Symbol detection section 640
Generates a symbol detection information 604 by calculating a correlation value between a sequence generated from the key information 202 and each symbol candidate information and a detection target sequence 603. T-th pixel block 6
The process from step 620 is repeated until 01. Step 650) After obtaining the symbol detection information 604 for all the pixel blocks 601 of t, the detection result generation unit 650 detects the symbol candidate value at the time when the correlation value is the maximum for each symbol position of the symbol detection information 604. And

【0228】ステップ660) 検出結果生成部650
は、すべてのシンボル位置から検出シンボルを決定した
後、検出シンボルを電子透かしの形式に逆変換した結果
を検出結果203として出力する。 次に、本実施例におけるシンボル検出部640について
説明する。図49は、本発明の第6の実施例のシンボル
検出部の構成を示す。同図に示すシンボル検出部640
は、シンボル候補生成部641、シンボル系列生成部6
43、シンボル検出情報生成部645から構成される。
Step 660) Detection result generator 650
Determines detection symbols from all symbol positions, and then outputs the result of inverse conversion of the detection symbols into a digital watermark format as a detection result 203. Next, the symbol detection unit 640 according to the present embodiment will be described. FIG. 49 shows the configuration of the symbol detector of the sixth embodiment of the present invention. Symbol detection section 640 shown in FIG.
Are the symbol candidate generator 641 and the symbol sequence generator 6
43, a symbol detection information generator 645.

【0229】シンボル検出部640は、鍵情報202と
(t番目の画素ブロックから得られる)検出対象系列6
03を入力とし、シンボル検出情報646を出力する。
予め設定されている検出するシンボル数J個の各シンボ
ル位置毎に、M個のシンボル候補642についてのシン
ボル検出情報604を生成し、検出結果生成部650に
出力する。以下、j(1≦j<J)番目のシンボル検出
について説明する。
[0229] The symbol detector 640 determines the key information 202 and the detection target sequence 6 (obtained from the t-th pixel block).
03 is input, and symbol detection information 646 is output.
Symbol detection information 604 for M symbol candidates 642 is generated for each of the J symbol positions to be detected, which is set in advance, and output to detection result generation section 650. Hereinafter, detection of the j-th (1 ≦ j <J) symbol will be described.

【0230】図50は、本発明の第6の実施例のシンボ
ル検出部の動作を示すフローチャートである。 ステップ641) シンボル候補生成部641におい
て、シンボル候補cを0からM−1まで順次生成し、各
シンボル候補642ごとに、ステップ642〜ステップ
643までの処理を行う。Mは、前述の第1の実施例に
おけるシンボル変換によるシンボル値の最大値を表す。
FIG. 50 is a flowchart showing the operation of the symbol detector of the sixth embodiment of the present invention. Step 641) The symbol candidate generation unit 641 sequentially generates the symbol candidates c from 0 to M−1, and performs the processes from step 642 to step 643 for each symbol candidate 642. M represents the maximum value of the symbol value by the symbol conversion in the first embodiment.

【0231】ステップ642) シンボル系列生成部6
43の構成を図51に示し、その動作を図52に示す。 ステップ642−1) シンボル系列生成部643は、
鍵情報202とシンボル候補c642を入力とし、cと
鍵情報202を加算した値を初期値として、拡散系列生
成器6431でj番目の長さnの拡散系列{ri (j)
(0≦i<n)を生成し、これをそのままシンボル系列
644{pi (j) }(0≦i<n)として用いる(pi
(j) :=ri (j) (0≦i<n))。シンボル系列64
4をシンボル検出情報生成部645に送る。
Step 642) Symbol sequence generator 6
43 is shown in FIG. 51, and its operation is shown in FIG. Step 642-1) The symbol sequence generation unit 643 calculates
The spread information generator 6431 receives the key information 202 and the symbol candidate c642 as input and sets a value obtained by adding c and the key information 202 as an initial value. The spread sequence generator 6431 has a j-th spread sequence {r i (j) } of length n.
(0 ≦ i <n) is generated and used as it is as a symbol sequence 644 {p i (j) } (0 ≦ i <n) (p i
(j): = r i ( j) (0 ≦ i <n)). Symbol sequence 64
4 is sent to the symbol detection information generator 645.

【0232】ステップ643) シンボル検出情報生成
部645は、検出対象系列603とシンボル系列644
とシンボル候補cと現在処理中のシンボル位置jを入力
として、以下の式によりシンボル系列644と検出対象
系列603の相関値を求め、相関値とシンボル候補とシ
ンボル位置と画素ブロック位置を組にしてシンボル検出
情報corrc (j)(t)604を生成する。
Step 643) The symbol detection information generation section 645 generates the detection target sequence 603 and the symbol sequence 644.
, The symbol candidate c and the symbol position j currently being processed are input, the correlation value between the symbol sequence 644 and the detection target sequence 603 is obtained by the following equation, and the correlation value, the symbol candidate, the symbol position, and the pixel block position are grouped. generating a symbol detection information corr c (j) (t) 604.

【数6】 (Equation 6)

【0233】シンボル検出情報604は、検出結果生成
部650に送られる。次に、本実施例における検出結果
生成部650について説明する。図53は、本発明の第
6の実施例の検出結果生成部の構成を示す。同図に示す
検出結果生成部650は、各シンボル位置毎系列生成部
651、検出シンボル生成部653、逆シンボル変換部
655から構成される。
[0233] Symbol detection information 604 is sent to detection result generating section 650. Next, the detection result generation unit 650 according to the present embodiment will be described. FIG. 53 shows the configuration of the detection result generator according to the sixth embodiment of the present invention. The detection result generation unit 650 shown in FIG. 11 includes a sequence generation unit 651 for each symbol position, a detection symbol generation unit 653, and an inverse symbol conversion unit 655.

【0234】図54は、本発明の第6の実施例の検出結
果生成部の動作を示すフローチャートである。 ステップ651) 検出結果生成部650は、シンボル
検出情報604を入力とし、まず、各シンボル位置毎系
列生成部651において、シンボル検出情報604をシ
ンボル位置j毎に分割し、長さM×Tの各シンボル位置
毎系列corr c (j)(t)(0≦c<M,0≦t<T)6
52をj=1〜Jまでの各々のjについて生成して検出
シンボル生成部653に送る。
FIG. 54 is a block diagram showing a detection result according to the sixth embodiment of the present invention.
6 is a flowchart illustrating an operation of a fruit generation unit. Step 651) The detection result generation unit 650 sets the symbol
With the detection information 604 as an input, first, the system for each symbol position
In the column generation unit 651, the symbol detection information 604 is
Each symbol position of length M × T, divided for each symbol position j
Every series corr c (j) (t)(0 ≦ c <M, 0 ≦ t <T) 6
52 is generated and detected for each j from j = 1 to j
This is sent to the symbol generation unit 653.

【0235】ステップ652) 検出シンボル生成部6
53は、各シンボル位置毎系列652を入力とし、各シ
ンボル位置j毎に、各シンボル位置毎系列652中で最
大の相関値を採る時のシンボル候補cを見つけて検出シ
ンボルsj (1≦j<J)654を生成する。すべての
j を求めるまで上記の処理を繰り返す。 ステップ653) 全ての検出シンボルsj を求めた後
に、逆シンボル変換部655において、シンボル表現か
らもともとの電子透かしの表現に変換(例えば、第1の
実施例における変換に対応する逆変換は、4つの検出シ
ンボル(各検出シンボルの値は0〜255)の値を各々
ASCIIコードとみなして4文字の8ビット文字に変
換する処理である)して、検出結果203を生成し、出
力する。検出結果203は、検出対象画像に埋め込まれ
ていた電子透かしを表している。
Step 652) Detected symbol generator 6
53 receives a symbol position sequence 652 as input, finds a symbol candidate c at the time of taking the maximum correlation value in each symbol position sequence 652 for each symbol position j, and detects a detected symbol s j (1 ≦ j). <J) 654 is generated. The above processing is repeated until all s j are obtained. Step 653) After obtaining all the detected symbols s j , the inverse symbol conversion unit 655 converts the symbol expression to the original digital watermark expression (for example, the inverse conversion corresponding to the conversion in the first embodiment is 4). This is a process of converting the values of one detection symbol (the value of each detection symbol is 0 to 255) into four 8-bit characters by regarding each as an ASCII code, and generates and outputs a detection result 203. The detection result 203 represents a digital watermark embedded in the detection target image.

【0236】本実施例による電子透かし検出処理では、
検出対象画像の最低サイズが(N×Nとなり第5の実施
例よりも小さな部分画像から検出が可能となり、また、
検出に用いるブロックの個数が第5の実施例よりも多く
なるので、第5の実施例に比べてより精度の高い検出が
可能となる。また、第3の実施例(1つのブロックから
しか検出できない)に比べて、より精度の高い検出が可
能となる。
In the digital watermark detection processing according to this embodiment,
The minimum size of the image to be detected is (N × N), and detection can be performed from a partial image smaller than that of the fifth embodiment.
Since the number of blocks used for detection is larger than in the fifth embodiment, more accurate detection is possible as compared with the fifth embodiment. Further, detection with higher accuracy is possible as compared with the third embodiment (detection is possible only from one block).

【0237】[第7の実施例]本発明の第7の実施例と
して電子透かし検出部について説明する。以下に述べる
部分以外については、前述の第4の実施例と同様であ
る。図55は、本発明の第7の実施例の電子透かし検出
部の構成を示す。同図に示す電子透かし検出部700
は、ブロック分割部710、離散フーリエ変換部72
0、検出対象系列生成部730、シンボル検出部74
0、検出結果生成部750から構成される。
[Seventh Embodiment] An electronic watermark detection unit will be described as a seventh embodiment of the present invention. Except for the parts described below, the configuration is the same as that of the above-described fourth embodiment. FIG. 55 shows the configuration of the digital watermark detection unit according to the seventh embodiment of the present invention. Digital watermark detection unit 700 shown in FIG.
Is a block division unit 710 and a discrete Fourier transform unit 72
0, detection target sequence generation section 730, symbol detection section 74
0, a detection result generation unit 750.

【0238】図56は、本発明の第7の実施例の電子透
かし検出部の動作を示すフローチャートである。 ステップ710) 電子透かし検出部700は、検出対
象画像201と検出対象成分位置情報211とオフセッ
ト情報231と鍵情報202を入力として、まず、ブロ
ック分割部710において、検出対象画像201を、図
57に示すように、左上からN×Nサイズのブロックに
分割し、位置マーカ検出部230のブロック生成部23
3と同様に、オフセット情報(a,b)を用いて各ブロ
ックをサイクリックシフトして得られるT個のN×Nサ
イズの画素ブロックを生成する。この際、検出対象画像
201の端の辺りでN×Nサイズに切り出せないブロッ
クについては、N×Nで切り出そうとした時に含まれる
検出対象画像相当分のみを切り出し、N×Nサイズに足
りない部分は、検出対象画像相当分の画素値の平均値を
求めてこれで埋める、という処理を行ってからサイクリ
ックシフトを行う。ブロック分割部710は、分割によ
って得られた画素ブロックに0〜T−1の番号を振る。
t(0≦t<T)番目の画素ブロック701について、
以下のステップ720〜ステップ740の処理を繰り返
す。
FIG. 56 is a flowchart showing the operation of the digital watermark detecting section according to the seventh embodiment of the present invention. Step 710) The digital watermark detection unit 700 receives the detection target image 201, the detection target component position information 211, the offset information 231 and the key information 202 as input, and first, the block division unit 710 converts the detection target image 201 into the one shown in FIG. As shown, the block is divided into N × N size blocks from the upper left,
As in the case of No. 3, T N × N pixel blocks obtained by cyclically shifting each block using the offset information (a, b) are generated. At this time, for a block that cannot be cut out to the N × N size around the end of the detection target image 201, only a portion corresponding to the detection target image included in the case of the N × N cutout is cut out, and the N × N size is sufficient. For the portion that does not exist, the average value of the pixel values corresponding to the detection target image is obtained and filled with the average value, and then the cyclic shift is performed. The block division unit 710 assigns numbers 0 to T−1 to the pixel blocks obtained by the division.
For the t (0 ≦ t <T) -th pixel block 701,
The following steps 720 to 740 are repeated.

【0239】ステップ720) 離散フーリエ変換部7
20は、t番目の画素ブロックを離散フーリエ変換して
検出対象係数行列702を得る。 ステップ730) 検出対象系列生成部730は、位置
マーカ検出部230の検出対象系列生成部235と同様
の処理によって、検出対象系列703を得て、シンボル
検出部740に送る。
Step 720) Discrete Fourier transform unit 7
20 obtains a detection target coefficient matrix 702 by performing a discrete Fourier transform on the t-th pixel block. Step 730) The detection target sequence generation unit 730 obtains the detection target sequence 703 by the same processing as the detection target sequence generation unit 235 of the position marker detection unit 230, and sends it to the symbol detection unit 740.

【0240】ステップ740) シンボル検出部740
は、鍵情報202と各シンボル候補情報とから生成され
る系列と検出対象系列703との相関値を求めてシンボ
ル検出情報704を生成する。 ステップ750) すべてのtについてシンボル検出情
報704を得た後、検出結果生成部750は、シンボル
検出情報704の各シンボル位置について、相関値が最
大の時のシンボル候補値を検出シンボルとする。
Step 740) Symbol detector 740
Generates a symbol detection information 704 by calculating a correlation value between a sequence generated from the key information 202 and each symbol candidate information and a detection target sequence 703. Step 750) After obtaining the symbol detection information 704 for all t, the detection result generation unit 750 sets, for each symbol position of the symbol detection information 704, the symbol candidate value with the maximum correlation value as the detected symbol.

【0241】ステップ760) すべてのシンボル位置
から検出シンボルを決定した後、検出結果生成部750
は、検出シンボルを電子透かしの形式に逆変換した結果
を検出結果203として出力する。 次に、本実施例におけるシンボル検出部740について
説明する。図58は、本発明の第7の実施例のシンボル
検出部の構成を示す。同図に示すシンボル検出部740
は、シンボル候補生成部741、シンボル系列生成部7
43、シンボル検出情報生成部745から構成される。
Step 760) After determining detection symbols from all symbol positions, the detection result generation section 750
Outputs the result of inversely converting the detected symbol to the digital watermark format as a detection result 203. Next, the symbol detection unit 740 according to the present embodiment will be described. FIG. 58 shows the configuration of the symbol detector of the seventh embodiment of the present invention. The symbol detector 740 shown in FIG.
Are the symbol candidate generator 741 and the symbol sequence generator 7
43, a symbol detection information generator 745.

【0242】当該シンボル検出部740は、鍵情報20
2と(t番目の画素ブロックから得られる)検出対象系
列703を入力とし、予め設定されている検出するシン
ボル数j個の各シンボル位置毎に、M個のシンボル候補
742についてのシンボル検出情報704を生成し、検
出結果生成部750に出力する。以下、j(1≦j≦
J)番目のシンボル検出について説明する。
[0242] The symbol detecting section 740 detects the key information 20.
2 and the detection target sequence 703 (obtained from the t-th pixel block) are input, and the symbol detection information 704 on the M symbol candidates 742 is set for each predetermined symbol position of the number j of symbols to be detected. Is generated and output to the detection result generation unit 750. Hereinafter, j (1 ≦ j ≦
The J-th symbol detection will be described.

【0243】図59は、本発明の第7の実施例のシンボ
ル検出部の動作を示すフローチャートである。 ステップ741) シンボル候補生成部741は、シン
ボル候補cを0からM−1まで順次生成し、各シンボル
候補毎にステップ742からステップ743の処理を行
う。Mは、前述の第1の実施例におけるシンボル値の最
大値を表す。
FIG. 59 is a flowchart showing the operation of the symbol detector of the seventh embodiment of the present invention. Step 741) The symbol candidate generation unit 741 sequentially generates the symbol candidates c from 0 to M−1, and performs the processing of steps 742 to 743 for each symbol candidate. M represents the maximum value of the symbol value in the first embodiment described above.

【0244】ステップ742) シンボル系列生成部7
43の構成と動作を説明する。図60は、本発明の第7
の実施例のシンボル系列生成部の構成を示し、図61
は、本発明の第7の実施例のシンボル系列生成部の動作
を示すフローチャートである。 ステップ742−1) シンボル系列生成部743は、
鍵情報202とシンボル候補cを入力とし、cと鍵情報
202を加算した値を初期値として、拡散系列生成器7
431でj番目の長さnの拡散系列{ri (j) }(0≦
i<n)を生成し、これをそのままシンボル系列744
{pi (j) }(0≦i<n)として用いる(pi (j)
=ri (j) (0≦i<n))。シンボル系列744をシ
ンボル検出情報生成部745に送る。
Step 742) Symbol sequence generator 7
The configuration and operation of 43 will be described. FIG. 60 shows the seventh embodiment of the present invention.
FIG. 61 shows the configuration of the symbol sequence generation unit of the embodiment of FIG.
15 is a flowchart illustrating an operation of the symbol sequence generation unit according to the seventh example of the present invention. Step 742-1) The symbol sequence generation unit 743 determines
The spread sequence generator 7 receives the key information 202 and the symbol candidate c as input and sets a value obtained by adding c and the key information 202 as an initial value.
At 431, the j-th spreading sequence of length n {r i (j) } (0 ≦
i <n), and this is directly used as a symbol sequence 744
Used as {p i (j) } (0 ≦ i <n) (p i (j) :
= R i (j) (0 ≦ i <n)). The symbol sequence 744 is sent to the symbol detection information generator 745.

【0245】ステップ743) シンボル検出情報生成
部745は、検出対象系列703とシンボル系列744
とシンボル候補cと現在処理中のシンボル位置jを入力
として、以下の式によりシンボル系列744と検出対象
系列703の相関値を求め、相関値とシンボル候補とシ
ンボル位置と画素ブロック位置を組にして、シンボル検
出情報corrc (j)(t)746を生成する。
Step 743) The symbol detection information generation section 745 generates the detection target sequence 703 and the symbol sequence 744.
, The symbol candidate c and the symbol position j currently being processed are input, the correlation value between the symbol sequence 744 and the detection target sequence 703 is calculated by the following equation, and the correlation value, the symbol candidate, the symbol position, and the pixel block position are grouped. , it generates the symbol detection information corr c (j) (t) 746.

【数7】 (Equation 7)

【0246】シンボル検出情報746は、検出結果生成
部750に送られる。次に、本実施例における検出結果
生成部750について説明する。図62は、本発明の第
7の実施例の検出結果生成部の構成を示す。同図に示す
検出結果生成部750は、各シンボル位置毎系列生成部
751、検出シンボル生成部753、逆シンボル変換部
755から構成される。
[0246] Symbol detection information 746 is sent to detection result generating section 750. Next, the detection result generation unit 750 according to the present embodiment will be described. FIG. 62 shows the configuration of the detection result generator according to the seventh embodiment of the present invention. The detection result generation unit 750 shown in FIG. 7 includes a sequence generation unit 751 for each symbol position, a detection symbol generation unit 753, and an inverse symbol conversion unit 755.

【0247】図63は、本発明の第7の実施例の検出結
果生成部の動作のフローチャートである。 ステップ751) 検出結果生成部750は、シンボル
検出情報704を入力とし、まず、各シンボル位置毎系
列生成部751において、シンボル検出情報704をシ
ンボル位置j毎に分割し、長さM×Tの各シンボル位置
毎系列corr c (j)(t),(0≦c<M,0≦t<T)
752をj=1〜Jまでの各々のjについて生成して検
出シンボル生成部753に送る。
FIG. 63 shows the detection result of the seventh embodiment of the present invention.
It is a flowchart of operation | movement of a fruit generation part. Step 751) The detection result generation unit 750 sets the symbol
With the detection information 704 as input, first, the system for each symbol position
In the column generation unit 751, the symbol detection information 704 is
Each symbol position of length M × T, divided for each symbol position j
Every series corr c (j) (t), (0 ≦ c <M, 0 ≦ t <T)
752 for each j from j = 1 to J
The output symbol generation unit 753 is sent.

【0248】ステップ752) 検出シンボル生成部7
53は、各シンボル位置毎系列752を入力とし、各シ
ンボル位置j毎に各シンボル位置毎系列752中で最大
の相関値をとる時のシンボル候補cを見つけて検出シン
ボルsj (1≦j≦J)754を生成する。ステップ7
51とステップ752の処理を全てのsj を求めるまで
繰り返す。 ステップ753) すべてのsj を求めた
後に、逆シンボル変換部755において、シンボル表現
からもともとの電子透かしの表現に変換(例えば、前述
の第1の実施例における変換に対応する逆変換は、4つ
の検出シンボル(各検出シンボルの値は0〜255)の
値を各々ASCIIコードと見做して4文字の8ビット
文字に変換する処理である)して、検出結果203を生
成し、出力する。
Step 752) Detected symbol generator 7
53 receives a symbol position sequence 752 as input, finds a symbol candidate c at which the maximum correlation value is obtained in each symbol position sequence 752 for each symbol position j, and detects a detected symbol s j (1 ≦ j ≦ J) Generate 754. Step 7
51 and the process of step 752 are repeated until all s j are obtained. Step 753) After obtaining all s j , the inverse symbol conversion unit 755 converts the symbol expression to the original digital watermark expression (for example, the inverse conversion corresponding to the conversion in the first embodiment is 4). This is a process of converting each of the values of one detection symbol (the value of each detection symbol is 0 to 255) into an 8-bit character of 4 characters assuming that the value is an ASCII code, and generates and outputs a detection result 203. .

【0249】検出結果203は、検出対象画像に埋め込
まれていた電子透かしを表している。本実施例における
電子透かし検出処理では、検出対象画像の最低サイズに
関する制限が無くなるので、前述の第6の実施例よりも
小さな部分画像からの検出が可能となり、また、検出に
用いるブロックの個数が第6の実施例よりも多くなるの
で、第6の実施例に比べて精度の高い検出が可能とな
る。また、第4の実施例(1つのブロックからしか検出
しない)に比べてより精度の高い検出が可能となる。
The detection result 203 represents a digital watermark embedded in the image to be detected. In the digital watermark detection processing according to the present embodiment, since there is no restriction on the minimum size of the detection target image, detection from a partial image smaller than that in the above-described sixth embodiment becomes possible, and the number of blocks used for detection is reduced. Since the number is larger than that in the sixth embodiment, it is possible to perform detection with higher accuracy than in the sixth embodiment. Further, detection with higher accuracy is possible as compared with the fourth embodiment (detection is performed only from one block).

【0250】[第8の実施例]次に、本発明の第8の実
施例として、検出対象画像をオフセット情報によりブロ
ックに分割し、当該画素ブロックの画素値が加算された
加算ブロックを画素ブロックとして出力する位置マーカ
検出部について説明する。以下の説明以外の部分につい
ては、前述の第2の実施例と同様である。
[Eighth Embodiment] Next, as an eighth embodiment of the present invention, an image to be detected is divided into blocks by offset information, and an added block to which the pixel value of the pixel block is added is used as a pixel block. The position marker detection unit that outputs as is described below. Parts other than the following description are the same as in the above-described second embodiment.

【0251】図64は、本発明の第8の実施例の位置マ
ーカ検出部のブロック生成部の構成を示す。位置マーカ
検出部230のブロック生成部800は、ブロック分割
部810、ブロック加算部820を有する。図65は、
本発明の第8の実施例の位置マーカ検出部のブロック生
成部の動作を示すフローチャートである。
FIG. 64 shows the configuration of the block generator of the position marker detector according to the eighth embodiment of the present invention. The block generation unit 800 of the position marker detection unit 230 includes a block division unit 810 and a block addition unit 820. FIG.
It is a flowchart which shows operation | movement of the block generation part of the position marker detection part of 8th Example of this invention.

【0252】ステップ810) ブロック生成部800
は、検出対象画像201とオフセット候補情報204を
入力とし、ブロック分割部810において、図66に示
すように、検出対象画像201の左上からオフセット候
補情報204(a,b)だけずれた位置からT個のN×
N画素ブロックに分割する。 ステップ820) 次に、ブロック加算部820は、こ
れら全てのブロックを加算して加算ブロック802を生
成する。式で表すと、 Bij (t) :t番目のブロック(0≦i<N,0≦j<
N,0≦t<T) のとき、加算ブロックAij(0≦i<N,0≦j<N)
は、
Step 810) Block generator 800
66, the detection target image 201 and the offset candidate information 204 are input, and as shown in FIG. N ×
Divide into N pixel blocks. Step 820) Next, the block adder 820 adds all these blocks to generate an addition block 802. B ij (t) : t-th block (0 ≦ i <N, 0 ≦ j <
When N, 0 ≦ t <T), the addition block A ij (0 ≦ i <N, 0 ≦ j <N)
Is

【数8】 (Equation 8)

【0253】によって得られる。 ステップ830) ブロック生成部800は、この加算
ブロック802を画素ブロック803として離散フーリ
エ変換部234に出力する。次に、本実施例における電
子透かし検出部240のブロック生成部241について
図25を用いて説明する。
Is obtained. Step 830) The block generator 800 outputs the addition block 802 as a pixel block 803 to the discrete Fourier transformer 234. Next, the block generation unit 241 of the digital watermark detection unit 240 in this embodiment will be described with reference to FIG.

【0254】本実施例における電子透かし検出部240
のブロック生成部241は、検出対象画像201とオフ
セット情報231を入力とし、位置マーカ検出部230
のブロック生成部233と同様に、(オフセット情報を
オフセット候補情報として入力して)、検出対象画像を
オフセット情報(a,b)だけずれた位置からT個のN
×Nのブロックに分割する。次に、ブロック生成部24
1内において、これらすべてのブロックを加算して、加
算ブロックを生成する。この加算ブロックを画素ブロッ
ク246として離散フーリエ変換部242に出力する。
The digital watermark detection section 240 in this embodiment
The block generation unit 241 receives the detection target image 201 and the offset information 231 as inputs, and outputs the position marker detection unit 230
(The offset information is input as the offset candidate information), the detection target image is shifted from the position shifted by the offset information (a, b) to T N
Divide into × N blocks. Next, the block generation unit 24
Within 1, all these blocks are added to generate an added block. This addition block is output to the discrete Fourier transform unit 242 as a pixel block 246.

【0255】本実施例における電子透かし検出処理で
は、検出対象画像(2N×2Nサイズ以上)をN×Nサ
イズのブロックに分割し、全てのブロックを加算したブ
ロックから位置マーカの検出及び電子透かしの検出を行
う。T個のブロックの加算によって、N×Nサイズの繰
り返しパターンである透かしパターンは、T倍強調され
るが、原画像のパターンはブロック間の相関が低いの
で、加算によって徐々にキャンセルされている。即ち、
加算ブロックからの検出によって原画像の影響は少なく
なり、同時に透かしパターンは強調されていくので、前
述の第2の実施例より精度の高い検出が可能となる。
In the digital watermark detection processing in this embodiment, the detection target image (2N × 2N size or more) is divided into N × N size blocks, and the position marker detection and the digital watermark Perform detection. The watermark pattern, which is a repetitive pattern of N × N size, is emphasized T times by the addition of the T blocks, but since the pattern of the original image has low correlation between the blocks, the addition is gradually canceled by the addition. That is,
The influence of the original image is reduced by the detection from the addition block, and at the same time, the watermark pattern is emphasized, so that the detection with higher accuracy than in the second embodiment can be performed.

【0256】また、検出に伴う処理量は、第2の実施例
に比べて加算ブロックを生成する分だけ増加するが、こ
の処理量は検出処理の他の部分の処理量と比較すれば、
無視できるほど小さく、また、第5の実施例のように1
つずつのブロックから検出する場合と比較するとブロッ
ク数倍だけ高速な処理が可能である。 [第9の実施例]次に、本発明の第9の実施例として、
検出対象画像をブロックに分割し、分割されたブロック
の画素値を加算して得られたブロックを加算ブロックと
し、当該加算ブロックをオフセット情報によりサイクリ
ックシフトし、画素ブロックを生成する処理を行う、位
置マーカ検出部と電子透かし検出部について説明する。
なお、以下に述べる部分以外については前述の第3の実
施例と同様である。
Although the processing amount involved in the detection is increased by the amount of the addition block as compared with the second embodiment, this processing amount can be compared with the processing amounts of other parts of the detection processing.
It is so small that it can be neglected, and 1 as in the fifth embodiment.
Compared to the case of detecting from one block at a time, processing can be performed at a speed faster by the number of blocks. [Ninth Embodiment] Next, as a ninth embodiment of the present invention,
The detection target image is divided into blocks, a block obtained by adding the pixel values of the divided blocks is set as an addition block, and the addition block is cyclically shifted by offset information to perform a process of generating a pixel block. The position marker detection unit and the digital watermark detection unit will be described.
The parts other than those described below are the same as those in the third embodiment.

【0257】図67は、本発明の第9の実施例の位置マ
ーカ検出部のブロック生成部の構成を示す。同図に示す
ブロック生成部900は、ブロック分割部910、ブロ
ック加算部920、サイクリックシフト部930から構
成される。図68は、本発明の第9の実施例の位置マー
カ検出部のブロック生成部の動作を示すフローチャート
である。
FIG. 67 shows the configuration of the block generator of the position marker detector according to the ninth embodiment of the present invention. The block generation unit 900 shown in FIG. 9 includes a block division unit 910, a block addition unit 920, and a cyclic shift unit 930. FIG. 68 is a flowchart showing the operation of the block generator of the position marker detector according to the ninth embodiment of the present invention.

【0258】ステップ910) ブロック生成部900
は、検出対象画像201とオフセット候補情報204を
入力とし、ブロック分割部910において、図69に示
すように、検出対象画像201の左上からN×N画素の
ブロックにT個に分割する。 ステップ920) 次に、ブロック加算部920は、こ
れらすべてのブロックを加算して加算ブロック902を
生成する。式で表すと、 Bij (t) :t番目のブロック(0≦i<N,0≦j<
N,0≦t<T) のとき、加算ブロックAij(0≦i<N,0≦j<N)
902は、
Step 910) Block generator 900
Receives the detection target image 201 and the offset candidate information 204, and the block division unit 910 divides the detection target image 201 into T blocks of N × N pixels from the upper left as shown in FIG. Step 920) Next, the block adder 920 adds all these blocks to generate an addition block 902. B ij (t) : t-th block (0 ≦ i <N, 0 ≦ j <
When N, 0 ≦ t <T), the addition block A ij (0 ≦ i <N, 0 ≦ j <N)
902 is

【数9】 (Equation 9)

【0259】によって得られる。次に、本実施例におけ
る位置マーカ検出部230(図20)のブロック生成部
900のサイクリックシフト部930の動作について説
明する。図70は、本発明の第9の実施例のサイクリッ
クシフト部の動作を説明するための図である。
Is obtained. Next, the operation of the cyclic shift unit 930 of the block generation unit 900 of the position marker detection unit 230 (FIG. 20) in this embodiment will be described. FIG. 70 is a diagram for explaining the operation of the cyclic shift unit according to the ninth embodiment of the present invention.

【0260】同図に示すように、サイクリックシフト部
930において、オフセット候補情報204を元に加算
ブロック902をサイクリックシフトして画素ブロック
246を生成し、これを離散フーリエ変換部234に出
力する。式で表すと、 Aij :加算ブロック(0≦i<N,0≦j<N) をオフセット候補情報(a,b)204によって、サイ
クリックシフトして得られる画素ブロック246は、 Cij=A(i+a)%N,(j+b)%N (0≦i<N,0≦j<N) によって得られる。
As shown in the figure, in the cyclic shift section 930, the addition block 902 is cyclically shifted based on the offset candidate information 204 to generate a pixel block 246, which is output to the discrete Fourier transform section 234. . In the expression, A ij : the pixel block 246 obtained by cyclically shifting the addition block (0 ≦ i <N, 0 ≦ j <N) by the offset candidate information (a, b) 204 is represented by C ij = A (i + a)% N, (j + b)% N (0 ≦ i <N, 0 ≦ j <N).

【0261】次に、本実施例における電子透かし検出部
240のブロック生成部について、図25に基づいて説
明する。本実施例における電子透かし検出部240のブ
ロック生成部241は、検出対象画像201とオフセッ
ト情報231を入力とし、位置マーカ検出部230中の
ブロック生成部900と同様に(オフセット情報をオフ
セット候補情報として入力して)、検出対象画像201
を左上からT個のN×N画素のブロックに分割する。
Next, the block generation unit of the digital watermark detection unit 240 in this embodiment will be described with reference to FIG. The block generation unit 241 of the digital watermark detection unit 240 in this embodiment receives the detection target image 201 and the offset information 231 as input, and performs the same operation as the block generation unit 900 in the position marker detection unit 230 (using offset information as offset candidate information). Input), the detection target image 201
Is divided into T blocks of N × N pixels from the upper left.

【0262】次に、ブロック生成部241内のブロック
加算部において、これらすべてのブロックを加算して、
加算ブロックを生成する。そして、ブロック生成部24
1内のサイクリックシフト部において、オフセット情報
を元に、加算ブロックをサイクリックシフトして画素ブ
ロック246を生成し、離散フーリエ変換部234に出
力する。
Next, in a block adder in the block generator 241, all these blocks are added.
Generate an addition block. Then, the block generation unit 24
In the cyclic shift unit 1, the addition block is cyclically shifted based on the offset information to generate a pixel block 246, and outputs the pixel block 246 to the discrete Fourier transform unit 234.

【0263】本実施例による電子透かし検出処理では、
検出対象画像の必要最低サイズがN×Nとなり、前述の
第8の実施例よりも小さな検出対象画像からの検出が可
能である。さらに、第8の実施例と比較して分割ブロッ
ク数Tが大きくなるので、検出において、原画像の影響
はより少なくなり、透かしパターンはより強調されてい
くので、第8の実施例より精度の高い検出が可能とな
る。
In the digital watermark detection processing according to this embodiment,
The required minimum size of the detection target image is N × N, and detection from the detection target image smaller than in the eighth embodiment described above is possible. Further, since the number of divided blocks T is larger than that in the eighth embodiment, the influence of the original image is smaller in the detection, and the watermark pattern is further emphasized. High detection is possible.

【0264】また、ブロックの加算によって、検出にお
いて、原画像の影響は少なくなり、透かしパターンは強
調されていくので、第3の実施例より精度の高い検出が
可能である。また、電子透かし検出に伴う処理量は、第
3の実施例に比べて加算ブロックを生成する分だけ増加
するが、この処理量は検出処理の他の部分の処理量と比
較すれば無視できるほど小さく、また、第6の実施例の
ように1つずつのブロックから検出する場合と比較する
と、ブロック数倍だけ高速に処理が可能である。
In addition, the influence of the original image on detection is reduced by the addition of blocks, and the watermark pattern is emphasized. Therefore, detection with higher accuracy than in the third embodiment is possible. Further, the processing amount associated with the digital watermark detection increases by the amount of generating the addition block as compared with the third embodiment, but this processing amount is negligible when compared with the processing amounts of other parts of the detection processing. Compared with the case where detection is performed from one block at a time as in the sixth embodiment, processing can be performed at high speed by the number of blocks.

【0265】[第10の実施例]次に、本発明の第10
の実施例として、位置マーカ検出部230について説明
する。以下に説明されている部分以外は前述の第4の実
施例と同様である。本実施例では、位置マーカ検出部2
30において、検出対象画像をブロックに分割し、この
とき、検出対象画像の端の辺りで1ブロックに満たない
画素領域について、分割時の検出対象画像相当分の平均
値を求め、足りない部分は検出対象画像相当分の画素値
の平均を求め、平均値で埋めてブロックとする点におい
て、前述の第9の実施例と異なる。
[Tenth Embodiment] Next, a tenth embodiment of the present invention will be described.
As an example, the position marker detection unit 230 will be described. The parts other than those described below are the same as those in the fourth embodiment. In the present embodiment, the position marker detection unit 2
In step 30, the detection target image is divided into blocks. At this time, an average value corresponding to the detection target image at the time of division is obtained for a pixel area less than one block around the edge of the detection target image. This is different from the ninth embodiment in that the average of the pixel values corresponding to the image to be detected is obtained and the average value is filled in to form a block.

【0266】まず、本実施例における位置マーカ検出部
230のブロック生成部について説明する。図71は、
本発明の第10の実施例の位置マーカ検出部のブロック
生成部の構成を示す。同図に示すブロック生成部100
0は、ブロック分割部1010、ブロック加算部102
0、サイクリックシフト部1030から構成される。
First, the block generation unit of the position marker detection unit 230 in this embodiment will be described. FIG.
17 shows a configuration of a block generation unit of a position marker detection unit according to a tenth embodiment of the present invention. Block generator 100 shown in FIG.
0 indicates the block dividing unit 1010 and the block adding unit 102
0, a cyclic shift unit 1030.

【0267】図72は、本発明の第10の実施例の位置
マーカ検出部のブロック生成部の動作を示すフローチャ
ートである。 ステップ1010) ブロック生成部1000は、検出
対象画像201とオフセット候補情報204を入力と
し、ブロック分割部1010において、図73に示すよ
うに、検出対象画像201の左上からN×N画素のブロ
ックにT個に分割する。この際、検出対象画像201の
端の辺りで1ブロックに満たない画素領域については、
図74に示すように、N×Nで切り出そうとした時に含
まれる検出対象画像相当分(図74A)の平均値を求
め、足りない部分は、検出対象画像201相当分の画素
値の平均値を求めてこれで埋める。
FIG. 72 is a flowchart showing the operation of the block generator of the position marker detector according to the tenth embodiment of the present invention. Step 1010) The block generation unit 1000 receives the detection target image 201 and the offset candidate information 204 as inputs, and the block division unit 1010 converts the detection target image 201 into blocks of N × N pixels from the upper left as shown in FIG. Divide into pieces. At this time, for a pixel area less than one block around the edge of the detection target image 201,
As shown in FIG. 74, the average value of the detection target image equivalent (FIG. 74A) included when trying to cut out by N × N is obtained, and the missing portion is the average of the pixel values equivalent to the detection target image 201. Find the value and fill it with this.

【0268】ステップ1020) 次に、ブロック加算
部1020において、これらすべてのブロックを加算し
て加算ブロック1012を生成する。式で表すと、 Bij (t) :t番目のブロック(0≦i<N,0≦j<
N,0≦t<T) のとき、加算ブロックAij(0≦i<N,0≦j<N)
1012は、
Step 1020) Next, the block adder 1020 adds all these blocks to generate an addition block 1012. B ij (t) : t-th block (0 ≦ i <N, 0 ≦ j <
When N, 0 ≦ t <T), the addition block A ij (0 ≦ i <N, 0 ≦ j <N)
1012 is

【数10】 (Equation 10)

【0269】によって得られる。次に、本実施例におけ
る位置マーカ検出部230のブロック生成部のサイクリ
ックシフト部の動作について説明する。図75は、本発
明の第10の実施例のサイクリックシフト部の動作を説
明するための図である。
Is obtained. Next, the operation of the cyclic shift unit of the block generation unit of the position marker detection unit 230 in this embodiment will be described. FIG. 75 is a diagram for explaining the operation of the cyclic shift unit according to the tenth embodiment of the present invention.

【0270】サイクリックシフト部1030において、
オフセット候補情報204を元に加算ブロック1012
をサイクリックシフトして画素ブロックを生成し、これ
を離散フーリエ変換部234に出力する。式で表すと、 Aij:加算ブロック(0≦i<N,0≦j<N) をオフセット候補情報(a,b)204によってサイク
リックシフトして得られる画素ブロックは、 Cij=A(i+a)%N,(j+b)%N (0≦i<N,0≦j<N) によって得られる。
In cyclic shift section 1030,
Addition block 1012 based on offset candidate information 204
Is cyclically shifted to generate a pixel block, and this is output to the discrete Fourier transform unit 234. Aij : A ij : a pixel block obtained by cyclically shifting the addition block (0 ≦ i <N, 0 ≦ j <N) by the offset candidate information (a, b) 204 is C ij = A ( i + a)% N, (j + b)% N (0 ≦ i <N, 0 ≦ j <N).

【0271】次に、本発明の第10の実施例における電
子透かし検出部のブロック生成部(図示せず)を説明す
る。本実施例における電子透かし検出部のブロック生成
部は、検出対象画像とオフセット情報を入力とし、位置
マーカ検出部のブロック生成部と同様に(オフセット情
報をオフセット候補情報として入力して)、検出対象画
像を左上からT個のN×N画素のブロックに分割する。
Next, a block generation unit (not shown) of the digital watermark detection unit according to the tenth embodiment of the present invention will be described. In the present embodiment, the block generation unit of the digital watermark detection unit receives the image to be detected and the offset information as input, and, like the block generation unit of the position marker detection unit (inputs the offset information as offset candidate information), The image is divided into T N × N pixel blocks from the upper left.

【0272】次に、ブロック加算部においてこれら全て
のブロックを加算して、加算ブロックを生成する。そし
て、サイクリックシフト部において、オフセット情報を
元に、加算ブロックをサイクリックシフトして画素ブロ
ックを生成し、離散フーリエ変換部に出力する。本実施
例による電子透かし検出処理では、検出対象画像の必要
最低サイズが任意サイズとなり、第9の実施例よりも小
さな検出対象画像から検出が可能である。
Next, all these blocks are added in a block adding section to generate an added block. Then, the cyclic shift unit cyclically shifts the addition block based on the offset information to generate a pixel block, and outputs the pixel block to the discrete Fourier transform unit. In the digital watermark detection processing according to the present embodiment, the required minimum size of the detection target image is an arbitrary size, and detection can be performed from a detection target image smaller than that in the ninth embodiment.

【0273】さらに、第9の実施例と比較して分割ブロ
ック数Tが大きくなるので、検出において原画像の影響
はより少なくなり、透かしパターンはより強調されてい
くので、第9の実施例より精度の高い検出が可能とな
る。また、ブロックの加算によって、検出において原画
像の影響は少なくなり、透かしパターンは強調されてい
くので、第4の実施例より精度の高い検出が可能とな
る。
Furthermore, since the number of divided blocks T is larger than in the ninth embodiment, the influence of the original image on detection is smaller and the watermark pattern is more emphasized. Highly accurate detection becomes possible. In addition, the influence of the original image on the detection is reduced by the addition of the blocks, and the watermark pattern is emphasized, so that the detection can be performed with higher accuracy than the fourth embodiment.

【0274】また、電子透かし検出に伴う処理量は、第
4の実施例に比べて加算ブロックを生成する分だけ増加
するが、この処理量は検出処理の他の部分の処理量と比
較すれば無視できるほど小さく、また、第7の実施例の
ように1つずつのブロックから検出する場合と比較する
と、ブロック数倍だけ高速に処理が可能である。 [第11の実施例]次に、本発明の第11の実施例とし
て、電子透かし検出装置について説明する。
Although the processing amount involved in the digital watermark detection is increased by the amount of generating the addition block as compared with the fourth embodiment, this processing amount can be compared with the processing amounts of other parts of the detection processing. It is so small that it can be ignored, and can be processed as fast as the number of blocks compared to the case of detecting from one block at a time as in the seventh embodiment. [Eleventh Embodiment] Next, an electronic watermark detection apparatus will be described as an eleventh embodiment of the present invention.

【0275】本実施例の電子透かし検出装置は、前述の
第1の実施例の方法により、電子透かしが埋め込まれた
埋め込み済画像に一部切取り、非可逆圧縮等の処理が施
された画像から、埋め込まれた電子透かしを検出するた
めの装置である。図76は、本発明の第11の実施例の
電子透かし検出装置の構成を示す。同図に示す電子透か
し検出装置1100は、位置マーカ検出部1110、位
置マーカ系列生成部1120、検出対象成分指定部11
30、電子透かし検出部1140から構成される。
The digital watermark detecting apparatus according to the present embodiment uses the method of the first embodiment to cut out a part of an embedded image in which a digital watermark is embedded and perform processing such as irreversible compression. Is a device for detecting an embedded digital watermark. FIG. 76 shows the configuration of the digital watermark detection apparatus according to the eleventh embodiment of the present invention. The digital watermark detection device 1100 shown in the figure includes a position marker detection unit 1110, a position marker sequence generation unit 1120, a detection target component specification unit 11
30 and a digital watermark detection unit 1140.

【0276】図77は、本発明の第11の実施例の電子
透かし検出装置の動作を示すフローチャートである。 ステップ1110) 電子透かし検出装置1100は、
検出対象画像201と埋め込み時に用いた鍵情報202
が入力される。まず、電子透かし検出装置1100の検
出対象成分指定部1130において、鍵情報202から
前述の第1の実施例における埋め込み対象成分指定部1
30と同様の方法によって、検出対象成分位置情報11
03を生成し、これを位置マーカ検出部1110と電子
透かし検出部1140に送る。
FIG. 77 is a flow chart showing the operation of the digital watermark detecting apparatus according to the eleventh embodiment of the present invention. Step 1110) The digital watermark detection device 1100
Detection target image 201 and key information 202 used at the time of embedding
Is entered. First, in the detection target component specification unit 1130 of the digital watermark detection device 1100, the embedding target component specification unit 1 in the first embodiment described above is obtained from the key information 202.
30, the detection target component position information 11
03 is sent to the position marker detection unit 1110 and the digital watermark detection unit 1140.

【0277】ステップ1120) 位置マーカ系列生成
部1120は、鍵情報202から位置マーカ系列110
2を生成し、これを位置マーカ検出部1110に送る。 ステップ1130) 位置マーカ検出部1110は、検
出対象画像201の左上からN×N(Nは、第1の実施
例における透かしパターンのサイズ)サイズの画素ブロ
ックを切り出し、切り出した画素ブロックの開始点から
埋め込み時の透かしパターンの開始点がどれだけずれて
いるかを表すオフセット情報1101を出力し、電子透
かし検出部1140に送る。
Step 1120) The position marker sequence generation unit 1120 determines the position marker sequence 110 from the key information 202.
2 is generated and sent to the position marker detection unit 1110. Step 1130) The position marker detection unit 1110 cuts out a pixel block of N × N (N is the size of the watermark pattern in the first embodiment) size from the upper left of the detection target image 201, and starts from the start point of the cut out pixel block. The offset information 1101 indicating how much the starting point of the watermark pattern at the time of embedding is shifted is output and sent to the digital watermark detection unit 1140.

【0278】ステップ1140) 電子透かし検出部1
140は、検出対象画像201と鍵情報202と検出対
象成分位置情報1103とオフセット情報1101を入
力とし、検出対象画像201の左上からN×Nサイズの
画素ブロックを切り出し、オフセット情報1101と鍵
情報202と検出対象成分位置情報1103を用いて、
この画素ブロックに埋め込まれている電子透かしを検出
し、これを検出結果203として出力する。
Step 1140) Digital watermark detection unit 1
Reference numeral 140 denotes an input of a detection target image 201, key information 202, detection target component position information 1103, and offset information 1101, and cuts out an N × N size pixel block from the upper left of the detection target image 201; And the detection target component position information 1103,
The digital watermark embedded in the pixel block is detected, and this is output as a detection result 203.

【0279】次に、本実施例における検出対象成分指定
部1130について説明する。図78は、本発明の第1
1の実施例の検出対象成分指定部の構成を示し、図79
は、本発明の第11の実施例の検出対象成分指定部の動
作を示すフローチャートである。 ステップ1111) 検出対象成分指定部1130は、
鍵情報202を入力とし、乱数生成器1131を用いて
鍵情報202を初期値とする乱数列を生成する。
Next, the detection target component specifying section 1130 in this embodiment will be described. FIG. 78 shows the first embodiment of the present invention.
FIG. 79 shows the configuration of a detection target component designation unit according to the first embodiment, and FIG.
23 is a flowchart showing the operation of the detection target component specifying unit according to the eleventh embodiment of the present invention. Step 1111) The detection target component designation unit 1130
The key information 202 is input, and a random number sequence is generated using the random number generator 1131 with the key information 202 as an initial value.

【0280】ステップ1112) さらに、検出対象成
分指定部1130は、生成した乱数列を元に、第1の実
施例で用いた埋め込み系列の長さnと同じ長さの系列で
ある検出対象成分位置情報1103を生成する。検出対
象成分位置情報1103は、以下のような構成になって
いる。 Lk =(xk ,yk ,zk )(0≦k<n) xk :検出対象係数x方向次数 yk :検出対象係数y方向次数 zk :検出対象係数の虚実を表すフラグ(実数成分か虚
数成分か) 検出対象成分指定部1130は、第1の実施例における
埋め込み対象成分指定部と全く同様の動作を行う。即
ち、同じ鍵情報を入力として、第1の実施例の埋め込み
対象成分指定部130で生成される埋め込み対象成分位
置情報131と、本実施例の検出対象成分指定部113
0で生成される検出対象成分位置情報1103は全く同
じものである。生成された検出対象成分位置情報110
3は位置マーカ検出部1110に送られる。
(Step 1112) Further, based on the generated random number sequence, the detection target component specifying unit 1130 detects the detection target component position which is a sequence having the same length as the length n of the embedding sequence used in the first embodiment. The information 1103 is generated. The detection target component position information 1103 has the following configuration. L k = (x k , y k , z k ) (0 ≦ k <n) x k : coefficient to be detected in the x direction y k : coefficient to be detected in the y direction z k : flag representing the imaginary value of the coefficient to be detected ( Real component or imaginary component) The detection target component specification unit 1130 performs exactly the same operation as the embedding target component specification unit in the first embodiment. That is, using the same key information as input, the embedding target component position information 131 generated by the embedding target component specifying unit 130 of the first embodiment and the detection target component specifying unit 113 of the present embodiment
The detection target component position information 1103 generated at 0 is exactly the same. Generated detection target component position information 110
3 is sent to the position marker detection unit 1110.

【0281】次に、本実施例における位置マーカ系列生
成部1120について説明する。図80は、本発明の第
11の実施例の位置マーカ系列生成部の構成を示し、図
81は、本発明の第11の実施例の位置マーカ系列生成
部の動作を示すフローチャートである。 ステップ1121) 位置マーカ系列生成部1120
は、鍵情報202を入力として、拡散系列生成器112
1によって、鍵情報202を初期値とする0番目の長さ
nの拡散系列{ri (0) }(0≦i<n)を生成し、こ
の拡散系列をそのまま位置マーカ系列{pi }(0≦i
<n)1102とする(pi :=ri (0)(0≦i<
n))。これを位置マーカ系列生成部1120の拡散系
列生成器1121は、第1の実施例における埋め込み系
列生成部120の拡散系列生成器122と同様の動作を
するものを用いる。
Next, the position marker sequence generation unit 1120 in this embodiment will be described. FIG. 80 shows the configuration of the position marker sequence generator of the eleventh embodiment of the present invention, and FIG. 81 is a flowchart showing the operation of the position marker sequence generator of the eleventh embodiment of the present invention. Step 1121) Position marker sequence generation unit 1120
Receives the key information 202 as an input, and
1, a spreading sequence {r i (0) } (0 ≦ i <n) having a zeroth length n with the key information 202 as an initial value is generated, and this spreading sequence is directly used as a position marker sequence {p i } (0 ≦ i
<N) 1102 to (p i: = r i ( 0) (0 ≦ i <
n)). As the spreading sequence generator 1121 of the position marker sequence generating unit 1120, one that performs the same operation as the spreading sequence generator 122 of the embedded sequence generating unit 120 in the first embodiment is used.

【0282】次に、本実施例の位置マーカ検出部111
0について説明する。図82は、本発明の第11の実施
例の位置マーカ検出部の構成を示す。同図に示す位置マ
ーカ検出部1110は、ブロック生成部1111、離散
フーリエ変換部1113、検出対象系列生成部111
5、オフセット候補情報生成部1117、位置マーカ検
出情報生成部1118、オフセット情報生成部1119
から構成される。
Next, the position marker detection unit 111 of this embodiment
0 will be described. FIG. 82 shows the configuration of the position marker detection unit according to the eleventh embodiment of the present invention. A position marker detection unit 1110 shown in FIG. 11 includes a block generation unit 1111, a discrete Fourier transform unit 1113, and a detection target sequence generation unit 111.
5, offset candidate information generating section 1117, position marker detection information generating section 1118, offset information generating section 1119
Consists of

【0283】図83は、本発明の第11の実施例の位置
マーカ検出部の動作を示すフローチャートである。 ステップ1131) 位置マーカ検出部1110は、検
出対象画像201と検出対象成分位置情報1103と位
置マーカ系列1102を入力として、まず、ブロック生
成部1111において、検出対象画像201の左上から
N×Nサイズの画素ブロック1104を切り出す。
FIG. 83 is a flow chart showing the operation of the position marker detecting section according to the eleventh embodiment of the present invention. Step 1131) The position marker detection unit 1110 receives the detection target image 201, the detection target component position information 1103, and the position marker sequence 1102 as input, and first, the block generation unit 1111 performs N × N size detection from the upper left of the detection target image 201. The pixel block 1104 is cut out.

【0284】ステップ1132) 次に、離散フーリエ
変換部1113は、画素ブロック1104を離散フーリ
エ変換して検出対象係数行列1105を得る。 ステップ1133) 次に、オフセット候補情報生成部
1117は、オフセット候補情報(a,b)を(0,
0)から(N−1,N−1)まで順次生成する。 ステップ1134) 以下、検出対象系列生成部111
5から位置マーカ検出情報生成部1118までの処理
は、各々のオフセット候補情報1106毎に行われる。
検出対象系列生成部1115は、検出対象成分位置情報
1103と検出対象係数行列1105とオフセット候補
情報1106を入力とし、以下のようにして検出対象系
列1107を生成する。図84は、本発明の第11の実
施例の位置マーカ検出部の検出対象系列生成部の動作を
示すフローチャートである。
Step 1132) Next, the discrete Fourier transform unit 1113 performs a discrete Fourier transform on the pixel block 1104 to obtain a detection target coefficient matrix 1105. Step 1133) Next, the offset candidate information generation unit 1117 converts the offset candidate information (a, b) to (0,
0) to (N-1, N-1). Step 1134) Hereinafter, the detection target sequence generation unit 111
5 to the position marker detection information generation unit 1118 are performed for each offset candidate information 1106.
The detection target sequence generation unit 1115 receives the detection target component position information 1103, the detection target coefficient matrix 1105, and the offset candidate information 1106, and generates a detection target sequence 1107 as follows. FIG. 84 is a flowchart illustrating the operation of the detection target sequence generation unit of the position marker detection unit according to the eleventh embodiment of the present invention.

【0285】ステップ1134−1) 検出対象系列生
成部1115は、検出対象係数行列1105をF(u,
v)(0≦u<N,0≦v<N)、検出対象成分位置情
報1103をLk =(xk ,yk ,zk )(0≦k<
n)、オフセット候補情報1106を(a,b)とし、
検出対象系列1107を{qk }(0≦k<n)と表す
と、zk が実数成分を表す値の時には、ステップ113
4−2に移行し、zk が虚数成分を表す値の時には、ス
テップ1134−3に移行する。 ステップ1134−2)
Step 1134-1) The detection target sequence generation unit 1115 converts the detection target coefficient matrix 1105 to F (u,
v) (0 ≦ u <N, 0 ≦ v <N), and the detection target component position information 1103 is represented by L k = (x k , y k , z k ) (0 ≦ k <
n), the offset candidate information 1106 is (a, b),
When the detection target sequence 1107 is represented by {q k } (0 ≦ k <n), when z k is a value representing a real component, step 113 is executed.
The process proceeds to 4-2, and when z k is a value representing an imaginary component, the process proceeds to step 1134-3. Step 1134-2)

【数11】 [Equation 11]

【0286】の処理をk=0…n−1について行う。 ステップ1134−3)The processing described above is performed for k = 0... N-1. Step 1134-3)

【数12】 (Equation 12)

【0287】の処理をk=0…n−1について行う。 ステップ1134−4) 検出対象系列{qk }110
7を出力する。 ステップ1135) 次に、位置マーカ検出情報生成部
1118は、以下の式により位置マーカ系列1102と
検出対象系列1107の相関値を求め、これをオフセッ
ト候補情報1106と組にして位置マーカ検出情報co
rrab1108として出力する。
The above processing is performed for k = 0... N-1. Step 1134-4) detection object sequence {q k} 110
7 is output. Step 1135) Next, the position marker detection information generation unit 1118 obtains a correlation value between the position marker sequence 1102 and the detection target sequence 1107 by the following equation, and combines this with the offset candidate information 1106 to form the position marker detection information co.
Output as rr ab 1108.

【数13】 (Equation 13)

【0288】上記検出対象系列生成部1115から位置
マーカ検出情報生成部1118までの処理を、オフセッ
ト候補情報(a,b)が(0,0)〜(N−1,N−
1)まで巡回する間順次繰り返し、全ての位置マーカ検
出情報1108をオフセット情報生成部1119に送
る。 ステップ1136) オフセット情報生成部1119
は、入力された全ての位置マーカ検出情報1108のう
ち、位置マーカ系列1102と検出対象系列1107の
相関値が最大のときのオフセット候補情報(a,b)1
106をオフセット情報1101として出力し、電子透
かし検出部1140に送る。
The processing from the detection target sequence generation unit 1115 to the position marker detection information generation unit 1118 is performed when the offset candidate information (a, b) is (0, 0) to (N−1, N−
The position marker detection information 1108 is sequentially sent to the offset information generation unit 1119 while repeating the above-described steps 1). Step 1136) Offset information generating section 1119
Is the offset candidate information (a, b) 1 when the correlation value between the position marker sequence 1102 and the detection target sequence 1107 is the maximum among all the input position marker detection information 1108.
106 is output as offset information 1101 and sent to the digital watermark detection unit 1140.

【0289】位置マーカ検出部1110から出力される
オフセット情報1101は、検出対象画像201の左上
から埋め込み時の透かしパターンの開始点がどれだけず
れた位置にあるかを表している。次に、本実施例におけ
る電子透かし検出部1140について説明する。図85
は、本発明の第11の実施例の電子透かし検出部の構成
を示す。同図に示す電子透かし検出部1140は、ブロ
ック生成部1141、離散フーリエ変換部1143、検
出対象系列生成部1145、シンボル検出部1147、
検出結果生成部1149から構成される。
The offset information 1101 output from the position marker detection unit 1110 indicates how far the starting point of the watermark pattern at the time of embedding from the upper left of the detection target image 201 is shifted. Next, the digital watermark detection unit 1140 in this embodiment will be described. FIG. 85
Shows the configuration of an electronic watermark detection unit according to the eleventh embodiment of the present invention. The digital watermark detection unit 1140 shown in the figure includes a block generation unit 1141, a discrete Fourier transform unit 1143, a detection target sequence generation unit 1145, a symbol detection unit 1147,
It comprises a detection result generator 1149.

【0290】図86は、本発明の第11の実施例の電子
透かし検出部の動作を示すフローチャートである。 ステップ1141) 電子透かし検出部1140は、検
出対象画像201と検出対象成分位置情報1103とオ
フセット情報1101と鍵情報202を入力として、ま
ず、ブロック生成部1141において、検出対象画像2
01の左上からN×Nサイズの画素ブロック1142を
切り出し、これを離散フーリエ変換部1143に送る。
FIG. 86 is a flow chart showing the operation of the digital watermark detecting section according to the eleventh embodiment of the present invention. Step 1141) The digital watermark detection unit 1140 receives the detection target image 201, the detection target component position information 1103, the offset information 1101, and the key information 202, and first, the block generation unit 1141 causes the detection target image 2
An N × N pixel block 1142 is cut out from the upper left of 01, and sent to the discrete Fourier transform unit 1143.

【0291】ステップ1142) 離散フーリエ変換部
1143は、画素ブロック1142を離散フーリエ変換
して検出対象係数行列1144を生成し、これを検出対
象系列生成部1145に送る。 ステップ1143) 検出対象系列生成部1145は、
位置マーカ検出部1110の検出対象系列生成部111
5と同様の処理(オフセット情報1101をオフセット
候補情報として)によって検出対象系列1146を得
て、シンボル検出部1147に送る。
Step 1142) The discrete Fourier transform unit 1143 performs a discrete Fourier transform on the pixel block 1142 to generate a detection target coefficient matrix 1144, and sends this to the detection target sequence generation unit 1145. Step 1143) The detection target sequence generation unit 1145
Detection target sequence generation unit 111 of position marker detection unit 1110
A detection target sequence 1146 is obtained by the same processing as in step 5 (using offset information 1101 as offset candidate information), and sent to symbol detection section 1147.

【0292】ステップ1144) シンボル検出部11
47は、鍵情報202と各シンボル候補情報とから生成
される系列と検出対象系列1146との相関値を求めて
シンボル検出情報1148を生成する。 ステップ1145) すべてのシンボル検出情報114
8を得た後、検出結果生成部1149は、シンボル検出
情報1148の各シンボル位置について、相関値が最大
の時のシンボル候補値を検出シンボルとする。
Step 1144) Symbol detector 11
47 generates symbol detection information 1148 by obtaining a correlation value between a sequence generated from the key information 202 and each symbol candidate information and the detection target sequence 1146. Step 1145) All symbol detection information 114
After obtaining the symbol No. 8, the detection result generation unit 1149 sets, for each symbol position of the symbol detection information 1148, the symbol candidate value at the time when the correlation value is the maximum as the detected symbol.

【0293】ステップ1146) すべてのシンボル位
置から検出シンボルを決定した後、検出シンボルを電子
透かしの形式に逆変換した結果を検出結果203として
出力する。 次に、本実施例におけるシンボル検出部1147につい
て説明する。図87は、本発明の第11の実施例のシン
ボル検出部の構成を示す。同図に示すシンボル検出部1
147は、シンボル候補生成部11471、シンボル系
列生成部11473、シンボル検出情報生成部1147
5から構成される。シンボル検出部1147は、鍵情報
202と検出対象系列1146を入力とし、予め設定さ
れている検出するシンボル数J個の各シンボル位置毎
に、M個のシンボル候補についてのシンボル検出情報1
1476を生成し、検出結果生成部1149に出力す
る。以下、j(1≦j≦J)番目のシンボル検出につい
て説明する。
Step 1146) After the detected symbols are determined from all the symbol positions, the result of inversely converting the detected symbols into the digital watermark format is output as the detection result 203. Next, the symbol detector 1147 in the present embodiment will be described. FIG. 87 shows the configuration of the symbol detector of the eleventh embodiment of the present invention. Symbol detector 1 shown in FIG.
147 denotes a symbol candidate generation unit 11471, a symbol sequence generation unit 11473, and a symbol detection information generation unit 1147.
5 is comprised. The symbol detection unit 1147 receives the key information 202 and the detection target sequence 1146 as inputs, and outputs symbol detection information 1 for M symbol candidates for each of a predetermined number of J symbol positions to be detected.
1476, and outputs the result to the detection result generation unit 1149. Hereinafter, detection of the j-th (1 ≦ j ≦ J) symbol will be described.

【0294】図88は、本発明の第11の実施例のシン
ボル検出部の動作を示すフローチャートである。 ステップ1144−1) シンボル候補生成部1147
1は、シンボル候補cを0からM−1まで順次生成し、
各シンボル候補毎にステップ1144−2〜1144−
3までの処理を行う。Mは、前述の第1の実施例におけ
るシンボル変換によるシンボル値の最大値を表す。
FIG. 88 is a flowchart showing the operation of the symbol detector of the eleventh embodiment of the present invention. Step 1144-1) Symbol Candidate Generation Unit 1147
1 sequentially generates symbol candidates c from 0 to M−1,
Steps 1144-2 to 1144 for each symbol candidate
The processing up to 3 is performed. M represents the maximum value of the symbol value by the symbol conversion in the first embodiment.

【0295】ステップ1144−2) シンボル系列生
成部11473について説明する。図89は、本発明の
第11の実施例のシンボル系列生成部の構成を示し、図
90は、本発明の第11の実施例のシンボル系列生成部
の動作を示すフローチャートである。 ステップ1144−2−1) シンボル系列生成部11
473は、鍵情報202とシンボル候補cを入力とし、
cと鍵情報202を加算した値を初期値として、拡散系
列生成器114731でj番目の長さnの拡散系列{r
i (j) }(0≦i<n)を生成し、これをそのままシン
ボル系列11474{pi (j) }(0≦i<n)として
用いる(pi (j) :=ri (j) (0≦i<n))。シン
ボル系列11474をシンボル検出情報生成部1147
5に送る。
Step 1144-2) The symbol sequence generator 11473 will be described. FIG. 89 shows the configuration of the symbol sequence generator of the eleventh embodiment of the present invention, and FIG. 90 is a flowchart showing the operation of the symbol sequence generator of the eleventh embodiment of the present invention. Step 1144-2-1) Symbol Sequence Generation Unit 11
473 receives the key information 202 and the symbol candidate c as input,
Using the value obtained by adding c and the key information 202 as an initial value, a spreading sequence {r
i (j)} (0 ≦ i <n) to generate, is used as a directly symbol sequence 11474 {p i (j)} (0 ≦ i <n) (p i (j): = r i (j ) (0 ≦ i <n)). The symbol sequence 11474 is converted to a symbol detection information generation unit 1147.
Send to 5.

【0296】ステップ1144−3) シンボル検出情
報生成部11475は、検出対象系列1146とシンボ
ル系列11474とシンボル候補cと現在処理中のシン
ボル位置jを入力として、以下の式により、シンボル系
列11474と検出対象系列1146の相関値を求め、
相関値とシンボル候補とシンボル位置を組としてシンボ
ル検出情報corrc (j) 1148を生成する。
Step 1144-3) The symbol detection information generation section 11475 receives the detection target sequence 1146, the symbol sequence 11474, the symbol candidate c, and the symbol position j currently being processed and detects the symbol sequence 11474 by the following equation. The correlation value of the target series 1146 is obtained,
Generating a symbol detection information corr c (j) 1148 correlation values and symbol candidate and the symbol position as a set.

【数14】 [Equation 14]

【0297】シンボル検出情報1148は、検出結果生
成部1149に送られる。次に、本実施例における検出
結果生成部1149について説明する。図91は、本発
明の第11の実施例の検出結果生成部の構成を示す。同
図に示す検出結果生成部1149は、各シンボル位置毎
系列生成部11491、検出シンボル生成部1149
3、逆シンボル変換部11495から構成される。
[0297] Symbol detection information 1148 is sent to detection result generating section 1149. Next, the detection result generation unit 1149 according to the present embodiment will be described. FIG. 91 shows the configuration of the detection result generation unit according to the eleventh embodiment of the present invention. The detection result generation unit 1149 shown in FIG. 7 includes a sequence generation unit 11491 for each symbol position, a detection symbol generation unit 1149.
3. It is composed of an inverse symbol converter 11495.

【0298】図92は、本発明の第11の実施例の検出
結果生成部の動作を示すフローチャートである。 ステップ1145−1) 検出結果生成部1149は、
シンボル検出情報1148を入力とし、まず、各シンボ
ル位置毎系列生成部11491において、シンボル検出
情報1148をシンボル位置j毎に分割し、長さMの各
シンボル位置毎系列corrc (j) ,(0≦c<M)1
1492をj=1〜Jまでの各々のjについて生成して
検出シンボル生成部11493に送る。
FIG. 92 is a flow chart showing the operation of the detection result generator according to the eleventh embodiment of the present invention. Step 1145-1) The detection result generation unit 1149
Inputs the symbol detection information 1148, first, in each symbol position for each sequence generating unit 11491 divides the symbol detection information 1148 for each symbol position j, lengths each symbol position for each sequence corr c of M (j), (0 ≤c <M) 1
1492 is generated for each of j = 1 to J and sent to the detected symbol generation unit 11493.

【0299】ステップ1145−2) 検出シンボル生
成部11493は、各シンボル位置毎系列11492を
入力とし、各シンボル位置j毎に各シンボル位置毎系列
中で最大の相関値をとる時のシンボル候補cを見つけて
検出シンボルsj (1≦j<J)11494を生成す
る。 ステップ1145−3) 全てのsj を求めた後、逆シ
ンボル変換部11495において、シンボル表現からも
ともとの電子透かしの表現に変換(例えば、第1の実施
例における変換に対応する逆変換は、4つの検出シンボ
ル(各検出シンボルの値は、0〜255)の値を各々A
SCIIコードとみなして4文字の8ビット文字に変換
する処理である)して、検出結果203を生成し、出力
する。
Step 1145-2) The detected symbol generation section 11493 receives the symbol position sequence 11492 as an input, and for each symbol position j, determines a symbol candidate c for obtaining the maximum correlation value in each symbol position sequence. The detected symbol s j (1 ≦ j <J) 11494 is generated. Step 1145-3) After obtaining all s j , the inverse symbol converter 11495 converts the symbol expression to the original digital watermark expression (for example, the inverse conversion corresponding to the conversion in the first embodiment is 4). The value of each of the two detected symbols (the value of each detected symbol is 0 to 255) is represented by A
This is a process of converting the four characters into 8-bit characters assuming the SCII code), and generates and outputs a detection result 203.

【0300】当該検出結果203は、検出対象画像20
1に埋め込まれていた電子透かしを表している。以上
で、第11の実施例における電子透かし検出装置の処理
は終了する。本実施例による電子透かし検出では、検出
対象画像の左上からブロックを切り出し、離散フーリエ
変換を行って検出対象係数行列1105を得た後に、検
出対象成分位置情報1103で指定される成分にオフセ
ットと係数の次数によって定まる位相差を掛け算して、
検出対象系列1107を生成している。これは、フーリ
エ変換の平行移動に関する性質F(u,v)←→f
(x,y)(←→はフーリエ変換/逆変換を表す)のと
き、
The detection result 203 indicates that the detection target image 20
1 represents a digital watermark embedded in the digital watermark. Thus, the processing of the digital watermark detection device in the eleventh embodiment ends. In the digital watermark detection according to the present embodiment, a block is cut out from the upper left of the detection target image, a discrete Fourier transform is performed to obtain a detection target coefficient matrix 1105, and then an offset and a coefficient are added to the component specified by the detection target component position information 1103. Multiply by the phase difference determined by the order of
A detection target sequence 1107 is generated. This is due to the property F (u, v) ← → f of the Fourier transform regarding translation.
(X, y) (← → indicates Fourier transform / inverse transform)

【数15】 (Equation 15)

【0301】を利用している。これにより、検出時に必
要な離散フーリエ変換は一回だけで済み、第2の実施例
〜第10の実施例までの検出処理よりも高速に処理を行
うことが可能である。(N=128のブロックサイズに
おける計算機シミュレーションによる処理時間の比較
は、第2の実施例:第11の実施例=65:1)であっ
た。
Is used. Accordingly, only one discrete Fourier transform is required at the time of detection, and processing can be performed at higher speed than the detection processing of the second to tenth embodiments. (Comparison of the processing time by the computer simulation in the block size of N = 128 is the second embodiment: the eleventh embodiment = 65: 1).

【0302】また、第1の実施例における埋め込み済画
像を任意の位置から切り出した部分画像(サイズは、N
×N以上)である場合についても、検出が可能である。 [第12の実施例]次に、本発明の第12の実施例とし
て、位置マーカ検出部のブロック生成部において、検出
対象画像をブロックに分割した際に、検出対象画像相当
分の平均値を求め、足りない部分は検出対象画像相当分
の画素値の平均値を求め、当該平均値で足りない部分を
埋めてブロックする例について説明する。以下に述べら
れている部分以外は、前述の第11の実施例と同様であ
る。
Also, a partial image (size: N) of the embedded image in the first embodiment cut out from an arbitrary position
× N or more) can be detected. [Twelfth Embodiment] Next, as a twelfth embodiment of the present invention, when the detection target image is divided into blocks in the block generation unit of the position marker detection unit, the average value corresponding to the detection target image is calculated. A description will be given of an example in which an average value of pixel values corresponding to an image corresponding to a detection target image is calculated for a missing portion, and a portion where the insufficient value is filled is blocked. Except for the parts described below, the configuration is the same as that of the above-described eleventh embodiment.

【0303】図93は、本発明の第12の実施例の位置
マーカ検出部のブロック生成部の動作を説明するための
図である。本実施例における位置マーカ検出部1110
のブロック生成部1111は、検出対象画像201を入
力とし、検出対象画像201の左上からN×Nサイズの
ブロックを切り出す。この際、検出対象画像201が小
さくてN×Nサイズに切り出せない場合は、N×Nで切
り出そうとしたときに含まれる検出対象画像相当分(同
図A)のみを切り出し、N×Nサイズに足りない部分
は、検出対象画像相当分の画素値の平均値を求めて、こ
れで埋める。
FIG. 93 is a view for explaining the operation of the block generator of the position marker detector according to the twelfth embodiment of the present invention. Position marker detection unit 1110 in the present embodiment
Receives the detection target image 201 and cuts out a block of N × N size from the upper left of the detection target image 201. At this time, if the detection target image 201 is too small to be cut out to the N × N size, only the detection target image equivalent (A in the figure) included in the N × N cutout is cut out, and the N × N size is cut out. The portion that is insufficient in size is obtained by averaging the pixel values corresponding to the image to be detected and filling it.

【0304】上記の処理で得られたブロックを前述の第
11の実施例と同様に画素ブロックとして出力する。次
に、本実施例における電子透かし検出部のブロック生成
の動作について説明する。本実施例における電子透かし
検出部のブロック生成部は検出対象画像を入力とし、位
置マーカ検出部の中のブロック生成部と同様の処理によ
って、画素ブロックを得て出力する。
The block obtained by the above processing is output as a pixel block as in the eleventh embodiment. Next, an operation of generating a block by the digital watermark detection unit in the present embodiment will be described. The block generation unit of the digital watermark detection unit in the present embodiment receives a detection target image as an input, and obtains and outputs a pixel block by the same processing as the block generation unit in the position marker detection unit.

【0305】本実施例を用いた電子透かし検出処理の場
合、前述の第11の実施例に比べて検出対象画像に必要
なサイズがN×N以上から任意のサイズにより、より小
さな検出対象画像からの検出が可能となる。 [第13の実施例]次に、本発明の第13の実施例とし
て、電子透かし検出部、シンボル検出部、検出結果生成
部について説明する。以下に述べる部分以外について
は、前述の第11の実施例と同様である。
In the case of the digital watermark detection processing using this embodiment, the size required for the image to be detected can be any size from N × N or more as compared with the above-described eleventh embodiment. Can be detected. [Thirteenth Embodiment] Next, as a thirteenth embodiment of the present invention, a digital watermark detection section, a symbol detection section, and a detection result generation section will be described. Except for the parts described below, the configuration is the same as that of the above-described eleventh embodiment.

【0306】図94は、本発明の第13の実施例の電子
透かし検出部の構成を示す。同図に示す電子透かし検出
部2000は、ブロック分割部2100、離散フーリエ
変換部2200、検出対象系列生成部2300、シンボ
ル検出部2400、検出結果生成部2500から構成さ
れる。図95は、本発明の第13の実施例の電子透かし
検出部の動作を示すフローチャートである。
FIG. 94 shows the configuration of the digital watermark detecting section according to the thirteenth embodiment of the present invention. The digital watermark detection unit 2000 shown in FIG. 14 includes a block division unit 2100, a discrete Fourier transform unit 2200, a detection target sequence generation unit 2300, a symbol detection unit 2400, and a detection result generation unit 2500. FIG. 95 is a flowchart showing the operation of the digital watermark detection unit according to the thirteenth embodiment of the present invention.

【0307】ステップ2100) 電子透かし検出部2
000は、検出対象画像201と、検出対象成分位置情
報211、オフセット情報231と鍵情報202を入力
として、まず、ブロック分割部2100において検出対
象画像201を、図96に示すように、左上からN×N
サイズの画素ブロックT個に分割する。 ステップ2200) 分割によって得られた個々の画素
ブロック2001に0〜T−1の番号を振る。t(0≦
t<T)番目の画素ブロック2001について、以下の
ステップ2300〜ステップ2400の処理を繰り返
す。
Step 2100) Digital watermark detection unit 2
000 receives the detection target image 201, the detection target component position information 211, the offset information 231, and the key information 202 as input, first, the block division unit 2100 converts the detection target image 201 into N from the upper left as shown in FIG. × N
It is divided into T pixel blocks of a size. Step 2200) Numbers 0 to T−1 are assigned to the individual pixel blocks 2001 obtained by the division. t (0 ≦
The following steps 2300 to 2400 are repeated for the (t <T) -th pixel block 2001.

【0308】ステップ2300) 離散フーリエ変換部
2200は、t番目の画素ブロック2001を離散フー
リエ変換して、検出対象係数行列2002を得る。 ステップ2400) 検出対象系列生成部2300は、
位置マーカ検出部の検出対象系列生成部と同様の処理に
よって、検出対象系列2003を得て、シンボル検出部
2400に送る。
Step 2300) The discrete Fourier transform unit 2200 performs a discrete Fourier transform on the t-th pixel block 2001 to obtain a detection target coefficient matrix 2002. Step 2400) The detection target sequence generation unit 2300
The detection target sequence 2003 is obtained by the same processing as the detection target sequence generation unit of the position marker detection unit, and sent to the symbol detection unit 2400.

【0309】ステップ2500) シンボル検出部24
00は、鍵情報202と各シンボル候補情報とから生成
される系列と検出対象系列2003との相関値を求めて
シンボル検出情報2004を生成する。 ステップ2600) 検出結果生成部2500は、全て
のtについてシンボル検出情報2004を得た後、シン
ボル検出情報2004の各シンボル位置について、相関
値が最大の時のシンボル候補値を検出シンボルとし、全
てのシンボル位置から検出シンボルを決定した後、検出
シンボルを電子透かしの形式に逆変換した結果を検出結
果203として出力する。
Step 2500) Symbol detection unit 24
00 generates a symbol detection information 2004 by obtaining a correlation value between a sequence generated from the key information 202 and each symbol candidate information and a detection target sequence 2003. Step 2600) After obtaining the symbol detection information 2004 for all t, the detection result generation unit 2500 sets, for each symbol position of the symbol detection information 2004, the symbol candidate value with the maximum correlation value as the detection symbol, and After the detected symbol is determined from the symbol position, the result of inversely converting the detected symbol into a digital watermark format is output as a detection result 203.

【0310】次に、本実施例におけるシンボル検出部2
400について説明する。図97は、本発明の第13の
実施例のシンボル検出部の構成を示す。同図に示すシン
ボル検出部2400は、シンボル候補生成部2410、
シンボル系列生成部2420、シンボル検出情報生成部
2430から構成される。シンボル検出部2400は、
鍵情報202と(t番目の画素ブロックから得られる)
検出対象系列2003を入力とし、予め設定されている
検出するシンボル数J個の各シンボル位置毎に、M個の
シンボル候補についてのシンボル検出情報2004を生
成し、検出結果生成部2500に出力する。
Next, the symbol detecting section 2 in the present embodiment
400 will be described. FIG. 97 shows the configuration of the symbol detector of the thirteenth embodiment of the present invention. The symbol detection unit 2400 shown in FIG.
It comprises a symbol sequence generation unit 2420 and a symbol detection information generation unit 2430. The symbol detection unit 2400
Key information 202 and (obtained from the t-th pixel block)
The detection target sequence 2003 is input, and symbol detection information 2004 for M symbol candidates is generated for each of the J symbol positions to be detected in advance and output to the detection result generation unit 2500.

【0311】図98は、本発明の第13の実施例のシン
ボル検出部の動作を示すフローチャートである。 ステップ2410) シンボル候補生成部2410にお
いて、シンボル候補c2401を0からM−1まで順次
生成し、各シンボル候補毎に、ステップ2420〜24
30の処理を繰り返す。Mは、第1の実施例におけるシ
ンボル変換によるシンボル値の最大値を表す。
FIG. 98 is a flow chart showing the operation of the symbol detector of the thirteenth embodiment of the present invention. Step 2410) The symbol candidate generation unit 2410 sequentially generates the symbol candidates c2401 from 0 to M−1, and performs steps 2420 to 24 for each symbol candidate.
Step 30 is repeated. M represents the maximum value of the symbol value by the symbol conversion in the first embodiment.

【0312】ステップ2420) ここで、シンボル系
列生成部2420について説明する。図99は、本発明
の第13の実施例のシンボル系列生成部の構成を示し、
図100は、本発明の第13の実施例のシンボル系列生
成部の動作を示す。 ステップ2421) シンボル系列生成部2420は、
鍵情報202とシンボル候補c2401を入力とし、c
と鍵情報202を加算した値を初期値として、拡散系列
生成器2421でj番目の長さnの拡散系列
{ri (j) }(0≦i<n)を生成し、これをそのまま
シンボル系列{pi (j) }(0≦i<n)2402とし
て用いる(pi (j) :=ri (j) (0≦i<n))。シ
ンボル系列2402をシンボル検出情報生成部2430
に送る。
Step 2420) Here, the symbol sequence generation section 2420 will be described. FIG. 99 shows a configuration of a symbol sequence generation unit according to the thirteenth embodiment of the present invention;
FIG. 100 shows the operation of the symbol sequence generation unit according to the thirteenth embodiment of the present invention. Step 2421) The symbol sequence generation unit 2420
The key information 202 and the symbol candidate c2401 are input and c
The spreading sequence generator 2421 generates a j-th spreading sequence {r i (j) } (0 ≦ i <n) having a length of n and uses the value as a symbol used as a sequence {p i (j)} ( 0 ≦ i <n) 2402 (p i (j): = r i (j) (0 ≦ i <n)). The symbol sequence 2402 is converted to a symbol detection information generation unit 2430.
Send to

【0313】ステップ2430) シンボル検出情報生
成部2430は、検出対象系列2003とシンボル系列
2402とシンボル候補と現在処理中のシンボル位置j
を入力として、以下の式によりシンボル系列2402と
検出対象系列2003の相関値を求め、相関値とシンボ
ル候補とシンボル位置と画素ブロック位置を組にしてシ
ンボル検出情報corrc (j)(t)2403を生成する。
Step 2430) The symbol detection information generating section 2430 calculates the detection target sequence 2003, the symbol sequence 2402, the symbol candidate, and the symbol position j currently being processed.
As input, the following equation obtains the correlation value of the detection object sequence 2003 and the symbol sequence 2402 by a, and the correlation values and symbol candidate symbol positions and the pixel block position a set symbol detection information corr c (j) (t) 2403 Generate

【数16】 (Equation 16)

【0314】シンボル検出情報2004は、検出結果生
成部2500に送られる。次に、本実施例における検出
結果生成部2500について説明する。図101は、本
発明の第13の実施例の検出結果生成部の構成を示す。
同図に示す検出結果生成部2500は、各シンボル位置
毎系列生成部2510、検出シンボル生成部2520、
逆シンボル変換部2530から構成される。
[0314] Symbol detection information 2004 is sent to detection result generation section 2500. Next, the detection result generation unit 2500 according to the present embodiment will be described. FIG. 101 shows the configuration of the detection result generation unit according to the thirteenth embodiment of the present invention.
The detection result generation unit 2500 shown in FIG. 17 includes a sequence generation unit 2510 for each symbol position, a detection symbol generation unit 2520,
It comprises an inverse symbol conversion unit 2530.

【0315】図102は、本発明の第13の実施例の検
出結果生成部の動作を示すフローチャートである。 ステップ2510) 検出結果生成部2500は、シン
ボル検出情報2004を入力とし、まず、各シンボル位
置毎系列生成部2510において、シンボル検出情報2
004をシンボル位置j毎に分割し、長さM×Tの各シ
ンボル位置毎系列corrc (j)(t)(0≦c<M,0≦
t<T)2501をj=1〜Jまでの各々のjについて
生成して検出シンボル生成部2520に送る。
FIG. 102 is a flowchart showing the operation of the detection result generator according to the thirteenth embodiment of the present invention. Step 2510) The detection result generation unit 2500 receives the symbol detection information 2004 as input, and first, the symbol generation
004 is divided for each symbol position j, and a sequence corr c (j) (t) (0 ≦ c <M, 0 ≦
t <T) 2501 is generated for each j from j = 1 to j and sent to the detected symbol generation unit 2520.

【0316】ステップ2520) 検出シンボル生成部
2520は、各シンボル位置毎系列2501を入力と
し、各シンボル位置j毎に各シンボル位置毎系列中で最
大の相関値を採る時のシンボル候補cを見つけて検出シ
ンボルsj (1≦j<J)2502を生成する。すべて
のsj を求めるまで上記の処理を繰り返す。 ステップ2530) 全てのsj を求めた後に、逆シン
ボル変換部2530において、シンボル表現からもとも
との電子透かしの表現に変換(例えば、第1の実施例に
おける変換に対応する逆変換は、4つの検出シンボル
(各検出シンボルの値は0〜255)の値を各々ASC
IIコードとみなして4文字の8ビット文字に変換する
処理である)して、検出結果203を生成し、出力す
る。検出結果203は、検出対象画像に埋め込まれてい
た電子透かしを表している。
[0316] Step 2520) The detected symbol generation unit 2520 receives the sequence 2501 for each symbol position, finds a symbol candidate c at the time of taking the maximum correlation value in the sequence for each symbol position for each symbol position j, and A detected symbol s j (1 ≦ j <J) 2502 is generated. The above processing is repeated until all s j are obtained. Step 2530) After obtaining all s j , the inverse symbol conversion unit 2530 converts the symbol expression to the original digital watermark expression (for example, four inverse detections corresponding to the conversion in the first embodiment are performed). The value of each symbol (the value of each detected symbol is 0 to 255)
This is a process of converting the four characters into 8-bit characters assuming the II code) to generate and output the detection result 203. The detection result 203 represents a digital watermark embedded in the detection target image.

【0317】本実施例による電子透かし検出処理では、
検出対象画像(N×N以上のサイズ)をブロックに分割
して、全てのブロックの中で最大の相関値をとる時のシ
ンボルを検出しているので、前述の第11の実施例(1
つのブロックからしか検出しない)に比べて、より精度
の高い検出が可能となる。さらに、検出処理の際に必要
な離散フーリエ変換の回数はブロック数分だけであるの
で、前述の第5の実施例よりも高速な処理が可能であ
る。
In the digital watermark detection processing according to the present embodiment,
Since the detection target image (the size of N × N or more) is divided into blocks and the symbol at which the maximum correlation value is obtained among all the blocks is detected, the eleventh embodiment (1)
Detection can be performed with higher accuracy than that of detection from only one block). Further, since the number of discrete Fourier transforms required in the detection processing is only the number of blocks, processing can be performed at a higher speed than in the fifth embodiment.

【0318】[第14の実施例]次に、本発明の第14
の実施例として、電子透かし検出部のブロック分割部に
おいて、検出対象画像からN×Nサイズのブロックを切
り出せない場合の処理について説明する。図103は、
本発明の第14の実施例の電子透かし検出部のブロック
分割部の動作を説明するための図である。
[Fourteenth Embodiment] Next, a fourteenth embodiment of the present invention will be described.
As an embodiment of the present invention, a description will be given of a process in a case where an N × N size block cannot be cut out from a detection target image in a block division unit of a digital watermark detection unit. FIG.
It is a figure for explaining operation of a block division part of a digital watermark detection part of a 14th example of the present invention.

【0319】ブロック分割部2100は、検出対象画像
201を左からN×NサイズのブロックT個に分割す
る。この際、検出対象画像201の端の辺りで、N×N
サイズに切り出せないブロックについては、N×Nで切
り出そうとした時に含まれる検出対象画像相当分のみを
切り出し、N×Nサイズに足りない部分は、検出対象画
像相当分の画素値の平均値を求めてこれで埋める、とい
う処理を行う。分割によって得られた画素ブロックのそ
れぞれに0〜T−1の番号を振る。
The block dividing unit 2100 divides the detection target image 201 into T blocks of N × N size from the left. At this time, around the edge of the detection target image 201, N × N
For a block that cannot be cut out into a size, only the portion corresponding to the detection target image included when trying to cut out by N × N is cut out, and the portion smaller than the N × N size is the average value of the pixel values corresponding to the detection target image. And fill it with this. Numbers 0 to T−1 are assigned to the respective pixel blocks obtained by the division.

【0320】本実施例による情報検出では、検出対象画
像の必要最低サイズが任意のサイズでよくなり、前述の
第13の実施例よりも小さな検出対象画像からの検出が
可能である。また、検出に用いるブロックの個数が第1
3の実施例よりも多くなるので、第13の実施例に比べ
てより精度の高い検出が可能となる。さらに、検出処理
の際に必要な離散フーリエ変換の回数は、ブロック数分
だけであるので、第6の実施例よりも高速に処理が可能
である。
In the information detection according to the present embodiment, the required minimum size of the image to be detected can be any size, and detection from the image to be detected smaller than in the thirteenth embodiment can be performed. The number of blocks used for detection is the first.
Since the number is larger than that of the third embodiment, more accurate detection can be performed as compared with the thirteenth embodiment. Further, the number of discrete Fourier transforms required in the detection processing is only the number of blocks, so that the processing can be performed at a higher speed than in the sixth embodiment.

【0321】[第15の実施例]次に、本発明の第15
の実施例として、位置マーカ検出部、電子透かし検出部
について説明する。以下に述べる部分以外については、
前述の第11の実施例と共通である。図104は、本発
明の第15の実施例の位置マーカ検出部のブロック生成
部の構成を示す。同図に示すブロック生成部3000
は、ブロック分割部3100、ブロック加算部3200
から構成される。
[Fifteenth Embodiment] Next, a fifteenth embodiment of the present invention will be described.
As an example, a position marker detection unit and a digital watermark detection unit will be described. Except for the parts described below,
This is common to the eleventh embodiment. FIG. 104 shows the configuration of the block generator of the position marker detector according to the fifteenth embodiment of the present invention. Block generator 3000 shown in FIG.
Are the block dividing unit 3100 and the block adding unit 3200
Consists of

【0322】図105は、本発明の第15の実施例の位
置マーカ検出部のブロック生成部の動作を示すフローチ
ャートである。 ステップ3100) ブロック生成部3000は、検出
対象画像201を入力とし、ブロック分割部3100に
おいて、図106に示すように検出対象画像を左上から
T個のN×N画素のブロックに分割する。
FIG. 105 is a flow chart showing the operation of the block generator of the position marker detector according to the fifteenth embodiment of the present invention. Step 3100) The block generation unit 3000 receives the detection target image 201, and the block division unit 3100 divides the detection target image into blocks of T N × N pixels from the upper left as shown in FIG.

【0323】ステップ3200) 次に、ブロック加算
部3200は、これら全てのブロックを加算して、加算
ブロック3002を生成する。これを式で表すと、 Bij (t) :t番目のブロック(0≦i<N,0≦j<
N,0≦t<T) のとき、加算ブロックAij(0≦i<N,0≦j<N)
は、
(Step 3200) Next, the block adder 3200 adds all these blocks to generate an addition block 3002. When this is represented by an equation, B ij (t) : the t-th block (0 ≦ i <N, 0 ≦ j <
When N, 0 ≦ t <T), the addition block A ij (0 ≦ i <N, 0 ≦ j <N)
Is

【数17】 [Equation 17]

【0324】によって得られる。この加算ブロック30
02を画素ブロック205として、離散フーリエ変換部
1113に出力する。本実施例による情報検出では、検
出対象画像201(N×Nサイズ以上)をN×Nサイズ
のブロックに分割し、全てのブロックを加算したブロッ
クから位置マーカの検出及び電子透かしの検出を行う。
Is obtained. This addition block 30
02 is output as the pixel block 205 to the discrete Fourier transform unit 1113. In the information detection according to the present embodiment, the detection target image 201 (N × N size or more) is divided into N × N size blocks, and a position marker detection and a digital watermark detection are performed from the block obtained by adding all the blocks.

【0325】T個のブロックの加算によって、N×Nサ
イズの繰り返しパターンである透かしパターンは、T倍
強調されるが、原画像のパターンは、ブロック間の相関
が低いので、加算によって徐々にキャンセルされてい
く。即ち、加算ブロックからの検出によって原画像の影
響は少なくなり、同時に透かしパターンは強調されてい
くので、第11の実施例より精度の高い検出が可能とな
る。
The watermark pattern, which is a repetitive pattern of N × N size, is emphasized T times by the addition of T blocks, but the pattern of the original image has a low correlation between the blocks, and thus is gradually canceled by the addition. Will be done. That is, the influence of the original image is reduced by the detection from the addition block, and at the same time, the watermark pattern is emphasized. Therefore, detection with higher accuracy than in the eleventh embodiment is possible.

【0326】また、検出に伴う処理量は、第11の実施
例に比べて、加算ブロックを生成する分だけ増加する
が、この処理量は、検出処理の他の部分の処理量と比較
すれば、無視できるほど小さく、また、第13の実施例
のように1つずつのブロックから検出する場合と比較す
ると、ブロック数倍だけ高速に処理が可能である。さら
に、検出処理の際に必要な離散フーリエ変換の回数は1
回だけであるので、第2の実施例〜第10の実施例より
も高速に処理が可能である。
Although the processing amount involved in the detection is increased by the amount of the addition block as compared with the eleventh embodiment, this processing amount can be compared with the processing amounts of other parts of the detection processing. , Which is negligibly small, and can be processed at a speed equal to the number of blocks, as compared to the case of detecting from one block at a time as in the thirteenth embodiment. Further, the number of discrete Fourier transforms required for the detection process is 1
Since it is only once, processing can be performed at a higher speed than in the second to tenth embodiments.

【0327】[第16の実施例]次に、本発明の第16
の実施例として位置マーカ検出部のブロック生成部につ
いて説明する。以下に述べる部分以外は、第12の実施
例と同様である。図107は、本発明の第16の実施例
の位置マーカ検出部のブロック生成部の構成を示す。同
図に示すブロック生成部4000は、ブロック分割部4
100、ブロック加算部4200から構成される。
[Sixteenth Embodiment] Next, a sixteenth embodiment of the present invention will be described.
As an example, a block generation unit of the position marker detection unit will be described. Except for the parts described below, the configuration is the same as that of the twelfth embodiment. FIG. 107 shows the configuration of the block generation unit of the position marker detection unit according to the sixteenth embodiment of the present invention. The block generation unit 4000 shown in FIG.
100 and a block adder 4200.

【0328】図108は、本発明の第16の実施例の位
置マーカ検出部のブロック生成部の動作を示すフローチ
ャートである。 ステップ4100) ブロック生成部4000は、検出
対象画像201を入力とし、ブロック分割部4100に
おいて、図109に示すように、検出対象画像201を
左上からT個のN×N画素のブロックに分割する。この
際、検出対象画像201の端の辺りでN×Nサイズに切
り出せないブロックについては、N×Nで切り出そうと
した時に含まれる検出対象画像相当分のみを切り出し、
N×Nサイズに足りない部分は、検出対象画像相当分の
画素値の平均値を求めてこれで埋めるという処理を行
う。 ステップ4200) 次に、ブロック加算部4200
は、これらすべてのブロックを加算して、加算ブロック
4002を生成する。これを式で表すと、Bij (t) :t
番目のブロック(0≦i<N,0≦j<N,0≦t<
T)のとき、加算ブロックAij(0≦i<N,0≦j<
N)は、
FIG. 108 is a flow chart showing the operation of the block generator of the position marker detector according to the sixteenth embodiment of the present invention. Step 4100) The block generation unit 4000 receives the detection target image 201, and the block division unit 4100 divides the detection target image 201 into T N × N pixel blocks from the upper left as shown in FIG. At this time, for a block that cannot be cut out to the N × N size around the edge of the detection target image 201, only a portion of the detection target image that is included when trying to cut out at the N × N is cut out,
The process of obtaining the average value of the pixel values corresponding to the image to be detected and filling the portion that is smaller than the N × N size is performed. Step 4200) Next, the block adder 4200
Adds all these blocks to generate an addition block 4002. When this is represented by an equation, B ij (t) : t
Block (0 ≦ i <N, 0 ≦ j <N, 0 ≦ t <
T), the addition block A ij (0 ≦ i <N, 0 ≦ j <
N)

【数18】 (Equation 18)

【0329】によって得られる。 ステップ4300) この加算ブロック4002を画素
ブロックとして離散フーリエ変換部1113に出力す
る。 次に、本実施例における電子透かし検出部中のブロック
生成部(図示せず)について説明する。
Is obtained. Step 4300) The adding block 4002 is output to the discrete Fourier transform unit 1113 as a pixel block. Next, a block generation unit (not shown) in the digital watermark detection unit according to the present embodiment will be described.

【0330】本実施例における電子透かし検出部中のブ
ロック生成部は、検出対象画像を入力とし、位置マーカ
検出部の中のブロック生成部4000と同様に、検出対
象画像を左上からT個のN×N画素のブロックに分割す
る。次に、ブロック加算部において、これら全てのブロ
ックを加算して、加算ブロックを生成する。この加算ブ
ロックを画素ブロックとして離散フーリエ変換部に出力
する。
[0330] In the present embodiment, the block generation unit in the digital watermark detection unit receives a detection target image as input, and, in the same manner as the block generation unit 4000 in the position marker detection unit, converts the detection target image from the top left into T N N Divide into blocks of × N pixels. Next, the block adding unit adds all these blocks to generate an added block. This addition block is output as a pixel block to the discrete Fourier transform unit.

【0331】上記の本実施例による情報検出では、検出
対象画像の必要最低サイズが任意のサイズとなり、前述
の第15の実施例に比べてより小さな検出対象画像から
の検出が可能である。さらに、第15の実施例と比較し
て、分割ブロック数Tが大きくなるので、検出において
原画像の影響はより少なくなり、透かしパターンはより
強調されていくので、第15の実施例より精度の高い検
出が可能である。
In the information detection according to the present embodiment, the required minimum size of the detection target image is an arbitrary size, and detection from a smaller detection target image is possible as compared with the fifteenth embodiment. Further, as compared with the fifteenth embodiment, since the number of divided blocks T is larger, the influence of the original image on detection is smaller, and the watermark pattern is further emphasized. High detection is possible.

【0332】また、ブロックの加算によって、検出にお
いて原画像の影響は少なくなり、透かしパターンは強調
されていくので、第12の実施例より精度の高い検出が
可能となる。また、検出に伴う処理量は第12の実施例
に比べて、加算ブロックを生成する分だけ増加するが、
この処理量は、検出処理の他の部分の処理量と比較すれ
ば、無視できるほど小さく、また、第14の実施例のよ
うに1つずつのブロックから検出する場合と比較する
と、ブロック数倍だけ高速に処理が可能である。
Also, by adding blocks, the influence of the original image on detection is reduced, and the watermark pattern is emphasized, so that detection with higher accuracy than in the twelfth embodiment is possible. Also, the processing amount associated with the detection increases by the amount of generating the addition block as compared with the twelfth embodiment.
This processing amount is negligibly small when compared with the processing amounts of the other parts of the detection processing. In addition, compared with the case where detection is performed from one block as in the fourteenth embodiment, the number of processing times is equal to the number of blocks. Only high-speed processing is possible.

【0333】[第17の実施例]次に、本発明の第17
の実施例として、位置マーカ検出部の検出対象系列生成
部について説明する。以下に述べる部分以外について
は、前述の第2の実施例〜第16の実施例と同様であ
る。本実施例においては、第2の実施例〜第16の実施
例の各実施例における位置マーカ検出部の検出対象系列
生成部において、各実施例で記載されているように、検
出対象系列を生成し終えた最終段の後に、さらに、以下
のように検出対象系列の平均を0とする処理を行い、こ
の処理を施した検出対象系列をその後の処理に用いる。 {qi }:処理前の検出対象系列(0≦i<n) のとき、
[Seventeenth Embodiment] A seventeenth embodiment of the present invention will now be described.
As an example, a detection target sequence generation unit of the position marker detection unit will be described. Except for the parts described below, they are the same as the above-described second to sixteenth embodiments. In this embodiment, the detection target sequence generation unit of the position marker detection unit in each of the second to sixteenth embodiments generates the detection target sequence as described in each embodiment. After the final stage, the processing for setting the average of the detection target sequence to 0 is performed as follows, and the detection target sequence subjected to this processing is used for the subsequent processing. {Q i }: a detection target sequence before processing (0 ≦ i <n),

【数19】 を求めて、 qi :=qi −ave (0≦i<n) によって平均が0になるように変更する。本実施例によ
れば、検出対象系列の平均が0となり、各項は、正また
は、負(または、0)の値を持つようになる。これによ
り、その後の相関値の計算において、位置マーカ検出情
報が有効なピークを持つ時以外の相関値が低く抑えられ
るので、本実施例の処理を行わない場合に比べて、位置
マーカ検出情報の有効なピークをより精度よく検出する
ことが可能となる。
[Equation 19] , And the average is changed to 0 by q i : = q i −ave (0 ≦ i <n). According to the present embodiment, the average of the detection target sequence is 0, and each term has a positive or negative (or 0) value. As a result, in the subsequent calculation of the correlation value, the correlation value other than when the position marker detection information has a valid peak is suppressed to be low, so that the position marker detection information is not compared with the case where the processing of the present embodiment is not performed. Effective peaks can be detected more accurately.

【0334】[第18の実施例]次に、本発明の第18
の実施例として、電子透かし検出部の検出対象系列生成
部について説明する。以下に述べる部分以外について
は、前述の第2の実施例〜第17の実施例と同様であ
る。本実施例は、前述の第2の実施例〜第17の実施例
における電子透かし検出部中の検出対象系列生成部にお
いて、各実施例で記載しているとおり検出対象系列を生
成し終えた最終段の後に、さらに以下のように検出対象
系列の平均を0とする処理を行い、この処理を施した検
出対象系列をその後の処理に用いる。
[Eighteenth Embodiment] Next, an eighteenth embodiment of the present invention will be described.
As an example of (1), a detection target sequence generation unit of the digital watermark detection unit will be described. Except for the parts described below, they are the same as the above-described second to seventeenth embodiments. In the present embodiment, the detection target sequence generation unit in the digital watermark detection unit in the above-described second to seventeenth embodiments performs the final generation of the detection target sequence as described in each embodiment. After the step, a process of setting the average of the detection target sequence to 0 is performed as described below, and the detection target sequence subjected to this process is used for the subsequent processing.

【0335】 {qi }:処理前の検出対象系列(0≦i<n) のとき、{Q i }: detection target sequence before processing (0 ≦ i <n),

【数20】 を求めて、qi :=qi −ave (0≦i<n)によ
って平均が0になるように変更する。本実施例によれ
ば、検出対象系列の平均が0となり、各項は、正また
は、負(または、0)の値を持つようになる。これによ
り、その後の相関値の計算において、シンボル検出情報
が有効なピークを持つ時以外の相関値が低く抑えられる
ので、本実施例の処理を行わない場合に比べて、シンボ
ル検出情報の有効なピークをより精度よく検出すること
が可能となる。
(Equation 20) Is calculated, and the average is changed to 0 by q i : = q i −ave (0 ≦ i <n). According to the present embodiment, the average of the detection target sequence is 0, and each term has a positive or negative (or 0) value. Thereby, in the subsequent calculation of the correlation value, the correlation value other than when the symbol detection information has a valid peak is suppressed to be low, so that the validity of the symbol detection information is smaller than when the processing of the present embodiment is not performed. Peaks can be detected with higher accuracy.

【0336】[第19の実施例]次に、本発明の第19
の実施例として、位置マーカ検出部のオフセット情報生
成部ついて説明する。以下に述べる部分以外について
は、前述の第2の実施例〜第18の実施例と同様であ
る。図110は、本発明の第19の実施例の位置マーカ
検出部のオフセット情報生成部の動作を示すフローチャ
ートである。
[Nineteenth Embodiment] Next, a nineteenth embodiment of the present invention will be described.
As an example, the offset information generation unit of the position marker detection unit will be described. Except for the parts described below, they are the same as the above-described second to eighteenth embodiments. FIG. 110 is a flowchart showing the operation of the offset information generation unit of the position marker detection unit according to the nineteenth embodiment of the present invention.

【0337】ステップ5100) オフセット情報生成
部は、位置マーカ検出情報を入力として、まず、すべて
の位置マーカ検出情報の中の最大値Omax を求める。 ステップ5200) 次に、予め定められている閾値β
によって、以下ように処理を分ける。Omax <βである
ときは、ステップ5300に移行し、そうでない場合に
はステップ5400に移行する。
Step 5100) With the position marker detection information as an input, the offset information generation unit first obtains the maximum value O max of all the position marker detection information. Step 5200) Next, a predetermined threshold value β
The processing is divided as follows. If O max <β, the process proceeds to step 5300; otherwise, the process proceeds to step 5400.

【0338】ステップ5300) オフセット情報の検
出に失敗したことを意味する内容の検出結果を、情報検
出装置の外に出力し、情報検出装置におけるすべての処
理を終了する。 ステップ5400) 最大値Omax をとる時のオフセッ
ト候補情報(a,b)をオフセット情報として出力し、
電子透かし検出部に送る。
Step 5300) A detection result indicating that the detection of the offset information has failed is output to the outside of the information detecting device, and all the processes in the information detecting device are terminated. Step 5400) Output the offset candidate information (a, b) at the time of taking the maximum value O max as offset information,
Send to digital watermark detection unit.

【0339】上記の第19の実施例によれば、位置マー
カ検出情報、つまり、位置マーカ系列と検出対象系列の
相関値が閾値β以上でないと検出を続行しない。これに
より、情報が埋め込まれていない画像を検出対象画像と
したり、あるいは、埋め込み済画像が激しく傷ついて既
に検出が不可能であるような場合に、無理に検出を行っ
て誤った検出結果を出力せずに、検出に失敗したことを
意味する内容の検出結果を出力するので、出力される検
出結果の信頼性が増す。
According to the nineteenth embodiment, the detection is not continued unless the position marker detection information, that is, the correlation value between the position marker sequence and the detection target sequence is equal to or larger than the threshold value β. As a result, an image without embedded information can be used as a detection target image, or when an embedded image is severely damaged and cannot be detected already, detection is forcibly performed and an incorrect detection result is output. Instead, the detection result of the content indicating that the detection has failed is output, so that the reliability of the output detection result increases.

【0340】[第20の実施例]次に、本発明の第20
の実施例として、電子透かし検出部の検出結果生成部に
ついて説明する。以下に述べる部分以外については、前
述の第2の実施例〜第19の実施例と同様である。図1
11は、本発明の第20の実施例の電子透かし検出部の
検出結果生成部の動作を示すフローチャートである。
[Twentieth Embodiment] The twentieth embodiment of the present invention will now be described.
As an example, the detection result generation unit of the digital watermark detection unit will be described. Except for the parts described below, they are the same as the above-described second to nineteenth embodiments. FIG.
11 is a flowchart illustrating the operation of the detection result generation unit of the digital watermark detection unit according to the twentieth embodiment of the present invention.

【0341】ステップ6100) 検出結果生成部は、
シンボル検出情報を入力として、まず、各シンボル位置
毎系列生成部において、シンボル検出情報をシンボル位
置j毎に分割する。 ステップ6200) 検出結果生成部は、j(1≦j≦
J)番目のシンボル位置毎系列の最大値smax (j) を求
め、予め定めれている閾値γによって以下のように処理
を分岐する。
Step 6100) The detection result generation section sets
With the symbol detection information as an input, the symbol position information is first divided into symbol position j in each symbol position sequence generation unit. Step 6200) The detection result generation unit determines that j (1 ≦ j ≦
The maximum value s max (j) of the J) -th sequence for each symbol position is obtained, and the process branches as follows according to a predetermined threshold value γ.

【0342】ステップ6300) smax (j) <γであ
るときは、ステップ6400に移行し、そうでない場合
には、ステップ6500に移行する。 ステップ6400) 検出対象画像に埋め込まれている
電子透かしの検出に失敗したことを意味する内容の検出
結果を出力し、検出結果生成部におけるすべての処理を
終了する。
Step 6300) If s max (j) <γ, the flow proceeds to step 6400; otherwise, the flow proceeds to step 6500. Step 6400) A detection result indicating that the detection of the digital watermark embedded in the detection target image has failed is output, and all the processing in the detection result generation unit ends.

【0343】ステップ6500) smax (j) ≧γであ
るときは、最大値smax (j) をとる時のシンボル候補c
を、j番目の検出シンボルsj (1≦j≦J)とする。 ステップ6600) 全てのsj を求めた後に、シンボ
ル表現からもともとの電子透かしの表現に変換(例え
ば、第1の実施例における4つの検出シンボル(各検出
シンボルの値は、0から255)の値を各々ASCII
コードとみなして、4文字の8ビット文字に変換する処
理である)して、検出結果を生成し、出力する。
Step 6500) If s max (j) ≧ γ, the symbol candidate c for taking the maximum value s max (j)
Is the j-th detected symbol s j (1 ≦ j ≦ J). Step 6600) After obtaining all s j , convert the symbol expression to the original digital watermark expression (for example, the values of four detected symbols (the value of each detected symbol is 0 to 255) in the first embodiment) Are ASCII
This is a process of converting four characters into 8-bit characters assuming that the code is a code), and generates and outputs a detection result.

【0344】上記の第20の実施例によれば、シンボル
検出情報、つまり、各シンボル系列と検出対象系列の相
関値が閾値γ以上でないと検出を続行しない。これによ
り情報が埋め込まれていない画像を検出対象画像とした
り、あるいは、埋め込み済画像が激しく傷ついて既に検
出が不可能であるような場合に、無理に検出を行って誤
った検出結果を出力せずに、検出に失敗したことを意味
する内容の検出結果を出力するので、出力される検出結
果の信頼性が増す。
According to the twentieth embodiment, the detection is not continued unless the symbol detection information, that is, the correlation value between each symbol sequence and the detection target sequence is equal to or larger than the threshold value γ. As a result, an image in which no information is embedded can be used as a detection target image, or when an embedded image is severely damaged and cannot be detected, it is forcibly detected to output an incorrect detection result. Instead, the detection result of the content indicating that the detection has failed is output, so that the reliability of the output detection result increases.

【0345】[第21の実施例]最後に、本発明の第2
1の実施例を説明する。以下に述べる部分以外について
は、前述の第1の実施例及び第20の実施例と同様であ
る。本実施例では、第1の実施例における埋め込み系列
生成部の拡散系列生成器、第20の実施例における位置
マーカ系列生成部の拡散系列生成器及び電子透かし検出
部のシンボル系列生成部の拡散系列生成器は、+1また
は、−1の値をそれぞれ確率1/2でランダムに順次生
成するもの(例えば、宮川・岩垂・今井:「符号理論」
昭晃堂、128ページに記載されているM系列発生”に
ついてk次の生成多項式(kは十分大きな整数)を用い
て得られる“+1”、“−1”の2値からなるランダム
な系列など)を用いる。また、本実施例では、第20の
実施例における電子透かし検出部のシンボル検出部のシ
ンボル検出情報生成部における相関を求める計算式とし
て、以下のものを用いる。 {pi }:シンボル系列(0≦i<n) {qi }:検出対象系列(0≦i<n) のとき、この2つの系列の相関値は、
[Twenty-first Embodiment] Finally, the second embodiment of the present invention is described.
A first embodiment will be described. Except for the parts described below, the configuration is the same as in the first and twentieth embodiments. In the present embodiment, the spread sequence generator of the embedded sequence generator in the first embodiment, the spread sequence generator of the position marker sequence generator in the twentieth embodiment, and the spread sequence of the symbol sequence generator in the digital watermark detector are described. The generator randomly and sequentially generates a value of +1 or -1 with a probability of 1/2, respectively (for example, Miyagawa, Iwatari, Imai: "Code Theory")
Shokodo, "M-sequence generation described on page 128", a random sequence consisting of binary values of "+1" and "-1" obtained using a k-th generator polynomial (k is a sufficiently large integer), etc. In this embodiment, the following is used as a calculation formula for calculating the correlation in the symbol detection information generation unit of the symbol detection unit of the digital watermark detection unit in the twentieth embodiment: {p i }: Symbol sequence (0 ≦ i <n) {q i }: When the detection target sequence (0 ≦ i <n), the correlation value of these two sequences is

【数21】 シンボル検出情報生成部における相関値の分布について
考えると、
(Equation 21) Considering the distribution of correlation values in the symbol detection information generation unit,

【数22】 (Equation 22)

【0346】は、平均0(第18の実施例による)、分
散1/nの分布に従う系列である。また、pi (0≦i
<n)は、+1、または、−1の値をそれぞれ確率1/
2でとる。平均0、分散1の分布に従う系列である。n
が十分大きければ、
Is a series that follows a distribution with an average of 0 (according to the eighteenth embodiment) and a variance of 1 / n. Also, p i (0 ≦ i
<N) represents the value of +1 or -1 with probability 1 /
Take 2 The sequence follows a distribution with mean 0 and variance 1. n
Is large enough,

【数23】 は、平均0、分散1/nの分布に従う系列となる。ここ
で、確率統計学における中心極限定理を用いると、nが
十分に大きい時には、
(Equation 23) Is a series that follows a distribution with mean 0 and variance 1 / n. Here, using the central limit theorem in stochastic statistics, when n is sufficiently large,

【数24】 (Equation 24)

【0347】は、平均0、分散1の正規分布N(0,
1)に従う。図112は、本発明の第21の実施例の計
算機シミュレーションによるcorrの値と、理論値N
(0,1)を示したグラフである(n=1024)、推
論通り、corrがN(0,1)に従っていることが分
かる。corrがN(0,1)に従うことがわかれば、
第20の実施例における閾値γを、確度(どの程度検出
したピークが有意なものかを表す尺度)によって、決定
することができる。例えば、確度99.999%(偶然に閾値
以上のピークが現れる確率が10-5)であるとすると、
正規分布表からはその時の閾値γ=4.26489 となる。図
113は、本発明の第21の実施例の計算機シミュレー
ションによるシンボル検出情報のグラフである。同図に
示すように、4つのシンボル(1シンボルは、0〜25
5までの値を持つ)を検出した結果、“A”、“B”、
“C”、“D”を表すシンボル値において、有意なピー
クが見られる。このピークがどの程度有意か(偶然によ
る値ではなく)を評価するために先程のγを用いる。図
113の例では、各ピーク値は、4.26489 以上であるの
で、確度99.999以上でのこれらのピークは有意であると
判断してよい。
Is a normal distribution N (0, 0
Follow 1). FIG. 112 shows the values of corr and the theoretical values N by computer simulation of the twenty-first embodiment of the present invention.
It is a graph showing (0, 1) (n = 1024), and it can be seen that corr follows N (0, 1) as inferred. If we know that corr obeys N (0,1),
The threshold value γ in the twentieth embodiment can be determined by accuracy (a scale indicating how much a detected peak is significant). For example, if the accuracy is 99.999% (the probability that a peak above the threshold appears by chance is 10 −5 ),
From the normal distribution table, the threshold value γ at that time is 4.26489. FIG. 113 is a graph of symbol detection information by computer simulation according to the twenty-first embodiment of the present invention. As shown in the figure, four symbols (one symbol is 0 to 25)
As a result of detecting "A", "B",
Significant peaks are seen in symbol values representing “C” and “D”. The above γ is used to evaluate how significant this peak is (not a value by chance). In the example of FIG. 113, since each peak value is 4.26489 or more, these peaks with an accuracy of 99.999 or more may be determined to be significant.

【0348】上記の第21の実施例によれば、シンボル
検出情報の分布を、具体的に平均0、分散1の正規分布
になるようにできるので、シンボル検出を確度を指定し
て行うことが可能となる。これにより、検出結果がどの
程度確からしいかが把握でき、検出結果の信頼性が増
し、また、利便性が向上する。本発明の提案方法の有効
性を確認するために計算機シミュレーションを行った。
テスト画像として、512×512画素の8ビットグレ
イスケール画像(Lena,sailboat,bab
oon)を用いた。また、シミュレーションに用いたパ
ラメータの値は、N=128、n=1023,α=1.
4、M=256(un ,vn )は、
According to the twenty-first embodiment, since the distribution of the symbol detection information can be made to be a normal distribution with a mean of 0 and a variance of 1, the symbol detection can be performed by specifying the accuracy. It becomes possible. As a result, it is possible to grasp how likely the detection result is, to increase the reliability of the detection result, and to improve the convenience. Computer simulation was performed to confirm the effectiveness of the proposed method of the present invention.
As a test image, an 8-bit grayscale image of 512 × 512 pixels (Lena, sailboat, bab
oon) was used. The values of the parameters used in the simulation are N = 128, n = 1023, α = 1.
4, M = 256 (u n , v n) are

【数25】 (Equation 25)

【0349】で指定される中周波帯域から選択、透かし
情報は、32ビット(ASCII文字列“ABCD”)
である。ここで、透かし入り画像の画質について説明す
る。埋め込み強度power を変化させた時のPSNRを図
114に示す。但し、グラフ中のpower の値は、power
=ξの時を基準とした相対値で表している。画像によっ
てpower に対するPSNRに差が生じているが、これ
は、局所的重み付けによるものである。
The watermark information is 32 bits (ASCII character string "ABCD") selected from the medium frequency band specified by
It is. Here, the image quality of the watermarked image will be described. FIG. 114 shows the PSNR when the embedding strength power is changed. However, the value of power in the graph is power
= Expressed as a relative value based on the time of ξ. The difference in PSNR with respect to power depending on the image is due to local weighting.

【0350】平行移動・切取りについては、まず、透か
し入り画像(Lena,power =ξ,PSNR=42.107
873 )から透かし情報を検出した結果を図115に示
す。オフセット値(0,0)において、ピーク(14.761
541 )を検出している。また、透かし情報の各シンボル
“A”、“B”、“C”、“D”においてもピーク(1
1.180982 〜9.108589)を検出しており、透かし情報の
検出は、成功している。
For the parallel movement / cutting, first, a watermarked image (Lena, power = ξ, PSNR = 42.107)
873) shows the result of detecting the watermark information from FIG. At the offset value (0,0), the peak (14.761
541) has been detected. The peaks (1) also appear in the symbols “A”, “B”, “C”, and “D” of the watermark information.
1.180982 to 9.108589), and the watermark information has been successfully detected.

【0351】次に、各画像から切り取った部分画像から
透かし情報の検出を試みた。部分画像(各サイズ毎に始
点をランダムに50箇所選んだ)のサイズN×Nを変化
させた時のオフセット検出成功率(正しいオフセットを
検出できたときに成功する)、シンボル検出成功率(全
てのシンボルを正しく検出でき、かつ4つのピーク値の
最小値が閾値4.26489 より大のときに成功とする) を図
116に示す。N=256より大きな部分画像に対して
は透かし情報の検出がほぼ確実に可能である。透かし情
報は、128×128画素のブロック毎に埋め込まれて
いるが、図117(a)に示すようなエッジを含む画像
などではいくつかの周波数成分値が大きな値を持ち、こ
れが、前述の原画像による大きな雑音となり、検出が失
敗していると考えられる。逆に図117(b)のような
比較的平坦な画像、あるいは、テクスチャ画像などでは
検出に成功している。原画像との差分を用いた検出の場
合、原画像による雑音がキャンセルされるので、検出は
成功すると考えられる。
Next, an attempt was made to detect watermark information from a partial image cut out from each image. Offset detection success rate (successful when a correct offset is detected) when changing the size N × N of the partial image (start point is randomly selected for each size), symbol detection success rate (all FIG. 116 shows that the symbol is correctly detected and the minimum value of the four peak values is larger than the threshold value 4.26489. For partial images larger than N = 256, detection of watermark information is almost certainly possible. The watermark information is embedded for each block of 128 × 128 pixels. However, in an image including an edge as shown in FIG. 117 (a), some frequency component values have large values, It is considered to be a large noise due to the image, and the detection has failed. Conversely, a relatively flat image as shown in FIG. 117B or a texture image has been successfully detected. In the case of the detection using the difference from the original image, the detection is considered to be successful because noise due to the original image is canceled.

【0352】次に、JPEG圧縮について説明する。透
かし入り画像(Lena,sailboat,babo
on,power =ξ)をJPEGで非可逆圧縮して得られ
る画像から透かし情報の検出を試みた。quality パラメ
ータを変化させた時のオフセットレスポンスピーク値と
シンボルレスポンスピークの最小値を図118に示す。
図中の折れ線が途絶えたところまで検出に成功してい
る。前述の平行移動・切取りの説明で述べた閾値を考慮
すると、実効的な耐性は、図118よりも若干低めだと
考えられる。次に、階調変換について説明する。透かし
入り画像(Lena、power =ξ)を階調変換した画像
から透かし情報の検出を試みた。2値画像まで落とした
場合、Floyd-Steinberg 法でディザリングした画像(図
119(a))から得られたオフセットレスポンスピー
ク値は、13.616614 、各シンボルレスポンスピーク値
は、9.395720〜6.825329であり、透かし情報の検出に成
功した。また、単純な2値量子化画像(図119
(b))から得られたオフセットレスポンスピーク値
は、10.388254 、各シンボルレスポンスピーク値は、8.
133438〜5.680073であり、透かし情報の検出に成功し
た。
Next, JPEG compression will be described. Watermarked images (Lena, sailboat, babo
on, power = ξ) was irreversibly compressed by JPEG to detect watermark information. FIG. 118 shows the offset response peak value and the minimum value of the symbol response peak when the quality parameter is changed.
Detection was successful up to the point where the broken line in the figure was discontinued. Considering the threshold described in the above description of the translation / cutting, the effective tolerance is considered to be slightly lower than that in FIG. Next, gradation conversion will be described. An attempt was made to detect watermark information from an image obtained by performing gradation conversion on a watermarked image (Lena, power = ξ). When the image is dropped to a binary image, the offset response peak value obtained from the image (FIG. 119 (a)) dithered by the Floyd-Steinberg method is 13.616614, and the symbol response peak values are 9.39720 to 6.825329. Information was successfully detected. In addition, a simple binary quantized image (FIG. 119)
The offset response peak value obtained from (b)) is 10.388254 and each symbol response peak value is 8.388254.
133438-5.680073, and the watermark information was successfully detected.

【0353】次に、印刷画面からの検出について説明す
る。透かし入り画像(Lena、power =ξ)をプリン
タで印刷し、それをスキャナで読み取った画像から透か
し情報の検出を試みた。72dpi のPostScriptデータに変
換した透かし入り画像を、白黒レーザープリンタ(RICO
H SP-10PS Pro/6F,600dpi )を用いて印刷し、スキャナ
(EPSON GT-6000 )を用いて72dpi ,16bit グレイス
ケールで取り込み、8bit グレイスケールに落とした画
像から検出を行った。この時のオフセットレスポンスピ
ーク値は、9.080504,各シンボルレスポンスピーク値
は、8.139693〜5.615208であり、透かし情報の検出に成
功した。また、プリンタとスキャナの組み合わせから若
干アスペクト比が変化することが分かったので、これを
補正した場合の検出では、オフセットレスポンスピーク
値は、11.701824 、各シンボルレスポンスピーク値は、
11.701824 、各シンボルレスポンスピーク値は、8.8076
38〜6.623429であり透かし情報の検出に成功した。
Next, detection from the print screen will be described. A watermarked image (Lena, power = ξ) was printed by a printer, and an attempt was made to detect watermark information from an image read by a scanner. A watermarked image converted to 72dpi PostScript data is converted to a black and white laser printer (RICO
HSP-10PS Pro / 6F, 600dpi), printed using a scanner (EPSON GT-6000) at 72dpi, 16-bit grayscale, and detected from an image reduced to 8-bit grayscale. At this time, the offset response peak value was 9.080504, and the symbol response peak values were 8.139693 to 5.615208, and the watermark information was successfully detected. In addition, since it was found that the aspect ratio slightly changed from the combination of the printer and the scanner, in the detection when this was corrected, the offset response peak value was 11.701824, and each symbol response peak value was
11.701824, each symbol response peak value is 8.8076
The watermark information was successfully detected.

【0354】次に、合成について説明する。透かし入り
の2枚の画像(Lena、sailboat,どちらも
power =ξ)を1:1の比率で合成して得られる画像
(図120)から、それぞれの鍵情報を用いて透かし情
報の検出を試みた。オフセットレスポンスピーク値は、
Lena=9.549749、sailboat=9.883106、各
シンボルスポンスピーク値は、Lena=8.102563〜6.
325033、sailboat=6.661891〜7.285404であ
り、1枚の合成画像から2つの異なる透かし情報を検出
することができた。
Next, the composition will be described. Two watermarked images (Lena, sailboat, both
From the image obtained by combining power = 図) at a ratio of 1: 1 (FIG. 120), detection of watermark information was attempted using respective key information. The offset response peak value is
Lena = 9.549749, sailboat = 9.883106, and each symbol sponse peak value is Lena = 8.102563-6.
325033, sailboat = 6.661891 to 7.285404, and two different pieces of watermark information could be detected from one composite image.

【0355】次に、検出処理時間について説明する。本
発明の提案手法のオフセット探索空間は、N2 であり、
全探索を行っていると言えるが、オフセット候補毎にブ
ロックをリサンプリングし、離散フーリエ変換を行う単
純な全探索を比較すると、1回の探索に係る計算量が少
なくなる。また、探索処理中に行うe-ix の計算も、予
めテーブルを持つなどすれば高速化が可能である。提案
方法と前述の単純な全探索の計算機シミュレーションに
よる処理時間の比は、1:65であった。なお、離散フ
ーリエ変換は、128×128画素ブロックに対して行
い、高速フーリエ変換(FFT)を用いた。
Next, the detection processing time will be described. The offset search space of the proposed method of the present invention is N 2 ,
Although it can be said that the full search is performed, when a simple full search in which the block is resampled for each offset candidate and the discrete Fourier transform is performed is compared, the amount of calculation per search is reduced. Also, the calculation of e- ix performed during the search process can be speeded up by having a table in advance. The processing time ratio between the proposed method and the above-described simple full search by computer simulation was 1:65. Note that the discrete Fourier transform was performed on a 128 × 128 pixel block, and a fast Fourier transform (FFT) was used.

【0356】[第22の実施例]図121は、本発明の
第22の実施例の画像の局所的複雑度作成部の構成を示
す。同図に示す画像の局所的複雑度作成部3010は、
エッジ・テクスチャ成分値画像作成部3110を有し、
この画像の局所的複雑度作成部3010は、電子透かし
埋込装置に用いられる。
[Twenty-second Embodiment] FIG. 121 shows a configuration of a local complexity creating section for an image according to a twenty-second embodiment of the present invention. The image local complexity creating unit 3010 shown in FIG.
An edge / texture component value image creating unit 3110;
The local complexity creating section 3010 for this image is used in a digital watermark embedding device.

【0357】図122は、本発明の第22の実施例の画
像の局所的複雑度作成部の動作を示すフローチャートで
ある。画像の局所的複雑度作成部3010は、入力画像
10を入力し(ステップ22110)、当該入力画像1
0からエッジ・テクスチャ成分値画像を生成し(ステッ
プ22120)、エッジ・テクスチャ成分値画像を画像
の局所的複雑度として出力する(ステップ2213
0)。
FIG. 122 is a flowchart showing the operation of the local complexity creating section for images according to the twenty-second embodiment of the present invention. The image local complexity creating unit 3010 receives the input image 10 (step 22110), and
An edge texture component value image is generated from 0 (step 22120), and the edge texture component value image is output as the local complexity of the image (step 2213).
0).

【0358】詳しくは、エッジ・テクスチャ成分値画像
作成部3110は、以下の手順でエッジ・テクスチャ成
分値画像を作成する。図123は、本発明の第22の実
施例のエッジ・テクスチャ成分値画像作成部の動作を示
すフローチャートである。 ステップ22121) エッジ・テクスチャ成分値画像
作成部3110は、入力画像10を{pij}(0≦i<
Width ,0≦j<Hight )と表す。0≦i<Width ,0
≦j<Hight について、ステップ22122以降を繰り
返す。
More specifically, edge / texture component value image creating section 3110 creates an edge / texture component value image in the following procedure. FIG. 123 is a flowchart showing the operation of the edge / texture component value image creating unit according to the twenty-second embodiment of the present invention. Step 22121) The edge / texture component value image creating unit 3110 converts the input image 10 into {p ij } (0 ≦ i <
Width, 0 ≦ j <Hight). 0 ≦ i <Width, 0
Step 22122 and subsequent steps are repeated for ≦ j <Hight.

【0359】ステップ22122) エッジ・テクスチ
ャ成分値画像作成部3110は、差分カウンタcount を
0クリアする。 ステップ22123) −1≦k≦1,−1≦h≦1に
ついて もし、 |pij−pi+k,j+h |>thres ならば、ステップ22124に移行し、そうでないなら
ば、(k,h)=(−1,−1)〜(k,h)まで、こ
の処理を繰り返す。
Step 22122) The edge / texture component value image creating section 3110 clears the difference counter count to zero. Step 22123) For -1 ≦ k ≦ 1 and −1 ≦ h ≦ 1 If | p ij −p i + k, j + h |> thres, the process proceeds to step 22124, and if not, (k , H) = (− 1, −1) to (k, h).

【0360】ステップ22124) エッジ・テクスチ
ャ成分値画像作成部3110は、差分カウンタをインク
リメントする(count :=count +1)。但し、thr
esは、予め定めておく閾値である。 ステップ22125) 上記のステップ22123、ス
テップ22124を繰り返した後の差分カウンタの値
を、エッジ・テクスチャ成分値画像の(i,j)座標の
値とする。式で表すと、 eij:=count ただし、 {eij}:エッジ・テクスチャ成分値画像(0≦i<Wi
dth ,0≦j<Hight ) 上記の本発明の第22の実施例によれば、入力画像10
の平坦部分では小さく、逆にエッジやテクスチャ領域で
は、大きな値を持つ画像の局所的複雑度を生成すること
が可能である。
Step 22124) The edge / texture component value image creating section 3110 increments the difference counter (count: = count + 1). Where thr
es is a predetermined threshold value. Step 22125) The value of the difference counter after repeating the above steps 22123 and 22124 is set as the value of the (i, j) coordinate of the edge / texture component value image. When expressed by an expression, e ij : = count where {e ij }: an edge / texture component value image (0 ≦ i <Wi
dth, 0 ≦ j <Hight) According to the above-described twenty-second embodiment of the present invention, the input image 10
It is possible to generate a local complexity of an image having a small value in a flat portion of the image and a large value in an edge or texture region.

【0361】また、図124に示すように、閾値と差分
カウンタを用いたことにより、緩やかな模様を持つテク
スチャと急峻なエッジにおいて同じ程度の値の大きさを
持つ画像の局所的複雑度生成することが可能である。 [第23の実施例]次に、本発明の第23の実施例にお
ける画像の局所的複雑度作成部について説明する。
As shown in FIG. 124, by using a threshold value and a difference counter, a texture having a gradual pattern and a local complexity of an image having the same value at a steep edge are generated. It is possible. [Twenty-third Embodiment] Next, an image local complexity creating section according to a twenty-third embodiment of the present invention will be described.

【0362】図125は、本発明の第23の実施例の画
像の局所的複雑度作成部の構成を示す。同図に示す画像
の局所的複雑度作成部3200は、エッジ・テクスチャ
成分値画像作成部3210、テクスチャ度指標作成部3
220及びアップサンプラ3230から構成され、図1
21に示す第22の実施例の構成にテクスチャ度指標作
成部3220及びアップサンプラ3230が付加された
構成である。
FIG. 125 shows the configuration of the local complexity creating section for an image according to the twenty-third embodiment of the present invention. The image local complexity creating unit 3200 shown in FIG. 8 includes an edge / texture component value image creating unit 3210 and a texture index creating unit 3200.
1 and an upsampler 3230, as shown in FIG.
In this configuration, a texture degree index creating unit 3220 and an upsampler 3230 are added to the configuration of the twenty-second embodiment shown in FIG.

【0363】図126は、本発明の第23の実施例の画
像の局所的複雑度作成部の動作を示すフローチャートで
ある。画像の局所的複雑度作成部3200は、入力画像
10が入力されると(ステップ23210)エッジ・テ
クスチャ成分値画像作成部3210において、入力画像
10からエッジ・テクスチャ成分値画像3201を作成
する(ステップ23220)。
FIG. 126 is a flowchart showing the operation of the image local complexity creating section according to the twenty-third embodiment of the present invention. When the input image 10 is input (Step 23210), the image local complexity creating unit 3200 creates an edge / texture component value image 3201 from the input image 10 in the edge / texture component value image creating unit 3210 (Step 23210). 23220).

【0364】次に、テクスチャ度指標作成部3220に
おいて、エッジ・テクスチャ成分値画像3201からテ
クスチャ度指標3202を作成し、そして、アップサン
プラ3230において、テクスチャ度指標3202をア
ップサンプルして(ステップ23230)、入力画像1
0と同じサイズにし、これを画像の局所的複雑度として
出力する(ステップ23240)。
Next, the texture degree index creating section 3220 creates a texture degree index 3202 from the edge / texture component value image 3201, and the upsampler 3230 upsamples the texture degree index 3202 (step 23230). , Input image 1
The size is made the same as 0, and this is output as the local complexity of the image (step 23240).

【0365】上記のテクスチャ度指標作成部3220の
動作を説明する。図127は、本発明の第23の実施例
のテクスチャ度指標作成部の動作を示すフローチャート
である。 ステップ23231) テクスチャ度指標作成部322
0は、エッジ・テクスチャ成分値画像3201をn×N
画素のブロックに細分する(細分した結果、エッジ−テ
クスチャ成分値画像はP×Q個のブロックからなってい
るとする)。(p,q)番目のブロック内の画素をbij
(p,q) (0≦i<n,0≦j<n)とする。
[0365] The operation of the texture degree index creating unit 3220 will be described. FIG. 127 is a flowchart showing the operation of the texture index generation unit according to the twenty-third embodiment of the present invention. Step 23231) Texture index creation unit 322
0 indicates that the edge / texture component value image 3201 is n × N
It is subdivided into pixel blocks (assuming that as a result of the subdivision, the edge-texture component value image is composed of P × Q blocks). Pixels in the (p, q) -th block are represented by b ij
(p, q) (0 ≦ i <n, 0 ≦ j <n).

【0366】ステップ23232) (p,q)番目の
テクスチャ度指標index pqを0クリアする。 ステップ23233) index pq:=index pq+bij
(p,q) とし、(i,j)=(0,0)〜(n−1,n−
1)まで当該処理を繰り返し、終了したら、(p,q)
=(0,0)〜(P−1,Q−1)までステップ232
32以降の処理を繰り返す。
Step 23232) The (p, q) -th texture degree index index pq is cleared to 0. Step 23233) index pq : = index pq + b ij
(p, q), and (i, j) = (0,0) to (n−1, n−
This process is repeated until 1), and when it is completed, (p, q)
= (0,0) to (P-1, Q-1) Step 232
The process after 32 is repeated.

【0367】即ち、 {bij (pq)}:(p,q)番目のエッジ−テクスチャ成
分画像のブロック画素値(0≦i<n,0≦j<n) とすると、(p,q)番目のブロック(0≦p<P,0
≦q<Q)のテクスチャ度指標index pqは以下の式で得
られる。
That is, {b ij (pq) }: block pixel values (0 ≦ i <n, 0 ≦ j <n) of the (p, q) th edge-texture component image, and (p, q) Block (0 ≦ p <P, 0
The texture index index pq of ≦ q <Q) is obtained by the following equation.

【数26】 (Equation 26)

【0368】次に、本実施例におけるアップサンプラ3
230の動作について説明する。図128は、本発明の
第23の実施例のアップサンプラの動作を説明するため
の図である。アップサンプラ3230はテクスチャ度指
標3202(P×Qサイズ)を入力とし、これを縦横n
倍することにより、入力画像10と同じサイズの画像の
局所的複雑度(Width × Height サイズ) を生成し、出
力する。
Next, the upsampler 3 in this embodiment is used.
The operation of 230 will be described. FIG. 128 is a view for explaining the operation of the upsampler according to the twenty-third embodiment of the present invention. The upsampler 3230 receives the texture degree index 3202 (P × Q size) as input, and
By multiplying, the local complexity (Width × Height size) of an image having the same size as the input image 10 is generated and output.

【0369】上記のように、本実施例によれば、エッジ
・テクスチャ成分値画像をn×n画素に細分して得られ
るブロック群のうち、大きな値を多く含むブロックで
は、テクスチャ度指標は大きな値をとり、小さな値を多
く含む場合は、テクスチャ度指標は小さな値をとる。図
129は、本発明の第23の実施例のエッジ・テクスチ
ャ成分値画像とテクスチャ度指標を示す。同図に示すよ
うに、エッジ・テクスチャ成分値画像3201の中の単
純なエッジ部分(同図右上部分)では、ブロック中に含
まれる大きな値を持つ点の数が少ないので、対応するテ
クスチャ度指標は小さな値を採る。これにより、本実施
例を用いることで、前述の第22の実施例に比べてテク
スチャ領域において、より大きな値を持つ画像の局所的
複雑度を生成することが可能である。
As described above, according to the present embodiment, the texture degree index is large in a block including many large values in a block group obtained by subdividing an edge / texture component value image into n × n pixels. If the value takes a large value and includes many small values, the texture degree index takes a small value. FIG. 129 shows an edge / texture component value image and a texture degree index according to the twenty-third embodiment of the present invention. As shown in the figure, in the simple edge part (upper right part of the figure) in the edge / texture component value image 3201, the number of points having a large value included in the block is small. Takes a small value. Thus, by using this embodiment, it is possible to generate the local complexity of an image having a larger value in the texture region than in the twenty-second embodiment described above.

【0370】[第24の実施例]次に、本発明の第24
の実施例を説明する。以下に述べる部分以外は前述の第
23の実施例と同様である。まず、本実施例における電
子透かし埋込装置のテクスチャ度指標作成部3220に
ついて説明する。
[Twenty-fourth Embodiment] Next, a twenty-fourth embodiment of the present invention will be described.
An example will be described. Except for the parts described below, the configuration is the same as that of the above-described twenty-third embodiment. First, the texture degree index creation unit 3220 of the digital watermark embedding device according to the present embodiment will be described.

【0371】図130は、本発明の第24の実施例の画
像の局所的複雑度作成部の動作を示すフローチャートで
ある。画像の局所的複雑度作成部3200は、入力画像
10が入力されると(ステップ24310)エッジ・テ
クスチャ成分値画像作成部3210において、入力画像
10からエッジ・テクスチャ成分値画像3201を作成
する(ステップ24320)。次に、テクスチャ度指標
作成部3220において、エッジ・テクスチャ成分値画
像3201からテクスチャ度指標3202を作成し、そ
して、アップサンプラ3230において、テクスチャ度
指標3202をアップサンプルして(ステップ2433
0)、入力画像10と同じサイズにし、これを画像の局
所的複雑度として出力する(ステップ24340)。
FIG. 130 is a flowchart showing the operation of the local complexity creating section for images according to the twenty-fourth embodiment of the present invention. When the input image 10 is input (Step 24310), the image / local complexity creating unit 3200 creates an edge / texture component value image 3201 from the input image 10 in the edge / texture component value image creating unit 3210 (Step 24310). 24320). Next, the texture degree index creation unit 3220 creates a texture degree index 3202 from the edge / texture component value image 3201, and the upsampler 3230 upsamples the texture degree index 3202 (step 2433).
0), the same size as the input image 10 is output as the local complexity of the image (step 24340).

【0372】図131は、本発明の第24の実施例のテ
クスチャ度指標作成部の動作を示すフローチャートであ
る。 ステップ24331〜ステップ24333) テクスチ
ャ度指標作成部3220は、前述の第23の実施例に記
載したテクスチャ度指標作成部3220と同様にして、
テクスチャ度指標index pqを求める。
FIG. 131 is a flow chart showing the operation of the texture index generation unit according to the twenty-fourth embodiment of the present invention. Steps 24331 to 24333) The texture index generation unit 3220 performs the same processing as the texture index generation unit 3220 described in the twenty-third embodiment.
Find the texture index index pq .

【0373】ステップ24334) テクスチャ度指標
作成部3220は、求められたテクスチャ度指標index
pqを予め定められた関数f(x)を用いてマッピングし
た値を新たにテクスチャ度指標として用いる。これを式
で表すと、 index pq:=f(index pq) (0≦p<P,0≦q<Q) となる。
[0373] Step 24334) The texture degree index creating unit 3220 determines the obtained texture degree index index.
A value obtained by mapping pq using a predetermined function f (x) is newly used as a texture degree index. When this is represented by an expression, index pq : = f (index pq ) (0 ≦ p <P, 0 ≦ q <Q).

【0374】上記の第24の実施例によれば、前述の第
23の実施例で得られたテクスチャ度指標3202を関
数でマッピングすることにより、より視覚的特性に合致
する値とすることが可能である。 [第25の実施例]次に、本発明の第25の実施例の電
子透かし埋込装置について説明する。
According to the twenty-fourth embodiment, by mapping the texture degree index 3202 obtained in the twenty-third embodiment by a function, it is possible to obtain a value more consistent with visual characteristics. It is. [Twenty-fifth Embodiment] Next, a digital watermark embedding apparatus according to a twenty-fifth embodiment of the present invention will be described.

【0375】図132は、本発明の第25の実施例の画
像の局所的複雑度作成部の構成図である。同図に示す画
像の局所的複雑度作成部3400は、エッジ・テクスチ
ャ成分値画像作成部3410、テクスチャ度指標作成部
3420、及びテクスチャ成分値画像作成部3430か
ら構成される。テクスチャ成分値画像作成部3430
は、エッジ・テクスチャ成分値画像3401とテクスチ
ャ度指標3402からテクスチャ成分値画像3403を
作成し、出力する。
FIG. 132 is a configuration diagram of an image local complexity creating section according to the twenty-fifth embodiment of the present invention. The image local complexity creating unit 3400 shown in FIG. 18 includes an edge / texture component value image creating unit 3410, a texture degree index creating unit 3420, and a texture component value image creating unit 3430. Texture component value image creation unit 3430
Creates and outputs a texture component value image 3403 from the edge / texture component value image 3401 and the texture degree index 3402.

【0376】図133は、本発明の第25の実施例の画
像の局所的複雑度作成部の動作を示すフローチャートで
ある。画像の局所的複雑度作成部3400は、入力画像
10が入力されると(ステップ25410)エッジ・テ
クスチャ成分値画像作成部3410は、入力画像10か
らエッジ・テクスチャ成分値画像3401を作成する
(ステップ25420)。
FIG. 133 is a flowchart showing the operation of the local complexity creating section for an image according to the twenty-fifth embodiment of the present invention. When the input image 10 is input (step 25410), the image local complexity creating unit 3400 creates the edge / texture component value image 3401 from the input image 10 (step 25410). 25420).

【0377】次に、テクスチャ度指標作成部3420
は、エッジ・テクスチャ成分値画像3401からテクス
チャ度指標3402を作成する(作成方法は第23の実
施例、第24の実施例のいずれでもよい)(ステップ2
5430)。そして、テクスチャ成分値画像作成部34
30は、エッジ・テクスチャ成分値画像3401とテク
スチャ度指標3402から、テクスチャ成分値画像34
03を作成し(ステップ25440)、これを画像の局
所的複雑度として出力する(ステップ25450)。
Next, a texture degree index creating unit 3420
Creates the texture degree index 3402 from the edge / texture component value image 3401 (the creation method may be any of the twenty-third embodiment and the twenty-fourth embodiment) (step 2)
5430). Then, the texture component value image creation unit 34
30 is a texture component value image 34 based on the edge / texture component value image 3401 and the texture degree index 3402.
03 (step 25440), and outputs this as the local complexity of the image (step 25450).

【0378】次に、上記のテクスチャ成分値画像作成部
3420について説明する。図134は、本発明の第2
5の実施例のテクスチャ成分値画像作成部の動作を示す
フローチャートである。 ステップ25441) テクスチャ成分値画像作成部3
430は、エッジ・テクスチャ成分値画像3401をn
×n画素のブロックに細分する(細分した結果、エッジ
・テクスチャ成分値画像は、P×Q個のブロックからな
っているとする)。各ブロックについてステップ254
42を行う。
Next, the texture component value image creating section 3420 will be described. FIG. 134 shows the second embodiment of the present invention.
15 is a flowchart illustrating the operation of a texture component value image creation unit according to the fifth embodiment. Step 25441) Texture component value image creation unit 3
Reference numeral 430 denotes the edge / texture component value image 3401 as n
It is subdivided into blocks of × n pixels (assuming that the edge / texture component value image is composed of P × Q blocks). Step 254 for each block
Perform 42.

【0379】ステップ25442) テクスチャ成分値
画像作成部3430の、(p,q)番目のブロック(0
≦p<P,0≦q<Q)についての処理を説明する。テ
クスチャ成分値画像作成部3430は、{bij (pq)}:
(p,q)番目のエッジ−テクスチャ成分値画像のブロ
ック画素値(0≦i<n,0≦j<n)とすると、
(p,q)番目のテクスチャ成分値ブロック{b’ij
(pq)},(0≦i<n,0≦j<n)は、以下の式で求
められる。
[0379] Step 25442) The (p, q) -th block (0
The processing for ≦ p <P, 0 ≦ q <Q) will be described. The texture component value image creation unit 3430 calculates the {b ij (pq) }:
Assuming that block pixel values (0 ≦ i <n, 0 ≦ j <n) of the (p, q) th edge-texture component value image,
(P, q) th texture component value block {b ' ij
(pq) }, (0 ≦ i <n, 0 ≦ j <n) is obtained by the following equation.

【0380】b’ij (pq):=index pq・bij (pq) ステップ25443) すべてのブロックについての処
理が終了した後、テクスチャ成分値ブロックを、対応す
るエッジ・テクスチャ成分値画像3401と同じ位置に
配置して構成される画像をテクスチャ成分値画像340
3として出力する。
B ′ ij (pq) : = index pq · b ij (pq) Step 25443) After all the blocks have been processed, the texture component value block is made the same as the corresponding edge / texture component value image 3401. The image constituted by arranging at the position is referred to as a texture component value image 340.
Output as 3.

【0381】本実施例における画像処理について、図1
35を用いて説明する。同図に示す入力画像10は、背
景(一様な画素値)、太陽(エッジを持ち、内部は一
様)、幹(弱いテクスチャを持つ)、葉(強いテクスチ
ャを持つ)からなっている。エッジ・テクスチャ成分値
画像3401(明るいほど大きな値)では、エッジとテ
クスチャを同様に扱っている。幹部分と葉部分と太陽の
エッジ部分は、エッジ・テクスチャ成分値に大きな違い
がない。これは、差分カウンタを用いていることによ
る。
The image processing in this embodiment is described with reference to FIG.
This will be described with reference to FIG. The input image 10 shown in FIG. 1 includes a background (uniform pixel values), the sun (having edges, the inside is uniform), a trunk (having a weak texture), and leaves (having a strong texture). In the edge / texture component value image 3401 (brighter values are larger), edges and textures are treated similarly. There is no significant difference in the edge texture component values between the stem portion, the leaf portion, and the edge portion of the sun. This is because a difference counter is used.

【0382】テクスチャ度指標3402では、その作り
方から、エッジ・テクスチャ成分の少ないブロックでは
値が小さい。そのため、エッジしか持たない太陽の部分
では、テクスチャ度指標が小さい。逆に葉や幹の部分で
は、ブロック中のエッジ・テクスチャ成分値が大きいの
で、テクスチャ度指標3402は大きな値を持つ。テク
スチャ成分値画像3403(明るいほど大きな値)で
は、エッジは弱く、またテクスチャが強くなり、目的に
合致する。また、第23の実施例の出力に比べてブロッ
ク歪が改善され、より精度の高い画像の局所的複雑度を
生成することが可能である。
The value of the texture degree index 3402 is small in a block having a small number of edge / texture components due to the way of making the index. Therefore, the texture degree index is small in the sun portion having only the edge. Conversely, in the leaf and stem portions, the edge / texture component value in the block is large, so that the texture degree index 3402 has a large value. In the texture component value image 3403 (the brighter the value, the larger the value), the edge is weak and the texture is strong, which matches the purpose. In addition, the block distortion is improved as compared with the output of the twenty-third embodiment, and it is possible to generate a more accurate local complexity of an image.

【0383】[第26の実施例]次に、第26の実施例
における電子透かし埋込装置について説明する。図13
6は、本発明の第26の実施例の電子透かし埋込装置の
構成を示す。同図に示す電子透かし埋込装置3500
は、画像の局所的複雑度作成部3510、透かしパター
ン作成部3520、及び画像加算部3530から構成さ
れる。
[Twenty-Sixth Embodiment] Next, a digital watermark embedding apparatus according to a twenty-sixth embodiment will be described. FIG.
FIG. 6 shows the configuration of a digital watermark embedding device according to a twenty-sixth embodiment of the present invention. Digital watermark embedding device 3500 shown in FIG.
Is composed of an image local complexity creating unit 3510, a watermark pattern creating unit 3520, and an image adding unit 3530.

【0384】当該電子透かし埋込装置3500は、入力
画像51、電子透かし52、鍵情報53、強度パラメー
タ54を入力とする。図137は、本発明の第26の実
施例の電子透かし埋込装置の動作を示すフローチャート
である。 ステップ26510) まず、画像の局所的複雑度作成
部3510は、入力画像51(pij)から、画像の局所
的複雑度(eij)を作成する。画像の局所的複雑度は、
画素値の変更による視覚的刺激を一定以下とした時の対
象画素値の変更可能量を表すものが理想的である。例え
ば、前述の第22の実施例〜第25の実施例で述べた電
子透かし埋込装置のいずれかを用いる。
The digital watermark embedding device 3500 receives an input image 51, a digital watermark 52, key information 53, and an intensity parameter. FIG. 137 is a flowchart showing the operation of the digital watermark embedding device according to the twenty-sixth embodiment of the present invention. Step 26510) First, the image local complexity creating unit 3510 creates the image local complexity (e ij ) from the input image 51 (p ij ). The local complexity of the image is
Ideally, the value indicates the amount of change of the target pixel value when the visual stimulus caused by the change of the pixel value is equal to or less than a certain value. For example, any of the digital watermark embedding apparatuses described in the twenty-second to twenty-fifth embodiments is used.

【0385】ステップ26520) 透かしパターン作
成部3520において、電子透かし52と鍵情報53を
元に透かしパターン3502wijを作成する。 ステップ26530) 画像加算部3530において、
以下の式により画像の複雑度に応じて適応的に透かしパ
ターン3502を入力画像51に加算する。 p’ij:=pij + power・eij・wij ただし、 {p’ij}:電子透かし埋め込み済画像(0≦i<Widt
h ,0≦j<Height) {pij}:入力画像(0≦i<Width ,0≦j<Heigh
t) {wij}:透かしパターン(0≦i<Width ,0≦j<
Height) power:強度パラメータ ステップ26540) 画像加算部3530は、電子透
かし埋め込み済画像p ijを出力する。
Step 26520) Create watermark pattern
The digital watermark 52 and the key information 53 are
Original watermark pattern 3502wijCreate Step 26530) In the image adding unit 3530,
The following formula is used to adaptively adjust the watermark pattern according to the complexity of the image.
The turn 3502 is added to the input image 51. p 'ij: = Pij + Power ・ eij・ Wij However, 'p'ij}: Digital watermark embedded image (0 ≦ i <Widt
h, 0 ≦ j <Height) {pij}: Input image (0 ≦ i <Width, 0 ≦ j <Heigh
t) {wij}: Watermark pattern (0 ≦ i <Width, 0 ≦ j <
Height) power: intensity parameter Step 26540) The image adding unit 3530 determines whether
The embedded image p ijIs output.

【0386】次に、上記のステップ26530の透かし
パターン3502の作成について説明する。 N×Nサイズの複素行列F(u,v)を用意し、初
期値を零行列とする。 k番目の埋め込み係数位置情報Lk =(xk
k ,zk )(鍵情報から生成される)を用いてF
(u,v)の要素を変更する。
Next, creation of the watermark pattern 3502 in the above step 26530 will be described. An N × N size complex matrix F (u, v) is prepared, and the initial value is set to a zero matrix. The k-th embedding coefficient position information L k = (x k ,
y k , z k ) (generated from key information)
Change the element of (u, v).

【0387】・zk が実数成分を表す値の時:F
(xk ,yk )の実数成分にmk (鍵情報と電子透かし
から生成される)を加える。また、フーリエ変換係数の
対称性を保つように、F(N−xk ,N−y k )の実数
成分にもmk を加える。式で書けば、 F(xk ,yk ):=F(xk ,yk )+mk ・α F(N−xk ,N−yk ):=F(N−xk ,N−
k )+mk ・α 但し、αは基本透かしターンの模様の強さを与えるパラ
メータである。
・ ZkIs a value representing a real component: F
(Xk, YkM)k(Key information and digital watermark
Generated from). In addition, the Fourier transform coefficient
F (N−xk, N-y kReal number
MkAdd. In the formula, F (xk, Yk): = F (xk, Yk) + Mk・ Α F (N-xk, N-yk): = F (N-xk, N-
yk) + Mk・ Α However, α is a parameter that gives the strength of the pattern of the basic watermark turn.
Meter.

【0388】・zk が虚数成分を表す値の時:F
(xk ,yk )の虚数成分にmk を加える。また、フー
リエ変換係数の対称性を保つように、F(N−xk ,N
−yk )の虚数成分からmk を引算する。式で書けば、 F(xk ,yk ):=F(xk ,yk )+mk ・α・i F(N−xk ,N−yk ):=F(N−xk ,N−
k )−mk ・α・i (iは虚数単位) これをk=0…n−1について順次行い、得られた係数
行列F(u,v)を離散フーリエ逆変換して、基本透か
しパターンを得る。
When z k is a value representing an imaginary component: F
(X k, y k) is added m k to the imaginary component of the. Also, F (N−x k , N
Subtracting m k from the imaginary component of -y k). To write the formula, F (x k, y k ): = F (x k, y k) + m k · α · i F (N-x k, N-y k): = F (N-x k, N-
y k ) −m k · α · i (i is an imaginary unit) This is sequentially performed for k = 0... n−1, and the obtained coefficient matrix F (u, v) is subjected to inverse discrete Fourier transform to obtain a basic watermark. Get the pattern.

【0389】上記の第26の実施例によれば、画像の局
所的複雑度によって透かしパターンを重み付けして入力
画像に加算して電子透かし埋め込み済画像を得るので、
埋め込みに伴う視覚的な画質劣化を抑えることが可能と
なり、従来の技術に比べて同程度の画質劣化時の耐性が
向上する。 [第27の実施例]次に、本発明の第27の実施例の電
子透かし埋込装置について説明する。
According to the twenty-sixth embodiment, the watermark pattern is weighted according to the local complexity of the image and added to the input image to obtain the image with the digital watermark embedded therein.
This makes it possible to suppress visual degradation in image quality due to embedding, and improves the same level of resistance to image degradation as compared to the conventional technology. [Twenty-Seventh Embodiment] Next, a digital watermark embedding apparatus according to a twenty-seventh embodiment of the present invention will be described.

【0390】図138は、本発明の第27の実施例の電
子透かし埋込装置の構成を示す。同図に示す電子透かし
埋め込み装置3600は、ブロック分割部3610、画
像の局所的複雑度作成部3620、適応透かしパターン
作成部3630、基本透かしパターン作成部3640、
画像加算部3650から構成される。当該電子透かし埋
め込み装置3600は、入力画像61、電子透かし6
2、鍵情報63、強度パラメータ64を入力とする。
FIG. 138 shows the structure of a digital watermark embedding device according to the twenty-seventh embodiment of the present invention. The digital watermark embedding device 3600 shown in the figure includes a block dividing unit 3610, an image local complexity creating unit 3620, an adaptive watermark pattern creating unit 3630, a basic watermark pattern creating unit 3640,
It comprises an image adder 3650. The digital watermark embedding device 3600 includes an input image 61, a digital watermark 6
2. Input key information 63 and strength parameter 64.

【0391】図139は、本発明の第27の実施例の電
子透かし埋込装置の動作を示すフローチャートである。 ステップ27610) ブロック分割部3610は、入
力画像61(Width ×Height画素からなる) を、N×N
サイズのブロック3601に分割する。 ステップ27620) 分割されたブロック3601を
用いて、画像の局所的複雑度作成部3620において、
ブロックサイズの画像の局所的複雑度を作成する。前述
の第25の実施例と同様に、画像の局所的複雑度は、画
素値の変更による視覚的な刺激を一定以下とした時の対
称画素値の変更可能量を表すものが理想的である。例え
ば、第22の実施例〜第25の実施例で述べた電子透か
し埋込装置のいずれかを用いる。
FIG. 139 is a flowchart showing the operation of the digital watermark embedding device according to the twenty-seventh embodiment of the present invention. Step 27610) The block dividing unit 3610 converts the input image 61 (consisting of Width × Height pixels) into N × N
It is divided into size blocks 3601. Step 27620) Using the divided block 3601, the image local complexity creating unit 3620 uses
Create the local complexity of a block-sized image. As in the case of the twenty-fifth embodiment, the local complexity of the image ideally represents the amount of change of the symmetric pixel value when the visual stimulus due to the change of the pixel value is kept below a certain level. . For example, any of the digital watermark embedding devices described in the twenty-second to twenty-fifth embodiments is used.

【0392】ステップ27630) 基本透かしパター
ン作成部3640において、電子透かし62と鍵情報6
3を元に基本透かしパターン3604を作成する。基本
透かしパターン3604は第26の実施例で「透かしパ
ターン」として記載されているものと等しいものとす
る。具体的に式で表すと以下のようになる。 N×Nサイズの複素行列F(u,v)を用意し、初
期値を零行列とする。
(Step 27630) In the basic watermark pattern creating section 3640, the digital watermark 62 and the key information 6
3 is created based on the basic watermark pattern 3604. It is assumed that the basic watermark pattern 3604 is the same as that described as the “watermark pattern” in the twenty-sixth embodiment. This is specifically expressed as follows. An N × N size complex matrix F (u, v) is prepared, and the initial value is set to a zero matrix.

【0393】 k番目の埋め込み係数位置情報Lk
(xk ,yk ,zk )(鍵情報から生成される)を用い
てF(u,v)の要素を変更する。 ・zk が実数成分を表す値の時:F(xk ,yk )の実
数成分にmk (鍵情報と電子透かしから生成される)を
加える。また、フーリエ変換係数の対称性を保つよう
に、F(N−xk ,N−y k )の実数成分にもmk を加
える。式で書けば、 F(xk ,yk ):=F(xk ,yk )+mk ・α F(N−xk ,N−yk ):=F(N−xk ,N−
k )+mk ・α 但し、αは基本透かしターンの模様の強さを与えるパラ
メータである。
The k-th embedding coefficient position information Lk=
(Xk, Yk, Zk) (Generated from key information)
To change the element of F (u, v).・ ZkIs a value representing a real component: F (xk, Yk) Fruit
M for several componentsk(Generated from key information and digital watermark)
Add. Also, keep the Fourier transform coefficient symmetric.
And F (N-xk, N-y kM)kAdd
I can. In the formula, F (xk, Yk): = F (xk, Yk) + Mk・ Α F (N-xk, N-yk): = F (N-xk, N-
yk) + Mk・ Α However, α is a parameter that gives the strength of the pattern of the basic watermark turn.
Meter.

【0394】・zk が虚数成分を表す値の時:F
(xk ,yk )の虚数成分にmk を加える。また、フー
リエ変換係数の対称性を保つように、F(N−xk ,N
−yk )の虚数成分からmk を引算する。式で書けば、 F(xk ,yk ):=F(xk ,yk )+mk ・α・i F(N−xk ,N−yk ):=F(N−xk ,N−
k )−mk ・α・i (iは虚数単位) これをk=0…n−1について順次行い、得られた係数
行列F(u,v)を離散フーリエ逆変換して、基本透か
しパターンを得る。
When z k is a value representing an imaginary component: F
(X k, y k) is added m k to the imaginary component of the. Also, F (N−x k , N
Subtracting m k from the imaginary component of -y k). To write the formula, F (x k, y k ): = F (x k, y k) + m k · α · i F (N-x k, N-y k): = F (N-x k, N-
y k ) −m k · α · i (i is an imaginary unit) This is sequentially performed for k = 0... n−1, and the obtained coefficient matrix F (u, v) is subjected to inverse discrete Fourier transform to obtain a basic watermark. Get the pattern.

【0395】ステップ27650) さらに、適応透か
しパターン作成部3630は、適応透かしパターン36
02を作成する。 当該適応透かしパターン3602の求め方を式で表すと
以下のようになる。
(Step 27650) Further, adaptive watermark pattern creating section 3630 selects adaptive watermark pattern 36
02 is created. The method of obtaining the adaptive watermark pattern 3602 is represented by the following equation.

【数27】 [Equation 27]

【0396】但し、 {p’ij:}:電子透かし埋め込み済ブロック(0≦i
<N,0≦j<N) {pij:}:ブロック(0≦i<N,0≦j<N) {eij:}:画像の局所的複雑度(0≦i<N,0≦j
<N) {aij:}:適応透かしパターン(0≦i<N,0≦j
<N) {bij:}:基本透かしパターン(0≦i<N,0≦j
<N) power :強度パラメータ emax :画像の局所的複雑度の定義式による値域の最大
値 emin :画像の局所的複雑度の定義式による値域の最小
値 β:適応透かしパターンの強調倍率 ステップ27660) すべてのブロックに対し、電子
透かし埋め込み済ブロック3605を作成した後、電子
透かし埋め込み済ブロック3605を元のブロックの位
置に配置して電子透かし埋め込み済画像65を得る。
Here, {p ′ ij :}: digital watermark embedded block (0 ≦ i
<N, 0 ≦ j <N) {p ij :}: block (0 ≦ i <N, 0 ≦ j <N) {e ij :}: local complexity of image (0 ≦ i <N, 0 ≦ j
<N) {a ij :}: Adaptive watermark pattern (0 ≦ i <N, 0 ≦ j
<N) {b ij :}: Basic watermark pattern (0 ≦ i <N, 0 ≦ j
<N) power: Intensity parameter e max : Maximum value of the range according to the definition formula of the local complexity of the image e min : Minimum value of the range according to the definition formula of the local complexity of the image β: Enlargement magnification of the adaptive watermark pattern 27660) After creating the digital watermark embedded block 3605 for all the blocks, the digital watermark embedded block 3605 is arranged at the position of the original block to obtain the digital watermark embedded image 65.

【0397】次に、本実施例における適応透かしパター
ン作成部3630について説明する。適応透かしパター
ン作成部3630は、現在参照中のブロックの直交変換
係数の振幅値に応じて、基本透かしパターン3604の
対応する直交変換係数を強調する。
Next, the adaptive watermark pattern creating section 3630 in this embodiment will be described. The adaptive watermark pattern creation unit 3630 emphasizes the orthogonal transform coefficient corresponding to the basic watermark pattern 3604 according to the amplitude value of the orthogonal transform coefficient of the block currently being referenced.

【0398】図140は、本発明の第27の実施例の適
応透かしパターン作成部の動作を示すフローチャートで
ある。 ステップ27641) 適用透かしパターン作成部36
30は、ブロック分割部3610で分割されたブロック
を離散フーリエ変換して、ブロック係数行列G(u,
v)を得る。
FIG. 140 is a flowchart showing the operation of the adaptive watermark pattern creating section according to the twenty-seventh embodiment of the present invention. Step 27641) Applicable watermark pattern creation unit 36
30 performs a discrete Fourier transform on the blocks divided by the block dividing unit 3610 to obtain a block coefficient matrix G (u,
Obtain v).

【0399】ステップ27642) 基本透かしパター
ンを離散フーリエ変換して、複素行列である透かし係数
行列F(u,v)(0≦u<N,0≦v<N)を生成す
る。 ステップ27643) (u,v)=(0,0)〜(N
−1,N−1)について、|G(u,v)|<αである
場合には、ステップ27644に移行し、そうでない場
合にはステップ27645に移行する。
Step 27642) The basic watermark pattern is subjected to a discrete Fourier transform to generate a watermark coefficient matrix F (u, v) (0 ≦ u <N, 0 ≦ v <N) which is a complex matrix. Step 27643) (u, v) = (0,0) to (N
For −1, N−1), if | G (u, v) | <α, the process proceeds to step 27644; otherwise, the process proceeds to step 27645.

【0400】ステップ27644) |G(u,v)|
<αであるとき、γ:=αとし、ステップ27646に
移行する。 ステップ27645) |G(u,v)|≧αであると
き、γ:=|G(u,v)|とする。なお、ステップ2
7644、27645におけるαは、予め設定しておく
閾値である。
Step 27644) | G (u, v) |
When <α, γ: = α, and the flow shifts to step 27646. If | G (u, v) | ≧ α, γ: = | G (u, v) |. Step 2
Α in 7644 and 27645 is a threshold value set in advance.

【0401】ステップ27646) F’(u,v):
=F(u,v)・γ ステップ27647) F’(u,v)を離散フーリエ
変換して、適応透かしパターン3602を得て出力す
る。 上記のように、本実施例によれば、図141に示すよう
に、入力画像の局所的な模様を良く反映した透かしパタ
ーンを用いた電子透かし埋め込みが可能となる。つま
り、元のブロック3601の模様(左前扇形部分の斜
線)と基本透かしパターン3604は相関はないが、適
応透かしパターン3602はブロック3601の模様を
良く反映している。これらの画像の局所的複雑度を用い
て重み付けして加算すると、ブロック3601の元の模
様を良く反映した形で、かつ強いパワーで情報を埋める
ことができる。これにより、第25の実施例よりもさら
に対数が向上する。
Step 27646) F '(u, v):
= F (u, v) · γ Step 27647) F ′ (u, v) is subjected to discrete Fourier transform to obtain and output an adaptive watermark pattern 3602. As described above, according to the present embodiment, as shown in FIG. 141, it is possible to embed a digital watermark using a watermark pattern that well reflects a local pattern of an input image. That is, the pattern of the original block 3601 (the oblique line in the left front sector) and the basic watermark pattern 3604 have no correlation, but the adaptive watermark pattern 3602 reflects the pattern of the block 3601 well. When weighted and added using the local complexity of these images, information can be embedded with strong power in a form that reflects the original pattern of block 3601 well. As a result, the logarithm is further improved as compared with the twenty-fifth embodiment.

【0402】また、上記実施例の構成および動作をプロ
グラムとして構築し、電子透かし埋込装置及び電子透か
し検出装置として利用されるコンピュータに接続される
ディスク装置や、フロッピーディスク,CD−ROM等
の可搬記憶媒体に格納しておき、本発明を実施する際に
インストールすることにより、容易に本発明を実現でき
る。
Further, the configuration and operation of the above embodiment are constructed as a program, and a disk device connected to a computer used as a digital watermark embedding device and a digital watermark detecting device, a floppy disk, a CD-ROM, etc. The present invention can be easily realized by storing it in a portable storage medium and installing it when implementing the present invention.

【0403】[第28の実施例]本実施例では、上記の
第1の実施例から第27の実施例で述べた電子透かし埋
込装置及び電子透かし検出装置を図142に示すような
集積回路によっても実現できる。図142に示す集積回
路は、メモリ部1、マイクロプロセッサ部2、外部との
インタフェースを司るインタフェース部3から構成され
る。なお、同図は、主要部を示すものであり、他の回路
も含み得る。メモリ部1に格納したプログラムをマイク
ロプロセッサ部2が実行する。集積回路の構成について
は、他に種々の構成が可能である。
[Twenty-eighth Embodiment] In this embodiment, the digital watermark embedding device and the digital watermark detection device described in the first to twenty-seventh embodiments are integrated circuits as shown in FIG. It can also be realized by The integrated circuit shown in FIG. 142 includes a memory unit 1, a microprocessor unit 2, and an interface unit 3 that manages an interface with the outside. FIG. 1 shows the main part, and may include other circuits. The microprocessor unit 2 executes the program stored in the memory unit 1. Various other configurations are possible for the configuration of the integrated circuit.

【0404】また、この集積回路を種々の装置、例え
ば、ビデオカメラや再生装置に組み込むことにより、本
発明の電子透かし処理を行うことが可能である。また、
上記の実施例における構成及び動作をプログラムとして
構築し、当該電子透かし埋込装置及び電子透かし検出装
置として利用されるコンピュータに接続されるディスク
装置や、フロッピーディスクやCD−ROM等の可搬記
憶媒体に格納しておき、本発明を実施する際にインスト
ールすることにより、容易に本発明を実現できる。な
お、本発明は、上記の実施例に限定されることなく、特
許請求の範囲内で種々変更・応用が可能である。
Further, by incorporating this integrated circuit into various devices, for example, a video camera or a reproducing device, it is possible to perform the digital watermarking process of the present invention. Also,
A disk device connected to a computer used as the digital watermark embedding device and the digital watermark detection device, and a portable storage medium such as a floppy disk or a CD-ROM, by constructing the configuration and operation in the above embodiment as a program. The present invention can be easily realized by storing the information in a storage device and installing it when implementing the present invention. It should be noted that the present invention is not limited to the above-described embodiment, but can be variously modified and applied within the scope of the claims.

【0405】[0405]

【発明の効果】上述のように、本発明によれば、入力画
像全体に渡って透かしパターンをタイル状に加算するこ
とで、副情報を埋め込む。入力画像をブロックに分割し
て1ブロック毎に離散フーリエ変換、離散逆フーリエ変
換を行う必要がないので、従来の技術に比べ埋め込み処
理の高速化を実現している。
As described above, according to the present invention, sub-information is embedded by adding a watermark pattern in a tile form over the entire input image. Since it is not necessary to divide the input image into blocks and perform discrete Fourier transform and discrete inverse Fourier transform for each block, the embedding process can be sped up as compared with the conventional technology.

【0406】検出時には、透かしパターンの開始位置を
見つけることにより、任意の平行移動に対し、耐性を持
つ電子透かし方式を実現できる。また、切取り部分があ
る程度のサイズ(ブロックサイズ程度)以上であれば、
電子透かし埋込済画像の一部分を切り出した画像からも
埋め込んだ情報を読み取ることができる。
At the time of detection, by finding the start position of the watermark pattern, it is possible to realize a digital watermarking method which is resistant to arbitrary translation. Also, if the cutout is a certain size (about the block size) or more,
The embedded information can be read from an image obtained by cutting out a part of the digital watermark embedded image.

【0407】また、検出対象画像を透かしパターンと同
じサイズのブロックに分割し、すべてのブロックからの
検出結果を用いて検出精度を向上させることが可能であ
る。さらに、すべてのブロックを加算して得られる加算
ブロックからの検出を用いると、検出精度の向上と検出
処理の高速化が実現できる。また、第11の実施例から
第16の実施例においては、透かしパターンの開始位置
の探索前に一度だけ離散フーリエ変換を行うだけでよい
ので、探索時間を大幅に短縮することができる。
Further, it is possible to divide the detection target image into blocks having the same size as the watermark pattern, and to improve the detection accuracy by using the detection results from all the blocks. Further, by using the detection from the added block obtained by adding all the blocks, it is possible to improve the detection accuracy and speed up the detection process. In the eleventh to sixteenth embodiments, the discrete Fourier transform only needs to be performed once before searching for the start position of the watermark pattern, so that the search time can be greatly reduced.

【0408】さらに、第19の実施例から第21の実施
例で述べたように、予め定めた閾値を用いて検出結果が
有意である場合には、正常に検出処理を行い、検出結果
が有意でないと思われる場合には、検出失敗とすること
で、検出結果の信頼性が向上する。特に、具体的に確度
を定めた時に閾値をどのように設定すればよいかという
問題について、数学的に示すことができるような構成に
なっており、実用性が高い。
Further, as described in the nineteenth to twenty-first embodiments, when the detection result is significant using a predetermined threshold value, the detection processing is performed normally, and the detection result is significant. If it is not, the detection failure is improved, and the reliability of the detection result is improved. In particular, the configuration is such that the problem of how to set the threshold when the accuracy is specifically determined can be mathematically shown, and is highly practical.

【0409】また、本発明では、フーリエ変換係数値を
変更して情報を埋め込むので、従来までの同時に平行移
動や切取りに対する耐性を持つことが可能である。ま
た、離散フーリエ変換以外の直交変換を用いてもよい。
さらに、動画像の各フレームに対し本発明を適用するこ
とにより、動画像への電子透かし埋め込み及び動画像か
らの電子透かし検出も可能である。
In the present invention, since information is embedded by changing the Fourier transform coefficient value, it is possible to simultaneously withstand the conventional parallel movement and cutoff. Also, an orthogonal transform other than the discrete Fourier transform may be used.
Furthermore, by applying the present invention to each frame of a moving image, it is possible to embed a digital watermark in the moving image and to detect a digital watermark from the moving image.

【0410】また、本発明によれば、テクスチャ領域に
おいて、比較的大きな値を持ち、平坦領域あるいは、エ
ッジ部分では比較的小さな値を持つような画像の局所的
複雑度を作成することが可能となる。これにより、従来
技術より視覚特性に適応的な電子透かし埋め込みが実現
でき、相対的に電子透かしの耐性が増す。また、画像の
複雑部分を重点的に変更することで、画像に情報を埋め
込むので、従来の技術よりも相対的に耐性を向上させる
ことが可能となる。
Further, according to the present invention, it is possible to create local complexity of an image having a relatively large value in a texture region and a relatively small value in a flat region or an edge portion. Become. As a result, digital watermark embedding adaptive to visual characteristics can be realized as compared with the related art, and the resistance of the digital watermark is relatively increased. In addition, since information is embedded in the image by mainly changing a complicated part of the image, it is possible to relatively improve the tolerance compared with the conventional technology.

【0411】さらに、埋め込みの際に、元の画像の模様
を反映したパターンを加算することから、より画質の向
上、つまり相対的な耐性の更なる向上を実現できる。ま
た、情報検出装置については、従来のものをそのまま用
いることができ、移行コストを低くできる。さらに、動
画像の各フレームに対し、本発明を適用することによ
り、動画像への電子透かし埋め込み及び動画像からの電
子透かし検出も可能である。
Further, at the time of embedding, since a pattern reflecting the pattern of the original image is added, it is possible to further improve the image quality, that is, further improve the relative tolerance. Further, as the information detecting device, a conventional device can be used as it is, and the transition cost can be reduced. Furthermore, by applying the present invention to each frame of a moving image, it is possible to embed a digital watermark in the moving image and to detect a digital watermark from the moving image.

【0412】これにより、著作権者にとっては、情報コ
ンテンツの著作権を保護することが目的であるため、電
子透かし情報は、利用者のさまざまな編集に対して耐性
を持つ必要があり、利用者にとっては、電子透かしを意
識することなく、情報コンテンツを利用できなければな
らないため、電子透かし処理を施した画像で劣化が知覚
されてはならない。本発明によれば、従来よりも画質/
耐性共に向上することにより、著作権保護システムが、
より有効に機能し、著作者が安心してコンテンツを情報
提供することが可能となることから、ネットワークによ
る情報流通が促進される。
[0412] Thus, since the purpose of the copyright holder is to protect the copyright of the information content, the digital watermark information needs to be resistant to various editing by the user. Therefore, it is necessary to be able to use the information content without being conscious of the digital watermark. Therefore, the degradation must not be perceived in the image subjected to the digital watermark processing. According to the present invention, the image quality /
By improving both the resilience and the copyright protection system,
It functions more effectively and allows the author to provide information on the content with peace of mind, thereby promoting information distribution through a network.

【0413】本発明は、コンテンツ流通システムにおい
ては、コンテンツを一意に識別するためのコンテンツI
Dを付与し、これをコンテンツに埋め込み、コンテンツ
の著作権者情報や利用条件などとリンクすることによる
コンテンツ管理システムに適用することにより、コンテ
ンツの正しい利用が促進され、また、権利者側は、コン
テンツの権利者が自分であることの保証が得られる。
[0413] The present invention relates to a content distribution system for uniquely identifying a content.
By applying D to the content management system by embedding it in the content and linking it to the copyright owner information of the content and usage conditions, correct use of the content is promoted. You can be assured that the content right holder is yourself.

【0414】また、本発明は、コンテンツ配送時に、ユ
ーザ情報を埋め込むことにより、不正コピーを抑止でき
る。さらに、DVD等で用いられているコピー管理信号
を埋め込むことで、現在より強固なコピープロテクトが
実現できる。
[0414] Further, the present invention can suppress unauthorized copying by embedding user information at the time of content delivery. Further, by embedding a copy management signal used in a DVD or the like, stronger copy protection can be realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の原理を説明するための図であ
る。
FIG. 1 is a diagram for explaining a first principle of the present invention.

【図2】本発明の第1の原理構成図である。FIG. 2 is a first principle configuration diagram of the present invention.

【図3】本発明の第2の原理を説明するための図であ
る。
FIG. 3 is a diagram for explaining a second principle of the present invention.

【図4】本発明の第3の原理構成図である。FIG. 4 is a third principle configuration diagram of the present invention.

【図5】本発明の第1の実施例の電子透かし埋込装置の
構成図である。
FIG. 5 is a configuration diagram of a digital watermark embedding device according to the first embodiment of the present invention.

【図6】本発明の第1の実施例の電子透かし埋込装置の
動作を示すフローチャートである。
FIG. 6 is a flowchart showing the operation of the digital watermark embedding device according to the first embodiment of the present invention.

【図7】本発明の第1の実施例の埋込対象成分指定部の
構成図である。
FIG. 7 is a configuration diagram of an embedding target component designation section according to the first embodiment of the present invention.

【図8】本発明の第1の実施例の埋込対象成分指定部の
動作を示すフローチャートである。
FIG. 8 is a flowchart illustrating an operation of an embedding target component specifying unit according to the first embodiment of this invention.

【図9】本発明の第1の実施例の埋込系列生成部の構成
図である。
FIG. 9 is a configuration diagram of an embedded sequence generation unit according to the first example of the present invention.

【図10】本発明の第1の実施例の埋込系列生成部の動
作を示すフローチャートである。
FIG. 10 is a flowchart illustrating an operation of an embedded sequence generation unit according to the first exemplary embodiment of the present invention.

【図11】本発明の第1の実施例の成分値変更部の動作
のフローチャートである。
FIG. 11 is a flowchart illustrating an operation of a component value changing unit according to the first embodiment of this invention.

【図12】本発明の第1の実施例の離散逆フーリエ変換
部の動作を説明するための図である。
FIG. 12 is a diagram illustrating the operation of the discrete inverse Fourier transform unit according to the first embodiment of the present invention.

【図13】本発明の第1の実施例の透かしパターン加算
部の動作を説明するための図である。
FIG. 13 is a diagram for explaining the operation of the watermark pattern adding unit according to the first embodiment of the present invention.

【図14】本発明の第2の実施例の電子透かし検出装置
の構成図である。
FIG. 14 is a configuration diagram of a digital watermark detection device according to a second embodiment of the present invention.

【図15】本発明の第2の実施例の電子透かし検出装置
の動作を示すフローチャートである。
FIG. 15 is a flowchart showing an operation of the digital watermark detection device according to the second embodiment of the present invention.

【図16】本発明の第2の実施例の検出対象成分指定部
の構成図である。
FIG. 16 is a configuration diagram of a detection target component designation unit according to the second embodiment of the present invention.

【図17】本発明の第2の実施例の検出対象成分指定部
の動作のフローチャートである。
FIG. 17 is a flowchart illustrating an operation of a detection target component designation unit according to the second embodiment of this invention.

【図18】本発明の第2の実施例の位置マーカ系列生成
部の構成図である。
FIG. 18 is a configuration diagram of a position marker sequence generation unit according to a second example of the present invention.

【図19】本発明の第2の実施例の位置マーカ系列生成
部の動作を示すフローチャートである。
FIG. 19 is a flowchart illustrating an operation of a position marker sequence generation unit according to the second example of the present invention.

【図20】本発明の第2の実施例の位置マーカ検出部の
構成図である。
FIG. 20 is a configuration diagram of a position marker detection unit according to a second example of the present invention.

【図21】本発明の第2の実施例の位置マーカ検出部の
動作を示すフローチャートである。
FIG. 21 is a flowchart illustrating an operation of a position marker detection unit according to the second example of the present invention.

【図22】本発明の第2の実施例のブロック生成部の動
作を説明するための図である。
FIG. 22 is a diagram for explaining an operation of the block generation unit according to the second example of the present invention.

【図23】本発明の第2の実施例のブロック生成部の動
作を示すフローチャートである。
FIG. 23 is a flowchart illustrating an operation of a block generation unit according to the second embodiment of this invention.

【図24】本発明の第2の実施例の検出対象系列生成部
の動作を示すフローチャートである。
FIG. 24 is a flowchart illustrating an operation of a detection target sequence generation unit according to the second embodiment of this invention.

【図25】本発明の第2の実施例の電子透かし検出部の
構成図である。
FIG. 25 is a configuration diagram of a digital watermark detection unit according to a second example of the present invention.

【図26】本発明の第2の実施例の電子透かし検出部の
動作を示すフローチャートである。
FIG. 26 is a flowchart illustrating an operation of a digital watermark detection unit according to the second embodiment of this invention.

【図27】本発明の第2の実施例のシンボル検出部の構
成図である。
FIG. 27 is a configuration diagram of a symbol detection unit according to a second embodiment of the present invention.

【図28】本発明の第2の実施例のシンボル検出部の動
作を示すフローチャートである。
FIG. 28 is a flowchart illustrating an operation of the symbol detection unit according to the second example of the present invention.

【図29】本発明の第2の実施例のシンボル系列生成部
の構成図である。
FIG. 29 is a configuration diagram of a symbol sequence generation unit according to the second embodiment of the present invention.

【図30】本発明の第2の実施例のシンボル系列生成部
の動作を示すフローチャートである。
FIG. 30 is a flowchart illustrating an operation of the symbol sequence generation unit according to the second example of the present invention.

【図31】本発明の第2の実施例の検出結果生成部の構
成図である。
FIG. 31 is a configuration diagram of a detection result generation unit according to the second example of the present invention.

【図32】本発明の第2の実施例の検出結果生成部の動
作を示すフローチャートである。
FIG. 32 is a flowchart illustrating an operation of a detection result generation unit according to the second example of the present invention.

【図33】本発明の第3の実施例のブロック生成部の動
作を示すフローチャートである。
FIG. 33 is a flowchart illustrating an operation of a block generation unit according to the third embodiment of this invention.

【図34】本発明の第3の実施例のブロック生成部の動
作を説明するための図である。
FIG. 34 is a diagram for explaining the operation of the block generation unit according to the third example of the present invention.

【図35】本発明の第4の実施例のブロック生成部の動
作を説明するための図である。
FIG. 35 is a diagram for explaining the operation of the block generation unit according to the fourth embodiment of the present invention.

【図36】本発明の第4の実施例の位置マーカ検出部の
ブロック生成部の動作を示すフローチャートである。
FIG. 36 is a flowchart illustrating an operation of a block generation unit of a position marker detection unit according to the fourth embodiment of the present invention.

【図37】本発明の第5の実施例の電子透かし検出部の
構成図である。
FIG. 37 is a configuration diagram of a digital watermark detection unit according to a fifth embodiment of the present invention.

【図38】本発明の第5の実施例の電子透かし検出部の
動作を示すフローチャートである。
FIG. 38 is a flowchart illustrating an operation of the digital watermark detection unit according to the fifth embodiment of the present invention.

【図39】本発明の第5の実施例のブロック分割部の動
作を説明するための図である。
FIG. 39 is a diagram for explaining the operation of the block division unit according to the fifth embodiment of the present invention.

【図40】本発明の第5の実施例のシンボル検出部の構
成図である。
FIG. 40 is a configuration diagram of a symbol detection unit according to a fifth embodiment of the present invention.

【図41】本発明の第5の実施例のシンボル検出部の動
作を示すフローチャートである。
FIG. 41 is a flowchart showing the operation of the symbol detector of the fifth embodiment of the present invention.

【図42】本発明の第5の実施例のシンボル系列生成部
の構成図である。
FIG. 42 is a configuration diagram of a symbol sequence generation unit according to a fifth embodiment of the present invention.

【図43】本発明の第5の実施例のシンボル系列生成部
の動作を示すフローチャートである。
FIG. 43 is a flowchart illustrating an operation of the symbol sequence generation unit according to the fifth example of the present invention.

【図44】本発明の第5の実施例の検出結果生成部の構
成図である。
FIG. 44 is a configuration diagram of a detection result generation unit according to the fifth embodiment of the present invention.

【図45】本発明の第5の実施例の検出結果生成部の動
作を示すフローチャートである。
FIG. 45 is a flowchart illustrating an operation of a detection result generation unit according to the fifth example of the present invention.

【図46】本発明の第6の実施例の電子透かし検出部の
構成図である。
FIG. 46 is a configuration diagram of a digital watermark detection unit according to a sixth embodiment of the present invention.

【図47】本発明の第6の実施例の電子透かし検出部の
動作を示すフローチャートである。
FIG. 47 is a flowchart showing the operation of the digital watermark detection unit according to the sixth embodiment of the present invention.

【図48】本発明の第6の実施例のブロック分割部の動
作を説明するための図である。
FIG. 48 is a diagram for explaining the operation of the block division unit according to the sixth embodiment of the present invention.

【図49】本発明の第6の実施例のシンボル検出部の構
成図である。
FIG. 49 is a configuration diagram of a symbol detection unit according to a sixth embodiment of the present invention.

【図50】本発明の第6の実施例のシンボル検出部の動
作を示すフローチャートである。
FIG. 50 is a flowchart showing the operation of the symbol detector of the sixth embodiment of the present invention.

【図51】本発明の第6の実施例のシンボル系列生成部
の構成図である。
FIG. 51 is a configuration diagram of a symbol sequence generation unit according to a sixth embodiment of the present invention.

【図52】本発明の第6の実施例のシンボル系列生成部
の動作を示すフローチャートである。
FIG. 52 is a flowchart illustrating an operation of the symbol sequence generation unit according to the sixth example of the present invention.

【図53】本発明の第6の実施例の検出結果生成部の構
成図である。
FIG. 53 is a configuration diagram of a detection result generator according to the sixth embodiment of the present invention.

【図54】本発明の第6の実施例の検出結果生成部の動
作を示すフローチャートである。
FIG. 54 is a flowchart illustrating an operation of a detection result generation unit according to the sixth example of the present invention.

【図55】本発明の第7の実施例の電子透かし検出部の
構成図である。
FIG. 55 is a configuration diagram of a digital watermark detection unit according to a seventh embodiment of the present invention.

【図56】本発明の第7の実施例の電子透かし検出部の
動作を示すフローチャートである。
FIG. 56 is a flowchart showing the operation of the digital watermark detection unit according to the seventh embodiment of the present invention.

【図57】本発明の第7の実施例のブロック分割部を説
明するための図である。
FIG. 57 is a diagram illustrating a block division unit according to a seventh embodiment of the present invention.

【図58】本発明の第7の実施例のシンボル検出部の構
成図である。
FIG. 58 is a configuration diagram of a symbol detection unit according to a seventh embodiment of the present invention.

【図59】本発明の第7の実施例のシンボル検出部の動
作を示すフローチャートである。
FIG. 59 is a flowchart showing the operation of the symbol detector of the seventh embodiment of the present invention.

【図60】本発明の第7の実施例のシンボル系列生成部
の構成図である。
FIG. 60 is a configuration diagram of a symbol sequence generation unit according to a seventh embodiment of the present invention.

【図61】本発明の第7の実施例のシンボル系列生成部
の動作を示すフローチャートである。
FIG. 61 is a flowchart illustrating an operation of the symbol sequence generation unit according to the seventh example of the present invention.

【図62】本発明の第7の実施例の検出結果生成部の構
成図である。
FIG. 62 is a configuration diagram of a detection result generator according to a seventh embodiment of the present invention.

【図63】本発明の第7の実施例の検出結果生成部の動
作を示すフローチャートである。
FIG. 63 is a flowchart illustrating an operation of a detection result generation unit according to the seventh example of the present invention.

【図64】本発明の第8の実施例の位置マーカ検出部の
ブロック生成部の構成図である。
FIG. 64 is a configuration diagram of a block generation unit of a position marker detection unit according to an eighth embodiment of the present invention.

【図65】本発明の第8の実施例の位置マーカ検出部の
ブロック生成部の動作を示すフローチャートである。
FIG. 65 is a flowchart showing the operation of the block generation unit of the position marker detection unit according to the eighth embodiment of the present invention.

【図66】本発明の第8の実施例のブロック生成部の動
作を説明するための図である。
FIG. 66 is a diagram for explaining the operation of the block generation unit according to the eighth embodiment of the present invention.

【図67】本発明の第9の実施例の位置マーカ検出部の
ブロック生成部の構成図である。
FIG. 67 is a configuration diagram of a block generation unit of a position marker detection unit according to a ninth embodiment of the present invention.

【図68】本発明の第9の実施例の位置マーカ検出部の
ブロック生成部の動作を示すフローチャートである。
FIG. 68 is a flowchart illustrating an operation of a block generation unit of the position marker detection unit according to the ninth embodiment of the present invention.

【図69】本発明の第9の実施例のブロック生成部のブ
ロック分割を説明するための図である。
FIG. 69 is a diagram for describing block division by the block generation unit according to the ninth embodiment of the present invention.

【図70】本発明の第9の実施例のブロック生成部のサ
イクリックシフトの動作を説明するための図である。
FIG. 70 is a diagram for explaining a cyclic shift operation of the block generation unit according to the ninth embodiment of the present invention.

【図71】本発明の第10の実施例の位置マーカ検出部
のブロック生成部の構成図である。
FIG. 71 is a configuration diagram of a block generation unit of a position marker detection unit according to a tenth embodiment of the present invention.

【図72】本発明の第10の実施例のブロック生成部の
動作を示すフローチャートである。
FIG. 72 is a flowchart illustrating an operation of a block generation unit according to the tenth embodiment of the present invention.

【図73】本発明の第10の実施例のブロック生成部の
動作を説明するための図である。
FIG. 73 is a diagram for explaining the operation of the block generation unit according to the tenth embodiment of the present invention.

【図74】本発明の第10の実施例のブロック生成部の
分割処理を説明するための図である。
FIG. 74 is a diagram for describing division processing of the block generation unit according to the tenth embodiment of the present invention.

【図75】本発明の第10の実施例のサイクリックシフ
ト部の動作を説明するための図である。
FIG. 75 is a view for explaining the operation of the cyclic shift section according to the tenth embodiment of the present invention.

【図76】本発明の第11の実施例の電子透かし検出装
置の構成図である。
FIG. 76 is a configuration diagram of a digital watermark detection device according to an eleventh embodiment of the present invention.

【図77】本発明の第11の実施例の電子透かし検出装
置の動作を示すフローチャートである。
FIG. 77 is a flowchart showing the operation of the digital watermark detection device according to the eleventh embodiment of the present invention.

【図78】本発明の第11の実施例の検出対象成分指定
部の構成図である。
FIG. 78 is a configuration diagram of a detection target component designation unit according to the eleventh embodiment of the present invention.

【図79】本発明の第11の実施例の検出対象成分指定
部の動作を示すフローチャートである。
FIG. 79 is a flow chart showing the operation of the detection target component designation unit according to the eleventh embodiment of the present invention.

【図80】本発明の第11の実施例の位置マーカ系列生
成部の構成図である。
FIG. 80 is a configuration diagram of a position marker sequence generation unit according to the eleventh embodiment of the present invention.

【図81】本発明の第11の実施例の位置マーカ系列生
成部の動作を示すフローチャートである。
FIG. 81 is a flowchart showing the operation of the position marker sequence generation unit according to the eleventh embodiment of the present invention.

【図82】本発明の第11の実施例の位置マーカ検出部
の構成図である。
FIG. 82 is a configuration diagram of a position marker detection unit according to the eleventh embodiment of the present invention.

【図83】本発明の第11の実施例の位置マーカ検出部
の動作を示すフローチャートである。
FIG. 83 is a flowchart showing the operation of the position marker detection unit according to the eleventh embodiment of the present invention.

【図84】本発明の第11の実施例の位置マーカ検出部
の検出対象系列生成部の動作を示すフローチャートであ
る。
FIG. 84 is a flowchart showing the operation of the detection target sequence generation unit of the position marker detection unit according to the eleventh embodiment of the present invention.

【図85】本発明の第11の実施例の電子透かし検出部
の構成図である。
FIG. 85 is a configuration diagram of a digital watermark detection unit according to an eleventh embodiment of the present invention.

【図86】本発明の第11の実施例の電子透かし検出部
の動作を示すフローチャートである。
FIG. 86 is a flowchart showing the operation of the digital watermark detection unit according to the eleventh embodiment of the present invention.

【図87】本発明の第11の実施例のシンボル検出部の
構成図である。
FIG. 87 is a configuration diagram of a symbol detection unit according to an eleventh embodiment of the present invention.

【図88】本発明の第11の実施例のシンボル検出部の
動作を示すフローチャートである。
FIG. 88 is a flowchart showing the operation of the symbol detector of the eleventh embodiment of the present invention.

【図89】本発明の第11の実施例のシンボル生成部の
構成図である。
FIG. 89 is a configuration diagram of a symbol generation unit according to an eleventh embodiment of the present invention.

【図90】本発明の第11の実施例のシンボル生成部の
動作を示すフローチャートである。
FIG. 90 is a flowchart showing the operation of the symbol generation unit according to the eleventh embodiment of the present invention.

【図91】本発明の第11の実施例の検出結果生成部の
構成図である。
FIG. 91 is a configuration diagram of a detection result generation unit according to the eleventh embodiment of the present invention.

【図92】本発明の第11の実施例の検出結果生成部の
動作を示すフローチャートである。
FIG. 92 is a flowchart showing the operation of the detection result generation unit according to the eleventh embodiment of the present invention.

【図93】本発明の第12の実施例の位置マーカ検出部
の動作を説明するための図である。
FIG. 93 is a diagram for explaining the operation of the position marker detection unit according to the twelfth embodiment of the present invention.

【図94】本発明の第13の実施例の電子透かし検出部
の構成図である。
FIG. 94 is a configuration diagram of a digital watermark detection unit according to a thirteenth embodiment of the present invention.

【図95】本発明の第13の実施例の電子透かし検出部
の動作を示すフローチャートである。
FIG. 95 is a flowchart showing the operation of the digital watermark detection unit according to the thirteenth embodiment of the present invention.

【図96】本発明の第13の実施例のブロック分割部の
動作を説明するための図である。
FIG. 96 is a diagram for explaining the operation of the block division unit according to the thirteenth embodiment of the present invention.

【図97】本発明の第13の実施例のシンボル検出部の
構成図である。
FIG. 97 is a configuration diagram of a symbol detector of a thirteenth embodiment of the present invention.

【図98】本発明の第13の実施例のシンボル検出部の
動作を示すフローチャートである。
FIG. 98 is a flowchart showing the operation of the symbol detector of the thirteenth embodiment of the present invention.

【図99】本発明の第13の実施例のシンボル系列生成
部の構成図である。
FIG. 99 is a configuration diagram of a symbol sequence generation unit according to a thirteenth embodiment of the present invention.

【図100】本発明の第13の実施例のシンボル系列生
成部の動作を示すフローチャートである。
FIG. 100 is a flowchart showing an operation of the symbol sequence generation unit according to the thirteenth embodiment of the present invention.

【図101】本発明の第13の実施例の検出結果生成部
の構成図である。
FIG. 101 is a configuration diagram of a detection result generation unit according to a thirteenth embodiment of the present invention.

【図102】本発明の第13の実施例の検出結果生成部
の動作を示すフローチャートである。
FIG. 102 is a flowchart showing the operation of the detection result generation unit according to the thirteenth embodiment of the present invention.

【図103】本発明の第14の実施例の電子透かし検出
部のブロック分割部の動作を説明するための図である。
FIG. 103 is a diagram for explaining the operation of the block division unit of the digital watermark detection unit according to the fourteenth embodiment of the present invention.

【図104】本発明の第15の実施例の位置マーカ検出
部のブロック生成部の構成図である。
FIG. 104 is a configuration diagram of a block generation unit of a position marker detection unit according to a fifteenth embodiment of the present invention.

【図105】本発明の第15の実施例の位置マーカ検出
部のブロック生成部の動作を示すフローチャートであ
る。
FIG. 105 is a flowchart illustrating an operation of a block generation unit of the position marker detection unit according to the fifteenth embodiment of the present invention.

【図106】本発明の第15の実施例のブロック生成部
の動作を説明するための図である。
FIG. 106 is a diagram for explaining the operation of the block generation unit according to the fifteenth embodiment of the present invention.

【図107】本発明の第16の実施例の位置マーカ検出
部のブロック生成部の構成図である。
FIG. 107 is a configuration diagram of a block generation unit of a position marker detection unit according to a sixteenth embodiment of the present invention.

【図108】本発明の第16の実施例の位置マーカ検出
部のブロック生成部の動作を示すフローチャートであ
る。
FIG. 108 is a flowchart illustrating an operation of a block generation unit of the position marker detection unit according to the sixteenth embodiment of the present invention.

【図109】本発明の第16の実施例のブロック生成部
の動作を説明するための図である。
FIG. 109 is a diagram for explaining the operation of the block generation unit according to the sixteenth embodiment of the present invention.

【図110】本発明の第19の実施例の位置マーカ検出
部のオフセット情報生成部の動作を示すフローチャート
である。
FIG. 110 is a flowchart showing the operation of the offset information generation unit of the position marker detection unit according to the nineteenth embodiment of the present invention.

【図111】本発明の第20の実施例の電子透かし検出
部の検出結果生成部の動作を示すフローチャートであ
る。
FIG. 111 is a flowchart showing the operation of the detection result generation unit of the digital watermark detection unit according to the twentieth embodiment of the present invention.

【図112】本発明の第21の実施例の計算機シミュレ
ーションによるcorrの値と理論値を示したグラフで
ある。
FIG. 112 is a graph showing a value of corr and a theoretical value by computer simulation according to a twenty-first embodiment of the present invention.

【図113】本発明の第21の実施例の計算機シミュレ
ーションによるシンボル検出情報のグラフである。
FIG. 113 is a graph of symbol detection information by computer simulation according to the twenty-first embodiment of the present invention.

【図114】本発明の埋込強度を変化させた時のPSN
Rを示す図である。
FIG. 114 PSN when embedding strength of the present invention is changed
It is a figure showing R.

【図115】本発明の計算機シミュレーションによる透
かし入り画像から透かし情報を検出した結果を示す図で
ある。
FIG. 115 is a diagram showing a result of detecting watermark information from a watermarked image by computer simulation of the present invention.

【図116】本発明の計算機シミュレーションによる部
分画像からの検出結果を示す図である。
FIG. 116 is a diagram showing detection results from partial images by computer simulation according to the present invention.

【図117】本発明の計算機シミュレーションによる検
出失敗及び成功部分画像を示す図である。
FIG. 117 is a diagram showing detection failure and success partial images by computer simulation of the present invention.

【図118】本発明の計算機シミュレーションによるJ
PEG圧縮画像からの検出結果を示す図である。
FIG. 118 shows J obtained by computer simulation according to the present invention.
FIG. 7 is a diagram illustrating a detection result from a PEG compressed image.

【図119】本発明の計算機シミュレーションによる階
調変換画像(2値画像)を示す図である。
FIG. 119 is a diagram showing a gradation conversion image (binary image) by computer simulation of the present invention.

【図120】本発明の計算機シミュレーションの合成画
像の例である。
FIG. 120 is an example of a composite image of a computer simulation of the present invention.

【図121】本発明の第22の実施例の画像の局所的複
雑度作成部の構成図である。
FIG. 121 is a configuration diagram of an image local complexity creating unit according to a twenty-second embodiment of the present invention.

【図122】本発明の第22の実施例の画像の局所的複
雑度作成部の動作を示すフローチャートである。
FIG. 122 is a flowchart showing an operation of an image local complexity creating unit according to the twenty-second embodiment of the present invention.

【図123】本発明の第22の実施例のエッジ・テクス
チャ成分値画像作成部の動作を示すフローチャートであ
る。
FIG. 123 is a flowchart showing the operation of an edge / texture component value image creating unit according to the twenty-second embodiment of the present invention.

【図124】本発明の第22の実施例の入力画像とエッ
ジ・テクスチャ成分値画像の例である。
FIG. 124 is an example of an input image and an edge / texture component value image according to the twenty-second embodiment of the present invention.

【図125】本発明の第23の実施例の画像の局所的複
雑度作成部の構成図である。
FIG. 125 is a configuration diagram of an image local complexity creating unit according to a twenty-third embodiment of the present invention.

【図126】本発明の第23の実施例の画像の局所的複
雑度作成部の動作を示すフローチャートである。
FIG. 126 is a flowchart showing an operation of an image local complexity creating unit according to the twenty-third embodiment of the present invention.

【図127】本発明の第23の実施例のテクスチャ度指
標作成部の動作を示すフローチャートである。
FIG. 127 is a flowchart showing the operation of the texture index generation unit according to the twenty-third embodiment of the present invention.

【図128】本発明の第23の実施例のアップサンプラ
の動作を説明するための図である。
FIG. 128 is a view for explaining the operation of the upsampler according to the twenty-third embodiment of the present invention.

【図129】本発明の第23の実施例のエッジ・テクス
チャ成分値画像とテクスチャ度指標を示す図である。
FIG. 129 is a diagram showing an edge / texture component value image and a texture degree index according to the twenty-third embodiment of the present invention.

【図130】本発明の第24の実施例の画像の局所的複
雑度作成部の動作を示すフローチャートである。
FIG. 130 is a flowchart showing the operation of the local complexity creating unit for images according to the twenty-fourth embodiment of the present invention;

【図131】本発明の第24の実施例のテクスチャ度指
標作成部の動作を示すフローチャートである。
FIG. 131 is a flowchart showing an operation of the texture degree index creating unit according to the twenty-fourth embodiment of the present invention.

【図132】本発明の第25の実施例の画像の局所的複
雑度作成部の構成図である。
FIG. 132 is a configuration diagram of an image local complexity creating unit according to a twenty-fifth embodiment of the present invention.

【図133】本発明の第4の実施例の画像の局所的複雑
度作成部の動作を示すフローチャートである。
FIG. 133 is a flowchart showing the operation of an image local complexity creating unit according to the fourth embodiment of this invention.

【図134】本発明の第25の実施例のテクスチャ成分
値画像作成部の動作を示すフローチャートである。
FIG. 134 is a flowchart illustrating an operation of the texture component value image creating unit according to the twenty-fifth embodiment of the present invention.

【図135】本発明の第25の実施例の各部での入出力
の画像を示す図である。
FIG. 135 is a diagram illustrating input / output images at each unit according to the twenty-fifth embodiment of the present invention.

【図136】本発明の第26の実施例の電子透かし埋込
装置の構成図である。
FIG. 136 is a configuration diagram of a digital watermark embedding device according to a twenty-sixth embodiment of the present invention.

【図137】本発明の第26の実施例の電子透かし埋込
装置の動作を示すフローチャートである。
FIG. 137 is a flowchart showing the operation of the digital watermark embedding device according to the twenty-sixth embodiment of the present invention.

【図138】本発明の第27の実施例の電子透かし埋込
装置の構成図である。
FIG. 138 is a configuration diagram of a digital watermark embedding device according to a twenty-seventh embodiment of the present invention.

【図139】本発明の第27の実施例の電子透かし埋込
装置の動作を示すフローチャートである。
FIG. 139 is a flowchart showing the operation of the digital watermark embedding device according to the twenty-seventh embodiment of the present invention.

【図140】本発明の第27の実施例の適応透かしパタ
ーン作成部の動作を示すフローチャートである。
FIG. 140 is a flowchart showing the operation of the adaptive watermark pattern creating unit according to the twenty-seventh embodiment of the present invention.

【図141】本発明の第27の実施例の電子透かし埋込
過程におけるブロックとパターンを示す図である。
FIG. 141 is a diagram showing blocks and patterns in a digital watermark embedding process according to a twenty-seventh embodiment of the present invention.

【図142】本発明の第28の実施例の集積回路の構成
図である。
FIG. 142 is a configuration diagram of an integrated circuit according to a twenty-eighth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 メモリ 2 マイクロプロセッサ 3 インタフェース部 1A 変更手段 2A 透かしパターン生成手段 3A 加算手段 4A 埋込画像生成手段 5A 検出対象成分指定手段 6A 位置マーカ系列生成手段 7A 位置マーカ検出手段 8A 電子透かし検出手段 1B 局所的複雑度作成手段 2B 透かしパターン作成手段 3B 画像加算手段 10 入力画像 20 画像の局所的複雑度 51 入力画像 52 電子透かし 53 鍵情報 54 強度パラメータ 55 電子透かし埋込済画像 61 入力画像 62 電子透かし 63 鍵情報 64 強度パラメータ 65 電子透かし埋込済画像 100 情報埋込装置 101 入力画像 102 強度パラメータ 103 電子透かし 104 鍵情報 105 埋込済画像 110 透かしパターン加算部 120 埋込系列生成部 121 埋込系列 122 拡散系列生成器 130 埋込対象成分指定部 131 埋込対象成分位置情報 132 乱数生成器 140 成分値変更部 141 透かし係数行列 150 離散逆フーリエ変換部 151 透かしパターン 200 電子透かし検出装置 201 検出対象画像 202 鍵情報 203 検出結果 204 オフセット候補情報 205 画素ブロック 206 検出対象係数行列 207 検出対象系列 208 位置マーカ検出情報 210 検出対象成分指定部 211 検出対象成分位置情報 212 乱数生成器 220 位置マーカ系列生成部 221 位置マーカ系列 222 拡散系列生成器 230 位置マーカ検出部 231 オフセット情報 232 オフセット候補情報生成部 233 ブロック生成部 234 離散フーリエ変換部 235 検出対象系列生成部 236 位置マーカ検出情報生成部 237 オフセット情報生成部 240 電子透かし検出部 241 ブロック生成部 242 離散フーリエ変換部 243 検出対象系列生成部 244 シンボル検出部 245 検出結果生成部 246 画素ブロック 247 検出対象係数行列 248 検出対象系列 249 シンボル検出情報 251 検出結果 500 電子透かし検出部 510 ブロック分割部 511 画素ブロック 520 離散フーリエ変換部 521 検出対象系列行列 530 検出対象系列生成部 531 検出対象系列 540 シンボル検出部 541 シンボル候補生成部 542 シンボル系列生成部 543 シンボル検出情報生成部 544 シンボル候補 545 シンボル系列 546 シンボル検出情報 550 検出結果生成部 551 各シンボル位置毎系列生成部 552 検出シンボル生成部 553 逆シンボル変換部 554 各シンボル位置毎系列 555 検出シンボル 556 検出結果 600 電子透かし検出部 601 画素ブロック 602 検出対象系列行列 603 検出対象系列 604 シンボル検出情報 610 ブロック分割部 620 離散フーリエ変換部 630 検出対象系列生成部 640 シンボル検出部 641 シンボル候補生成部 642 シンボル候補 643 シンボル系列生成部 644 シンボル系列 645 シンボル検出情報生成部 646 シンボル検出情報 650 検出結果生成部 651 各シンボル位置毎系列生成部 652 各シンボル位置毎系列 653 検出シンボル生成部 654 検出シンボル 655 逆シンボル変換部 656 検出結果 663 検出対象系列 700 電子透かし検出部 701 画素ブロック 702 検出対象係数行列 703 検出対象系列 704 シンボル検出情報 705 検出結果 710 ブロック分割部 720 離散フーリエ変換部 730 検出対象系列生成部 740 シンボル検出部 741 シンボル候補生成部 742 シンボル候補 743 シンボル系列生成部 744 シンボル系列 745 シンボル検出情報生成部 746 シンボル検出情報 750 検出結果生成部 751 各シンボル位置毎系列生成部 752 各シンボル位置毎系列 753 検出シンボル生成部 754 検出シンボル 755 逆シンボル変換部 756 検出結果 800 ブロック生成部 801 t個のブロック 802 加算ブロック 803 画素ブロック 810 ブロック分割部 820 ブロック加算部 900 ブロック生成部 901 t個のブロック 902 加算ブロック 903 画素ブロック 910 ブロック分割部 920 ブロック加算部 930 サイクリックシフト部 1000 ブロック生成部 1010 ブロック分割部 1011 t個のブロック 1012 加算ブロック 1013 画素ブロック 1020 ブロック加算部 1030 サイクリックシフト部 1100 電子透かし検出装置 1101 オフセット情報 1102 位置マーカ系列 1103 検出対象成分位置情報 1104 画素ブロック 1105 検出対象係数行列 1106 オフセット候補情報 1107 検出対象系列 1108 位置マーカ検出情報 1110 位置マーカ検出部 1111 ブロック生成部 1113 離散フーリエ変換部 1115 検出対象系列生成部 1117 オフセット候補情報生成部 1118 位置マーカ検出情報生成部 1119 オフセット情報生成部 1120 位置マーカ系列生成部 1121 拡散系列生成器 1130 検出対象成分指定部 1131 乱数生成器 1140 電子透かし検出部 1141 ブロック生成部 1142 画素ブロック 1143 離散フーリエ変換部 1144 検出対象係数行列 1145 検出対象系列生成部 1146 検出対象系列 1147 シンボル検出部 1148 シンボル検出情報 1149 検出結果生成部 2000 電子透かし検出部 2001 画素ブロック 2002 検出対象係数行列 2003 検出対象系列 2004 シンボル検出情報 2100 ブロック分割部 2200 離散フーリエ変換部 2300 検出対象系列生成部 2400 シンボル検出部 2401 シンボル候補 2402 シンボル系列 2403 シンボル検出情報 2410 シンボル候補生成部 2420 シンボル系列生成部 2421 拡散系列生成器 2430 シンボル検出情報生成部 2500 検出結果生成部 2501 各シンボル位置毎系列 2502 検出シンボル 2510 各シンボル位置毎系列生成部 2520 検出シンボル生成部 2530 逆シンボル変換部 2441 シンボル候補生成部 2442 シンボル系列生成部 2443 シンボル検出情報生成部 2444 シンボル候補 2445 シンボル系列 2446 シンボル検出情報 2447 拡散系列生成器 2451 各シンボル位置毎系列生成部 2452 各シンボル位置毎系列 2453 逆シンボル変換部 2454 各シンボル位置毎系列 2455 検出シンボル 3000 ブロック生成部 3001 t個のブロック 3002 加算ブロック 3100 ブロック分割部 3200 ブロック加算部 3400 画像の局所的複雑度作成部 3401 エッジ・テクスチャ成分値画像 3402 テクスチャ度指標 3403 テクスチャ成分値画像 3410 エッジ・テクスチャ成分値画像作成部 3420 テクスチャ度指標作成部 3430 テクスチャ成分値画像作成部 4000 ブロック生成部 4001 t個のブロック 4002 加算ブロック 4100 ブロック分割部 4200 ブロック加算部 5421 拡散系列生成器 6431 拡散系列生成器 7431 拡散系列生成器 11491 各シンボル位置系列生成部 11492 各シンボル位置毎系列 11493 検出シンボル生成部 11494 検出シンボル 11495 逆シンボル変換部 11471 シンボル候補生成部 11472 シンボル候補 11473 シンボル系列生成部 11474 シンボル系列 11475 シンボル検出情報生成部 11476 シンボル検出情報 114731 拡散系列生成器 3000 ブロック生成部 3001 ブロック 3002 加算ブロック 3010 画像の局所的複雑度作成部 3020 画像の局所的複雑度作成部 3100 ブロック分割部 3110 エッジ・テクスチャ成分値画像作成部 3111 エッジ・テクスチャ成分値画像 3200 ブロック加算部 3201 エッジ・テクスチャ成分値画像 3202 テクスチャ度指標 3210 エッジ・テクスチャ成分値画像作成部 3220 テクスチャ度指標作成部 3230 アップサンプラ 3400 画像処理装置 3401 エッジ・テクスチャ成分値画像 3402 テクスチャ度指標 3403 テクスチャ成分値画像 3410 エッジ・テクスチャ成分値画像作成部 3420 テクスチャ度指標作成部 3430 テクスチャ成分値画像作成部 3500 電子透かし埋込装置 3501 画像の局所的複雑度 3502 透かしパターン 3510 画像の局所的複雑度作成部 3520 透かしパターン作成部 3530 画像加算部 3600 電子透かし埋込装置 3601 ブロック 3602 適応透かしパターン 3604 基本透かしパターン 3605 電子透かし埋込済ブロック 3610 ブロック分割部 3620 画像の局所的複雑度作成部 3630 適応透かしパターン作成部 3640 基本透かしパターン作成部 3650 画像加算部 Reference Signs List 1 memory 2 microprocessor 3 interface unit 1A changing unit 2A watermark pattern generating unit 3A adding unit 4A embedded image generating unit 5A detection target component specifying unit 6A position marker sequence generating unit 7A position marker detecting unit 8A electronic watermark detecting unit 1B local Complexity creating means 2B Watermark pattern creating means 3B Image adding means 10 Input image 20 Local complexity of image 51 Input image 52 Digital watermark 53 Key information 54 Strength parameter 55 Digital watermark embedded image 61 Input image 62 Digital watermark 63 key Information 64 Intensity parameter 65 Digital watermark embedded image 100 Information embedding device 101 Input image 102 Intensity parameter 103 Digital watermark 104 Key information 105 Embedded image 110 Watermark pattern adding unit 120 Embedded sequence generation unit 121 Embedded system 122 Diffusion sequence generator 130 Embedding target component specifying unit 131 Embedding target component position information 132 Random number generator 140 Component value changing unit 141 Watermark coefficient matrix 150 Discrete inverse Fourier transform unit 151 Watermark pattern 200 Digital watermark detection device 201 Detection target image 202 Key information 203 Detection result 204 Offset candidate information 205 Pixel block 206 Detection target coefficient matrix 207 Detection target sequence 208 Position marker detection information 210 Detection target component designation unit 211 Detection target component position information 212 Random number generator 220 Position marker sequence generation unit 221 Position marker sequence 222 Spread sequence generator 230 Position marker detector 231 Offset information 232 Offset candidate information generator 233 Block generator 234 Discrete Fourier transform 235 Detection target sequence generator 236 Marker detection information generation unit 237 Offset information generation unit 240 Digital watermark detection unit 241 Block generation unit 242 Discrete Fourier transform unit 243 Detection target sequence generation unit 244 Symbol detection unit 245 Detection result generation unit 246 Pixel block 247 Detection target coefficient matrix 248 Detection target Sequence 249 Symbol detection information 251 Detection result 500 Digital watermark detection unit 510 Block division unit 511 Pixel block 520 Discrete Fourier transform unit 521 Detection target sequence matrix 530 Detection target sequence generation unit 531 Detection target sequence 540 Symbol detection unit 541 Symbol candidate generation unit 542 Symbol sequence generation unit 543 Symbol detection information generation unit 544 Symbol candidate 545 Symbol sequence 546 Symbol detection information 550 Detection result generation unit 551 Sequence generation unit for each symbol position 55 2 Detected symbol generator 553 Inverted symbol converter 554 Sequence for each symbol position 555 Detected symbol 556 Detection result 600 Digital watermark detector 601 Pixel block 602 Detected sequence matrix 603 Detected sequence 604 Symbol detection information 610 Block dividing unit 620 Discrete Fourier Conversion section 630 Detection target sequence generation section 640 Symbol detection section 641 Symbol candidate generation section 642 Symbol candidate 643 Symbol sequence generation section 644 Symbol sequence 645 Symbol detection information generation section 646 Symbol detection information 650 Detection result generation section 651 Sequence generation for each symbol position Unit 652 sequence for each symbol position 653 detection symbol generation unit 654 detection symbol 655 inverse symbol conversion unit 656 detection result 663 detection target sequence 700 digital watermark detection unit 701 Raw block 702 Detection target coefficient matrix 703 Detection target sequence 704 Symbol detection information 705 Detection result 710 Block division unit 720 Discrete Fourier transform unit 730 Detection target sequence generation unit 740 Symbol detection unit 741 Symbol candidate generation unit 742 Symbol candidate 743 Symbol sequence generation unit 744 Symbol sequence 745 Symbol detection information generator 746 Symbol detection information 750 Detection result generator 751 Each symbol position sequence generator 752 Each symbol position sequence 753 Detection symbol generator 754 Detection symbol 755 Inverse symbol converter 756 Detection result 800 blocks Generation unit 801 t blocks 802 addition block 803 pixel block 810 block division unit 820 block addition unit 900 block generation unit 901 t blocks 902 Addition block 903 Pixel block 910 Block division unit 920 Block addition unit 930 Cyclic shift unit 1000 Block generation unit 1010 Block division unit 1011 t blocks 1012 Addition block 1013 Pixel block 1020 Block addition unit 1030 Cyclic shift unit 1100 Digital watermark detection Device 1101 Offset information 1102 Position marker sequence 1103 Detection target component position information 1104 Pixel block 1105 Detection target coefficient matrix 1106 Offset candidate information 1107 Detection target sequence 1108 Position marker detection information 1110 Position marker detection unit 1111 Block generation unit 1113 Discrete Fourier transform unit 1115 Detection target sequence generation unit 1117 Offset candidate information generation unit 1118 Position marker detection information generation unit 1 19 offset information generation unit 1120 position marker sequence generation unit 1121 diffusion sequence generator 1130 detection target component specification unit 1131 random number generator 1140 digital watermark detection unit 1141 block generation unit 1142 pixel block 1143 discrete Fourier transform unit 1144 detection target coefficient matrix 1145 detection Target sequence generation unit 1146 Detection target sequence 1147 Symbol detection unit 1148 Symbol detection information 1149 Detection result generation unit 2000 Digital watermark detection unit 2001 Pixel block 2002 Detection target coefficient matrix 2003 Detection target sequence 2004 Symbol detection information 2100 Block division unit 2200 Discrete Fourier transform Unit 2300 detection target sequence generation unit 2400 symbol detection unit 2401 symbol candidate 2402 symbol sequence 2403 symbol detection information 2410 Symbol candidate generation unit 2420 Symbol sequence generation unit 2421 Spread sequence generator 2430 Symbol detection information generation unit 2500 Detection result generation unit 2501 Sequence for each symbol position 2502 Detection symbol 2510 Sequence generation unit for each symbol position 2520 Detection symbol generation unit 2530 Inverse symbol Conversion unit 2441 Symbol candidate generation unit 2442 Symbol sequence generation unit 2443 Symbol detection information generation unit 2444 Symbol candidate 2445 Symbol sequence 2446 Symbol detection information 2447 Spread sequence generator 2451 Sequence generation unit for each symbol position 2452 Sequence for each symbol position 2453 Inverse symbol Conversion section 2454 Sequence for each symbol position 2455 Detection symbol 3000 Block generation section 3001 t blocks 3002 addition block 3100 blocks Section 3200 block adding section 3400 image local complexity creating section 3401 edge / texture component value image 3402 texture degree index 3403 texture component value image 3410 edge / texture component value image creating section 3420 texture index index creating section 3430 texture component value image Creation unit 4000 Block generation unit 4001 t blocks 4002 addition block 4100 block division unit 4200 block addition unit 5421 spreading sequence generator 6431 spreading sequence generator 7431 spreading sequence generator 11491 symbol position sequence generation unit 11492 sequence for each symbol position 11493 Detected symbol generator 11494 Detected symbol 11495 Inverse symbol converter 11471 Symbol candidate generator 11472 Symbol candidate 11473 symbol Column generation unit 11474 Symbol sequence 11475 Symbol detection information generation unit 11476 Symbol detection information 114731 Spread sequence generator 3000 Block generation unit 3001 block 3002 Addition block 3010 Image local complexity generation unit 3020 Image local complexity generation unit 3100 block Division unit 3110 Edge / texture component value image creation unit 3111 Edge / texture component value image 3200 Block addition unit 3201 Edge / texture component value image 3202 Texture degree index 3210 Edge / texture component value image creation unit 3220 Texture degree index creation unit 3230 Up Sampler 3400 Image processing device 3401 Edge / texture component value image 3402 Texture degree index 3403 Texture component value image 3410 Edge Texture component value image creation unit 3420 Texture degree index creation unit 3430 Texture component value image creation unit 3500 Digital watermark embedding device 3501 Image local complexity 3502 Watermark pattern 3510 Image local complexity creation unit 3520 Watermark pattern creation unit 3530 Image adder 3600 Digital watermark embedding device 3601 Block 3602 Adaptive watermark pattern 3604 Basic watermark pattern 3605 Digital watermark embedded block 3610 Block divider 3620 Image local complexity generator 3630 Adaptive watermark pattern generator 3640 Basic watermark pattern generator Unit 3650 image adding unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 富岡 淳樹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 高嶋 洋一 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B057 AA11 CA08 CA12 CA16 CB08 CB12 CB16 CC02 CE08 CH08 CH20 DB02 DB09 DC16 DC30 5C076 AA14 AA36 BA06 5J104 AA14 NA13 NA27 (54)【発明の名称】 電子透かし埋込方法及び電子透かし検出方法及び電子透かし埋込装置、及び電子透かし検出装 置、及び電子透かし埋込プログラムを格納した記憶媒体、及び電子透かし検出プログラムを格納 した記憶媒体、及び電子透かしシステム及び集積回路 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Junki Tomioka 2-3-1 Otemachi, Chiyoda-ku, Tokyo Inside Nippon Telegraph and Telephone Corporation (72) Inventor Yoichi Takashima 2-3-1 Otemachi, Chiyoda-ku, Tokyo No.1 Nippon Telegraph and Telephone Corporation F-term (reference) 5B057 AA11 CA08 CA12 CA16 CB08 CB12 CB16 CC02 CE08 CH08 CH20 DB02 DB09 DC16 DC30 5C076 AA14 AA36 BA06 5J104 AA14 NA13 NA27 (54) [Title of Invention] Watermarking method, digital watermark detecting method, digital watermark embedding device, digital watermark detecting device, storage medium storing digital watermark embedding program, storage medium storing digital watermark detecting program, digital watermark system and integration circuit

Claims (176)

【特許請求の範囲】[Claims] 【請求項1】 ディジタル画像に対して電子透かしを人
間の知覚に感知されないように埋め込みを行う電子透か
し埋込方法において、 前記電子透かしをディジタル原画像に埋め込む際に、 鍵情報と前記ディジタル画像に埋め込む電子透かしから
複素行列である透かし係数行列の各係数値の実数成分と
虚数成分を独立に変更し、 変更後の透かし系列行列を離散逆フーリエ変換して、透
かしパターンを生成し、 前記透かしパターンを前記原画像にタイル状に加算し、
埋め込み済画像を生成することを特徴とする電子透かし
埋込方法。
1. A digital watermark embedding method for embedding a digital watermark in a digital image so as not to be perceived by human perception, wherein when the digital watermark is embedded in a digital original image, key information and digital information are embedded in the digital image. A watermark component is generated by independently changing a real component and an imaginary component of each coefficient value of a watermark coefficient matrix, which is a complex matrix, from a digital watermark to be embedded, performing a discrete inverse Fourier transform on the changed watermark sequence matrix, and generating a watermark pattern. Is added to the original image in a tile form,
A digital watermark embedding method, which generates an embedded image.
【請求項2】 前記鍵情報から前記電子透かしを埋め込
む長さの系列である埋め込み対象成分位置情報を生成
し、 前記鍵情報を用いて、位置マーカ情報と前記電子透かし
を埋め込み系列に拡散し、 前記埋め込み対象成分位置情報と前記埋め込み系列を用
いて、初期値が零行列の複素行列である透かし係数行列
の成分値を変更し、 前記透かし係数行列を離散逆フーリエ変換し、前記透か
しパターンを生成し、 前記透かしパターンを強度パラメータによって強調し、 強調された前記透かしパターンを入力された画像にタイ
ル状に加算して得られる埋め込み済画像を生成する請求
項1記載の電子透かし埋込方法。
2. Generating embedding target component position information which is a sequence of a length for embedding the digital watermark from the key information, and using the key information, spreading position marker information and the digital watermark to the embedding sequence; Using the embedding target component position information and the embedding sequence, change the component value of the watermark coefficient matrix whose initial value is a complex matrix of zero matrix, perform discrete inverse Fourier transform of the watermark coefficient matrix, and generate the watermark pattern. 2. The electronic watermark embedding method according to claim 1, wherein the watermark pattern is enhanced by an intensity parameter, and an embedded image obtained by adding the enhanced watermark pattern in a tiled manner to an input image is generated.
【請求項3】 前記埋め込み対象成分位置情報を生成す
る際に、 前記鍵情報を初期値とする乱数列を生成し、 前記乱数列から前記埋め込み対象成分位置情報を生成す
る請求項2記載の電子透かし埋込方法。
3. The electronic device according to claim 2, wherein, when generating the position information of the component to be embedded, a random number sequence having the key information as an initial value is generated, and the position information of the component to be embedded is generated from the random number sequence. Watermark embedding method.
【請求項4】 前記位置マーカ情報と前記電子透かしを
前記埋込系列に拡散する際に、 前記鍵情報を初期値と
する0番目の拡散系列を生成し、 前記拡散系列を位置マーカ情報を表す系列とし、所定倍
して格納しておき、 前記電子透かしをシンボル表現に変換し、シンボル総数
及び各シンボル値を取得し、 前記鍵情報に前記シンボル値を加えたものを初期値とす
る拡散系列を生成し、シンボルを表す系列として、格納
されている前記拡散系列の各項に加え、 格納されている値の平均値を求め、各項から平均値を減
算した値を埋め込み系列とする請求項2記載の電子透か
し埋込方法。
4. When the position marker information and the digital watermark are spread into the embedded sequence, a 0th spread sequence with the key information as an initial value is generated, and the spread sequence represents position marker information. A spreading sequence that converts the digital watermark into a symbol expression, obtains the total number of symbols and each symbol value, and sets the key information plus the symbol value as an initial value Generating, as a sequence representing a symbol, an average value of the stored values in addition to the stored terms of the spread sequence, and subtracting the average value from each term as an embedded sequence. 2. The digital watermark embedding method according to 2.
【請求項5】 前記拡散系列を生成する際に、 前記拡散系列として、+1または、−1ののいずれかを
とるものを用いる請求項4記載の電子透かし埋込方法。
5. The digital watermark embedding method according to claim 4, wherein, when generating the spread sequence, a code that takes one of +1 and −1 is used as the spread sequence.
【請求項6】 前記位置マーカ情報と前記電子透かしを
埋め込み系列に拡散する際に、 前記鍵情報を初期値として、拡散系列を生成し、所定の
パラメータを該拡散系列に乗算して、記憶手段に保持
し、 前記電子透かしをシンボル表現に変換し、該シンボル表
現のシンボルに対応する拡散系列を、前記記憶手段の各
項に加算し、 前記記憶手段の前記各項から平均値を減算した結果を前
記埋め込み系列とする請求項2記載の電子透かし埋込方
法。
6. When the position marker information and the digital watermark are spread into an embedded sequence, a spread sequence is generated using the key information as an initial value, and the spread sequence is multiplied by a predetermined parameter to store the spread sequence. The result obtained by converting the digital watermark into a symbol expression, adding a spreading sequence corresponding to the symbol of the symbol expression to each item of the storage unit, and subtracting an average value from each item of the storage unit 3. The digital watermark embedding method according to claim 2, wherein
【請求項7】 前記拡散系列を生成する際に、 前記拡散系列として、+1または、−1ののいずれかを
とるものを用いる請求項6記載の電子透かし方法。
7. The digital watermarking method according to claim 6, wherein, when generating the spread sequence, a code that takes one of +1 and −1 is used as the spread sequence.
【請求項8】 ディジタル画像に対して人間の知覚に感
知されないように電子透かしが埋め込まれた検出対象画
像から該電子透かしを検出するための電子透かし検出方
法において、 検出対象画像に埋め込まれている前記電子透かしを検出
する際に、 前記検出対象画像の任意の位置からブロックを切り出
し、 前記ブロックを離散フーリエ変換して、係数行列を取得
し、 鍵情報によって指定される検出対象成分位置情報を生成
し、 前記検出対象成分位置情報の各項に平行移動量による係
数の位相差を掛け算し、位置マーカ系列を生成し、埋め
込まれている透かしパターンの開始点と検出対象画像か
ら切り出した画素ブロックの開始点が一致する時の平行
移動量であるオフセット情報を抽出し、 前記オフセット情報に基づいて切り出した前記画素ブロ
ックから埋め込まれている前記電子透かしを検出するこ
とを特徴とする電子透かし検出方法。
8. A digital watermark detection method for detecting a digital watermark from a detection target image in which a digital image is embedded so as not to be perceived by human perception, wherein the digital watermark is embedded in the detection target image. When detecting the digital watermark, a block is cut out from an arbitrary position in the detection target image, the block is subjected to discrete Fourier transform, a coefficient matrix is obtained, and detection target component position information specified by key information is generated. Then, each term of the detection target component position information is multiplied by the phase difference of the coefficient according to the amount of parallel movement to generate a position marker sequence, and the start point of the embedded watermark pattern and the pixel block cut out from the detection target image. The offset information, which is the amount of parallel movement when the start point matches, is extracted, and the pixel cut out based on the offset information is extracted. A digital watermark detection method, wherein the digital watermark embedded from a block is detected.
【請求項9】 前記鍵情報から前記検出対象成分位置情
報を生成する際に、 前記鍵情報を初期値とする乱数列を生成し、 前記乱数列から前記検出対象成分位置情報を生成する請
求項9記載の電子透かし検出方法。
9. When generating the detection target component position information from the key information, generating a random number sequence with the key information as an initial value, and generating the detection target component position information from the random number sequence. 9. The digital watermark detection method according to item 9.
【請求項10】 前記位置マーカ系列を生成する際に、 前記鍵情報を初期値とする0番目の拡散系列を生成し、 前記拡散系列を前記位置マーカ系列として出力する請求
項8記載の電子透かし検出方法。
10. The digital watermark according to claim 8, wherein, when generating the position marker sequence, a 0th spreading sequence with the key information as an initial value is generated, and the spreading sequence is output as the position marker sequence. Detection method.
【請求項11】 前記オフセット情報を抽出する際に、 オフセット候補情報を生成し、 前記検出対象画像のオフセット候補情報の位置から画素
ブロックを切り出し、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成し、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成し、 前記位置マーカ系列と前記検出対象系列の相関値と前記
オフセット候補情報を組にして、前記位置マーカ検出情
報を生成し、 前記位置マーカ系列と前記検出対象系列の相関値が最大
の時のオフセット候補情報をオフセット情報として抽出
する請求項8記載の電子透かし検出方法。
11. When extracting the offset information, generate offset candidate information, cut out a pixel block from the position of the offset candidate information of the detection target image, perform a discrete Fourier transform of the pixel block, and perform a detection target coefficient matrix. Generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, and combining the position marker sequence, the correlation value of the detection target sequence with the offset candidate information, and detecting the position marker. 9. The digital watermark detection method according to claim 8, wherein information is generated, and offset candidate information when a correlation value between the position marker sequence and the detection target sequence is maximum is extracted as offset information.
【請求項12】 前記電子透かしを検出する際に、 前記検出対象画像から前記オフセット候補情報だけ平行
移動した位置から、N×N画素の画素ブロックを切り出
し、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成し、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成し、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成し、 前記シンボル検出情報から検出シンボルを生成し、 前記検出シンボル毎に検出結果を電子透かしとして検出
して出力する請求項8記載の電子透かし検出方法。
12. When detecting the digital watermark, a pixel block of N × N pixels is cut out from a position translated from the detection target image by the offset candidate information, and a discrete Fourier transform is performed on the pixel block. Generating a target coefficient matrix, generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, generating symbol detection information from the detection target sequence and the key information, and detecting a symbol from the symbol detection information. 9. The digital watermark detection method according to claim 8, wherein a detection result is detected and output as a digital watermark for each of the detected symbols.
【請求項13】 前記電子透かしを検出する際に、 前記シンボル検出情報から各シンボル位置毎にシンボル
位置毎系列を生成し、 前記各シンボル位置毎系列の中で最大値をとる時のシン
ボル候補を前記検出シンボルとし、 前記検出シンボルを逆シンボル変換し、前記検出結果を
取得する請求項12記載の電子透かし検出方法。
13. When detecting the digital watermark, a sequence for each symbol position is generated for each symbol position from the symbol detection information, and a symbol candidate for taking the maximum value in the sequence for each symbol position is determined. The digital watermark detection method according to claim 12, wherein the detection symbol is used as the detection symbol, the detection symbol is subjected to inverse symbol conversion, and the detection result is obtained.
【請求項14】 前記電子透かしを検出する際に、 前記切り出した画素ブロックを前記オフセット情報によ
りサイクリックシフトすることにより画素ブロックを出
力する請求項8記載の電子透かし検出方法。
14. The digital watermark detection method according to claim 8, wherein, when detecting the digital watermark, a pixel block is output by cyclically shifting the cut-out pixel block based on the offset information.
【請求項15】 前記電子透かしを検出する際に、 前記検出対象画像がN×Nサイズ以上である場合には、
該検出対象画像からN×N画素の画素ブロックを切り出
し、 前記検出対象画像がN×Nサイズより小さい場合には、
該検出対象画像のN×Nサイズに含まれる検出対象画像
部分の平均画素値を求め、該N×Nサイズに足りない部
分を該平均画素値で埋め、画素ブロックを生成し、 切り出された前記画素ブロックをサイクリックシフトす
ることにより画素ブロックを出力する請求項8記載の電
子透かし検出方法。
15. When detecting the digital watermark, if the detection target image is equal to or larger than N × N size,
A pixel block of N × N pixels is cut out from the detection target image, and when the detection target image is smaller than N × N size,
An average pixel value of a portion of the detection target image included in the N × N size of the detection target image is obtained, and a portion less than the N × N size is filled with the average pixel value to generate a pixel block. 9. The digital watermark detection method according to claim 8, wherein the pixel block is output by cyclically shifting the pixel block.
【請求項16】 前記電子透かしを検出する際に、 前記検出対象画像のオフセットの位置から画素ブロック
を分割し、 分割された画素ブロックを離散フーリエ変換し、検出対
象係数行列を生成し、 前記検出対象成分位置情報と、前記検出対象係数行列か
ら検出対象系列を生成し、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成し、 前記シンボル検出情報から画素ブロックを出力する請求
項8記載の電子透かし検出方法。
16. When detecting the digital watermark, a pixel block is divided from an offset position of the detection target image, a discrete Fourier transform is performed on the divided pixel block, a detection target coefficient matrix is generated, and the detection is performed. The method according to claim 8, wherein a detection target sequence is generated from the target component position information and the detection target coefficient matrix, symbol detection information is generated from the detection target sequence and the key information, and a pixel block is output from the symbol detection information. Digital watermark detection method.
【請求項17】 前記電子透かしを検出する際に、 前記検出対象画像を画素ブロックに分割し、該画素ブロ
ックをオフセット情報によりサイクリックシフトし、 サイクリックシフトされた前記画素ブロックを離散フー
リエ変換し、検出対象系列行列を生成し、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成し、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成し、 前記シンボル検出情報毎に検出シンボルを生成し、 前記検出シンボルから電子透かしを検出する請求項8記
載の電子透かし検出方法。
17. When detecting the digital watermark, the detection target image is divided into pixel blocks, the pixel blocks are cyclically shifted according to offset information, and the cyclically shifted pixel blocks are subjected to a discrete Fourier transform. Generating a detection target sequence matrix; generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; generating symbol detection information from the detection target sequence and the key information; The digital watermark detection method according to claim 8, wherein a detection symbol is generated for the digital watermark, and a digital watermark is detected from the detection symbol.
【請求項18】 前記電子透かしを検出する際に、 前記検出対象画像を画素ブロックに分割し、該画素ブロ
ックをオフセットによりサイクリックシフトし、このと
き、該検出対象画像の端の辺りでN×Nサイズに満たな
い部分については、足りない部分を平均画素値で埋め、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成し、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成し、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成し、 前記シンボル検出情報から各検出シンボルを生成し、 前記検出シンボルから電子透かしを検出する請求項8記
載の電子透かし検出方法。
18. When detecting the digital watermark, the detection target image is divided into pixel blocks, and the pixel blocks are cyclically shifted by offset. At this time, N × For the portion less than the N size, the missing portion is filled with an average pixel value, the pixel block is subjected to discrete Fourier transform, a detection target coefficient matrix is generated, and the detection target component position information and the detection target coefficient matrix are detected. The digital watermark according to claim 8, further comprising: generating a target sequence; generating symbol detection information from the detection target sequence and the key information; generating each detection symbol from the symbol detection information; and detecting a digital watermark from the detection symbol. Detection method.
【請求項19】 前記位置マーカ系列を生成する際に、 前記検出対象画像をオフセット情報によりブロックに分
割し、 前記画素ブロックの画素値が加算された加算ブロックを
画素ブロックとして出力する請求項8記載の電子透かし
検出方法。
19. The method according to claim 8, wherein, when generating the position marker sequence, the detection target image is divided into blocks based on offset information, and an added block to which the pixel values of the pixel blocks are added is output as a pixel block. Digital watermark detection method.
【請求項20】 前記位置マーカ系列を生成する際に、 前記検出対象画像をブロックに分割し、 分割された前記ブロックの画素値を加算して得られたブ
ロックを加算ブロックとし、 前記加算ブロックをオフセット情報によりサイクリック
シフトし、画素ブロックを生成する請求項8記載の電子
透かし検出方法。
20. When generating the position marker sequence, the detection target image is divided into blocks, and a block obtained by adding pixel values of the divided blocks is set as an addition block. 9. The digital watermark detection method according to claim 8, wherein a pixel block is generated by performing a cyclic shift based on the offset information.
【請求項21】 前記位置マーカ系列を生成する際に、 前記検出対象画像をブロックに分割し、このとき、該検
出対象画像の端の辺りで1ブロックに満たない画素領域
について、ブロック分割時の検出対象画像相当分の平均
値を求め、該平均値で埋め、それでも足りない部分につ
いては検出対象画像相当分の画素値の平均値を求め、該
平均値で埋めてブロックとし、 分割された前記ブロックの画素値を加算して得られたブ
ロックを加算ブロックとし、 前記加算ブロックを前記オフセット情報によりサイクリ
ックシフトし、画素ブロックを生成する請求項19記載
の電子透かし検出方法。
21. When the position marker sequence is generated, the detection target image is divided into blocks. At this time, a pixel area less than one block around an end of the detection target image is divided into blocks. An average value corresponding to the detection target image is obtained and filled with the average value. For a part that is still insufficient, an average value of the pixel values corresponding to the detection target image is obtained, and the average value is filled to form a block. 20. The digital watermark detection method according to claim 19, wherein a block obtained by adding pixel values of the block is set as an addition block, and the addition block is cyclically shifted based on the offset information to generate a pixel block.
【請求項22】 前記位置マーカ系列を生成する際に、 前記検出対象系列生成後に、該検出対象系列の平均を0
に変更する請求項11記載の電子透かし検出方法。
22. When generating the position marker sequence, after generating the detection target sequence, the average of the detection target sequence is set to 0.
The digital watermark detection method according to claim 11, wherein the method is changed to:
【請求項23】 前記電子透かしを検出する際に、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更する請求項12記載の電子透かし検出方
法。
23. The digital watermark detection method according to claim 12, wherein when detecting the digital watermark, after generating the detection target sequence, an average of the detection target sequence is changed to 0.
【請求項24】 前記位置マーカ系列の検出時に前記オ
フセット情報を抽出する際に、 すべての位置マーカ検
出情報の最大値を求め、所定の閾値より該最大値が小さ
い場合には、オフセットの検出に失敗したことを表す信
号を出力し、該最大値が該所定の閾値以上である場合に
は、該最大値をとるときのオフセット情報を出力する請
求項8記載の電子透かし検出方法。
24. When extracting the offset information at the time of detecting the position marker sequence, a maximum value of all the position marker detection information is obtained, and when the maximum value is smaller than a predetermined threshold, the offset value is detected. 9. The digital watermark detection method according to claim 8, wherein a signal indicating a failure is output, and when the maximum value is equal to or more than the predetermined threshold, offset information for obtaining the maximum value is output.
【請求項25】 前記電子透かしを検出する際に、 シンボル検出情報をシンボル位置毎に分割して、シンボ
ル位置毎系列を生成し、 前記シンボル位置毎系列の最大値を求め、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、該最大値が該所定の閾値以
上の場合には、該最大値をとるときのシンボル候補を検
出シンボルとし、 前記検出シンボルから電子透かしの表現に変換する請求
項8記載の電子透かし検出方法。
25. When detecting the digital watermark, symbol detection information is divided for each symbol position, a sequence for each symbol position is generated, a maximum value of the sequence for each symbol position is obtained, and the maximum value is a predetermined value. When the maximum value is smaller than the predetermined threshold, a signal indicating that detection of the digital watermark embedded in the detection target image has failed is output. The digital watermark detection method according to claim 8, wherein a symbol candidate at the time of taking is set as a detected symbol, and the detected symbol is converted into a digital watermark expression.
【請求項26】 前記閾値として、平均0、分散1の正
規分布の分布関数の値に基づいて定められた閾値を適用
する請求項25記載の電子透かし方法。
26. The digital watermarking method according to claim 25, wherein a threshold determined based on a distribution function value of a normal distribution having an average of 0 and a variance of 1 is applied as the threshold.
【請求項27】 ディジタル画像に対して人間の知覚に
感知されないように電子透かしが埋め込まれた検出対象
画像から該電子透かしを検出するための電子透かし検出
方法において、 検出対象画像から電子透かしを検出する際に、 鍵情報から検出対象成分位置情報を生成し、 前記鍵情報から位置マーカ系列を生成し、 検出された位置マーカ検出情報により、埋め込み時の透
かしパターンの開始点と検出対象画像から切り出した画
素ブロックの開始点とのずれを表すオフセット情報を検
出し、 前記オフセット情報を用いて前記画素ブロックに埋め込
まれている電子透かしを検出することを特徴とする電子
透かし検出方法。
27. A digital watermark detection method for detecting a digital watermark from a detection target image in which a digital watermark is embedded so that the digital image is not perceived by human perception, wherein the digital watermark is detected from the detection target image In this case, the detection target component position information is generated from the key information, a position marker sequence is generated from the key information, and the starting point of the watermark pattern at the time of embedding and the detection target image are cut out based on the detected position marker detection information. Detecting offset information indicating a deviation from the start point of the pixel block, and detecting a digital watermark embedded in the pixel block using the offset information.
【請求項28】 前記検出対象成分位置情報を生成する
際に、 前記鍵情報を初期値とする乱数列を生成し、 前記乱数列を元に、埋め込まれている埋め込み系列の長
さと同じ長さの検出対象成分位置情報を生成する請求項
27記載の電子透かし検出方法。
28. When generating the detection target component position information, a random number sequence having the key information as an initial value is generated, and the same length as the length of the embedded sequence embedded based on the random number sequence is generated. 28. The digital watermark detection method according to claim 27, wherein the detection target component position information is generated.
【請求項29】 前記位置マーカ系列を生成する際に、 前記鍵情報を初期値とする最初の拡散系列を生成し、該
拡散系列を位置マーカ系列とする請求項27記載の電子
透かし検出方法。
29. The digital watermark detection method according to claim 27, wherein when generating the position marker sequence, a first spread sequence with the key information as an initial value is generated, and the spread sequence is used as a position marker sequence.
【請求項30】 前記位置マーカ検出情報を検出する際
に、 前記検出対象画像と前記検出対象成分位置情報と前記位
置マーカ系列を用いて、該検出対象画像からN×Nサイ
ズの画素ブロックを切り出し、 前記画素ブロックを離散フーリエ変換して、検出対象係
数行列を生成し、 前記オフセット情報、前記検出対象係数行列、及び検出
対象成分位置情報から検出対象系列を生成し、 前記位置マーカ系列と前記検出対象系列との相関値を組
にして位置マーカ検出情報とする請求項27記載の電子
透かし検出方法。
30. When detecting the position marker detection information, an N × N size pixel block is cut out from the detection target image using the detection target image, the detection target component position information, and the position marker sequence. A discrete Fourier transform of the pixel block to generate a detection target coefficient matrix, a detection target sequence from the offset information, the detection target coefficient matrix, and the detection target component position information, and the position marker sequence and the detection 28. The digital watermark detection method according to claim 27, wherein a set of correlation values with a target sequence is used as position marker detection information.
【請求項31】 前記位置マーカ系列を生成する際に、 前記検出対象画像をN×Nサイズのブロックに分割し、 すべてのブロックの画素値が加算された加算ブロックを
画素ブロックとする請求項27記載の電子透かし検出方
法。
31. When generating the position marker sequence, the detection target image is divided into N × N size blocks, and an addition block obtained by adding pixel values of all blocks is set as a pixel block. Electronic watermark detection method described in the above.
【請求項32】 前記電子透かしを検出する際に、 前記検出対象画像と、前記検出対象成分位置情報と前記
オフセット情報及び前記鍵情報を用いて、該検出対象画
像から画素ブロックを切り出し、 前記画素ブロックを離散フーリエ変換して、検出対象係
数行列を生成し、 前記オフセット情報、前記検出対象係数行列、及び検出
対象成分位置情報から検出対象系列を生成し、 前記鍵情報とシンボル候補情報から生成される系列と前
記検出対象系列との相関値からシンボル検出結果を生成
し、 前記シンボル検出結果の各シンボル位置の相関値が最大
時のシンボル候補値を検出シンボルとし、 前記検出シンボルを電子透かしの形式に変換した結果を
出力する請求項27記載の電子透かし検出方法。
32. When detecting the digital watermark, a pixel block is cut out from the detection target image using the detection target image, the detection target component position information, the offset information, and the key information. The block is subjected to discrete Fourier transform to generate a detection target coefficient matrix, a detection target sequence is generated from the offset information, the detection target coefficient matrix, and the detection target component position information, and the detection target sequence is generated from the key information and the symbol candidate information. A symbol detection result is generated from a correlation value between the target sequence and the detection target sequence, a symbol candidate value having a maximum correlation value at each symbol position of the symbol detection result is used as a detection symbol, and the detection symbol is used in a digital watermark format. 28. The digital watermark detection method according to claim 27, wherein a result of the conversion is output.
【請求項33】 前記位置マーカ系列を生成する際に、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均を求め、該平均で足りない部分を埋める請求項27記
載の電子透かし検出方法。
33. When generating the position marker sequence, when a block of N × N size is cut out from the detection target image, if the block cannot be cut out to N × N size from the detection target image, N × N Only the portion corresponding to the detection target image included when trying to cut out by the size is cut out, and the portion that is not enough in the N × N size is obtained by averaging the pixel values corresponding to the detection target image, and the portion that is not enough in the average is obtained. 28. The digital watermark detection method according to claim 27, wherein the electronic watermark is embedded.
【請求項34】 前記電子透かしを検出する際に、 前記検出対象画像から画素ブロックを分割し、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成し、 前記オフセット情報と前記検出対象成分位置情報と前記
検出対象係数行列から検出対象系列を生成し、 前記検出対象系列と前記鍵情報から検出シンボルを生成
し、 前記検出シンボルから副画像を検出する請求項32記載
の電子透かし検出方法。
34. When detecting the digital watermark, dividing a pixel block from the detection target image, performing a discrete Fourier transform on the pixel block, generating a detection target coefficient matrix, the offset information and the detection target component 33. The digital watermark detection method according to claim 32, wherein a detection target sequence is generated from position information and the detection target coefficient matrix, a detection symbol is generated from the detection target sequence and the key information, and a sub-image is detected from the detection symbol.
【請求項35】 前記検出対象画像から画素ブロックを
分割する際に、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋める請求項3
4記載の電子透かし検出方法。
35. When dividing a pixel block from the detection target image, when a block of N × N size is cut out from the detection target image, if the block cannot be cut out to N × N size from the detection target image, Only the portion corresponding to the detection target image included when trying to cut out in the N × N size is cut out, and the portion not enough in the N × N size is obtained by averaging the pixel values corresponding to the detection target image. Claim 3 to fill in the missing parts
4. The digital watermark detection method according to 4.
【請求項36】 前記位置マーカ系列を検出する際及
び、前記電子透かしを検出する際に、 前記検出対象画像をN×Nサイズのブロックに分割し、 すべてのブロックの画素値が加算された加算ブロックを
画素ブロックとする請求項27記載の電子透かし検出方
法。
36. When the position marker sequence is detected and when the digital watermark is detected, the detection target image is divided into N × N size blocks, and the pixel values of all blocks are added. The digital watermark detection method according to claim 27, wherein the block is a pixel block.
【請求項37】 前記電子透かしを検出する際に、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋める請求項2
7記載の電子透かし検出方法。
37. When detecting the digital watermark, when an N × N size block is cut out from the detection target image, if the N × N size block cannot be cut out from the detection target image, an N × N size block is set. Only the portion corresponding to the detection target image included when trying to cut out is cut out, and the portion where the N × N size is insufficient is obtained by averaging the pixel values corresponding to the detection target image, and the portion where the average value is insufficient Claim 2
7. The digital watermark detection method according to 7.
【請求項38】 前記位置マーカ系列を検出する際に、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更する処理を行う請求項31記載の電子透か
し検出方法。
38. The digital watermark detection method according to claim 31, wherein when detecting the position marker sequence, after generating the detection target sequence, a process of changing an average of the detection target sequence to 0 is performed.
【請求項39】 前記電子透かしを検出する際に、 前記検出対象系列の生成後に、該検出対象系列の平均を
0に変更する処理を行う請求項32記載の電子透かし検
出方法。
39. The digital watermark detection method according to claim 32, wherein upon detecting the digital watermark, a process of changing the average of the detection target sequence to 0 after generating the detection target sequence.
【請求項40】 前記電子透かしを検出する際に、 前記検出対象系列の生成後に、該検出対象系列の平均を
0に変更する処理を行う請求項34記載の電子透かし検
出方法。
40. The digital watermark detection method according to claim 34, wherein when detecting the digital watermark, a process of changing the average of the detection target sequence to 0 after generating the detection target sequence.
【請求項41】 前記オフセット情報を検出する際に、 前記位置マーカ検出情報の最大値を求め、 前記最大値が所定の閾値より小さい場合には、オフセッ
ト情報の検出に失敗したことを表す信号を出力し、 前記最大値が所定の閾値以上の場合には、該最大値をと
る時のオフセット情報を出力する請求項27記載の電子
透かし検出方法。
41. When detecting the offset information, a maximum value of the position marker detection information is obtained. If the maximum value is smaller than a predetermined threshold, a signal indicating that the detection of the offset information has failed is provided. 28. The digital watermark detection method according to claim 27, wherein, when the maximum value is equal to or more than a predetermined threshold value, offset information at the time of taking the maximum value is output.
【請求項42】 前記電子透かしを検出する際に、 前記シンボル検出結果をシンボル位置毎に分割し、 前記シンボル位置毎のシンボル位置毎系列の最大値を求
め、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、 前記最大値が所定の閾値以上の場合には、該最大値をと
る時のシンボル候補を出力する請求項32記載の電子透
かし検出方法。
42. When detecting the digital watermark, the symbol detection result is divided for each symbol position, a maximum value of a sequence for each symbol position for each symbol position is obtained, and the maximum value is smaller than a predetermined threshold value. In this case, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output. If the maximum value is equal to or greater than a predetermined threshold, a symbol candidate for taking the maximum value is output. 33. The electronic watermark detection method according to claim 32, wherein
【請求項43】 前記閾値は、平均0、分散1の正規分
布の分布関数の値に基づいて定められた閾値を用いる請
求項42記載の電子透かし検出方法。
43. The digital watermark detection method according to claim 42, wherein the threshold value uses a threshold value determined based on a value of a distribution function of a normal distribution having an average of 0 and a variance of 1.
【請求項44】 ディジタル画像に対して人間の知覚に
感知されないように電子透かしの埋め込みを行う電子透
かし埋込装置であって、 鍵情報と前記ディジタル画像に埋め込む電子透かしから
複素行列である透かし係数行列の各係数値の実数成分と
虚数成分を独立に変更する手段と、 変更後の透かし系列行列を離散逆フーリエ変換して、透
かしパターンを生成する手段と、 前記透かしパターンを前記原画像にタイル状に加算し、
埋め込み済画像を生成する手段とを有することを特徴と
する電子透かし埋込装置。
44. A digital watermark embedding device for embedding a digital watermark in a digital image so as not to be perceived by human perception, wherein the watermark coefficient is a complex matrix based on the key information and the digital watermark embedded in the digital image. Means for independently changing the real and imaginary components of each coefficient value of the matrix; means for performing a discrete inverse Fourier transform on the changed watermark sequence matrix to generate a watermark pattern; and tiles of the watermark pattern on the original image. And add
Means for generating an embedded image.
【請求項45】 前記鍵情報から前記電子透かしを埋め
込む長さの系列である埋め込み対象成分位置情報を生成
する埋め込み対象成分指定手段と、 前記鍵情報を用いて、位置マーカ情報と前記電子透かし
を埋め込み系列に拡散する埋め込み系列生成手段と、 前記埋め込み対象成分位置情報と前記埋め込み系列を用
いて、初期値が零行列の複素行列である透かし係数行列
の成分値を変更する成分値変更手段と、 前記透かし係数行列を離散逆フーリエ変換し、前記透か
しパターンを生成する離散逆フーリエ変換手段と、 前記透かしパターンを強度パラメータによって強調し、
強調された前記透かしパターンを入力された画像にタイ
ル状に加算して得られる埋め込み済画像を生成する透か
しパターン加算手段とを有する請求項44記載の電子透
かし埋込装置。
45. An embedding target component designating means for generating embedding target component position information which is a sequence of lengths for embedding the digital watermark from the key information, and using the key information to divide position marker information and the digital watermark. An embedding sequence generating unit that spreads into an embedding sequence; and, using the embedding target component position information and the embedding sequence, a component value changing unit that changes a component value of a watermark coefficient matrix whose initial value is a complex matrix of a zero matrix. Discrete inverse Fourier transform of the watermark coefficient matrix, discrete inverse Fourier transform means for generating the watermark pattern, emphasizing the watermark pattern by an intensity parameter,
The digital watermark embedding device according to claim 44, further comprising watermark pattern adding means for generating an embedded image obtained by adding the emphasized watermark pattern to the input image in a tile shape.
【請求項46】 前記埋め込み対象成分指定手段は、 前記鍵情報を初期値とする乱数列を生成する乱数生成手
段を含み、 前記乱数列から前記埋め込み対象成分位置情報を生成す
る請求項45記載の電子透かし埋込装置。
46. The embedding target component designating unit includes a random number generating unit that generates a random number sequence with the key information as an initial value, and generates the embedding target component position information from the random number sequence. Digital watermark embedding device.
【請求項47】 前記埋め込み系列生成手段は、 前記鍵情報を初期値とする0番目の拡散系列を生成し、
該拡散系列を位置マーカ情報を表す系列とし、所定倍し
て格納しておき、前記電子透かしをシンボル表現に変換
し、シンボル総数及び各シンボル値を取得し、前記鍵情
報に前記シンボル値を加えたものを初期値とする拡散系
列を生成し、シンボルを表す系列として、格納されてい
る前記拡散系列の各項に加え、格納されている値の平均
値を求め、各項から平均値を減算した値を埋め込み系列
とする手段を含む請求項45記載の電子透かし埋込装
置。
47. The embedded sequence generating means generates a 0th spread sequence with the key information as an initial value,
The spread sequence is a sequence representing position marker information, which is stored by multiplying by a predetermined number, the digital watermark is converted into a symbol expression, the total number of symbols and each symbol value are obtained, and the symbol value is added to the key information. Is generated as an initial value, and as a sequence representing a symbol, in addition to the respective items of the stored spreading sequence, an average value of the stored values is obtained, and the average value is subtracted from each item. 46. The electronic watermark embedding device according to claim 45, further comprising means for converting the set value into an embedding sequence.
【請求項48】 前記埋め込み系列生成手段は、 前記拡散系列として、+1または、−1ののいずれかを
とるものを用いる請求項47記載の電子透かし埋込装
置。
48. The digital watermark embedding device according to claim 47, wherein said embedded sequence generating means uses one of +1 and -1 as said spread sequence.
【請求項49】 前記埋め込み系列生成手段は、 前記鍵情報を初期値として、拡散系列を生成し、所定の
パラメータを該拡散系列に乗算して、記憶手段に保持
し、前記電子透かしをシンボル表現に変換し、該シンボ
ル表現のシンボルに対応する拡散系列を、前記記憶手段
の各項に加算し、該記憶手段の前記各項から平均値を減
算した結果を前記埋め込み系列とする手段を含む請求項
45記載の電子透かし埋込装置。
49. The embedding sequence generating unit generates a spreading sequence using the key information as an initial value, multiplies the spreading sequence by a predetermined parameter, stores the multiplication in a storage unit, and stores the digital watermark in a symbol representation. And adding a spread sequence corresponding to the symbol of the symbol representation to each term of the storage means, and subtracting an average value from each term of the storage means as the embedded sequence. Item 45. The digital watermark embedding device according to Item 45.
【請求項50】 前記埋め込み系列生成手段は、 前記拡散系列として、+1または、−1ののいずれかを
とるものを用いる請求項49記載の電子透かし埋込装
置。
50. The digital watermark embedding apparatus according to claim 49, wherein said embedded sequence generating means uses one of +1 and -1 as said spread sequence.
【請求項51】 ディジタル画像に対して人間の知覚に
感知されないように電子透かしが埋め込まれた検出対象
画像から該電子透かしを検出するための電子透かし検出
装置であって、 鍵情報から検出対象成分位置情報を生成する検出対象成
分指定手段と、 前記鍵情報から位置マーカ系列を生成する位置マーカ系
列生成手段と、 前記位置マーカ系列を検出し、埋め込み時の透かしパタ
ーンの開始点と検出対象画像から切り出した画素ブロッ
クの開始点が一致する時のオフセット情報を抽出する位
置マーカ検出手段と、 前記オフセット情報に基づいて切り出した前記画素ブロ
ックから埋め込まれている前記電子透かしを検出する電
子透かし検出手段とを有することを特徴とする電子透か
し検出装置。
51. A digital watermark detection device for detecting a digital watermark from a detection target image in which a digital watermark is embedded so that the digital image is not perceived by human perception. Detection target component designating means for generating position information, position marker sequence generating means for generating a position marker sequence from the key information, detecting the position marker sequence, and using a watermark pattern start point and a detection target image when embedding. Position marker detection means for extracting offset information when the start point of the cut-out pixel block matches; digital watermark detection means for detecting the digital watermark embedded from the cut-out pixel block based on the offset information; An electronic watermark detection device comprising:
【請求項52】 前記検出対象成分指定手段は、 前記鍵情報を初期値とする乱数列を生成する手段を含
み、 前記乱数列から前記検出対象成分位置情報を生成する請
求項51記載の電子透かし検出装置。
52. The digital watermark according to claim 51, wherein said detection target component designating means includes means for generating a random number sequence with said key information as an initial value, and generates said detection target component position information from said random number sequence. Detection device.
【請求項53】 前記位置マーカ系列生成手段は、 前記鍵情報を初期値とする0番目の拡散系列を生成し、
該拡散系列を前記位置マーカ系列として出力する手段を
含む請求項51記載の電子透かし検出装置。
53. The position marker sequence generating means generates a 0th spread sequence with the key information as an initial value,
52. The digital watermark detection device according to claim 51, further comprising means for outputting the spread sequence as the position marker sequence.
【請求項54】 前記位置マーカ検出手段は、 オフセット候補情報を生成し、前記検出対象画像のオフ
セット候補情報の位置から画素ブロックを切り出す手段
と、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成する手段と、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成する手段と、 前記位置マーカ系列と該検出対象系列の相関値と該オフ
セット候補情報を組にして、位置マーカ検出情報を生成
する手段と、 前記位置マーカ系列と該検出対象系列の相関値が最大の
時のオフセット候補情報をオフセット情報として抽出す
る手段を含む請求項51記載の電子透かし検出装置。
54. The position marker detecting means, which generates offset candidate information, cuts out a pixel block from the position of the offset candidate information of the detection target image, and performs a discrete Fourier transform of the pixel block to obtain a detection target coefficient matrix. Means for generating, and a means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, a set of the position marker sequence and the correlation value of the detection target sequence and the offset candidate information, 52. The digital watermark detection device according to claim 51, further comprising: means for generating position marker detection information; and means for extracting, as offset information, offset candidate information when the correlation value between the position marker sequence and the detection target sequence is maximum.
【請求項55】 前記電子透かし検出手段は、 前記検出対象画像から前記オフセット候補情報だけ平行
移動した位置から、N×N画素の画素ブロックを切り出
す手段と、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成する手段と、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成する手段と、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成する手段と、 前記シンボル検出情報から各検出シンボルを生成する手
段と、 前記各検出シンボルから検出結果を電子透かしとして出
力する手段とを含む請求項51記載の電子透かし検出装
置。
55. The digital watermark detecting means, a means for cutting out a pixel block of N × N pixels from a position translated from the detection target image by the offset candidate information, and a discrete Fourier transform of the pixel block, Means for generating a target coefficient matrix; means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; means for generating symbol detection information from the detection target sequence and the key information; The digital watermark detection device according to claim 51, further comprising: means for generating each detection symbol from the symbol detection information; and means for outputting a detection result from each of the detection symbols as a digital watermark.
【請求項56】 前記電子透かし検出手段は、 前記シンボル検出情報から各シンボル位置毎に各シンボ
ル位置毎系列を生成する手段と、 前記各シンボル位置毎系列の中で最大値をとる時のシン
ボル候補を検出シンボルとし、前記検出シンボルを逆シ
ンボル変換し、前記検出結果を取得する手段とを含む請
求項55記載の電子透かし検出装置。
56. The digital watermark detection unit, comprising: a unit for generating a sequence for each symbol position for each symbol position from the symbol detection information; and a symbol candidate for obtaining the maximum value in the sequence for each symbol position. 55. A digital watermark detection apparatus according to claim 55, further comprising: means for converting the detected symbol into an inverse symbol to obtain the detection result.
【請求項57】 前記電子透かし検出手段は、 前記切り出した画素ブロックを前記オフセットによりサ
イクリックシフトすることにより画素ブロックを出力す
る手段を含む請求項51記載の電子透かし検出装置。
57. The digital watermark detection device according to claim 51, wherein said digital watermark detection means includes means for outputting a pixel block by cyclically shifting said cut-out pixel block by said offset.
【請求項58】 前記電子透かし検出手段は、 検出対象画像がN×Nサイズ以上である場合には、該検
出対象画像からN×N画素の画素ブロックを切り出す手
段と、 検出対象画像がN×Nサイズより小さい場合には、該検
出対象画像のN×Nサイズに含まれる検出対象画像部分
の平均画素値を求め、該N×Nサイズに足りない部分を
該平均画素値で埋め、画素ブロックを生成する手段と、 切り出された前記画素ブロックをサイクリックシフトす
ることにより画素ブロックを出力する手段を含む請求項
51記載の電子透かし検出装置。
58. The digital watermark detecting means, wherein when the detection target image is equal to or larger than N × N size, the digital watermark detection means cuts out a pixel block of N × N pixels from the detection target image; If the size is smaller than the N size, an average pixel value of the detection target image portion included in the N × N size of the detection target image is obtained, and a portion less than the N × N size is filled with the average pixel value. 52. The digital watermark detection device according to claim 51, further comprising: means for generating a pixel block; and means for outputting a pixel block by cyclically shifting the cut-out pixel block.
【請求項59】 前記電子透かし検出手段は、 検出対象画像のオフセットの位置から画素ブロックを分
割する手段と、 分割された画素ブロックを離散フーリエ変換し、検出対
象係数行列を生成する手段と、 前記検出対象成分位置情報と、前記検出対象係数行列か
ら検出対象系列を生成する手段と、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成する手段と、 前記シンボル検出情報から画素ブロックを出力する手段
とを含む請求項51記載の電子透かし検出装置。
59. The digital watermark detecting means, means for dividing a pixel block from an offset position of a detection target image, means for performing a discrete Fourier transform on the divided pixel block, and generating a detection target coefficient matrix, Means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; means for generating symbol detection information from the detection target sequence and the key information; and outputting a pixel block from the symbol detection information. 52. The digital watermark detection device according to claim 51, comprising:
【請求項60】 前記電子透かし検出手段は、 前記検出対象画像を画素ブロックに分割し、該画素ブロ
ックをオフセットでサイクリックシフトする手段と、 サイクリックシフトされた前記画素ブロックを離散フー
リエ変換し、検出対象系列行列を生成する手段と、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成する手段と、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成する手段と、 前記シンボル検出情報から各検出シンボルを生成する手
段と、 前記検出シンボルから電子透かしを検出する手段とを含
む請求項51記載の電子透かし検出装置。
60. The digital watermark detecting unit divides the detection target image into pixel blocks, cyclically shifts the pixel blocks with an offset, and performs a discrete Fourier transform on the cyclically shifted pixel blocks. Means for generating a detection target sequence matrix, means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, and means for generating symbol detection information from the detection target sequence and the key information, The digital watermark detection device according to claim 51, further comprising: means for generating each detected symbol from the symbol detection information; and means for detecting a digital watermark from the detected symbol.
【請求項61】 前記電子透かし検出手段は、 前記検出対象画像を画素ブロックに分割し、該画素ブロ
ックをオフセットでサイクリックシフトし、このとき、
検出対象画像の端の辺りでN×Nサイズに満たない部分
については、足りない部分を平均画素値で埋める手段
と、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成する手段と、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成する手段と、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成する手段と、 前記シンボル検出情報から各検出シンボルを生成する手
段と、 前記検出シンボルから電子透かしを検出する手段とを含
む請求項51記載の電子透かし検出装置。
61. The digital watermark detection unit divides the detection target image into pixel blocks, and cyclically shifts the pixel blocks by offsets.
For a portion less than the N × N size around the edge of the detection target image, a means for filling the missing portion with an average pixel value, a means for performing a discrete Fourier transform on the pixel block, and a detection target coefficient matrix, Means for generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; means for generating symbol detection information from the detection target sequence and the key information; and generating each detection symbol from the symbol detection information. 52. The digital watermark detection device according to claim 51, further comprising: a unit that detects a digital watermark from the detected symbols.
【請求項62】 前記位置マーカ系列生成手段は、 前記検出対象画像をオフセットにより画素ブロックに分
割する手段と、 前記画素ブロックの画素値が加算された加算ブロックを
画素ブロックとして出力する手段とを含む請求項51記
載の電子透かし検出装置。
62. The position marker series generating unit includes: a unit that divides the detection target image into pixel blocks by offset; and a unit that outputs, as a pixel block, an addition block obtained by adding the pixel values of the pixel block. The digital watermark detection device according to claim 51.
【請求項63】 前記位置マーカ系列生成手段は、 前記検出対象画像をブロックに分割する手段と、 分割された前記ブロックの画素値を加算して得られたブ
ロックを加算ブロックとし、該加算ブロックをオフセッ
トによりサイクリックシフトし、画素ブロックを生成す
る手段を含む請求項51記載の電子透かし検出装置。
63. The position marker series generating means, means for dividing the detection target image into blocks, a block obtained by adding pixel values of the divided blocks as an addition block, and the adding block 52. The digital watermark detection device according to claim 51, further comprising means for generating a pixel block by performing a cyclic shift by the offset.
【請求項64】 前記位置マーカ系列生成手段は、 前記検出対象画像をブロックに分割し、このとき、該検
出対象画像の端の辺りで1ブロックに満たない画素領域
について、分割時の検出対象画像相当分の平均値を求
め、足りない部分は検出対象画像相当分の画素値の平均
値を求め、該平均値で埋めてブロックとする手段と、 分割された前記ブロックの画素値を加算して得られたブ
ロックを加算ブロックとする手段と、 前記加算ブロックをオフセットによりサイクリックシフ
トし、画素ブロックを生成する手段とを含む請求項62
記載の電子透かし検出装置。
64. The position marker series generation unit divides the detection target image into blocks. At this time, for a pixel area less than one block around an edge of the detection target image, the detection target image at the time of division The average value of the corresponding portion is obtained, the average value of the pixel values corresponding to the image to be detected is obtained for the portion that is not enough, and the average value is filled into the block, and the pixel value of the divided block is added. 63. A means for making the obtained block an addition block, and means for cyclically shifting the addition block by offset to generate a pixel block.
The electronic watermark detection device according to the above.
【請求項65】 前記位置マーカ系列生成手段は、 前記検出対象系列生成後に、該検出対象系列の平均を0
に変更する手段を含む請求項54記載の電子透かし検出
装置。
65. The position marker sequence generating means, after generating the detection target sequence, sets an average of the detection target sequence to 0.
55. The digital watermark detection device according to claim 54, further comprising:
【請求項66】 前記電子透かし検出手段は、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更する手段を含む請求項55記載の電子透か
し検出装置。
66. The digital watermark detection device according to claim 55, wherein said digital watermark detection means includes means for changing the average of said detection target sequence to 0 after generating said detection target sequence.
【請求項67】 前記位置マーカ検出手段は、 すべての位置マーカ検出情報の最大値を求め、所定の閾
値より該最大値が小さい場合には、オフセットの検出に
失敗したことを表す信号を出力し、該最大値が該所定の
閾値以上である場合には、該最大値をとるときのオフセ
ットを出力する手段を含む請求項54記載の電子透かし
検出装置。
67. The position marker detecting means obtains a maximum value of all the position marker detection information, and outputs a signal indicating that the offset detection has failed if the maximum value is smaller than a predetermined threshold value. 55. The digital watermark detection device according to claim 54, further comprising means for outputting an offset when the maximum value is obtained when the maximum value is equal to or greater than the predetermined threshold value.
【請求項68】 前記電子透かし検出手段は、 シンボル検出情報をシンボル位置毎に分割して、シンボ
ル位置毎系列を生成する手段と、 前記シンボル位置毎系列の最大値を求める手段と、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、該最大値が該所定の閾値以
上の場合には、該最大値をとるときのシンボル候補を検
出シンボルとする手段と、 前記検出シンボルから電子
透かしの表現に変換する手段とを含む請求項51記載の
電子透かし検出装置。
68. A means for dividing the symbol detection information for each symbol position to generate a sequence for each symbol position, means for obtaining a maximum value of the sequence for each symbol position, Is smaller than a predetermined threshold, a signal indicating that detection of a digital watermark embedded in the detection target image has failed is output.If the maximum value is equal to or larger than the predetermined threshold, 52. The digital watermark detection device according to claim 51, further comprising: means for setting a symbol candidate at the time of taking a value as a detected symbol; and means for converting the detected symbol into a digital watermark expression.
【請求項69】 前記閾値として、平均0、分散1の正
規分布の分布関数の値に基づいて定められた閾値を適用
する請求項68記載の電子透かし検出装置。
69. The digital watermark detection device according to claim 68, wherein a threshold determined based on a distribution function value of a normal distribution having a mean of 0 and a variance of 1 is applied as the threshold.
【請求項70】 ディジタル画像に対して人間の知覚に
感知されないように埋め込まれた電子透かしを検出する
ための電子透かし検出装置であって、 鍵情報から検出対象成分位置情報を生成する検出対象成
分指定手段と、 前記鍵情報から位置マーカ系列を生成する位置マーカ系
列生成手段と、 検出された位置マーカ検出情報により、埋め込み時の透
かしパターンの開始点と検出対象画像から切り出した画
素ブロックの開始点とのずれを表すオフセット情報を検
出する位置マーカ検出手段と、 前記オフセット情報を用いて前記画素ブロックに埋め込
まれている電子透かしを検出する電子透かし検出手段と
を有することを特徴とする電子透かし検出装置。
70. A digital watermark detection device for detecting a digital watermark embedded in a digital image so as not to be perceived by human perception, comprising: a detection target component for generating detection target component position information from key information Designating means; position marker sequence generating means for generating a position marker sequence from the key information; start point of a watermark pattern at the time of embedding and start point of a pixel block cut out from a detection target image based on the detected position marker detection information Digital watermark detection, comprising: a position marker detecting unit that detects offset information indicating a deviation from the digital watermark; and a digital watermark detecting unit that detects a digital watermark embedded in the pixel block using the offset information. apparatus.
【請求項71】 前記検出対象成分指定手段は、 前記鍵情報を初期値とする乱数列を生成する手段と、 前記乱数列を元に、埋め込まれている埋め込み系列の長
さと同じ長さの検出対象成分位置情報を生成する手段を
含む請求項70記載の電子透かし検出装置。
71. A detection target component designating means, comprising: a means for generating a random number sequence with the key information as an initial value; and detecting, based on the random number sequence, a length equal to the length of an embedded sequence to be embedded. 71. The digital watermark detection device according to claim 70, further comprising means for generating target component position information.
【請求項72】 前記位置マーカ系列生成手段は、 前記鍵情報を初期値とする最初の拡散系列を生成し、該
拡散系列を位置マーカ系列とする手段を含む請求項70
記載の電子透かし検出装置。
72. The position marker sequence generating means includes means for generating an initial spread sequence using the key information as an initial value, and using the spread sequence as a position marker sequence.
The electronic watermark detection device according to the above.
【請求項73】 前記位置マーカ検出手段は、 前記検出対象画像と前記検出対象成分位置情報と前記位
置マーカ系列を用いて、該検出対象画像からN×Nサイ
ズの画素ブロックを切り出す手段と、 前記画素ブロックを離散フーリエ変換して、検出対象係
数行列を生成する手段と、 前記オフセット情報、前記検出対象係数行列、及び検出
対象成分位置情報から検出対象系列を生成する手段と、 前記位置マーカ系列と前記検出対象系列との相関値を組
にして位置マーカ検出情報とする手段とを含む請求項7
0記載の電子透かし検出装置。
73. The position marker detecting unit, using the detection target image, the detection target component position information, and the position marker sequence, cutting out an N × N size pixel block from the detection target image, Means for generating a detection target coefficient matrix by performing a discrete Fourier transform of the pixel block; means for generating a detection target sequence from the offset information, the detection target coefficient matrix, and detection target component position information; and the position marker sequence. Means for setting a set of correlation values with the detection target sequence to obtain position marker detection information.
0. A digital watermark detection device according to item 0.
【請求項74】 前記電子透かし検出手段は、 前記検出対象画像と、前記検出対象成分位置情報と前記
オフセット情報及び前記鍵情報を用いて、該検出対象画
像から画素ブロックを切り出す手段と、 前記画素ブロックを離散フーリエ変換して、検出対象係
数行列を生成する手段と、 前記オフセット情報、前記検出対象係数行列、及び検出
対象成分位置情報から検出対象系列を生成する手段と、 前記鍵情報とシンボル候補情報から生成される系列と前
記検出対象系列との相関値からシンボル検出結果を生成
する手段と、 前記シンボル検出結果の各シンボル位置に基づいて、相
関値が最大時のシンボル候補値を検出シンボルとする手
段と、 前記検出シンボルを電子透かしの形式に変換した結果を
出力する手段とを含む請求項70記載の電子透かし検出
装置。
74. The electronic watermark detection unit, comprising: a unit that cuts out a pixel block from the detection target image using the detection target image, the detection target component position information, the offset information, and the key information; Means for generating a detection target coefficient matrix by performing a discrete Fourier transform on the block; means for generating a detection target sequence from the offset information, the detection target coefficient matrix, and the detection target component position information; and the key information and symbol candidates. Means for generating a symbol detection result from a correlation value between the sequence generated from the information and the detection target sequence; and, based on each symbol position of the symbol detection result, a symbol candidate value having a maximum correlation value as a detected symbol. 71. The electronic watermarking apparatus according to claim 70, further comprising: means for outputting the result of converting the detected symbol into a digital watermark format. Detector.
【請求項75】 前記位置マーカ系列生成手段は、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均を求め、該平均で足りない部分を埋める手段を含む請
求項70記載の電子透かし検出装置。
75. When a block of N × N size is cut out from the image to be detected when the block of N × N size cannot be cut out from the image to be detected, Means for cutting out only the portion equivalent to the detection target image included when trying to cut out, and calculating the average of the pixel values corresponding to the detection target image for the portion where the N × N size is insufficient, and filling in the portion missing in the average. 71. The digital watermark detection device according to claim 70, comprising:
【請求項76】 前記電子透かし検出手段は、 前記検出対象画像から画素ブロックを分割する手段と、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成する手段と、 前記オフセット情報と前記検出対象成分位置情報と前記
検出対象係数行列から検出対象系列を生成する手段と、 前記検出対象系列と前記鍵情報から検出シンボルを生成
する手段と、 前記検出シンボルから副画像を検出する請求項70記載
の電子透かし検出装置。
76. The digital watermark detection means, means for dividing a pixel block from the detection target image, means for performing a discrete Fourier transform on the pixel block to generate a detection target coefficient matrix, the offset information and the detection 71. A means for generating a detection target sequence from the target component position information and the detection target coefficient matrix, a means for generating a detection symbol from the detection target sequence and the key information, and detecting a sub-image from the detection symbol. Digital watermark detection device.
【請求項77】 前記電子透かし検出手段は、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋める手段を含
む請求項70記載の電子透かし検出装置。
77. The digital watermark detection means, when cutting out an N × N size block from the detection target image, if the block cannot be cut out into the N × N size from the detection target image, the digital watermark detection means Only the portion corresponding to the detection target image included when the image is to be extracted is cut out, and for the portion that is not enough in the N × N size, the average value of the pixel values corresponding to the detection target image is obtained, and the portion that is not sufficient is filled with the average value. 71. The electronic watermark detection device according to claim 70, comprising means.
【請求項78】 前記位置マーカ系列生成手段及び前記
電子透かし検出手段は、 前記検出対象画像をN×Nサイズのブロックに分割する
手段と、 すべてのブロックの画素値が加算された加算ブロックを
画素ブロックとする手段を含む請求項70記載の電子透
かし検出装置。
78. The position marker series generating means and the digital watermark detecting means, wherein the detecting target image is divided into N × N size blocks, and an added block obtained by adding pixel values of all blocks is a pixel. 71. The digital watermark detection device according to claim 70, further comprising a block.
【請求項79】 前記位置マーカ系列生成手段及び前記
電子透かし検出手段は、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋める手段を含
む請求項78記載の電子透かし検出装置。
79. When the position marker sequence generation unit and the digital watermark detection unit cut out an N × N size block from the detection target image and cannot cut out the N × N size block from the detection target image, , Only the portion corresponding to the detection target image included when trying to cut out in the N × N size is cut out, and the missing portion in the N × N size is obtained by averaging the pixel values corresponding to the detection target image. 79. The digital watermark detection device according to claim 78, further comprising means for filling in a portion missing with the value.
【請求項80】 前記位置マーカ系列生成手段は、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更する処理を行う手段を含む請求項73記載
の電子透かし検出装置。
80. The digital watermark detection device according to claim 73, wherein said position marker sequence generation means includes means for performing a process of changing an average of said detection target sequences to 0 after generating said detection target sequences.
【請求項81】 前記電子透かし検出手段は、 前記検出対象系列の生成後に、該検出対象系列の平均を
0に変更する処理を行う手段を含む請求項74記載の電
子透かし検出装置。
81. The digital watermark detection device according to claim 74, wherein said digital watermark detection means includes means for performing a process of changing the average of said detection target series to 0 after generation of said detection target series.
【請求項82】 前記位置マーカ検出手段は、 前記位置マーカ検出情報の最大値を求める手段と、 前記最大値が所定の閾値より小さい場合には、オフセッ
ト情報の検出に失敗したことを表す信号を出力し、該最
大値が所定の閾値以上の場合には、該最大値をとる時の
オフセット情報を出力する手段を含む請求項70記載の
電子透かし検出装置。
82. A position marker detecting unit, comprising: a unit for obtaining a maximum value of the position marker detection information; and a signal indicating that the detection of the offset information has failed when the maximum value is smaller than a predetermined threshold. 71. The digital watermark detection apparatus according to claim 70, further comprising means for outputting, when the maximum value is equal to or greater than a predetermined threshold, offset information for obtaining the maximum value.
【請求項83】 前記電子透かし検出手段は、 前記検出対象系列と前記鍵情報から生成されたシンボル
検出情報シンボル位置毎に分割する手段と、 シンボル位置毎のシンボル位置毎系列の最大値を求める
手段と、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、該最大値が所定の閾値以上
の場合には、該最大値をとる時のシンボル候補を出力す
る手段を含む請求項74記載の電子透かし検出装置。
83. A means for dividing the digital watermark detection means into symbol detection information symbol positions generated from the detection target sequence and the key information, and a maximum value of a symbol position sequence for each symbol position. When the maximum value is smaller than a predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output, and when the maximum value is equal to or larger than the predetermined threshold, 75. The digital watermark detection device according to claim 74, further comprising: means for outputting a symbol candidate when the maximum value is obtained.
【請求項84】 前記閾値は、平均0、分散1の正規分
布の分布関数の値に基づいて定められた閾値を用いる請
求項83記載の電子透かし検出装置。
84. The electronic watermark detection device according to claim 83, wherein the threshold value uses a threshold value determined based on a value of a distribution function of a normal distribution having an average of 0 and a variance of 1.
【請求項85】 ディジタル画像に対して人間の知覚に
感知されないように電子透かしの埋め込みを行う電子透
かし埋込プログラムを格納した記憶媒体であって、 鍵情報と前記ディジタル画像に埋め込む電子透かしから
複素行列である透かし係数行列の各係数値の実数成分と
虚数成分を独立に変更するプロセスと、 変更後の透かし系列行列を離散逆フーリエ変換して、透
かしパターンを生成するプロセスと、 前記透かしパターンを前記原画像にタイル状に加算し、
埋め込み済画像を生成するプロセスとを有することを特
徴とする電子透かし埋込プログラムを格納した記憶媒
体。
85. A storage medium storing a digital watermark embedding program for embedding a digital watermark in a digital image so as not to be perceived by human perception, comprising: a key information and a digital watermark embedded in the digital image. A process of independently changing a real component and an imaginary component of each coefficient value of a watermark coefficient matrix which is a matrix, a process of generating a watermark pattern by performing a discrete inverse Fourier transform of the changed watermark sequence matrix, and a process of generating the watermark pattern. Add to the original image in tiles,
A process for generating an embedded image. A storage medium storing a digital watermark embedding program.
【請求項86】 前記鍵情報から前記電子透かしを埋め
込む長さの系列である埋め込み対象成分位置情報を生成
する埋め込み対象成分指定プロセスと、 前記鍵情報を用いて、位置マーカ情報と前記電子透かし
を埋め込み系列に拡散する埋め込み系列生成プロセス
と、 前記埋め込み対象成分位置情報と前記埋め込み系列を用
いて、初期値が零行列の複素行列である透かし係数行列
の成分値を変更する成分値変更プロセスと、 前記透かし係数行列を離散逆フーリエ変換し、前記透か
しパターンを生成する離散逆フーリエ変換プロセスと、 前記透かしパターンを強度パラメータによって強調し、
強調された前記透かしパターンを入力された画像にタイ
ル状に加算して得られる埋め込み済画像を生成する透か
しパターン加算プロセスとを有する請求項85記載の電
子透かし埋込プログラムを格納した記憶媒体。
86. An embedding target component designation process for generating, from the key information, an embedding target component position information, which is a sequence of lengths for embedding the digital watermark, using the key information to divide position marker information and the digital watermark An embedding sequence generation process for spreading to an embedding sequence, a component value changing process of changing a component value of a watermark coefficient matrix whose initial value is a complex matrix of zero matrix, using the embedding target component position information and the embedding sequence, A discrete inverse Fourier transform of the watermark coefficient matrix, and a discrete inverse Fourier transform process of generating the watermark pattern; emphasizing the watermark pattern with an intensity parameter;
86. A storage medium storing a digital watermark embedding program according to claim 85, further comprising: a watermark pattern adding process for generating an embedded image obtained by adding the emphasized watermark pattern in a tiled manner to an input image.
【請求項87】 前記埋め込み対象成分指定プロセス
は、 前記鍵情報を初期値とする乱数列を生成する乱数生成プ
ロセスを含み、 前記乱数列から前記埋め込み対象成分位置情報を生成す
る請求項86記載の電子透かし埋込プログラムを格納し
た記憶媒体。
87. The embedding target component position information is generated from the random number sequence, and the embedding target component position information is generated from the random number sequence. A storage medium storing a digital watermark embedding program.
【請求項88】 前記埋め込み系列生成プロセスは、 前記鍵情報を初期値とする0番目の拡散系列を生成し、
該拡散系列を位置マーカ情報を表す系列とし、所定倍し
て格納しておき、前記電子透かしをシンボル表現に変換
し、シンボル総数及び各シンボル値を取得し、前記鍵情
報に前記シンボル値を加えたものを初期値とする拡散系
列を生成し、シンボルを表す系列として、格納されてい
る前記拡散系列の各項に加え、格納されている値の平均
値を求め、各項から平均値を減算した値を埋め込み系列
とするプロセスを含む請求項86記載の電子透かし埋込
プログラムを格納した記憶媒体。
88. The embedded sequence generation process generates a 0th spread sequence with the key information as an initial value,
The spread sequence is a sequence representing position marker information, which is stored by multiplying by a predetermined number, the digital watermark is converted into a symbol expression, the total number of symbols and each symbol value are obtained, and the symbol value is added to the key information. Is generated as an initial value, and as a sequence representing a symbol, in addition to the respective items of the stored spreading sequence, an average value of the stored values is obtained, and the average value is subtracted from each item. 89. A storage medium storing a digital watermark embedding program according to claim 86, comprising a process of converting the set value into an embedding sequence.
【請求項89】 前記埋め込み系列生成プロセスは、 前記鍵情報を初期値として、拡散系列を生成し、所定の
パラメータを該拡散系列に乗算して、記憶手段に保持
し、前記電子透かしをシンボル表現に変換し、該シンボ
ル表現のシンボルに対応する拡散系列を、前記記憶手段
の各項に加算し、該記憶手段の前記各項から平均値を減
算した結果を前記埋め込み系列とするプロセスを含む請
求項86記載の電子透かし埋込プログラムを格納した記
憶媒体。
89. The embedding sequence generation process generates a spread sequence using the key information as an initial value, multiplies the spread sequence by a predetermined parameter, stores the multiplied sequence in storage means, and symbolically expresses the digital watermark. And adding a spreading sequence corresponding to the symbol of the symbol representation to each term of the storage means, and subtracting an average value from each term of the storage means as the embedded sequence. A storage medium storing the digital watermark embedding program according to Item 86.
【請求項90】 前記埋め込み系列生成プロセスは、 前記拡散系列として、+1または、−1ののいずれかを
とるものを用いる請求項89記載の電子透かし埋込プロ
グラムを格納した記憶媒体。
90. A storage medium storing a digital watermark embedding program according to claim 89, wherein said embedded sequence generating process uses one of +1 and −1 as said spread sequence.
【請求項91】 ディジタル画像に対して人間の知覚に
感知されないように電子透かしが埋め込まれた検出対象
画像から該電子透かしを検出するための電子透かし検出
プログラムを格納した記憶媒体であって、 鍵情報から検出対象成分位置情報を生成する検出対象成
分指定プロセスと、 前記鍵情報から位置マーカ系列を生成する位置マーカ系
列生成プロセスと、 前記位置マーカ系列を検出し、埋め込み時の透かしパタ
ーンの開始点と検出対象画像から切り出した画素ブロッ
クの開始点が一致する時のオフセット情報を抽出する位
置マーカ検出プロセスと、 前記オフセット情報に基づいて切り出した前記画素ブロ
ックから埋め込まれている前記電子透かしを検出する電
子透かし検出プロセスとを有することを特徴とする電子
透かし検出プログラムを格納した記憶媒体。
91. A storage medium storing a digital watermark detection program for detecting a digital watermark from a detection target image in which a digital watermark is embedded so that the digital image is not perceived by human perception. A detection target component designation process for generating detection target component position information from information; a position marker sequence generation process for generating a position marker sequence from the key information; and a start point of a watermark pattern when the position marker sequence is detected and embedded. A position marker detection process for extracting offset information when a start point of a pixel block cut out from the detection target image matches, and detecting the digital watermark embedded from the pixel block cut out based on the offset information. Digital watermark detection program having a digital watermark detection process Storage medium storing the beam.
【請求項92】 前記検出対象成分指定プロセスは、 前記鍵情報を初期値とする乱数列を生成するプロセスを
含み、 前記乱数列から前記検出対象成分位置情報を生成する請
求項91記載の電子透かし検出プログラムを格納した記
憶媒体。
92. The electronic watermark according to claim 91, wherein the detection target component designation process includes a process of generating a random number sequence using the key information as an initial value, and the detection target component position information is generated from the random number sequence. A storage medium that stores a detection program.
【請求項93】 前記位置マーカ系列生成プロセスは、 前記鍵情報を初期値とする0番目の拡散系列を生成し、
該拡散系列を前記位置マーカ系列として出力するプロセ
スを含む請求項91記載の電子透かし検出プログラムを
格納した記憶媒体。
93. The position marker sequence generation process includes: generating a 0th spread sequence with the key information as an initial value;
The storage medium storing the digital watermark detection program according to claim 91, including a process of outputting the spread sequence as the position marker sequence.
【請求項94】 前記位置マーカ検出プロセスは、 オフセット候補情報を生成し、前記検出対象画像のオフ
セット候補情報の位置から画素ブロックを切り出すプロ
セスと、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成するプロセスと、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成するプロセスと、 前記位置マーカ系列と該検出対象系列の相関値と該オフ
セット候補情報を組にして、位置マーカ検出情報を生成
するプロセスと、 前記位置マーカ系列と該検出対象系列の相関値が最大の
時のオフセット候補情報をオフセット情報として抽出す
るプロセスを含む請求項91記載の電子透かし検出プロ
グラムを格納した記憶媒体。
94. The position marker detection process includes: generating offset candidate information; extracting a pixel block from a position of the offset candidate information of the detection target image; and performing a discrete Fourier transform of the pixel block to obtain a detection target coefficient matrix. And a process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, a set of the position marker sequence and the correlation value of the detection target sequence and the offset candidate information, 92. The digital watermark detection program according to claim 91, further comprising: a process of generating position marker detection information; and a process of extracting, as offset information, offset candidate information when the correlation value between the position marker sequence and the detection target sequence is maximum. Storage media.
【請求項95】 前記電子透かし検出プロセスは、 前記検出対象画像から前記オフセット候補情報だけ平行
移動した位置から、N×N画素の画素ブロックを切り出
すプロセスと、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成するプロセスと、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成するプロセスと、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成するプロセスと、 前記シンボル検出情報から各検出シンボルを生成するプ
ロセスと、 前記各検出シンボルから検出結果を電子透かしとして出
力するプロセスとを含む請求項91記載の電子透かし検
出プログラムを格納した記憶媒体。
95. The digital watermark detection process includes: a process of cutting out a pixel block of N × N pixels from a position translated from the detection target image by the offset candidate information; and performing a discrete Fourier transform of the pixel block to perform detection. A process of generating a target coefficient matrix; a process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix; a process of generating symbol detection information from the detection target sequence and the key information; The storage medium storing the digital watermark detection program according to claim 91, comprising: a process of generating each detected symbol from the symbol detection information; and a process of outputting a detection result from each detected symbol as a digital watermark.
【請求項96】 前記電子透かし検出プロセスは、 前記シンボル検出情報から各シンボル位置毎に各シンボ
ル位置毎系列を生成するプロセスと、 前記各シンボル位置毎系列の中で最大値をとる時のシン
ボル候補を検出シンボルとし、前記検出シンボルを逆シ
ンボル変換し、前記検出結果を取得するプロセスとを含
む請求項95記載の電子透かし検出プログラムを格納し
た記憶媒体。
96. The digital watermark detection process includes: a process of generating a sequence for each symbol position for each symbol position from the symbol detection information; and a symbol candidate for obtaining a maximum value in the sequence for each symbol position. 97. A storage medium storing a digital watermark detection program according to claim 95, further comprising: a process of converting the detected symbol into an inverse symbol and obtaining the detection result.
【請求項97】 前記電子透かし検出プロセスは、 前記切り出した画素ブロックを前記オフセットによりサ
イクリックシフトすることにより画素ブロックを出力す
るプロセスを含む請求項91記載の電子透かし検出プロ
グラムを格納した記憶媒体。
97. The storage medium according to claim 91, wherein said digital watermark detection process includes a process of outputting a pixel block by cyclically shifting said cut-out pixel block by said offset.
【請求項98】 前記電子透かし検出プロセスは、 検出対象画像がN×Nサイズ以上である場合には、該検
出対象画像からN×N画素の画素ブロックを切り出すプ
ロセスと、 検出対象画像がN×Nサイズより小さい場合には、該検
出対象画像のN×Nサイズに含まれる検出対象画像部分
の平均画素値を求め、該N×Nサイズに足りない部分を
該平均画素値で埋め、画素ブロックを生成するプロセス
と、 切り出された前記画素ブロックをサイクリックシフトす
ることにより画素ブロックを出力するプロセスを含む請
求項91記載の電子透かし検出プログラムを格納した記
憶媒体。
98. The electronic watermark detection process includes, when the image to be detected has a size of N × N or more, cutting out a pixel block of N × N pixels from the image to be detected; If the size is smaller than the N size, an average pixel value of the detection target image portion included in the N × N size of the detection target image is obtained, and a portion less than the N × N size is filled with the average pixel value. 92. The storage medium storing the digital watermark detection program according to claim 91, further comprising: a process of generating a digital watermark, and a process of outputting a pixel block by cyclically shifting the cut-out pixel block.
【請求項99】 前記電子透かし検出プロセスは、 検出対象画像のオフセットの位置から画素ブロックを分
割するプロセスと、 分割された画素ブロックを離散フーリエ変換し、検出対
象係数行列を生成するプロセスと、 前記検出対象成分位置情報と、前記検出対象係数行列か
ら検出対象系列を生成するプロセスと、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成するプロセスと、 前記シンボル検出情報から画素ブロックを出力するプロ
セスとを含む請求項91記載の電子透かし検出プログラ
ムを格納した記憶媒体。
99. The digital watermark detection process includes: a process of dividing a pixel block from an offset position of a detection target image; a process of performing a discrete Fourier transform on the divided pixel block to generate a detection target coefficient matrix; A process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, a process of generating symbol detection information from the detection target sequence and the key information, and outputting a pixel block from the symbol detection information 92. A storage medium storing a digital watermark detection program according to claim 91, comprising a process.
【請求項100】 前記電子透かし検出プロセスは、 前記検出対象画像を画素ブロックに分割し、該画素ブロ
ックをオフセットでサイクリックシフトするプロセス
と、 サイクリックシフトされた前記画素ブロックを離散フー
リエ変換し、検出対象系列行列を生成するプロセスと、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成するプロセスと、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成するプロセスと、 前記シンボル検出情報から各検出シンボルを生成するプ
ロセスと、 前記検出シンボルから電子透かしを検出するプロセスと
を含む請求項91記載の電子透かし検出プログラムを格
納した記憶媒体。
100. The digital watermark detection process includes: dividing the detection target image into pixel blocks; cyclically shifting the pixel blocks with an offset; and performing a discrete Fourier transform on the cyclically shifted pixel blocks. A process of generating a detection target sequence matrix, a process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, and a process of generating symbol detection information from the detection target sequence and the key information, The storage medium storing the digital watermark detection program according to claim 91, comprising: a process of generating each detected symbol from the symbol detection information; and a process of detecting a digital watermark from the detected symbol.
【請求項101】 前記電子透かし検出プロセスは、 前記検出対象画像を画素ブロックに分割し、該画素ブロ
ックをオフセットでサイクリックシフトし、このとき、
検出対象画像の端の辺りでN×Nサイズに満たない部分
については、足りない部分を平均画素値で埋めるプロセ
スと、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成するプロセスと、 前記検出対象成分位置情報と前記検出対象係数行列から
検出対象系列を生成するプロセスと、 前記検出対象系列と前記鍵情報からシンボル検出情報を
生成するプロセスと、 前記シンボル検出情報から各検出シンボルを生成するプ
ロセスと、 前記検出シンボルから電子透かしを検出するプロセスと
を含む請求項91記載の電子透かし検出プログラムを格
納した記憶媒体。
101. The digital watermark detection process divides the image to be detected into pixel blocks, and cyclically shifts the pixel blocks with an offset.
For a portion less than the N × N size around the edge of the detection target image, a process of filling the missing portion with the average pixel value, a process of generating a detection target coefficient matrix by performing a discrete Fourier transform of the pixel block, A process of generating a detection target sequence from the detection target component position information and the detection target coefficient matrix, a process of generating symbol detection information from the detection target sequence and the key information, and generating each detection symbol from the symbol detection information 92. A storage medium storing a digital watermark detection program according to claim 91, further comprising: a process of performing a digital watermark detection process from the detected symbols.
【請求項102】 前記位置マーカ系列生成プロセス
は、 前記検出対象画像をオフセットによりブロックに分割す
るプロセスと、 前記画素ブロックの画素値が加算された加算ブロックを
画素ブロックとして出力するプロセスとを含む請求項9
1記載の電子透かし検出プログラムを格納した記憶媒
体。
102. The position marker sequence generation process includes a process of dividing the detection target image into blocks by offset, and a process of outputting an added block obtained by adding the pixel values of the pixel block as a pixel block. Item 9
A storage medium storing the digital watermark detection program according to 1.
【請求項103】 前記位置マーカ系列生成プロセス
は、 前記検出対象画像をブロックに分割するプロセスと、 分割された前記ブロックの画素値を加算して得られたブ
ロックを加算ブロックとし、該加算ブロックをオフセッ
トによりサイクリックシフトし、画素ブロックを生成す
るプロセスを含む請求項91記載の電子透かし検出プロ
グラムを格納した記憶媒体。
103. The position marker sequence generation process includes a process of dividing the detection target image into blocks, a block obtained by adding pixel values of the divided blocks to an addition block, and the adding block The storage medium storing the digital watermark detection program according to claim 91, comprising a process of generating a pixel block by performing a cyclic shift by an offset.
【請求項104】 前記位置マーカ系列生成プロセス
は、 前記検出対象画像をブロックに分割し、このとき、該検
出対象画像の端の辺りで1ブロックに満たない画素領域
について、分割時の検出対象画像相当分の平均値を求
め、足りない部分は検出対象画像相当分の画素値の平均
値を求め、該平均値で埋めてブロックとするプロセス
と、 分割された前記ブロックの画素値を加算して得られたブ
ロックを加算ブロックとするプロセスと、 前記加算ブロックをオフセットによりサイクリックシフ
トし、画素ブロックを生成するプロセスとを含む請求項
102記載の電子透かし検出プログラムを格納した記憶
媒体。
104. The position marker series generation process divides the detection target image into blocks. At this time, a detection target image at the time of division is obtained for a pixel area less than one block around an edge of the detection target image. A process of obtaining an average value of a corresponding portion, obtaining an average value of pixel values corresponding to an image to be detected in a portion that is insufficient, filling the average value into a block, and adding the pixel values of the divided block are performed. 103. The storage medium storing the digital watermark detection program according to claim 102, comprising: a process of using the obtained block as an addition block; and a process of cyclically shifting the addition block by an offset to generate a pixel block.
【請求項105】 前記位置マーカ系列生成プロセス
は、 前記検出対象系列生成後に、該検出対象系列の平均を0
に変更するプロセスを含む請求項94記載の電子透かし
検出プログラムを格納した記憶媒体。
105. The position marker sequence generation process may include, after generating the detection target sequence, setting an average of the detection target sequence to 0.
95. A storage medium storing the digital watermark detection program according to claim 94, including a process of changing the electronic watermark into a program.
【請求項106】 前記電子透かし検出プロセスは、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更するプロセスを含む請求項100記載の電
子透かし検出プログラムを格納した記憶媒体。
106. A storage medium storing a digital watermark detection program according to claim 100, wherein said digital watermark detection process includes a process of changing the average of said detection target sequence to 0 after generating said detection target sequence.
【請求項107】 前記電子透かし検出プロセスは、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更するプロセスを含む請求項101記載の電
子透かし検出プログラムを格納した記憶媒体。
107. The storage medium storing the digital watermark detection program according to claim 101, wherein the digital watermark detection process includes a process of changing the average of the detection target sequence to 0 after generating the detection target sequence.
【請求項108】 前記位置マーカ検出プロセスは、 すべての位置マーカ検出情報の最大値を求め、所定の閾
値より該最大値が小さい場合には、オフセットの検出に
失敗したことを表す信号を出力し、該最大値が該所定の
閾値以上である場合には、該最大値をとるときのオフセ
ットを出力するプロセスを含む請求項94記載の電子透
かし検出プログラムを格納した記憶媒体。
108. The position marker detection process obtains a maximum value of all the position marker detection information, and outputs a signal indicating that the offset detection has failed if the maximum value is smaller than a predetermined threshold value. The storage medium storing the digital watermark detection program according to claim 94, further comprising a process of outputting an offset when the maximum value is equal to or greater than the predetermined threshold value.
【請求項109】 前記電子透かし検出プロセスは、 シンボル検出情報をシンボル位置毎に分割して、シンボ
ル位置毎系列を生成するプロセスと、 前記シンボル位置毎系列の最大値を求めるプロセスと、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、該最大値が該所定の閾値以
上の場合には、該最大値をとるときのシンボル候補を検
出シンボルとするプロセスと、 前記検出シンボルから電子透かしの表現に変換するプロ
セスとを含む請求項95記載の電子透かし検出プログラ
ムを格納した記憶媒体。
109. The digital watermark detection process includes: dividing symbol detection information for each symbol position to generate a sequence for each symbol position; obtaining a maximum value of the sequence for each symbol position; Is smaller than a predetermined threshold, a signal indicating that detection of a digital watermark embedded in the detection target image has failed is output.If the maximum value is equal to or larger than the predetermined threshold, The storage medium storing the digital watermark detection program according to claim 95, comprising: a process of using a symbol candidate when a value is taken as a detection symbol; and a process of converting the detection symbol into a digital watermark expression.
【請求項110】 前記閾値として、平均0、分散1の
正規分布の分布関数の値に基づいて定められた閾値を適
用する請求項109記載の電子透かし検出プログラムを
格納した記憶媒体。
110. A storage medium storing a digital watermark detection program according to claim 109, wherein a threshold determined based on a value of a normal distribution function having a mean of 0 and a variance of 1 is applied as said threshold.
【請求項111】 ディジタル画像に対して人間の知覚
に感知されないように埋め込まれた電子透かしを検出す
るための電子透かし検出プログラムを格納した記憶媒体
であって、 鍵情報から検出対象成分位置情報を生成する検出対象成
分指定プロセスと、 前記鍵情報から位置マーカ系列を生成する位置マーカ系
列生成プロセスと、 検出された位置マーカ検出情報により、埋め込み時の透
かしパターンの開始点と検出対象画像から切り出した画
素ブロックの開始点とのずれを表すオフセット情報を検
出する位置マーカ検出プロセスと、 前記オフセット情報を用いて前記画素ブロックに埋め込
まれている電子透かしを検出する電子透かし検出プロセ
スとを有することを特徴とする電子透かし検出プログラ
ムを格納した記憶媒体。
111. A storage medium storing a digital watermark detection program for detecting a digital watermark embedded in a digital image so as not to be perceived by human perception. A detection target component specifying process to be generated, a position marker sequence generation process to generate a position marker sequence from the key information, and a watermark pattern starting point and a detection target image at the time of embedding are cut out based on the detected position marker detection information. A position marker detection process for detecting offset information indicating a deviation from a start point of the pixel block; and a digital watermark detection process for detecting a digital watermark embedded in the pixel block using the offset information. Storage medium storing a digital watermark detection program.
【請求項112】 前記検出対象成分指定プロセスは、 前記鍵情報を初期値とする乱数列を生成するプロセス
と、 前記乱数列を元に、埋め込まれている埋め込み系列の長
さと同じ長さの検出対象成分位置情報を生成するプロセ
スを含む請求項111記載の電子透かし検出プログラム
を格納した記憶媒体。
112. The detection target component designating process includes: a process of generating a random number sequence with the key information as an initial value; and detecting the same length as the length of an embedded sequence embedded based on the random number sequence. 112. A storage medium storing a digital watermark detection program according to claim 111, comprising a process of generating target component position information.
【請求項113】 前記位置マーカ系列生成プロセス
は、 前記鍵情報を初期値とする最初の拡散系列を生成し、該
拡散系列を位置マーカ系列とするプロセスを含む請求項
111記載の電子透かし検出プログラムを格納した記憶
媒体。
113. The digital watermark detection program according to claim 111, wherein the position marker sequence generation process includes a process of generating an initial spread sequence using the key information as an initial value and using the spread sequence as a position marker sequence. Storage medium storing.
【請求項114】 前記位置マーカ検出プロセスは、 前記検出対象画像と前記検出対象成分位置情報と前記位
置マーカ系列を用いて、該検出対象画像からN×Nサイ
ズの画素ブロックを切り出すプロセスと、 前記画素ブロックを離散フーリエ変換して、検出対象係
数行列を生成するプロセスと、 前記オフセット情報、前記検出対象係数行列、及び検出
対象成分位置情報から検出対象系列を生成するプロセス
と、 前記位置マーカ系列と前記検出対象系列との相関値を組
にして位置マーカ検出情報とするプロセスとを含む請求
項111記載の電子透かし検出プログラムを格納した記
憶媒体。
114. The position marker detection process includes: using the detection target image, the detection target component position information, and the position marker sequence to cut out an N × N size pixel block from the detection target image; A process of generating a detection target coefficient matrix by performing a discrete Fourier transform on the pixel block, a process of generating a detection target sequence from the offset information, the detection target coefficient matrix, and the detection target component position information, and the position marker sequence. A storage medium storing the digital watermark detection program according to claim 111, further comprising: a process of combining the correlation value with the detection target sequence to generate position marker detection information.
【請求項115】 前記電子透かし検出プロセスは、 前記検出対象画像と、前記検出対象成分位置情報と前記
オフセット情報及び前記鍵情報を用いて、該検出対象画
像から画素ブロックを切り出すプロセスと、 前記画素ブロックを離散フーリエ変換して、検出対象係
数行列を生成するプロセスと、 前記オフセット情報、前記検出対象係数行列、及び検出
対象成分位置情報から検出対象系列を生成するプロセス
と、 前記鍵情報とシンボル候補情報から生成される系列と前
記検出対象系列との相関値からシンボル検出結果を生成
するプロセスと、 前記シンボル検出結果の各シンボル位置に基づいて、相
関値が最大時のシンボル候補値を検出シンボルとするプ
ロセスと、 前記検出シンボルを電子透かしの形式に変換した結果を
出力するプロセスとを含む請求項111記載の電子透か
し検出プログラムを格納した記憶媒体。
115. The digital watermark detection process includes: a process of cutting out a pixel block from the detection target image using the detection target image, the detection target component position information, the offset information, and the key information; A process of generating a detection target coefficient matrix by performing a discrete Fourier transform on the block; a process of generating a detection target sequence from the offset information, the detection target coefficient matrix, and the detection target component position information; and the key information and symbol candidates. A process of generating a symbol detection result from a correlation value between the sequence generated from the information and the detection target sequence, and, based on each symbol position of the symbol detection result, a symbol candidate value having a maximum correlation value as a detected symbol. And outputting a result of converting the detected symbol into a digital watermark format. 112. A storage medium storing the digital watermark detection program according to claim 111.
【請求項116】 前記位置マーカ系列生成プロセス
は、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均を求め、該平均で足りない部分を埋めるプロセスを含
む請求項114記載の電子透かし検出プログラムを格納
した記憶媒体。
116. The position marker sequence generation process includes the steps of: when cutting out an N × N size block from the detection target image, if the block cannot be cut out into the N × N size from the detection target image, A process of cutting out only the portion corresponding to the detection target image included when trying to cut out, and averaging the pixel values corresponding to the detection target image for the portion where the N × N size is insufficient, and filling in the portion missing by the average. 115. A storage medium storing the digital watermark detection program according to claim 114.
【請求項117】 前記電子透かし検出プロセスは、 前記検出対象画像から画素ブロックを分割するプロセス
と、 前記画素ブロックを離散フーリエ変換し、検出対象係数
行列を生成するプロセスと、 前記オフセット情報と前記検出対象成分位置情報と前記
検出対象係数行列から検出対象系列を生成するプロセス
と、 前記検出対象系列と前記鍵情報から検出シンボルを生成
するプロセスと、 前記検出シンボルから副画像を検出する請求項111記
載の電子透かし検出プログラムを格納した記憶媒体。
117. The digital watermark detection process includes a process of dividing a pixel block from the detection target image, a process of performing a discrete Fourier transform on the pixel block to generate a detection target coefficient matrix, the offset information and the detection. 111. A process of generating a detection target sequence from target component position information and the detection target coefficient matrix, a process of generating a detection symbol from the detection target sequence and the key information, and detecting a sub-image from the detection symbol. Storage medium storing the digital watermark detection program.
【請求項118】 前記電子透かし検出プロセスは、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋めるプロセス
を含む請求項111記載の電子透かし検出プログラムを
格納した記憶媒体。
118. The digital watermark detection process comprises: when an N × N size block is cut out from the detection target image, if the block cannot be cut out to the N × N size from the detection target image, Only the portion corresponding to the detection target image included when the image is to be extracted is cut out, and for the portion that is not enough in the N × N size, the average value of the pixel values corresponding to the detection target image is obtained, and the portion that is not sufficient is filled with the average value. 112. A storage medium storing a digital watermark detection program according to claim 111, including a process.
【請求項119】 前記位置マーカ系列生成プロセス
は、 前記検出対象画像をN×Nサイズのブロックに分割する
プロセスと、 すべてのブロックの画素値が加算された加算ブロックを
画素ブロックとするプロセスを含む請求項111記載の
電子透かし検出プログラムを格納した記憶媒体。
119. The position marker sequence generation process includes a process of dividing the detection target image into N × N size blocks, and a process of setting an addition block obtained by adding pixel values of all blocks to a pixel block. A storage medium storing the digital watermark detection program according to claim 111.
【請求項120】 前記電子透かし検出プロセスは、 前記検出対象画像をN×Nサイズのブロックに分割する
プロセスと、 すべてのブロックの画素値が加算された加算ブロックを
画素ブロックとするプロセスを含む請求項111記載の
電子透かし検出プログラムを格納した記憶媒
120. The digital watermark detection process includes a process of dividing the detection target image into N × N size blocks, and a process of setting an addition block obtained by adding pixel values of all blocks to a pixel block. Item 111. A storage medium storing a digital watermark detection program according to item 111.
【請求項121】 前記電子透かし検出プロセスは、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋めるプロセス
を含む請求項111記載の電子透かし検出プログラムを
格納した記憶媒体。
121. In the digital watermark detection process, when an N × N size block is cut out from the detection target image, if the block cannot be cut out to the N × N size from the detection target image, the digital watermark detection process Only the portion corresponding to the detection target image included when the image is to be extracted is cut out, and for the portion that is not enough in the N × N size, the average value of the pixel values corresponding to the detection target image is obtained, and the portion that is not sufficient is filled with the average value. 112. A storage medium storing a digital watermark detection program according to claim 111, including a process.
【請求項122】 前記位置マーカ系列生成プロセス
は、 前記検出対象画像からN×Nサイズのブロックを切り出
した時、該検出対象画像からN×Nサイズに切り出せな
い場合には、N×Nサイズで切り出そうとした時に含ま
れる検出対象画像相当分のみを切り出し、N×Nサイズ
で足りない部分は、該検出対象画像相当分の画素値の平
均値を求め、該平均値で足りない部分を埋めるプロセス
を含む請求項111記載の電子透かし検出プログラムを
格納した記憶媒体。
122. The position marker sequence generation process includes the steps of: when cutting out an N × N size block from the detection target image, if the block cannot be cut out into the N × N size from the detection target image, Only the portion corresponding to the detection target image included when the clipping is attempted is cut out, and the portion that is not sufficient in the N × N size is obtained by averaging the pixel values corresponding to the detection target image. 112. A storage medium storing a digital watermark detection program according to claim 111, comprising a filling process.
【請求項123】 前記位置マーカ系列生成プロセス
は、 前記検出対象系列を生成した後に、該検出対象系列の平
均を0に変更する処理を行うプロセスを含む請求項12
2記載の電子透かし検出プログラムを格納した記憶媒
体。
123. The position marker sequence generation process includes a process of, after generating the detection target sequence, performing a process of changing an average of the detection target sequence to 0.
A storage medium storing the digital watermark detection program according to Item 2.
【請求項124】 前記電子透かし検出プロセスは、 前記検出対象系列の生成後に、該検出対象系列の平均を
0に変更する処理を行うプロセスを含む請求項121記
載の電子透かし検出プログラムを格納した記憶媒体。
124. The storage storing the digital watermark detection program according to claim 121, wherein the digital watermark detection process includes a process of changing a mean of the detection target sequence to 0 after the detection target sequence is generated. Medium.
【請求項125】 前記位置マーカ検出プロセスは、 前記位置マーカ検出情報の最大値を求めるプロセスと、 前記最大値が所定の閾値より小さい場合には、オフセッ
ト情報の検出に失敗したことを表す信号を出力し、該最
大値が所定の閾値以上の場合には、該最大値をとる時の
オフセット情報を出力するプロセスを含む請求項111
記載の電子透かし検出プログラムを格納した記憶媒体。
125. The position marker detection process includes: a process of obtaining a maximum value of the position marker detection information; and a signal indicating that the detection of the offset information has failed if the maximum value is smaller than a predetermined threshold. 111. A process for outputting, when the maximum value is equal to or greater than a predetermined threshold value, outputting offset information when the maximum value is obtained.
A storage medium storing the described electronic watermark detection program.
【請求項126】 前記電子透かし検出プロセスは、 前記検出対象系列と前記鍵情報から生成されたシンボル
検出情報シンボル位置毎に分割するプロセスと、 シンボル位置毎のシンボル位置毎系列の最大値を求める
プロセスと、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、該最大値が所定の閾値以上
の場合には、該最大値をとる時のシンボル候補を出力す
るプロセスを含む請求項111記載の電子透かし検出プ
ログラムを格納した記憶媒体。
126. The digital watermark detection process includes: a process of dividing the detection target sequence and a symbol detection information generated from the key information for each symbol position; and a process of obtaining a maximum value of a sequence for each symbol position for each symbol position. When the maximum value is smaller than a predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output, and when the maximum value is equal to or larger than the predetermined threshold, 112. A storage medium storing a digital watermark detection program according to claim 111, further comprising: outputting a symbol candidate when the maximum value is obtained.
【請求項127】 前記電子透かし検出プロセスは、 前記検出対象系列と前記鍵情報から生成されたシンボル
検出情報シンボル位置毎に分割するプロセスと、 シンボル位置毎のシンボル位置毎系列の最大値を求める
プロセスと、 前記最大値が所定の閾値より小さい場合には、前記検出
対象画像に埋め込まれている電子透かしの検出に失敗し
たことを表す信号を出力し、該最大値が所定の閾値以上
の場合には、該最大値をとる時のシンボル候補を出力す
るプロセスを含む請求項115記載の電子透かし検出プ
ログラムを格納した記憶媒体。
127. The digital watermark detection process is a process of dividing the detection target sequence and the symbol detection information generated from the key information into each symbol position, and a process of obtaining the maximum value of the symbol position sequence for each symbol position. When the maximum value is smaller than a predetermined threshold, a signal indicating that the detection of the digital watermark embedded in the detection target image has failed is output, and when the maximum value is equal to or larger than the predetermined threshold, A storage medium storing a digital watermark detection program according to claim 115, further comprising a process of outputting a symbol candidate when the maximum value is obtained.
【請求項128】 前記閾値は、平均0、分散1の正規
分布の分布関数の値に基づいて定められた閾値を用いる
請求項126記載の電子透かし検出プログラムを格納し
た記憶媒体。
128. The storage medium storing the digital watermark detection program according to claim 126, wherein the threshold value uses a threshold value determined based on a distribution function value of a normal distribution having a mean of 0 and a variance of 1.
【請求項129】 前記閾値は、平均0、分散1の正規
分布の分布関数の値に基づいて定められた閾値を用いる
請求項127記載の電子透かし検出プログラムを格納し
た記憶媒体。
The storage medium storing the electronic watermark detection program according to claim 127, wherein the threshold value uses a threshold value determined based on a distribution function value of a normal distribution having an average of 0 and a variance of 1.
【請求項130】 ディジタル画像に対して人間の知覚
に感知されないように電子透かしの埋め込みを行う電子
透かし埋込装置と、該電子透かしを検出する電子透かし
検出装置からなる電子透かしシステムであって、 前記電子透かし埋め込み装置は、 埋め込みのための前記鍵情報から前記電子透かしの埋込
系列の長さnと同じ長さの系列である埋め込み対象成分
位置情報を生成する埋め込み対象成分指定手段と、 前記鍵情報を用いて、位置マーカ情報と前記電子透かし
を埋め込み系列に拡散する埋め込み系列生成手段と、 前記埋め込み対象成分位置情報と前記埋め込み系列を用
いて、初期値が零行列の複素行列である透かし係数行列
の成分値を変更する成分値変更手段と、 前記透かし係数行列を離散逆フーリエ変換し、前記透か
しパターンを生成する離散逆フーリエ変換手段と、 前記透かしパターンを強度パラメータによって強調し、
強調された前記透かしパターンを入力された画像にタイ
ル状に加算して得られる埋め込み済画像を生成する透か
しパターン加算手段とを有し、 前記電子透かし検出装置は、 鍵情報から検出対象成分位置情報を生成する検出対象成
分指定手段と、 前記鍵情報から位置マーカ系列を生成する位置マーカ系
列生成手段と、 前記位置マーカ系列を検出し、埋め込み時の透かしパタ
ーンの開始点と検出対象画像から切り出した画素ブロッ
クの開始点が一致する時のオフセット情報を抽出する位
置マーカ検出手段と、 前記オフセット情報に基づいて切り出した前記画素ブロ
ックから埋め込まれている前記電子透かしを検出する電
子透かし検出手段とを有することを特徴とする電子透か
しシステム。
130. A digital watermark embedding device that embeds a digital watermark in a digital image so as not to be perceived by human perception, and a digital watermark detection device that detects the digital watermark, The digital watermark embedding device includes: an embedding target component designating unit that generates, from the key information for embedding, embedding target component position information that is a sequence having the same length as the length n of the embedding sequence of the digital watermark; An embedding sequence generating unit that spreads the position marker information and the digital watermark to the embedding sequence using key information; and a watermark whose initial value is a complex matrix of zero matrix using the embedding target component position information and the embedding sequence. A component value changing unit for changing a component value of a coefficient matrix, and a discrete inverse Fourier transform of the watermark coefficient matrix, the watermark pattern And inverse discrete Fourier transform means for generating for, highlights the watermark pattern by the intensity parameter,
Watermark pattern adding means for generating an embedded image obtained by adding the emphasized watermark pattern to the input image in the form of a tile, wherein the digital watermark detection device performs detection target component position information from key information. A position marker sequence generating unit that generates a position marker sequence from the key information, and detects the position marker sequence and cuts out the watermark image starting point and the detection target image at the time of embedding. Position marker detecting means for extracting offset information when the start point of the pixel block matches, and digital watermark detecting means for detecting the digital watermark embedded from the pixel block cut out based on the offset information An electronic watermarking system, characterized in that:
【請求項131】 前記電子透かし埋込装置は、 集積回路により構成される請求項130記載の電子透か
しシステム。
131. The digital watermarking system according to claim 130, wherein said digital watermark embedding device is constituted by an integrated circuit.
【請求項132】 前記電子透かし検出装置は、 集積回路により構成される請求項130記載の電子透か
しシステム。
132. The digital watermark system according to claim 130, wherein said digital watermark detection device is configured by an integrated circuit.
【請求項133】 ディジタル画像に対して人間の知覚
に感知されないように電子透かしの埋め込みを行う電子
透かし埋込装置と、該電子透かしを検出する電子透かし
検出装置からなる電子透かしシステムであって、 前記電子透かし埋込装置は、 埋め込みのための前記鍵情報から前記電子透かしの埋込
系列の長さnと同じ長さの系列である埋め込み対象成分
位置情報を生成する埋め込み対象成分指定手段と、 前記鍵情報を用いて、位置マーカ情報と前記電子透かし
を埋め込み系列に拡散する埋め込み系列生成手段と、 前記埋め込み対象成分位置情報と前記埋め込み系列を用
いて、初期値が零行列の複素行列である透かし係数行列
の成分値を変更する成分値変更手段と、 前記透かし係数行列を離散逆フーリエ変換し、前記透か
しパターンを生成する離散逆フーリエ変換手段と、 前記透かしパターンを強度パラメータによって強調し、
強調された前記透かしパターンを入力された画像にタイ
ル状に加算して得られる埋め込み済画像を生成する透か
しパターン加算手段とを有し、 前記電子透かし検出装置は、 鍵情報から検出対象成分位置情報を生成する検出対象成
分指定手段と、 前記鍵情報から位置マーカ系列を生成する位置マーカ系
列生成手段と、 検出された位置マーカ検出情報により、埋め込み時の透
かしパターンの開始点と検出対象画像から切り出した画
素ブロックの開始点とのずれを表すオフセット情報を検
出する位置マーカ検出手段と、 前記オフセット情報を用いて前記画素ブロックに埋め込
まれている電子透かしを検出する電子透かし検出手段と
を有することを特徴とする電子透かしシステム。
133. A digital watermark embedding device for embedding a digital watermark in a digital image so as not to be perceived by human perception, and a digital watermark detecting device for detecting the digital watermark, The digital watermark embedding device includes an embedding target component designating unit that generates, from the key information for embedding, embedding target component position information that is a sequence having the same length as the length n of the embedding sequence of the digital watermark, An embedding sequence generating unit that spreads the position marker information and the digital watermark to the embedding sequence using the key information; and using the embedding target component position information and the embedding sequence, an initial value is a complex matrix of zero matrix. A component value changing means for changing a component value of the watermark coefficient matrix, and a discrete inverse Fourier transform of the watermark coefficient matrix to generate the watermark pattern And inverse discrete Fourier transform means for, highlights the watermark pattern by the intensity parameter,
Watermark pattern adding means for generating an embedded image obtained by adding the emphasized watermark pattern to the input image in the form of a tile, wherein the digital watermark detection device performs detection target component position information from key information. A position marker sequence generating unit that generates a position marker sequence from the key information, and cuts out a watermark pattern starting point and a detection target image at the time of embedding based on the detected position marker detection information. Position marker detecting means for detecting offset information indicating a deviation from the start point of the pixel block, and digital watermark detecting means for detecting a digital watermark embedded in the pixel block using the offset information. Digital watermarking system featuring
【請求項134】 前記電子透かし埋込装置は、 集積回路により構成される請求項133記載の電子透か
しシステム。
134. The digital watermarking system according to claim 133, wherein said digital watermark embedding device is constituted by an integrated circuit.
【請求項135】 前記電子透かし検出装置は、 集積回路により構成される請求項133記載の電子透か
しシステム。
135. An electronic watermarking system according to claim 133, wherein said electronic watermark detection device is constituted by an integrated circuit.
【請求項136】 ディジタル画像に対して電子透かし
を埋め込む電子透かし埋込方法において、 画像の局所的複雑度を求め、 前記画像の局所的複雑度に応じて、前記画像の複雑な部
分を該部分より複雑さの少ない部分より大きく変更し、
埋め込み画像を取得することを特徴とする電子透かし埋
込方法。
136. A digital watermark embedding method for embedding a digital watermark in a digital image, wherein a local complexity of the image is obtained, and a complicated portion of the image is divided into the portions according to the local complexity of the image. Make more changes than less complex parts,
A digital watermark embedding method characterized by acquiring an embedded image.
【請求項137】 前記画像の中のテクスチャ領域に大
きな値を持ち、平坦領域やエッジ部分において、小さな
値を持つような画像の局所的複雑度を作成する際に、 入力画像と各画素と隣接画素との差分が、ある閾値以上
の時に、インクリメントされるカウンタによって、エッ
ジとテクスチャ領域を測る請求項136記載の電子透か
し埋込方法。
137. When creating local complexity of an image having a large value in a texture region in the image and having a small value in a flat region or an edge portion, the input image and each pixel are adjacent to each other. 138. The digital watermark embedding method according to claim 136, wherein when the difference from the pixel is equal to or larger than a certain threshold value, the edge and the texture area are measured by a counter that is incremented.
【請求項138】 前記エッジと前記テクスチャ領域を
測って得られるエッジ・テクスチャ成分値画像を微小な
ブロックに細分し、 細分されたブロック毎に該ブロック中のエッジ・テクス
チャ成分値の総和を求め、 前記エッジ・テクスチャ成分値の総和を前記ブロックの
テクスチャ度指標とする請求項137記載の電子透かし
埋込方法。
138. An edge / texture component value image obtained by measuring the edge and the texture area is subdivided into minute blocks, and a sum of edge / texture component values in the block is obtained for each subdivided block. 138. The digital watermark embedding method according to claim 137, wherein the sum of the edge texture component values is used as a texture degree index of the block.
【請求項139】 前記エッジと前記テクスチャ領域を
測って得られるエッジ・テクスチャ成分値画像を微小な
ブロックに細分し、 細分されたブロック毎に該ブロック中のエッジ・テクス
チャ成分値の総和を求め、 前記総和を予め定めた関数でマッピングした値をそのブ
ロックのテクスチャ度指標とする請求項137記載の電
子透かし埋込方法。
139. An edge / texture component value image obtained by measuring the edge and the texture region is subdivided into minute blocks, and a sum of edge / texture component values in the block is obtained for each subdivided block. 138. The digital watermark embedding method according to claim 137, wherein a value obtained by mapping the sum with a predetermined function is used as a texture degree index of the block.
【請求項140】 前記エッジ・テクスチャ成分値画像
と前記テクスチャ度指標に基づいて、前記エッジ・テク
スチャ成分値を微小なブロックに分割し、 分割されたブロック中の各エッジ・テクスチャ成分値に
対応するテクスチャ度指標を乗算することにより、テク
スチャ成分値画像を得る請求項138記載の電子透かし
埋込方法。
140. The edge texture component value is divided into minute blocks based on the edge texture component value image and the texture degree index, and the edge texture component value corresponds to each edge texture component value in the divided block. 139. The digital watermark embedding method according to claim 138, wherein a texture component value image is obtained by multiplying the texture degree index.
【請求項141】 前記エッジ・テクスチャ成分値画像
と前記テクスチャ度指標を用いて、前記エッジ・テクス
チャ成分値を微小なブロックに分割し、 分割されたブロック中の各エッジ・テクスチャ成分値に
対応するテクスチャ度指標を乗算することにより、テク
スチャ成分値画像を得る請求項139記載の電子透かし
埋込方法。
141. The edge texture component value is divided into minute blocks using the edge texture component value image and the texture degree index, and the edge texture component value corresponds to each edge texture component value in the divided block. 140. The digital watermark embedding method according to claim 139, wherein a texture component value image is obtained by multiplying the texture degree index.
【請求項142】 前記画像の局所的複雑度に応じて該
画像を変更する際に、 前記画像の局所的複雑度として、入力画像と各画素と隣
接画素との差分が、ある閾値以上の時に、インクリメン
トされるカウンタの値に基づいて、エッジとテクスチャ
領域を測ることによりエッジ・テクスチャ成分値画像を
取得し、 前記エッジ・テクスチャ成分値画像を前記画像の局所的
複雑度として用いる請求項136記載の電子透かし埋込
方法。
142. When changing an image according to the local complexity of the image, the local complexity of the image may be determined when a difference between an input image, each pixel, and an adjacent pixel is equal to or greater than a certain threshold. 136. An edge / texture component value image is obtained by measuring an edge and a texture area based on a value of a counter to be incremented, and using the edge / texture component value image as a local complexity of the image. Digital watermark embedding method.
【請求項143】 前記画像の局所的複雑度に応じて、
前記画像を変更する際に、 前記画像の局所的複雑度として、前記エッジと前記テク
スチャ領域を測って得られるエッジ・テクスチャ成分値
画像を微小なブロックに細分し、細分されたブロック毎
に該ブロック中のエッジ・テクスチャ成分値の総和を求
め、該総和を前記ブロックのテクスチャ度指標とし、 前記テクスチャ度指標をアップサンプルしたものを前記
画像の局所的複雑度として用いる請求項136記載の電
子透かし埋込方法。
143. According to a local complexity of the image,
When changing the image, as the local complexity of the image, an edge / texture component value image obtained by measuring the edge and the texture region is subdivided into minute blocks, and the block is divided into blocks each for the subdivided block. 138. The digital watermark embedding according to claim 136, wherein a sum of edge texture component values in the block is obtained, the sum is used as a texture index of the block, and an upsampled texture index is used as a local complexity of the image. Method.
【請求項144】 前記画像の局所的複雑度に応じて、
該画像を変更する際に、 前記画像の局所的複雑度として、前記エッジと前記テク
スチャ領域を測って得られるエッジ・テクスチャ成分値
画像を微小なブロックに細分し、細分されたブロック毎
に該ブロック中のエッジ・テクスチャ成分値の総和を求
め、該総和を予め定めた関数でマッピングした値をブロ
ックのテクスチャ度指標とし、 前記テクスチャ度指標をアップサンプルしたものを前記
画像の局所的複雑度として用いる請求項136記載の電
子透かし埋込方法。
144. According to a local complexity of the image,
When changing the image, as the local complexity of the image, the edge / texture component value image obtained by measuring the edge and the texture area is subdivided into minute blocks, and the block is divided into blocks each for the subdivided block. The sum of the edge / texture component values is obtained, a value obtained by mapping the sum with a predetermined function is used as the texture index of the block, and the upsampled texture index is used as the local complexity of the image. 138. The digital watermark embedding method according to claim 136.
【請求項145】 前記画像の局所的複雑度に応じて、
該画像を変更する際に、 前記画像の局所的複雑度とし
て、前記エッジ・テクスチャ成分値画像と前記テクスチ
ャ度指標を用いて、前記エッジ・テクスチャ成分値を微
小なブロックに分割し、分割されたブロック中の各エッ
ジ・テクスチャ成分値に対応するテクスチャ度指標を乗
算することにより、テクスチャ成分値画像を取得し、 前記テクスチャ成分値画像を前記画像の局所的複雑度と
して用いる請求項136記載の電子透かし埋込方法。
145. Depending on the local complexity of the image,
When changing the image, the edge / texture component value is divided into minute blocks using the edge / texture component value image and the texture index as the local complexity of the image. 143. The electronic device according to claim 136, wherein a texture component value image is obtained by multiplying each edge / texture component value in the block by a texture degree index corresponding thereto, and the texture component value image is used as a local complexity of the image. Watermark embedding method.
【請求項146】 ディジタル画像に対して、人間の知
覚に感知されないように電子透かしを埋め込む電子透か
し埋込方法において、 前記ディジタル画像内に別の電子透かしを知覚されない
ように埋め込む際に、 ディジタル画像である入力画像から画像の局所的複雑度
を生成し、 埋め込みに必要な鍵情報を用いて電子透かしから透かし
パターンを生成し、 前記画像の局所的複雑度に応じて前記透かしパターンを
前記入力画像に加算し、情報埋め込み済画像を生成する
ことを特徴とする電子透かし埋込方法。
146. A digital watermark embedding method for embedding a digital watermark in a digital image so that the digital image is not perceived by human perception. When embedding another digital watermark in the digital image so as not to be perceived, the digital image Generating the local complexity of the image from the input image, generating a watermark pattern from the digital watermark using key information necessary for embedding, and converting the watermark pattern into the input image according to the local complexity of the image. A digital watermark embedding method, wherein an information embedded image is generated.
【請求項147】 前記画像の局所的複雑度を生成する
際に、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とし、 前記エッジ・テクスチャ成分値画像を画像の局所的複雑
度とする請求項146記載の電子透かし埋込方法。
147. When generating the local complexity of the image, when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, one is added to a difference counter, and 146. The digital watermark embedding method according to claim 146, wherein the value of the difference counter at the time of completion of the processing of is used as an edge / texture component value image, and the edge / texture component value image is used as the local complexity of the image.
【請求項148】 前記画像の局所的複雑度を生成する
際に、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とし、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とし、 前記テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とする請求項146記載の電子透かし埋込
方法。
148. When generating the local complexity of the image, if a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold, the difference counter is incremented by one, and The value of the difference counter at the time when the processing for is completed is defined as an edge / texture component value image, and the edge / texture component image is subdivided into blocks.
Take the sum of the edge and texture component values of the block,
146. The digital watermark embedding method according to claim 146, wherein a texture degree index of the block is used, and an up-sample of the texture degree index is used as a local complexity of the image.
【請求項149】 前記画像の局所的複雑度を生成する
際に、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とし、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とし、 前記テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とする請求項146記載の電子
透かし埋込方法。
149. When generating the local complexity of the image, when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold, the difference counter is incremented by one, and The value of the difference counter at the time when the processing for is completed is defined as an edge / texture component value image, and the edge / texture component image is subdivided into blocks.
Take the sum of the edge and texture component values of the block,
148. The digital watermark embedding according to claim 146, wherein the texture index is multiplied by an edge texture component image of each block, a texture component value image is obtained, and the texture complexity index is used as the local complexity of the image. Method.
【請求項150】 ディジタル画像に対して、人間の知
覚に感知されないように電子透かしを埋め込む電子透か
し埋込方法において、 前記ディジタル画像内に別の電子透かしを知覚されない
ように埋め込む際に、 ディジタル画像である入力画像を所定のサイズのブロッ
クに細分し、画像の局所的複雑度を生成し、 埋め込みに必要な鍵情報を用いて、電子透かしの基本と
なるパターンである基本透かしパターンを生成し、 前記ブロックの直交変数係数の振幅値に応じて前記基本
透かしパターンの対応する直交変換係数を強調した適応
透かしパターンを生成し、 前記基本パターンと前記透かしパターンを前記画像の局
所的複雑度及び強度パラメータに応じて前記ブロックに
加算し、情報埋め込み済画像を生成することを特徴とす
る電子透かし埋込方法。
150. A digital watermark embedding method for embedding a digital watermark in a digital image so as not to be perceived by human perception, wherein a digital watermark is embedded in the digital image so as not to be perceived. Is divided into blocks of a predetermined size, a local complexity of the image is generated, and a key watermark necessary for embedding is used to generate a basic watermark pattern which is a basic pattern of the digital watermark. Generating an adaptive watermark pattern emphasizing the corresponding orthogonal transform coefficient of the basic watermark pattern according to the amplitude value of the orthogonal variable coefficient of the block; and combining the basic pattern and the watermark pattern with local complexity and intensity parameters of the image. Digital watermark embedding to generate an image in which information is embedded. Method.
【請求項151】 前記画像の局所的複雑度を生成する
際に、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とし、 前記エッジ・テクスチャ成分値画像を画像の局所的複雑
度とする請求項150記載の電子透かし埋込方法。
151. When generating the local complexity of the image, when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold, the difference counter is incremented by one, and 151. The digital watermark embedding method according to claim 150, wherein the value of the difference counter at the time of the completion of the processing for is used as an edge / texture component value image, and the edge / texture component value image is used as the local complexity of the image.
【請求項152】 前記画像の局所的複雑度を生成する
際に、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とし、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とし、 前記テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とする請求項150記載の電子透かし埋込
方法。
152. When generating the local complexity of the image, if a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, add 1 to a difference counter, and The value of the difference counter at the time when the processing for is completed is defined as an edge / texture component value image, and the edge / texture component image is subdivided into blocks.
Take the sum of the edge and texture component values of the block,
The digital watermark embedding method according to claim 150, wherein a texture degree index of the block is set, and an up-sample of the texture degree index is set as a local complexity of the image.
【請求項153】 前記エッジ・テクスチャ成分値画像
から作成された前記テクスチャ度指標を所定の関数を用
いてマッピングした値をテクスチャ度指標とする請求項
152記載の電子透かし方法。
153. The digital watermarking method according to claim 152, wherein a value obtained by mapping the texture degree index created from the edge texture component value image using a predetermined function is used as a texture degree index.
【請求項154】 前記画像の局所的複雑度を生成する
際に、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とし、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とし、 前記テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とする請求項150記載の電子
透かし埋込方法。
154. When generating the local complexity of the image, when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold, the difference counter is incremented by one, and The value of the difference counter at the time when the processing for is completed is defined as an edge / texture component value image, and the edge / texture component image is subdivided into blocks.
Take the sum of the edge and texture component values of the block,
150. The digital watermark embedding according to claim 150, wherein the texture index is multiplied by an edge texture component image for each block, a texture component value image is obtained, and the texture complexity index is used as the local complexity of the image. Method.
【請求項155】 ディジタル画像に対して、人間の知
覚に感知されないように電子透かしを埋め込む電子透か
し埋込装置であって、 入力するための入力画像を入力とし、画像の局所的複雑
度を求める局所的複雑度作成手段と、 前記電子透かしを表すパターンを、埋め込みに必要な鍵
情報を用いて作成する透かしパターン作成手段と、 前記入力画像に、前記透かしパターン作成手段で作成さ
れたパターンと、前記画像の局所的複雑度を加算して、
情報埋め込み済画像を生成する画像加算手段とを有する
ことを特徴とする電子透かし埋込装置。
155. An electronic watermark embedding device for embedding an electronic watermark in a digital image so as not to be perceived by human perception, wherein an input image to be input is input and a local complexity of the image is obtained. A local complexity creating unit, a watermark pattern creating unit that creates a pattern representing the digital watermark using key information necessary for embedding, a pattern created by the watermark pattern creating unit on the input image, Adding the local complexity of the image,
An electronic watermark embedding device, comprising: an image adding unit that generates an information embedded image.
【請求項156】 前記局所的複雑度作成手段は、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とする手段と、 前記エッジ・テクスチャ成分値画像を画像の局所的複雑
度とする手段とを含む請求項155記載の電子透かし埋
込装置。
156. The local complexity creating means adds 1 to a difference counter when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and performs processing for the adjacent pixel. 160. The electronic watermark embedding device according to claim 155, further comprising: means for setting the value of the difference counter at the time of completion to an edge texture component value image; and means for setting the edge texture component value image to local complexity of the image. .
【請求項157】 前記局所的複雑度作成手段は、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とする手段と、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とする手段と、 前記テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とする手段とを含む請求項155記載の電
子透かし埋込装置。
157. The local complexity creating means adds 1 to a difference counter when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and performs processing on the adjacent pixel. Means for setting the value of the difference counter at the time of completion as an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
155. The digital watermark embedding device according to claim 155, further comprising: means for setting a texture degree index of the block; and means for setting an up-sample of the texture degree index as local complexity of an image.
【請求項158】 前記局所的複雑度作成手段は、 前記入力画像からエッジ・テクスチャ成分値画像を生成
する手段と、 前記エッジ・テクスチャ成分値画像からテクスチャ度指
標を作成する手段と、 前記テクスチャ度指標を予め定められた関数を用いてマ
ッピングして、画像の局所的複雑度とする手段を有する
請求項155記載の電子透かし埋込装置。
158. The local complexity creating means: means for generating an edge texture component value image from the input image; means for creating a texture index from the edge texture component value image; 155. The digital watermark embedding device according to claim 155, further comprising means for mapping the index using a predetermined function to obtain the local complexity of the image.
【請求項159】 前記局所的複雑度作成手段は、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とする手段と、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とする手段と、 前記テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とする手段とを含む請求項15
5記載の電子透かし埋込装置。
159. The local complexity creating means adds 1 to a difference counter when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and performs processing for the adjacent pixel. Means for setting the value of the difference counter at the time of completion as an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
A means for setting a texture degree index of the block; and a means for multiplying the edge / texture component image of each block by the texture degree index to obtain a texture component value image and setting the local complexity of the image. Item 15
5. The digital watermark embedding device according to 5.
【請求項160】 ディジタル画像に対して、人間の知
覚に感知されないように電子透かしを埋め込む電子透か
し埋込装置であって、 入力するための入力画像を入力とし、該入力画像を所定
のサイズのブロックに細分するブロック分割手段と、 埋め込みに用いる鍵情報と前記入力画像に埋め込む電子
透かしから該電子透かしを表す基本となる基本透かしパ
ターンを作成する基本透かしパターン生成手段と、 前記ブロック分割手段で分割されたブロックの直交変換
係数の振幅値に応じて前記基本透かしパターンの対応す
る直交変換係数を強調した適応的パターンを作成する適
応透かしパターン作成手段と、 前記ブロックから画像の局所的複雑度を求める局所的複
雑度作成手段と、 前記ブロック毎に前記基本透かしパターンと前記適応透
かしパターンを、前記画像の局所的複雑度及び埋め込み
の強さを表す強度パラメータに応じて、前記ブロクに加
算して、情報埋め込み済画像を生成する加算手段とを有
することを特徴とする電子透かし埋込装置。
160. An electronic watermark embedding device for embedding an electronic watermark in a digital image so as not to be perceived by human perception, comprising: an input image to be input; Block dividing means for subdividing into blocks; basic watermark pattern generating means for creating a basic watermark pattern representing the digital watermark from key information used for embedding and a digital watermark to be embedded in the input image; Adaptive watermark pattern creating means for creating an adaptive pattern emphasizing the corresponding orthogonal transform coefficient of the basic watermark pattern according to the amplitude value of the orthogonal transform coefficient of the block thus obtained; and determining the local complexity of an image from the block. Means for creating local complexity, the basic watermark pattern and the adaptive watermark pattern for each block. And an adding means for adding an information embedded image to the block in accordance with an intensity parameter representing a local complexity of the image and an embedding strength to generate an information embedded image. Implanting device.
【請求項161】 前記局所的複雑度作成手段は、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とする手段と、 前記エッジ・テクスチャ成分値画像を画像の局所的複雑
度とする手段とを含む請求項160記載の電子透かし埋
込装置。
161. The local complexity creating means adds 1 to a difference counter when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and performs processing for the adjacent pixel. 160. The electronic watermark embedding device according to claim 160, further comprising: means for setting the value of the difference counter at the time of completion to an edge texture component value image; and means for setting the edge texture component value image to local complexity of the image. .
【請求項162】 前記局所的複雑度作成手段は、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とする手段と、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とする手段と、 前記テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とする手段とを含む請求項160記載の電
子透かし埋込装置。
162. The local complexity creating means adds one to a difference counter when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and performs processing on the adjacent pixel. Means for setting the value of the difference counter at the time of completion as an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
163. The digital watermark embedding device according to claim 160, further comprising: means for setting a texture degree index of the block; and means for setting an up-sample of the texture degree index as local complexity of an image.
【請求項163】 前記局所的複雑度作成手段は、 前記入力画像からエッジ・テクスチャ成分値画像を生成
する手段と、 前記エッジ・テクスチャ成分値画像からテクスチャ度指
標を作成する手段と、 前記テクスチャ度指標を予め定められた関数を用いてマ
ッピングして、画像の局所的複雑度とする手段を有する
請求項160記載の電子透かし埋込装置。
163. The means for generating local complexity comprises: means for generating an edge / texture component value image from the input image; means for generating a texture index from the edge / texture component value image; 163. The digital watermark embedding device according to claim 160, further comprising means for mapping the index using a predetermined function to obtain the local complexity of the image.
【請求項164】 前記局所的複雑度作成手段は、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とする手段と、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とする手段と、 前記テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とする手段とを含む請求項16
0記載の電子透かし埋込装置。
164. The local complexity creating means adds 1 to a difference counter when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and performs processing on the adjacent pixel. Means for setting the value of the difference counter at the time of completion as an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
A means for setting a texture degree index of the block; and a means for multiplying the edge / texture component image of each block by the texture degree index to obtain a texture component value image and setting the local complexity of the image. Item 16
Electronic watermark embedding device according to 0.
【請求項165】 前記電子透かし埋込装置は、 集積回路により構成される請求項155記載の電子透か
し埋込装置。
165. The electronic watermark embedding device according to claim 155, wherein the electronic watermark embedding device is configured by an integrated circuit.
【請求項166】 前記電子透かし埋込装置は、 集積回路により構成される請求項160記載の電子透か
し埋込装置。
166. The digital watermark embedding device according to claim 160, wherein said digital watermark embedding device is configured by an integrated circuit.
【請求項167】 ディジタル画像に対して、人間の知
覚に感知されないように電子透かしを埋め込む電子透か
し埋込プログラムを格納した記憶媒体であって、 入力するための入力画像から画像の局所的複雑度を求め
る局所的複雑度作成プロセスと、 前記電子透かしを表すパターンを作成する透かしパター
ン作成プロセスと、 前記入力画像に、前記透かしパターン作成プロセスで作
成されたパターンと、前記画像の局所的複雑度を加算し
て、情報埋め込み済画像を生成する画像加算プロセスと
を有することを特徴とする電子透かし埋込プログラムを
格納した記憶媒体。
167. A storage medium storing a digital watermark embedding program for embedding a digital watermark in a digital image so as not to be perceived by human perception, wherein a local complexity of the image is calculated from an input image to be input. A local complexity creating process for obtaining a digital watermark, a watermark pattern creating process for creating a pattern representing the digital watermark, a pattern created in the watermark pattern creating process for the input image, and a local complexity of the image. A digital watermark embedding program, wherein the digital watermark embedding program generates an information embedded image.
【請求項168】 前記局所的複雑度作成プロセスは、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とするプロセスと、 前記エッジ・テクスチャ成分値画像を画像の局所的複雑
度とするプロセスとを含む請求項167記載の電子透か
し埋込プログラムを格納した記憶媒体。
168. The local complexity creating process, wherein a difference counter is incremented by 1 when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value. 168. The digital watermark embedding program according to claim 167, further comprising: a process of setting the value of the difference counter at the time of completion to an edge / texture component value image; and a process of setting the edge / texture component value image to local complexity of the image. Storage medium storing.
【請求項169】 前記局所的複雑度作成プロセスは、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とするプロセスと、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とするプロセスと、 前記テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とするプロセスとを含む請求項167記載
の電子透かし埋込プログラムを格納した記憶媒体。
169. The local complexity creating process, wherein a difference counter is incremented by 1 when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value. A process of setting the value of the difference counter at the time of completion to an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
170. The storage medium storing the digital watermark embedding program according to claim 167, comprising: a process of setting a texture degree index of the block; and a process of setting an upsampled texture degree index to local complexity of an image.
【請求項170】 前記局所的複雑度作成プロセスは、 前記入力画像からエッジ・テクスチャ成分値画像を生成
するプロセスと、 前記エッジ・テクスチャ成分値画像からテクスチャ度指
標を作成するプロセスと、 前記テクスチャ度指標を予め定められた関数を用いてマ
ッピングして、画像の局所的複雑度とするプロセスを有
する請求項167記載の電子透かし埋込プログラムを格
納した記憶媒体。
170. The local complexity creating process includes: generating an edge texture component value image from the input image; creating a texture index from the edge texture component value image; 168. The storage medium storing the digital watermark embedding program according to claim 167, further comprising a process of mapping the index using a predetermined function to obtain a local complexity of the image.
【請求項171】 前記局所的複雑度作成プロセスは、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とするプロセスと、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とするプロセスと、 前記テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とするプロセスとを含む請求項
167記載の電子透かし埋込プログラムを格納した記憶
媒体。
171. The local complexity creating process, wherein a difference counter is incremented by 1 when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and processing for the adjacent pixel is performed. A process of setting the value of the difference counter at the time of completion to an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
A process of multiplying the texture index by the edge texture component image for each block, obtaining a texture component value image, and setting a local complexity of the image. 167. A storage medium storing the digital watermark embedding program according to item 167.
【請求項172】 ディジタル画像に対して、人間の知
覚に感知されないように電子透かしを埋め込む電子透か
し埋込プログラムを格納した記憶媒体であって、 入力するための入力画像を入力とし、該入力画像を所定
のサイズのブロックに細分するブロック分割プロセス
と、 埋め込みに用いる鍵情報と前記入力画像に埋め込む電子
透かしから該電子透かしを表す基本となる基本透かしパ
ターンを作成する基本透かしパターン生成プロセスと、 前記ブロック分割プロセスで分割されたブロックの直交
変換係数の振幅値に応じて前記基本透かしパターンの対
応する直交変換係数を強調した適応的パターンを作成す
る適応透かしパターン作成プロセスと、 前記ブロックから画像の局所的複雑度を求める局所的複
雑度作成プロセスと、 前記ブロック毎に前記基本透かしパターンと前記適応透
かしパターンを、前記画像の局所的複雑度及び埋め込み
の強さを表す強度パラメータに応じて、前記ブロクに加
算して、情報埋め込み済画像を生成する加算プロセスと
を有することを特徴とする電子透かし埋込プログラムを
格納した記憶媒体。
172. A storage medium storing a digital watermark embedding program for embedding a digital watermark in a digital image so that the digital image is not perceived by human perception. A basic watermark pattern generation process for creating a basic watermark pattern representing the digital watermark from key information used for embedding and a digital watermark to be embedded in the input image, An adaptive watermark pattern creating process for creating an adaptive pattern emphasizing the corresponding orthogonal transform coefficient of the basic watermark pattern according to the amplitude value of the orthogonal transform coefficient of the block divided in the block dividing process; and A local complexity generation process for determining the local complexity, and the block An adding process of adding the basic watermark pattern and the adaptive watermark pattern to the block according to an intensity parameter representing the local complexity of the image and the strength of embedding to generate an information-embedded image. A storage medium storing a digital watermark embedding program.
【請求項173】 前記局所的複雑度作成プロセスは、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とするプロセスと、 前記エッジ・テクスチャ成分値画像を画像の局所的複雑
度とするプロセスとを含む請求項172記載の電子透か
し埋込プログラムを格納した記憶媒体。
173. The local complexity creating process, wherein a difference counter is incremented by 1 when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value. 172. The digital watermark embedding program according to claim 172, comprising: a process of setting the value of the difference counter at the time of completion to an edge / texture component value image; and a process of setting the edge / texture component value image to local complexity of the image. Storage medium storing.
【請求項174】 前記局所的複雑度作成プロセスは、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とするプロセスと、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とするプロセスと、 前記テクスチャ度指標をアップサンプルしたものを画像
の局所複雑度とするプロセスとを含む請求項172記載
の電子透かし埋込プログラムを格納した記憶媒体。
174. The local complexity creating process, wherein a difference counter is added by 1 when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value, and processing for the adjacent pixel is performed. A process of setting the value of the difference counter at the time of completion to an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
173. The storage medium storing the digital watermark embedding program according to claim 172, comprising: a process of setting the texture index of the block as a texture index; and a process of setting an upsampled texture index to a local complexity of an image.
【請求項175】 前記局所的複雑度作成プロセスは、 前記入力画像からエッジ・テクスチャ成分値画像を生成
するプロセスと、 前記エッジ・テクスチャ成分値画像からテクスチャ度指
標を作成するプロセスと、 前記テクスチャ度指標を予め定められた関数を用いてマ
ッピングして、画像の局所的複雑度とするプロセスを有
する請求項172記載の電子透かし埋込プログラムを格
納した記憶媒体。
175. The local complexity creating process comprising: generating an edge texture component value image from the input image; creating a texture index from the edge texture component value image; 173. The storage medium storing the digital watermark embedding program according to claim 172, further comprising a process of mapping the index using a predetermined function to obtain a local complexity of the image.
【請求項176】 前記局所的複雑度作成プロセスは、 前記入力画像の各画素と隣接画素との差が、予め指定さ
れた閾値より大きい場合に差分カウンタを1加算し、隣
接画素についての処理が終了した時の差分カウンタの値
をエッジ・テクスチャ成分値画像とするプロセスと、 前記エッジ・テクスチャ成分画像をブロックに細分し、
該ブロックのエッジ・テクスチャ成分値の総和をとり、
当該ブロックのテクスチャ度指標とするプロセスと、 前記テクスチャ度指標を当該ブロック毎のエッジ・テク
スチャ成分画像に乗算し、テクスチャ成分値画像を取得
し、画像の局所的複雑度とするプロセスとを含む請求項
172記載の電子透かし埋込プログラムを格納した記憶
媒体。
176. The local complexity creating process, wherein a difference counter is incremented by 1 when a difference between each pixel of the input image and an adjacent pixel is larger than a predetermined threshold value. A process of setting the value of the difference counter at the time of completion to an edge / texture component value image, and subdividing the edge / texture component image into blocks,
Take the sum of the edge and texture component values of the block,
A process of multiplying the texture index by the edge texture component image for each block, obtaining a texture component value image, and setting a local complexity of the image. 172. A storage medium storing the digital watermark embedding program according to Item 172.
JP11303185A 1999-01-25 1999-10-25 Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit Pending JP2000287073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11303185A JP2000287073A (en) 1999-01-25 1999-10-25 Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP11-16219 1999-01-25
JP1621899 1999-01-25
JP1621999 1999-01-25
JP11-16218 1999-01-25
JP11303185A JP2000287073A (en) 1999-01-25 1999-10-25 Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2002144947A Division JP3654263B2 (en) 1999-01-25 2002-05-20 Digital watermark embedding method and apparatus, and storage medium storing digital watermark embedding program
JP2002333324A Division JP3745729B2 (en) 1999-01-25 2002-11-18 Digital watermark embedding method, digital watermark detection method, digital watermark embedding device, digital watermark detection device, storage medium storing digital watermark embedding program, storage medium storing digital watermark detection program, and digital watermark system

Publications (1)

Publication Number Publication Date
JP2000287073A true JP2000287073A (en) 2000-10-13

Family

ID=27281296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11303185A Pending JP2000287073A (en) 1999-01-25 1999-10-25 Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit

Country Status (1)

Country Link
JP (1) JP2000287073A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007189676A (en) * 2005-12-14 2007-07-26 Toyohashi Univ Of Technology Information embedding method to texture image and information reading method, and information embedding instrument to texture image and information reading instrument
WO2007102403A1 (en) * 2006-03-07 2007-09-13 Nippon Telegraph And Telephone Corporation Electronic watermark embedding method, device, and program, and electronic watermark detecting method, device, and program
WO2009025019A1 (en) * 2007-08-17 2009-02-26 C4 Technology, Inc. Electronic watermark embedding method, electronic watermark detecting method, electronic watermark embedding device, electronic watermark detecting device, program and computer readable recording medium
US7672474B2 (en) 2004-02-02 2010-03-02 Nippon Telegraph And Telephone Corporation Electronic watermark embedding device, electronic watermark detection device, method thereof, and program
JP2010278861A (en) * 2009-05-29 2010-12-09 Nippon Hoso Kyokai <Nhk> Digital watermark embedding apparatus and digital watermark detecting apparatus
US20200210555A1 (en) * 2018-12-27 2020-07-02 Alibaba Group Holding Limited Information Processing Method, Hidden Information Parsing and Embedding Method, Apparatus, and Device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7672474B2 (en) 2004-02-02 2010-03-02 Nippon Telegraph And Telephone Corporation Electronic watermark embedding device, electronic watermark detection device, method thereof, and program
EP2410726A2 (en) 2004-02-02 2012-01-25 Nippon Telegraph And Telephone Corporation Digital watermark detection apparatus, method and program
JP2007189676A (en) * 2005-12-14 2007-07-26 Toyohashi Univ Of Technology Information embedding method to texture image and information reading method, and information embedding instrument to texture image and information reading instrument
WO2007102403A1 (en) * 2006-03-07 2007-09-13 Nippon Telegraph And Telephone Corporation Electronic watermark embedding method, device, and program, and electronic watermark detecting method, device, and program
US8208683B2 (en) 2006-03-07 2012-06-26 Nippon Telegraph And Telephone Corporation Digital watermark embedding method, apparatus and storage medium for reducing image quality deterioration and increasing detection reliability
US8605939B2 (en) 2006-03-07 2013-12-10 Nippon Telegraph And Telephone Corporation Electronic watermark embedding method, device, and program, and electronic watermark detecting method, device, and program
US8620018B2 (en) 2006-03-07 2013-12-31 Nippon Telegraph And Telephone Corporation Electronic watermark embedding method, device, and program, and electronic watermark detecting method, device, and program
WO2009025019A1 (en) * 2007-08-17 2009-02-26 C4 Technology, Inc. Electronic watermark embedding method, electronic watermark detecting method, electronic watermark embedding device, electronic watermark detecting device, program and computer readable recording medium
JPWO2009025019A1 (en) * 2007-08-17 2010-11-18 Sbiネットシステムズ株式会社 Digital watermark embedding method, digital watermark detection method, digital watermark embedding device, digital watermark detection device, program, and computer-readable recording medium
JP2010278861A (en) * 2009-05-29 2010-12-09 Nippon Hoso Kyokai <Nhk> Digital watermark embedding apparatus and digital watermark detecting apparatus
US20200210555A1 (en) * 2018-12-27 2020-07-02 Alibaba Group Holding Limited Information Processing Method, Hidden Information Parsing and Embedding Method, Apparatus, and Device

Similar Documents

Publication Publication Date Title
US7164778B1 (en) Digital watermark embedding method, digital watermark embedding apparatus, and storage medium storing a digital watermark embedding program
US7065227B2 (en) Data processing apparatus, image processing apparatus, and method therefor
US6693965B1 (en) Apparatus for and method of embedding and extracting digital information, and medium having program for carrying out the method recorded thereon
US7778442B2 (en) Variable message coding protocols for encoding auxiliary data in media signals
JP4187749B2 (en) Halftone watermarking and related applications
EP1713249B1 (en) Electronic watermark detection device, method thereof, and program
US20020054355A1 (en) Halftone watermarking and related applications
US20030076979A1 (en) Method of embedding digital watermark, method of extracting embedded digital watermark and apparatuses for the same
US7006659B2 (en) Method for embedding and extracting a spatial domain blind watermark using sample expansion
JP2001292302A (en) Image processing apparatus, image processing method, and storage medium
JP3932110B2 (en) Image processing apparatus, image processing system, electronic information device, image processing method, control program, and readable recording medium
JP2001148776A (en) Image processing unit and method and storage medium
Chang et al. Digital watermarking scheme using human visual effects
JP2000287073A (en) Method for imbedding and detecting electronic watermark, device for imbedding and detecting electronic watermark, and storage medium with electronic watermark imbedding and detection program stored therein, and electronic watermark system and integrated circuit
JP3654263B2 (en) Digital watermark embedding method and apparatus, and storage medium storing digital watermark embedding program
JP3745729B2 (en) Digital watermark embedding method, digital watermark detection method, digital watermark embedding device, digital watermark detection device, storage medium storing digital watermark embedding program, storage medium storing digital watermark detection program, and digital watermark system
US20050144456A1 (en) Robust digital image watermarking utilizing a Walsh transform algorithm
JP3809310B2 (en) Image processing apparatus and method, and storage medium
Stach et al. A high-capacity invertible data-hiding algorithm using a generalized reversible integer transform
JP2002064700A (en) Method for synthesizing and detecting electronic watermark, devices therefor and printed matter
KR100505359B1 (en) Method of embedding and detecting watermark using linearity of discrete cosine transformation
JP2003198830A (en) Electronic watermark inserting method, electronic watermark inserting apparatus, electronic watermark inserting program, and program storage medium with the electronic watermark inserting program stored
Harjito Literature Review: Watermarking of images reconstructed using Information dispersal Algorithm
JP2001292301A (en) Image processing apparatus, image processing method, and storage medium
Elkamchouchi et al. A new image watermarking technique based on noise modulation