JP2008017289A - Digital watermark embedding device and method - Google Patents

Digital watermark embedding device and method Download PDF

Info

Publication number
JP2008017289A
JP2008017289A JP2006188011A JP2006188011A JP2008017289A JP 2008017289 A JP2008017289 A JP 2008017289A JP 2006188011 A JP2006188011 A JP 2006188011A JP 2006188011 A JP2006188011 A JP 2006188011A JP 2008017289 A JP2008017289 A JP 2008017289A
Authority
JP
Japan
Prior art keywords
change amount
watermark
watermark pattern
reference change
pattern
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.)
Granted
Application number
JP2006188011A
Other languages
Japanese (ja)
Other versions
JP4205737B2 (en
Inventor
Takao Nakamura
高雄 中村
Kana Yamamoto
奏 山本
Akira Kitahara
亮 北原
Takashi Miyatake
隆 宮武
Atsushi Katayama
淳 片山
Takayuki Yasuno
貴之 安野
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 JP2006188011A priority Critical patent/JP4205737B2/en
Publication of JP2008017289A publication Critical patent/JP2008017289A/en
Application granted granted Critical
Publication of JP4205737B2 publication Critical patent/JP4205737B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve proper digital watermark embedding control without inverting the relationship between watermark strength and deterioration in picture quality. <P>SOLUTION: When an original image and watermark information are input, a watermark pattern showing the change quantity of a pixel value applied to the original image is generated by the digital watermark embedding of the watermark information in the original image, and the watermark pattern is changed to generate a changed watermark pattern so that the error of watermark embedding target color components due to quantization to be generated in superimposing the watermark pattern on the original image can be reduced by referring to a reference change quantity storage means storing RGB reference change quantity as the pixel value change quantity of every RGB component, and the changed watermark pattern is superimposed on the original image and an image with a watermark is output. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電子透かし埋め込み装置及び方法に係り、特に、画像や映像などのコンテンツに別の副情報を知覚されないように埋め込む電子透かし技術における、電子透かし埋め込み装置及び方法に関する。   The present invention relates to a digital watermark embedding apparatus and method, and more particularly, to a digital watermark embedding apparatus and method in a digital watermark technique for embedding other sub-information in a content such as an image or video so as not to be perceived.

今日、電子透かし技術は、コンテンツの著作権保護・管理システムや、コンテンツ関連サービス提供システムなどに用いられている。   Today, digital watermark technology is used in content copyright protection / management systems, content-related service provision systems, and the like.

画像、映像といったコンテンツの流通の際、コンテンツ識別・管理や著作権保護・管理、関連情報提供などの目的のため、コンテンツ内に知覚できないように別の情報を埋め込む電子透かし技術を用いる方法がある。特に、画像・映像コンテンツに対する電子透かし技術において、画素値の微小変更に基づく方法が一般的である。また、電子透かし埋め込みに伴う画質劣化を抑えるために、視覚的に感度が高い輝度成分を避け、色差などの色成分を微小変更する方法も存在する(例えば、非特許文献1参照)。
中村、山本、北原、宮武、片山:「リアルタイム検出可能な動画向けモバイル電子透かし」、第13回マルチメディア通信と分散処理ワークショップ論文集,pp. 161-166, 2005年11月
When distributing content such as images and videos, there is a method of using digital watermark technology that embeds other information so that it cannot be perceived in the content for purposes such as content identification / management, copyright protection / management, and related information provision . In particular, in the digital watermark technology for image / video content, a method based on a minute change of a pixel value is common. In addition, there is a method of avoiding a luminance component with high visual sensitivity and finely changing a color component such as a color difference in order to suppress image quality deterioration due to digital watermark embedding (see, for example, Non-Patent Document 1).
Nakamura, Yamamoto, Kitahara, Miyatake, Katayama: "Mobile watermarking for moving images with real-time detection", 13th Multimedia Communication and Distributed Processing Workshop Proceedings, pp. 161-166, November 2005

一般に、デジタル表現された画素値は、例えば、8ビットすなわち256値に量子化された値であり、電子透かし埋め込みは、この画素値の微小変更である。例えば、カラー画像データがR,G,B各々8ビットで表現された24ビットカラーデータについて考える。RGBデータから輝度、色差信号への変換は、例えば、CCIR601などで定義された変換式   In general, a pixel value digitally expressed is, for example, a value quantized to 8 bits, that is, 256 values, and digital watermark embedding is a minute change of the pixel value. For example, consider 24-bit color data in which color image data is represented by 8 bits each for R, G, and B. The conversion from RGB data to luminance and color difference signals is, for example, a conversion formula defined by CCIR601 or the like.

などを用いて相互に変換可能である。今、画質劣化を抑えるために視覚感度の高い輝度Yを避け、例えば、Cb成分を微小量△cbだけ変更して電子透かしを埋め込むことを考える。この場合、例えば、△cb±1であるとすると、埋め込みによって生じるRGBの変化量△r,△g,△bは式(2)からそれぞれ、△r=0,△g=±0.336,△b=±1.732となるが、ここで、量子化による丸め誤差を考えると(四捨五入則を用いるとして)、△R=△G=0,△B±2となる。すなわち、この場合は、Cb成分の微小変更量はB成分にしか反映されない。このとき量子化後の△r△g△bをYCbCr色空間に変換すると、
△y=±0.114×2,
△cb=±0.511×2,
△cr=±0.083×2
となり、本来変更を施さなかったY及びCr成分値が変化していることがわかる。特に、輝度成分Yが変化することにより、電子透かし埋め込みによる視覚劣化が目立ちやすくなるという問題があった。
Can be converted to each other. Now, in order to suppress image quality degradation, it is considered to avoid the luminance Y having high visual sensitivity, for example, to embed a digital watermark by changing the Cb component by a minute amount Δcb. In this case, for example, if Δcb ± 1, then the RGB changes Δr, Δg, Δb caused by embedding are Δr = 0, Δg = ± 0.336, Δb = ± 1.732, but when rounding error due to quantization is considered (assuming the rounding rule is used), ΔR = ΔG = 0 and ΔB ± 2. That is, in this case, the minute change amount of the Cb component is reflected only in the B component. At this time, if ΔrΔgΔb after quantization is converted into the YCbCr color space,
Δy = ± 0.114 × 2,
Δcb = ± 0.511 × 2,
Δcr = ± 0.083 × 2
Thus, it can be seen that the Y and Cr component values that were originally not changed have changed. In particular, there is a problem that visual deterioration due to digital watermark embedding becomes conspicuous when the luminance component Y changes.

さらに、式(2)の変換式から、│△cb│<0.5/1.732の変更を与えても量子化による丸め誤差のため△r=△g=△b=0となって画像に全く変更を与えられないため、電子透かしが埋め込まれないことが分かる。   Further, from the conversion equation of equation (2), even if a change of | Δcb | <0.5 / 1.732 is given, Δr = Δg = Δb = 0 because of a rounding error due to quantization, and thus an image is obtained. It can be seen that the digital watermark is not embedded because no change is given.

また、0.5/1.732≦│△cb│<1.5/1.732では、△r=△g=0,△b=±1であるなど、電子透かし埋め込みによる変化量△cbを連続的に指定しても、量子化によって実際の画素値の変更量は離散的になってしまう。   Further, when 0.5 / 1.732 ≦ | Δcb | <1.5 / 1.732, Δr = Δg = 0, Δb = ± 1, etc. Even if they are specified continuously, the actual pixel value change amount becomes discrete due to quantization.

さらに、加えて、△cb=±3とした場合、△r=0,△g=±0.336×3,△b=±1.732×3、量子化を行うと、△r=0,△g=±1,△b=±5となり、量子化後の△r△g△bをYCbCr色空間に変換すると、
△y=±(−0.587×1+0.114×5)=±0.017
となり、前述の△cb=±1の時の△y=±0.114×2より変化量が小さくなる。すなわち、Cb成分の変化量を小さくしても、画質劣化の主要因であるY成分の変化量が量子化により大きくなってしまうことがある。以上のことからわかるように、従来技術においては、電子透かし技術の運用上の重要なポイントである、埋め込み強度によって画質劣化と耐性のトレードオフバランスを細かく正確に制御する、ということが困難であるという問題があった。
In addition, when Δcb = ± 3, Δr = 0, Δg = ± 0.336 × 3, Δb = ± 1.732 × 3, and when quantization is performed, Δr = 0, Δg = ± 1, Δb = ± 5, and when ΔrΔgΔb after quantization is converted into the YCbCr color space,
Δy = ± (−0.587 × 1 + 0.114 × 5) = ± 0.017
Therefore, the amount of change is smaller than Δy = ± 0.114 × 2 when Δcb = ± 1. That is, even if the amount of change in the Cb component is reduced, the amount of change in the Y component, which is the main cause of image quality deterioration, may increase due to quantization. As can be seen from the above, in the prior art, it is difficult to finely and accurately control the trade-off balance between image quality degradation and durability by embedding strength, which is an important point in the operation of digital watermark technology. There was a problem.

以上要約すると、
(1)画質劣化を抑えるためY成分を避けてCb成分など色成分のみの変更を行っても、最終的な埋め込み後画素値(RGB値)が整数しかとりえないため、量子化誤差によってY成分が変動してしまう;
(2)最終的な埋め込み後画素値(RGB値)が整数しかとりえないため、強度を細かく調整することができない;
(3)強度を下げても画質劣化が増大することがあるため、強度で耐性・画質トレードオフを適切に制御できない;
という問題があった。
In summary,
(1) Even if only the color component such as the Cb component is changed while avoiding the Y component in order to suppress the image quality deterioration, the final post-embedding pixel value (RGB value) can only take an integer. Ingredients fluctuate;
(2) Since the final post-embedding pixel value (RGB value) can only be an integer, the intensity cannot be finely adjusted;
(3) Since the image quality degradation may increase even if the intensity is lowered, the tolerance / image quality trade-off cannot be appropriately controlled by the intensity;
There was a problem.

本発明は、従来の技術では不可能であった、色信号の微小変更に伴う輝度の変化量を少なくし、さらに、埋め込み強度を用いて画質劣化と耐性のトレードオフバランスの細かな制御が可能であり、強度と画質劣化の関係が逆転することなく、適切に制御可能な電子透かし埋め込み装置及び方法を提供することを目的とする。   The present invention makes it possible to reduce the amount of change in luminance caused by minute changes in color signals, which was impossible with conventional technology, and to finely control the trade-off balance between image quality degradation and tolerance using embedding strength. An object of the present invention is to provide a digital watermark embedding apparatus and method that can be appropriately controlled without reversing the relationship between strength and image quality deterioration.

図1は、本発明の原理構成図である。   FIG. 1 is a principle configuration diagram of the present invention.

本発明(請求項1)は、カラー画像に電子透かしを埋め込む電子透かし埋め込み装置であって、
原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段125と、
原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成手段110と、
基準変更量記憶手段125の基準変更量を参照して、透かしパターンの原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分の誤差が小さくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更手段120と、
変更済み透かしパターンを原画像に重畳して透かし入り画像を出力する透かしパターン重畳手段130と、を有する。
The present invention (Claim 1) is an electronic watermark embedding apparatus for embedding an electronic watermark in a color image,
A reference change amount storage means 125 for storing a reference change amount for each color component of the color system used in the data format of the original image;
When an original image and watermark information are input, a watermark pattern generation unit 110 that generates a watermark pattern representing a change amount of a pixel value given to the original image by embedding the watermark information in the original image with the watermark,
Referring to the reference change amount stored in the reference change amount storage unit 125, the watermark pattern is changed and changed so that the error of the watermark embedding target color component due to quantization generated when the watermark pattern is superimposed on the original image is reduced. Watermark pattern changing means 120 for generating a completed watermark pattern;
Watermark pattern superimposing means for superimposing the changed watermark pattern on the original image and outputting a watermarked image.

本発明(請求項2)は、カラー画像に電子透かしを埋め込む電子透かし埋め込み装置であって、
原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段125と、
原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成手段110と、
基準変更量記憶手段125の基準変更量を参照して、透かしパターンの原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分以外の色成分の変更量が少なくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更手段120と、
変更済み透かしパターンを原画像に重畳して透かし入り画像を出力する透かしパターン重畳手段130と、を有する。
The present invention (Claim 2) is a digital watermark embedding device for embedding a digital watermark in a color image,
A reference change amount storage means 125 for storing a reference change amount for each color component of the color system used in the data format of the original image;
When an original image and watermark information are input, a watermark pattern generation unit 110 that generates a watermark pattern representing a change amount of a pixel value given to the original image by embedding the watermark information in the original image with the watermark,
With reference to the reference change amount of the reference change amount storage means 125, the watermark pattern is reduced so that the change amount of the color components other than the watermark embedding target color component by quantization generated when the watermark pattern is superimposed on the original image is reduced. A watermark pattern changing unit 120 for generating a changed watermark pattern by changing
Watermark pattern superimposing means for superimposing the changed watermark pattern on the original image and outputting a watermarked image.

また、本発明(請求項3)は、透かしパターン変更手段120において、
透かしパターンを所与のサイズのブロックに分割して透かしパターンブロック群を生成するパターンブロック分割手段と、
各透かしパターンブロック中の埋め込み対象色成分の平均値である平均変更量を算出するブロック内平均変更量算出手段と、
平均変更量と、埋め込み対象色成分以外の色成分の値が小さい、基準変更量記憶手段の基準変更量の埋め込み対象色成分値との比を算出し、算出された該比の値に基づいて各透かしパターンブロックの画素値を、該基準変更量を用いて濃度変調して変更済み透かしパターンブロック群を生成する濃度パターン変調手段と、
変更済み透かしパターンブロック群を再構成して変更済み透かしパターンを出力するパターン再構成手段と、を有する。
Further, the present invention (Claim 3) is provided in the watermark pattern changing means 120.
Pattern block dividing means for generating a watermark pattern block group by dividing a watermark pattern into blocks of a given size;
An in-block average change amount calculating means for calculating an average change amount that is an average value of the embedding target color components in each watermark pattern block;
A ratio between the average change amount and the embedding target color component value of the reference change amount of the reference change amount storage means in which the value of the color component other than the embedding target color component is small is calculated, and based on the calculated value of the ratio Density pattern modulation means for generating a modified watermark pattern block group by density-modulating the pixel value of each watermark pattern block using the reference change amount;
Pattern reconstructing means for reconstructing a modified watermark pattern block group and outputting a modified watermark pattern.

また、本発明(請求項4)は、濃度パターン変調手段において、
平均変更量の値に基づいて、基準変更量記憶手段を参照して、埋め込み対象色成分以外の色成分の値が小さい所与の複数の基準変更量から一つを選択する手段と、
平均変更量と選択された基準変更量の埋め込み対象色成分値との比を算出する手段と、
算出された比の値に基づいて、各透かしパターンブロックの画素値を選択された基準変更量を用いて濃度変調して変更済み透かしパターンブロック群を生成する手段と、を含む。
Further, the present invention (Claim 4) is a density pattern modulating means,
Based on the value of the average change amount, referring to the reference change amount storage means, means for selecting one of a plurality of reference change amounts having small values of color components other than the embedding target color component;
Means for calculating a ratio between the average change amount and the embedding target color component value of the selected reference change amount;
Means for generating a changed watermark pattern block group by density-modulating the pixel value of each watermark pattern block using the selected reference change amount based on the calculated ratio value.

また、本発明(請求項5)は、基準変更量記憶手段125において、
埋め込み対象色成分の値が同符号でかつ埋め込み対象色成分以外の色成分の値が逆符号である所与の基準変更量Aと基準変更量Bの組を格納し、
透かしパターン変更手段110において、
透かしパターンを所与のサイズのブロックに分割して透かしパターンブロック群を生成する透かしパターンブロック分割手段と、
各透かしパターンブロック中の埋め込み対象色成分の平均値である平均変更量を算出するブロック内平均変更量算出手段と、
基準変更量記憶手段125を参照して、基準変更量Aと基準変更量Bの各埋め込み対象色成分値の絶対値の比αを算出し、透かしパターンブロックと同じサイズの画素領域を面積比α:(1−α)で該基準変更量Aと該基準変更量Bに設定した場合の画素領域中の1画素当たりの埋め込み対象成分値を求め、
平均変更量と、1画素当たりの埋め込み対象成分値との比を参照し、該比の値に基づいて各透かしパターンブロック中の変更対象画素群を選択し、
選択された変更対象画素群を画素数比α:(1−α)でグループA及びグループBの画素グループに分割し、
グループAの画素の画素値を基準変更量Aに、グループBの画素の画素値を基準変更量Bに設定し、それ以外の画素値を0に設定して変更済み透かしパターンブロック群を生成する濃度パターン変調手段と、
変更済み透かしパターンブロック群を再構成して変更済み透かしパターンを出力するパターン再構成手段と、を有する。
Further, according to the present invention (claim 5), in the reference change amount storage means 125,
Storing a set of a given reference change amount A and a reference change amount B in which the value of the embedding target color component has the same sign and the value of the color component other than the embedding target color component has the opposite sign;
In the watermark pattern changing means 110,
Watermark pattern block dividing means for dividing a watermark pattern into blocks of a given size to generate a watermark pattern block group;
An in-block average change amount calculating means for calculating an average change amount that is an average value of the embedding target color components in each watermark pattern block;
Referring to the reference change amount storage means 125, the ratio α of the absolute values of the embedding target color component values of the reference change amount A and the reference change amount B is calculated, and the pixel area having the same size as the watermark pattern block is represented by the area ratio α. : Find the embedding target component value per pixel in the pixel area when the reference change amount A and the reference change amount B are set in (1-α),
Refer to the ratio of the average change amount and the embedding target component value per pixel, and select a change target pixel group in each watermark pattern block based on the value of the ratio,
Dividing the selected pixel group to be changed into pixel groups of group A and group B with a pixel number ratio α: (1-α);
The pixel value of the group A pixel is set to the reference change amount A, the pixel value of the group B pixel is set to the reference change amount B, and other pixel values are set to 0 to generate a changed watermark pattern block group. Density pattern modulation means;
Pattern reconstructing means for reconstructing a modified watermark pattern block group and outputting a modified watermark pattern.

また、本発明(請求項6)は、基準変更量記憶手段125において、
埋め込み対象色成分の値が同符号でかつ埋め込み対象色成分以外の色成分の値が逆符号である所与の基準変更量Aと基準変更量Bの組を複数格納し
濃度パターン変調手段は、
基準変更量記憶手段125を参照して、各組における該基準変更量Aと該基準変更量Bの各埋め込み対象色成分値の絶対値の比αを算出し、透かしパターンブロックと同じサイズの画素領域を面積比α:(1−α)で該基準変更量Aと該基準変更量Bに設定した場合の画素領域中の1画素あたりの埋め込み対象成分値を各組について求める手段と、
平均変更量に各組の該1画素あたりの埋め込み対象成分値の値に基づいて、基準変更量記憶手段の基準変更量Aと基準変更量Bの組を一つ選択する手段と、
平均変更量と選択された該1画素当たりの埋め込み対象成分値との比を算出する手段と、
算出された比の値に基づいて各透かしパターンブロック中の変更対象画素群を選択する手段と、
変更対象画素群を選択された組における比αを用いて画素数比α:(1−α)でグループA及びグループBの画素グループに分割する手段と、
グループAの画素の画素値を選択された基準変更量Aに、グループBの画素の画素値を選択された基準変更量Bに設定し、それ以外の画素値を0に設定して変更済み透かしパターンブロック群を生成する手段と、を含む。
Further, according to the present invention (claim 6), in the reference change amount storage means 125,
A plurality of combinations of a given reference change amount A and a reference change amount B in which the value of the embedding target color component has the same sign and the values of the color components other than the embedding target color component are opposite signs are stored.
With reference to the reference change amount storage means 125, the ratio α of the absolute values of the embedding target color component values of the reference change amount A and the reference change amount B in each set is calculated, and pixels having the same size as the watermark pattern block Means for determining, for each set, an embedding target component value per pixel in a pixel region when the region is set to the reference change amount A and the reference change amount B with an area ratio α: (1−α);
Means for selecting one set of the reference change amount A and the reference change amount B of the reference change amount storage means based on the value of the embedding target component value per pixel of each set as the average change amount;
Means for calculating a ratio between the average change amount and the selected embedding target component value per pixel;
Means for selecting a pixel group to be changed in each watermark pattern block based on the calculated ratio value;
Means for dividing the pixel group to be changed into pixel groups of group A and group B with a pixel number ratio α: (1−α) using the ratio α in the selected set;
The pixel value of the group A pixel is set to the selected reference change amount A, the pixel value of the group B pixel is set to the selected reference change amount B, and the other pixel values are set to 0 to change the watermark. Generating a pattern block group.

また、本発明(請求項7)は、透かしパターン変更手段120において、
基準変更量記憶手段を参照して、埋め込み対象色成分以外の色成分の値が小さい所与の一つ以上の基準変更量の埋め込み対象色成分値を用いて、透かしパターンを擬似階調を変換して階調変換パレットパターンを生成する手段と、
透かしパターンの各画素に対応する階調変換されたパレットパターンの要素値であるパレット情報に基づいて、基準変更量記憶手段の基準変更量を選択し、選択された基準変更量に基づいて透かしパターンの画素値を設定して変更済み透かしパターンを出力する手段と、を有する。
Further, the present invention (Claim 7) is characterized in that in the watermark pattern changing means 120,
By referring to the reference change amount storage means, the watermark pattern is converted into a pseudo gradation using one or more reference change amount embedding target color component values whose color component values other than the embedding target color components are small. And means for generating a gradation conversion palette pattern,
The reference change amount of the reference change amount storage means is selected based on palette information that is an element value of the palette pattern subjected to gradation conversion corresponding to each pixel of the watermark pattern, and the watermark pattern is determined based on the selected reference change amount. And a means for setting the pixel value to output a changed watermark pattern.

また、本発明(請求項8)は、基準変更量記憶手段125において、
埋め込み対象色成分の値が同符号でかつ埋め込み対象色成分以外の色成分の値が逆符号である所与の基準変更量Aと基準変更量Bの組を複数格納し、
透かしパターン変更手段120は、
基準変更量記憶手段の各組における基準変更量Aと基準変更量Bの各埋め込み対象色成分値の絶対値の比αを算出し、透かしパターンブロックと同じサイズの画素領域を面積比α:(1−α)で該基準変更量Aと該基準変更量Bに設定した場合の画素領域中の1画素あたりの埋め込み対象成分値を各組について求め、
各組の1画素あたりの埋め込み対象成分値を用いて、透かしパターンを擬似階調変換して、階調変換パレットパターンを生成する透かしパターン階調変換手段と、
透かしパターンの各画素に対応する階調変換パレットパターンの要素値であるパレット情報に基づいて、基準変更量記憶手段125の基準変更量の組を選択し、
選択された基準変更量の組のいずれか一方を確率αで、他方を確率1−αで選択し、選択された基準変更量の値に基づいて透かしパターンの画素値を設定して変更済み透かしパターンを出力する画素値マッピング手段と、を有する。
Further, according to the present invention (claim 8), in the reference change amount storage means 125,
Storing a plurality of sets of given reference change amount A and reference change amount B in which the value of the embedding target color component is the same sign and the value of the color component other than the embedding target color component is the opposite sign;
The watermark pattern changing means 120
The ratio α of the absolute values of the embedding target color component values of the reference change amount A and the reference change amount B in each set of the reference change amount storage means is calculated, and the area ratio α :( 1-α) for each set, determine the embedding target component value per pixel in the pixel area when the reference change amount A and the reference change amount B are set.
Watermark pattern gradation conversion means for generating a gradation conversion palette pattern by performing pseudo gradation conversion of the watermark pattern using the embedding target component value per pixel of each set;
Based on palette information which is an element value of the gradation conversion palette pattern corresponding to each pixel of the watermark pattern, a set of reference change amounts in the reference change amount storage unit 125 is selected,
One of the selected reference change amount sets is selected with probability α and the other is selected with probability 1-α, and the watermark value is changed by setting the pixel value of the watermark pattern based on the selected reference change amount value. Pixel value mapping means for outputting a pattern.

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

本発明(請求項9)は、カラー画像に電子透かしを埋め込む電子透かし埋め込み方法であって、
透かしパターン生成手段において、原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成ステップ(ステップ1)と、
透かしパターン変更手段において、原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段を参照して、透かしパターンの原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分の誤差が小さくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更ステップ(ステップ2)と、
透かしパターン重畳手段において、変更済み透かしパターンを原画像に重畳して透かし入り画像を出力する透かしパターン重畳ステップ(ステップ3)と、を行う。
The present invention (Claim 9) is a digital watermark embedding method for embedding a digital watermark in a color image,
When an original image and watermark information are input in the watermark pattern generation means, a watermark pattern that generates a watermark pattern representing the amount of change in pixel value given to the original image by embedding the watermark information in the original image Generating step (step 1);
The watermark pattern changing means refers to the reference change amount storage means for storing the reference change amount for each color component of the color system used in the data format of the original image, and the quantum generated when the watermark pattern is superimposed on the original image. A watermark pattern changing step (step 2) for generating a changed watermark pattern by changing the watermark pattern so that an error of the watermark embedding target color component due to conversion is reduced;
The watermark pattern superimposing means performs a watermark pattern superimposing step (step 3) of superimposing the changed watermark pattern on the original image and outputting a watermarked image.

本発明(請求項10)は、カラー画像に電子透かしを埋め込む電子透かし埋め込み方法であって、
透かしパターン生成手段において、原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成ステップと、
透かしパターン変更手段において、原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段を参照して、透かしパターンの原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分以外の色成分の変更量が少なくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更ステップと、
透かしパターン重畳手段において、変更済み透かしパターンを原画像に重畳して透かし入り画像を出力する透かしパターン重畳ステップと、を行う。
The present invention (Claim 10) is a digital watermark embedding method for embedding a digital watermark in a color image,
When an original image and watermark information are input in the watermark pattern generation means, a watermark pattern that generates a watermark pattern representing the amount of change in pixel value given to the original image by embedding the watermark information in the original image Generation step;
The watermark pattern changing means refers to the reference change amount storage means for storing the reference change amount for each color component of the color system used in the data format of the original image, and the quantum generated when the watermark pattern is superimposed on the original image. A watermark pattern changing step for generating a changed watermark pattern by changing the watermark pattern so that a change amount of a color component other than the color component to be embedded by watermarking is reduced;
The watermark pattern superimposing means performs a watermark pattern superimposing step of superimposing the changed watermark pattern on the original image and outputting a watermarked image.

上述のように、本発明を用いれば、色成分の微小変更に伴う輝度の変化量を少なくし、さらに埋め込み強度を用いて画質劣化と耐性のトレードオフバランスの細かな制御が可能であり、強度と画質劣化の関係が逆転することなく適切に制御可能な電子透かし埋め込み処理を実現することができる。   As described above, by using the present invention, it is possible to reduce the amount of change in luminance due to minute changes in color components, and to finely control the trade-off balance between image quality degradation and durability using embedding strength. It is possible to implement digital watermark embedding processing that can be appropriately controlled without reversing the relationship between image quality degradation and image quality degradation.

以下、図面と共に本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

各実施の形態を説明する前に、全実施の形態に対して共通な、電子透かし埋め込み装置の構成及び処理の流れについて説明する。   Before describing each embodiment, a configuration and processing flow of a digital watermark embedding device common to all embodiments will be described.

図3は、本発明の実施の形態共通の電子透かし埋め込み装置の構成を示す。同図に示す電子透かし埋め込み装置100は、透かしパターン生成部110、透かしパターン変更部120、透かしパターン重畳部130から構成される。   FIG. 3 shows a configuration of a digital watermark embedding apparatus common to the embodiments of the present invention. The digital watermark embedding apparatus 100 shown in FIG. 1 includes a watermark pattern generation unit 110, a watermark pattern change unit 120, and a watermark pattern superimposition unit 130.

図4は、本発明の実施の形態共通の電子透かし埋め込み装置の処理の流れを示す。   FIG. 4 shows a processing flow of the digital watermark embedding apparatus common to the embodiments of the present invention.

ステップ101) 電子透かし埋め込み装置100は、まず、透かしパターン生成部110において、透かし情報に基づいて透かしパターンを生成し、ブロック内平均変更量算出部122と濃度パターン変調部123に出力する。透かしパターンは、原画像の画素サイズと同じサイズの実行列3つ(△R,△G,△Bとする)から構成され、電子透かし埋め込みによって原画像の各画素に与えられる画素値変更量をRGB成分毎に指定するものである。この透かしパターンの定義によれば、任意の電子透かし方法において透かしパターンが得られることは自明である(埋め込み後の画素と原画像との差分画像が透かしパターンとなるため、一旦電子透かし埋め込み画像を作成して原画像との差分を取ることにより、どのような電子透かし方法でも透かしパターンを求めることができる)。また、例えば、文献A(T. Nakamura, H. Ogawa, A. Tomioka, and Y. Takashima, Improved Digital Watermark Robustness against Translation and/or Cropping of an Image Area, IEICE Trans. Fundamentals, Vol. E83-A, No.1, pp. 68-76, January 2000.)のように、透かし強度パラメタによって透かしパターンの振幅を増幅したり、画像内容に依存して適応的に埋め込み強度を変更するなど、画素値の変更量を左右するファクタも、全て透かしパターン生成部110に包含されているものとする。すなわち、透かしパターン生成部110で生成される透かしパターンは、透かし強度や適応的埋め込みなどのファクタも加味した上で、最終的に原画像に与える画素値変更量であるとする。但し、透かしパターンで表される画素値変更量は、実数、すなわち、量子化による丸めを行わず、画素値変更量をそのまま実数値として取るようにする。これは、例えば、R成分の画素値変更量が+0.8という値の場合は、実際には原画像のR成分に0.8を加えて四捨五入などによって丸められることで+1.0となってしまうが、透かしパターンの△R成分の要素値は+0.8のままとする、という意味である。   Step 101) The digital watermark embedding apparatus 100 first generates a watermark pattern based on the watermark information in the watermark pattern generation unit 110 and outputs the generated watermark pattern to the intra-block average change amount calculation unit 122 and the density pattern modulation unit 123. The watermark pattern is made up of three execution columns (ΔR, ΔG, ΔB) having the same size as the pixel size of the original image, and the pixel value change amount given to each pixel of the original image by embedding the digital watermark. This is specified for each RGB component. According to the definition of this watermark pattern, it is obvious that a watermark pattern can be obtained by any digital watermarking method (since the difference image between the pixel after embedding and the original image becomes the watermark pattern, By creating a difference from the original image, a watermark pattern can be obtained by any digital watermark method). Also, for example, Document A (T. Nakamura, H. Ogawa, A. Tomioka, and Y. Takashima, Improved Digital Watermark Robustness against Translation and / or Cropping of an Image Area, IEICE Trans. Fundamentals, Vol. E83-A, No.1, pp. 68-76, January 2000), the amplitude of the watermark pattern is amplified by the watermark strength parameter, and the embedding strength is adaptively changed depending on the image content. It is assumed that all factors that affect the amount of change are also included in the watermark pattern generation unit 110. That is, it is assumed that the watermark pattern generated by the watermark pattern generation unit 110 is a pixel value change amount finally given to the original image in consideration of factors such as watermark strength and adaptive embedding. However, the pixel value change amount represented by the watermark pattern is a real number, that is, the pixel value change amount is directly taken as a real value without being rounded by quantization. For example, when the amount of change in the pixel value of the R component is +0.8, it is actually +1.0 by adding 0.8 to the R component of the original image and rounding off by rounding off. However, this means that the element value of the ΔR component of the watermark pattern remains +0.8.

ステップ102) 次に、透かしパターン変更部120において、実際に原画像の画素値の変更時に行う量子化丸めによって生じる画質劣化が小さくなるように透かしパターンを変更して、変更済み透かしパターンを生成する。変更の具体的な方法については後述する。   Step 102) Next, the watermark pattern changing unit 120 changes the watermark pattern so as to reduce the image quality degradation caused by the quantization rounding performed when the pixel value of the original image is actually changed, and generates a changed watermark pattern. . A specific method of change will be described later.

ステップ103) 最後に、透かしパターン重畳部130において、変更済み透かしパターンを原画像に重畳し、透かし入り画像を得る。   Step 103) Finally, the watermark pattern superimposing unit 130 superimposes the changed watermark pattern on the original image to obtain a watermarked image.

また、本発明の実施の形態においては、説明の簡便さのため、次に述べるような具体的な電子透かし方法を用いて説明を行う。   Further, in the embodiment of the present invention, for the sake of simplicity of description, description will be made using a specific digital watermark method as described below.

図5に示すように、1ビットの透かし情報を擬似乱数列でスペクトラム拡散変調し、拡散された透かし情報の各項の値で原画像の各ブロックのCb成分値を変更することで、電子透かしの埋め込みを行うものである。このため、透かしパターン△R,△G,△Bをブロック分割し、n番目のブロック内の要素については、式(2)を用いてCb成分の変化量をRGB成分に変換した値を(実数のまま)要素値として設定するようにすることになる。   As shown in FIG. 5, digital watermarking is performed by subjecting 1-bit watermark information to spread spectrum modulation with a pseudo-random number sequence and changing the Cb component value of each block of the original image with the value of each term of the spread watermark information. Is to be embedded. For this reason, the watermark pattern ΔR, ΔG, ΔB is divided into blocks, and for the elements in the nth block, the value obtained by converting the change amount of the Cb component into the RGB component using the equation (2) (real number) Will be set as an element value.

また、電子透かしの検出は、図6に示すように、検出対象画像をブロック分割し、各ブロック内の平均Cb成分値から検出対象系列を得て、これを擬似乱数列を用いてスペクトル拡散復調し、相関値の正負によって検出透かし情報のビット値を決定する。   In addition, as shown in FIG. 6, the detection of the digital watermark is performed by dividing the detection target image into blocks, obtaining the detection target sequence from the average Cb component value in each block, and using the pseudo random number sequence for spread spectrum demodulation. Then, the bit value of the detected watermark information is determined based on the sign of the correlation value.

本発明は、上記の電子透かし方法例への適用のみに限定されるものではない。例えば、前述の非特許文献1のように動画像の各フレームに対して透かしを埋め込むものであったり、あるいは、文献Aのように透かしのパターンがブロックではなくテクスチャ上のものであったり、あるいは、スペクトラム拡散変調に基づくものでなくてもかまわない。さらに、上記の例では画質劣化を避けるためYCbCr表色系のCb成分に埋め込みを行うようにしているが、これをCr成分としたり、別の表色系のいずれかの成分とするなど任意に選択可能である。   The present invention is not limited to application to the above-described digital watermark method example. For example, a watermark is embedded in each frame of a moving image as in Non-Patent Document 1 described above, or a watermark pattern is not a block but a texture as in Document A, or It does not have to be based on spread spectrum modulation. Further, in the above example, in order to avoid image quality deterioration, the Cb component of the YCbCr color system is embedded, but this can be arbitrarily set as a Cr component or any other color system component. Selectable.

[第1の実施の形態]
図7は、本発明の第1の実施の形態における透かしパターン変更部の構成を示し、図8は、本発明の第1の実施の形態における透かしパターン変更部の処理のフローチャートであり、図9は、本発明の第1の実施の形態における透かしパターン変更部の処理を説明するための図である。
[First Embodiment]
FIG. 7 shows the configuration of the watermark pattern changing unit in the first embodiment of the present invention, and FIG. 8 is a flowchart of the processing of the watermark pattern changing unit in the first embodiment of the present invention. These are the figures for demonstrating the process of the watermark pattern change part in the 1st Embodiment of this invention.

透かしパターン変更部120は、透かしパターンブロック分割部121、ブロック内平均変更量算出部122、濃度パターン変調部123、パターン再構成部124及びRGB基準変更量記憶部125から構成される。透かしパターン変更部120は、透かしパターン生成部110からの透かしパターンを入力とし、変更済み透かしパターンを出力する。   The watermark pattern changing unit 120 includes a watermark pattern block dividing unit 121, an in-block average change amount calculating unit 122, a density pattern modulating unit 123, a pattern reconstruction unit 124, and an RGB reference change amount storage unit 125. The watermark pattern changing unit 120 receives the watermark pattern from the watermark pattern generating unit 110 and outputs the changed watermark pattern.

ステップ201) 透かしパターン変更部120は、まず透かしパターンブロック分割部121において、透かしパターン生成部110から入力された透かしパターンを透かしパターンブロックに分割する。このとき、ブロック分割サイズは、図5及び図6で示した電子透かし方式のブロックサイズと同じでもよいし、異なっていてもよい。   Step 201) The watermark pattern changing unit 120 first divides the watermark pattern input from the watermark pattern generating unit 110 into watermark pattern blocks in the watermark pattern block dividing unit 121. At this time, the block division size may be the same as or different from the block size of the digital watermark method shown in FIGS.

ステップ202) 次に、ブロック内平均変更量算出部122で、1つの透かしパターンブロック中のCb成分の平均変更量を算出する。透かしパターンは、各画素におけるRGB成分の変更量を表すデータであるので、各画素のRGB成分変更量△r,△g,△bに対して式(1)を用いることで、Cb成分の変更量△cbを求めることができる。これをブロック中の全ての画素に対して行うことで平均変更量μ(△cb)を求めることができる。   Step 202) Next, the average change amount calculation unit 122 in block calculates the average change amount of the Cb component in one watermark pattern block. Since the watermark pattern is data representing the change amount of the RGB component in each pixel, the change of the Cb component is obtained by using the expression (1) for the RGB component change amounts Δr, Δg, Δb of each pixel. The quantity Δcb can be determined. By performing this for all the pixels in the block, the average change amount μ (Δcb) can be obtained.

ステップ203) 次に、濃度パターン変調部123において、透かしパターンブロックに対して、RGB基準変更量記憶部125から取得したRGB基準変更量を用いて濃度パターン変調を施し、変更済み透かしパターンブロックを得る。具体的には図9に示すように、RGB基準変更量が(△r,△g,△b)であったとき、RGB基準変更量によるCb成分変更量△cbを前述の式(1)を用いて求めておき、△cbとブロック内平均変更量
μ(△cb)の比β=μ(△cb)/△cb
を求める。ここで、RGB基準変更量は、△cb>0でかつ十分大きく(電子透かし方式で想定される最も強い電子透かし埋め込み強度による画素値変更量と比べて同程度かそれ以上となる、という意味)、さらに、RGB基準変更量による(量子化丸めによって生じる)輝度変更量△yが小さくなるようなものを選ぶようにするとよい。例えば(△r,△g,△b)=(0,0,2)では、△cb=1.022、△y=0.228であるが、(△r,△g,△b)=(0,−1,5)では、△cb=2.894、△y=0.017である。△cb=1.022が小さすぎると判断できる場合や、あるいはどちらの△cb1も十分に大きいと判断できる場合では△yが小さい方を選ぶことになるので、(△r,△g,△b)=(0,−1,5)をRGB基準変更量とするのがよい。
Step 203) Next, the density pattern modulation unit 123 performs density pattern modulation on the watermark pattern block using the RGB reference change amount acquired from the RGB reference change amount storage unit 125 to obtain a changed watermark pattern block. . Specifically, as shown in FIG. 9, when the RGB reference change amount is (Δr 1 , Δg 1 , Δb 1 ), the Cb component change amount Δcb 1 based on the RGB reference change amount is expressed by the above-described equation. (1) is used, and the ratio of Δcb 1 to the in-block average change amount μ (Δcb) β = μ (Δcb) / Δcb 1
Ask for. Here, the RGB reference change amount is Δcb 1 > 0 and sufficiently large (meaning that it is equal to or more than the pixel value change amount by the strongest digital watermark embedding strength assumed in the digital watermark method). In addition, it is preferable to select a value that reduces the luminance change amount Δy 1 due to the RGB reference change amount (generated by quantization rounding). For example, in the case of (Δr 1 , Δg 1 , Δb 1 ) = (0, 0, 2), Δcb 1 = 1.022 and Δy 1 = 0.228, but (Δr 1 , Δg 1 , Δb 1 ) = (0, −1,5), Δcb 1 = 2.894 and Δy 1 = 0.017. If Δcb 1 = 1.022 can be determined to be too small, or if both Δcb1 can be determined to be sufficiently large, the smaller Δy 1 is selected, so (Δr 1 , Δg 1 , Δb 1 ) = (0, −1 , 5) should be the RGB reference change amount.

次に、ブロック内の画素数がk画素であるとして、ブロック内のβk個の画素を変更対象画素として選択することによって、ブロックの変更量を濃度パターンに変調する。選択方法としてはランダムに選ぶ、あるいはブロック内画素位置に1…kのラベルを貼っておき、このうちβk番目までのラベルの貼られた画素を選択するなど様々な方法があり得る。   Next, assuming that the number of pixels in the block is k pixels, the change amount of the block is modulated into a density pattern by selecting βk pixels in the block as change target pixels. As a selection method, there may be various methods such as selecting at random, or attaching 1 to k labels at pixel positions in the block, and selecting pixels labeled up to βk among these.

次に、透かしパターンブロックの△R,△G,△Bの全画素を一旦ゼロクリアし、上記選択された画素位置の△R,△G,△Bプレーンの画素値を、それぞれ△r,△g,△b、すなわち、RGB基準変更量となるようにセットして、変更済み透かしパターンブロックとして出力する。 Next, all the pixels of ΔR, ΔG, and ΔB in the watermark pattern block are once cleared to zero, and the pixel values of the ΔR, ΔG, and ΔB planes at the selected pixel position are set to Δr 1 , Δ, respectively. It is set to be g 1 , Δb 1 , that is, the RGB reference change amount, and is output as a changed watermark pattern block.

なお、図10に示すように、ブロック内画素数kに対してβk個の画素を変更箇所として各カラープレーン毎に選択し、透かしパターンブロックの各カラープレーン毎に、RGB基準変更量の対応する成分値を用いて、濃度パターンに変調するようにしてもよい。   As shown in FIG. 10, βk pixels are selected for each color plane as change locations for the number k of pixels in the block, and the RGB reference change amount corresponds to each color plane of the watermark pattern block. You may make it modulate to a density pattern using a component value.

ステップ204) 上記の濃度パターン変調部123の処理を全ての透かしパターンブロックに対して施した場合は、ステップ205に移行し、そうでない場合はステップ202に移行する。   Step 204) If the above-described processing of the density pattern modulation unit 123 is performed on all the watermark pattern blocks, the process proceeds to step 205. If not, the process proceeds to step 202.

ステップ205) 上記の透かしブロック内平均変更量算出部122から濃度パターン変調部123までの処理を、全ての透かしパターンブロックに対して施した後に、透かしパターン再構成部124において、変更済み透かしパターンブロック群の各々を元の透かしパターンブロックと置き換えることによって、変更済み透かしパターンを生成して出力する。   Step 205) After the processing from the watermark block average change amount calculation unit 122 to the density pattern modulation unit 123 is applied to all the watermark pattern blocks, the watermark pattern reconstruction unit 124 changes the changed watermark pattern block. A modified watermark pattern is generated and output by replacing each of the groups with the original watermark pattern block.

<第1の実施の形態の効果>
上記の第1の実施の形態においては、最終的に電子透かし埋め込み装置が出力する画素値は、(0,0,0)、すなわち変更なしか、あるいは、RGB基準変更量(△r,△g,△b)の2通りのどちらかである。上記の通り、RGB基準変更量は輝度成分の変化量が小さいものとして選ばれているので、各画素においては輝度変化が一切ない(変更無しの場合)か、僅かな輝度変化のみ(RGB基準変更量で変化した場合)となり、画像全体として見れば透かし入り画像の原画像に対する輝度変化量が少なくなっている、にも関わらず、各ブロック単位に平均Cb成分をマクロに見れば、ブロック中のRGB基準変更量による変更画素の比率βと、RGB基準変更量によるCb成分変更量△cbの積、すなわち、
μ(△cb)/△cb×△cb=μ(△cb)
となって、透かしパターン変更前と後でCb成分の値は変化していない。これによって電子透かしは確実に埋め込まれ、そして検出できることになる。
<Effect of the first embodiment>
In the first embodiment, the pixel value finally output by the digital watermark embedding apparatus is (0, 0, 0), that is, no change, or the RGB reference change amount (Δr 1 , Δ g 1 , Δb 1 ). As described above, since the RGB reference change amount is selected as a small change amount of the luminance component, there is no luminance change in each pixel (when there is no change) or only a slight luminance change (RGB reference change) If the average Cb component is viewed macroscopically for each block, the amount of change in luminance relative to the original image of the watermarked image is small when viewed as the entire image. The product of the changed pixel ratio β based on the RGB reference change amount and the Cb component change amount Δcb 1 based on the RGB reference change amount, that is,
μ (Δcb) / Δcb 1 × Δcb 1 = μ (Δcb)
Thus, the value of the Cb component does not change before and after the watermark pattern change. This ensures that the watermark is embedded and can be detected.

また、透かしパターンは量子化丸めを行う前の状態で濃度パターンに変調される。これによって、電子透かし埋め込み強度や適応的埋め込みによって元の透かしパターンの振幅が変動していた場合に、従来技術では各画素毎に独立に変更するため、例えば、
0.5/1.732≦│△cb│<1.5/1.732
のようなCb成分変更量では、量子化丸め誤差のため変動が表現されず、全て同じ変更量となってしまう。しかし、本実施の形態によれば、ブロック中のRGB基準変更量による変更画素の比率βによって、ブロック内の平均Cb成分変更量は細かく制御されることになる。
The watermark pattern is modulated into a density pattern in a state before quantization rounding. Accordingly, when the amplitude of the original watermark pattern has fluctuated due to the digital watermark embedding strength or adaptive embedding, the conventional technique changes independently for each pixel.
0.5 / 1.732 ≦ | Δcb | <1.5 / 1.732
In such a Cb component change amount, fluctuations are not expressed due to quantization rounding errors, and all change amounts are the same. However, according to the present embodiment, the average Cb component change amount in the block is finely controlled by the ratio β of changed pixels based on the RGB reference change amount in the block.

さらに、本実施の形態によれば、埋め込み強度の増加は、ブロック中のRGB基準変更量による変更画素数の増加に相当し、これによるブロック中の輝度成分の変更量はβyであるから埋め込み強度に対して輝度成分の変更量は単調増加である。すなわち、従来技術で問題となっていた、量子化誤差のために埋め込み強度を下げても画質劣化が増大するといった逆転現象が起きず、耐性・画質トレードオフを適切に判断できるようになる。 Furthermore, according to the present embodiment, an increase in embedding strength corresponds to an increase in the number of changed pixels due to the RGB reference change amount in the block, and since the change amount of the luminance component in the block is βy 1 , embedding is performed. The change amount of the luminance component is monotonously increasing with respect to the intensity. That is, the reverse phenomenon that the image quality deterioration increases even if the embedding strength is lowered due to the quantization error, which has been a problem in the prior art, does not occur, and the tolerance / image quality trade-off can be appropriately determined.

[第2の実施の形態]
本実施の形態では、以下に説明する部分を除き、前述の第1の実施の形態と同様である。
[Second Embodiment]
This embodiment is the same as the first embodiment described above except for the parts described below.

図11は、本発明の第2の実施の形態における透かしパターン変更部の構成を示し、図12は、本発明の第2の実施の形態における透かしパターン変更部の処理のフローチャートである。   FIG. 11 shows the configuration of the watermark pattern changing unit in the second embodiment of the present invention, and FIG. 12 is a flowchart of the processing of the watermark pattern changing unit in the second embodiment of the present invention.

本実施の形態の透かしパターン変更部120では、RGB基準変更量記憶部225において、予め定められたRGB基準変更量を複数記憶する点において前述の第1の実施の形態の構成と異なる。   The watermark pattern changing unit 120 of this embodiment is different from the configuration of the first embodiment in that the RGB reference change amount storage unit 225 stores a plurality of predetermined RGB reference change amounts.

透かしパターン変更部120の動作は、ブロック内平均変更量算出部122において各透かしパターンブロック中のCb成分の平均変更量を算出する処理(ステップ202)までは、第1の実施の形態と同様である。   The operation of the watermark pattern changing unit 120 is the same as that of the first embodiment until the process of calculating the average change amount of the Cb component in each watermark pattern block (step 202) in the intra-block average change amount calculating unit 122. is there.

ステップ301) 次に、濃度パターン変調部123において、上記算出された平均変更量に依存して、RGB基準変更量記憶部225に複数記憶されているRGB基準変更量から一つを選択する処理を伴う部分が、第1の実施の形態と異なる。   Step 301) Next, the density pattern modulation unit 123 selects one of the RGB reference change amounts stored in the RGB reference change amount storage unit 225 depending on the calculated average change amount. The accompanying part is different from the first embodiment.

図13にRGB基準変更量の選択方法の例を示す。今、RGB基準変更量が(1)〜(n)まで、n個用意されているとする。また、各RGB基準変更量(i)に対して、値xが対応付けられているとする。このとき、RGB基準変更量の添え字が大きくなるほど、画素値の変更に伴うCb成分の変更量が大きい。すなわち、透かしが強く埋め込まれるようにし、また、0<x<x<…<xとなるように、xを定めておく。また、各RGB基準変更量(i)については、第1の実施の形態と同様に、輝度成分の変更量が小さいものを選ぶようにするとよい。選択処理は、入力されたCb成分の平均変更量の絶対値yを求め、yがxj−1<y≦xなる区間内の値であるときに、j番目のRGB基準変更量(j)を選択する。図13の例では、入力された平均変更量(図中の黒丸)がx<y≦xであるので、RGB基準変更量(2)が選択される。このようにRGB基準変更量を一つ選択した後の処理(ステップ203〜205)は、第1の実施の形態と同様である。 FIG. 13 shows an example of a method for selecting the RGB reference change amount. Now, it is assumed that n RGB reference change amounts (1) to (n) are prepared. Further, the respective RGB reference change amount with respect to (i), the value x 1 associated. At this time, as the subscript of the RGB reference change amount increases, the change amount of the Cb component accompanying the change of the pixel value increases. That is, as the watermark is embedded strongly, also, 0 <x 1 <x 2 <... < such that x n, should define a x i. Further, as for each RGB reference change amount (i), it is preferable to select one with a small change amount of the luminance component, as in the first embodiment. In the selection process, the absolute value y of the average change amount of the input Cb component is obtained, and when y is a value in a section where x j−1 <y ≦ x j , the j-th RGB reference change amount (j ) Is selected. In the example of FIG. 13, since the input average change amount (black circle in the figure) is x 1 <y ≦ x 2 , the RGB reference change amount (2) is selected. Processing after selecting one RGB reference change amount in this way (steps 203 to 205) is the same as that in the first embodiment.

<第2の実施の形態の効果>
本実施の形態においては、RGB基準変更量を透かしブロックパターン中の平均変更量の大きさに応じて段階的に選択している。第1の実施の形態のようにRGB基準変更量が1つしかない場合には、想定される最大の画素値変更量を基準にして比較的大きな変更量が一つ選ばれていた場合に、僅かな変更量を表現するためにはブロックパターン中の少数の画素を変更対象にすることで対応しているが、一画素あたりの変更量が大きいために、視覚劣化が大きくなってしまう恐れがあった。また、透かし強度は、ブロック中の変更画素数の取りうる値程度の段階でしか制御できず、特にブロックが小さい場合にはきめ細かい制御ができなかった。これに対して本実施の形態によれば、透かしブロックパターン中の平均変更量が小さいときには変更量の小さなRGB基準変更量を、平均変更量が大きいときには、変更量の大きなRGB基準変更量を選択するので、画質の向上が期待できる。
<Effects of Second Embodiment>
In the present embodiment, the RGB reference change amount is selected stepwise in accordance with the average change amount in the watermark block pattern. When there is only one RGB reference change amount as in the first embodiment, when one relatively large change amount is selected based on the assumed maximum pixel value change amount, In order to express a slight change amount, it is possible to change a small number of pixels in the block pattern. However, since the change amount per pixel is large, there is a risk that visual deterioration will increase. there were. In addition, the watermark intensity can be controlled only at a level of the value that the number of changed pixels in the block can take, and fine control cannot be performed especially when the block is small. In contrast, according to the present embodiment, when the average change amount in the watermark block pattern is small, the RGB reference change amount with a small change amount is selected, and when the average change amount is large, the RGB reference change amount with a large change amount is selected. Therefore, improvement in image quality can be expected.

さらに、複数のRGB基準変更量を切り替えることにより、第1の実施の形態より更にきめ細かな透かし強度の制御が可能となるという効果がある。   Furthermore, there is an effect that by switching a plurality of RGB reference change amounts, the watermark strength can be controlled more finely than in the first embodiment.

[第3の実施の形態]
図14は、本発明の第3の実施の形態における透かしパターン変更部の構成を示し、図15は、本発明の第3の実施の形態における透かしパターン変更部の処理のフローチャートを示し、図16は、本発明の第3の実施の形態における透かしパターン変更部の処理を説明するための図である。
[Third Embodiment]
FIG. 14 shows the configuration of the watermark pattern changing unit in the third embodiment of the present invention. FIG. 15 shows the flowchart of the processing of the watermark pattern changing unit in the third embodiment of the present invention. These are the figures for demonstrating the process of the watermark pattern change part in the 3rd Embodiment of this invention.

透かしパターン変更部120は、透かしパターンブロック分割部121、ブロック内平均変更量算出部122、濃度パターン変調部123、パターン再構成部124、及びRGB基準変更量記憶部325から構成される。本実施の形態におけるRGB基準変更量記憶部325は、予め定められたRGB基準変更量AとRGB基準変更量Bの組を記憶する。   The watermark pattern changing unit 120 includes a watermark pattern block dividing unit 121, an intra-block average change amount calculating unit 122, a density pattern modulating unit 123, a pattern reconstruction unit 124, and an RGB reference change amount storage unit 325. The RGB reference change amount storage unit 325 according to the present embodiment stores a predetermined set of RGB reference change amount A and RGB reference change amount B.

透かしパターン変更部120は、透かしパターン生成部110からの透かしパターンを入力とし、変更済み透かしパターンを出力する。   The watermark pattern changing unit 120 receives the watermark pattern from the watermark pattern generating unit 110 and outputs the changed watermark pattern.

ステップ401) 透かしパターン変更部120は、まず、透かしパターンブロック分割部121において、透かしパターン生成部110から入力された透かしパターンを透かしパターンブロックに分割する。このときのブロック分割サイズは、図5、図6で示した電子透かし方式のブロックサイズと同じでもよいし、異なっていてもよい。透かしパターンブロック分割部121は、透かしパターンブロックをブロック内平均変更量算出部122及び濃度パターン変調部123に出力する。   Step 401) The watermark pattern changing unit 120 first divides the watermark pattern input from the watermark pattern generating unit 110 into watermark pattern blocks in the watermark pattern block dividing unit 121. The block division size at this time may be the same as or different from the block size of the digital watermark method shown in FIGS. The watermark pattern block dividing unit 121 outputs the watermark pattern block to the intra-block average change amount calculating unit 122 and the density pattern modulating unit 123.

ステップ402) 次に、ブロック間平均変更量算出部122で、1つの透かしパターンブロック中のCb成分の平均変更量を算出する。透かしパターンは各画素におけるRGB成分の変更量を表すデータであるので、各画素のRGB成分変更量△r,△g,△bに対して式(1)を用いることでCb成分の変更量△cbを求めることができる。これをブロック中の全ての画素に対して行うことで平均変更量μ(△cb)を求めることができる。   Step 402) Next, the average change amount calculation unit 122 between blocks calculates the average change amount of the Cb component in one watermark pattern block. Since the watermark pattern is data representing the RGB component change amount in each pixel, the Cb component change amount Δ can be obtained by using the equation (1) for the RGB component change amounts Δr, Δg, Δb of each pixel. cb can be determined. By performing this for all the pixels in the block, the average change amount μ (Δcb) can be obtained.

次に、濃度パターン変調部123において、透かしパターンブロックに対して、予めRGB基準変更量記憶部325に格納されているRGB基準変更量を用いて濃度パターン変調を施し、変更済み透かしパターンブロックを得る。具体的には、まず、RGB基準変更量Aが(△r,△g,△b)、RGB基準変更量Bが(△r,△g,△b)であったとき、RGB基準変更量AによるY成分変更量△y及びRGB基準変更量BによるY成分変更量△yを式(1)を用いて求めておき、両者の絶対値を用いて比の値αを、
α=│△y│/(│△y│+│△y│)
のようにして求めておく。ここで、△yと△yは符号が正負逆になるように、かつ、RGB基準変更量AによるCb成分変更量△cb及びRGB基準変更量BによるCb成分変更量△cbが同じ符号(本実施の形態では正とする)となるように、RGB基準変更量AとRGB基準変更量Bの組が予めRGB基準変更量記憶部325に格納されているとする。例えば、RGB基準変更量Aが(△r,△g,△b)=(0,0,1),RGB基準変更量Bが(△r,△g,△b)=(−1,0,0)であるとすると、式(1)から
△y=0.114,
△y=−0.299,
△cb=0.511、
△cb=0.172
となるので、これは条件を満たす組である。
Next, the density pattern modulation unit 123 performs density pattern modulation on the watermark pattern block using the RGB reference change amount stored in advance in the RGB reference change amount storage unit 325 to obtain a changed watermark pattern block. . Specifically, first, when the RGB reference change amount A is (Δr A , Δg A , Δb A ) and the RGB reference change amount B is (Δr B , Δg B , Δb B ). , Y component changing amount by RGB reference change amount a △ y a and RGB reference change amount due to B Y component changing amount △ a y B advance calculated using equation (1), by using the absolute value of the ratio of the two values α
α = │ △ y A │ / (│ △ y A │ + │ △ y B │)
Find it like this. Here, Δy A and Δy B are such that the signs are reversed, and the Cb component change amount Δcb A by the RGB reference change amount A and the Cb component change amount Δcb B by the RGB reference change amount B are Assume that a set of RGB reference change amount A and RGB reference change amount B is stored in the RGB reference change amount storage unit 325 in advance so as to have the same sign (positive in the present embodiment). For example, the RGB reference change amount A is (Δr A , Δg A , Δb A ) = (0, 0, 1), and the RGB reference change amount B is (Δr B , Δg B , Δb B ) = Assuming that (−1, 0, 0), Δy A = 0.114,
Δy B = −0.299,
Δcb A = 0.511,
Δcb B = 0.172
Therefore, this is a set that satisfies the condition.

ステップ403) また、濃度パターン変調部123は、
△cbAB=α・△cb+(1−α)・△cb
を求めておく。△cbABは、ブロック中の画素に対して面積比αでRGB基準変更量記憶部325のRGB基準変更量Aを用いて画素値変更を行い、面積比(1−α)でRGB基準変更量記憶部325のGB基準変更量Bを用いて画素値変更を行った場合の、1画素当たりの平均のCb成分変更量である。第1の実施の形態などと同様に、RGB基準変更量AとBの組は、△cbAB>0でかつ十分大きく(電子透かし方式で想定される最も強い電子透かし埋め込み強度による画素値変更量と比べて同程度かそれ以上となる、という意味)、さらにRGB基準変更量AまたはBによる(量子化丸めによって生じる)輝度変更量△y,△yが小さくなるようなものを選ぶようにするとよい。
Step 403) Further, the density pattern modulation unit 123
Δcb AB = α · Δcb A + (1-α) · Δcb B
Ask for. Δcb AB is a pixel value change using the RGB reference change amount A in the RGB reference change amount storage unit 325 at an area ratio α with respect to the pixels in the block, and an RGB reference change amount at the area ratio (1−α). This is the average Cb component change amount per pixel when the pixel value change is performed using the GB reference change amount B of the storage unit 325. As in the first embodiment, the set of RGB reference change amounts A and B is Δcb AB > 0 and sufficiently large (the pixel value change amount based on the strongest digital watermark embedding strength assumed in the digital watermark method) It means that the luminance change amounts Δy A and Δy B (which are caused by quantization rounding) are reduced by the RGB reference change amount A or B. It is good to do.

ステップ404) 次に、濃度パターン変調部123は、△cbABとブロック内平均変更量μ(△cb)の比β=μ(△cb)/△cbABを求める。 Step 404) Next, the concentration pattern modulation unit 123, △ cb AB average change amount and the block mu (△ cb) ratio beta = mu a (△ cb) / △ seek cb AB.

ステップ405) そして、ブロック内の画素数がk画素であるとして、ブロック内のβk個の画素を変更対象画素として選択する。選択の方法としてはランダムに選ぶ、あるいは、ブロック内画素位置に1…kのラベルを貼っておき、このうちβk番目までのラベルの張られた画素を選択するなど、様々な方法があり得る。   Step 405) Then, assuming that the number of pixels in the block is k pixels, βk pixels in the block are selected as change target pixels. As a selection method, there may be various methods such as selecting at random, or attaching 1 to k labels at pixel positions in the block, and selecting pixels labeled up to βk among these.

ステップ406) 次に、選択されたβk個の変更対象画素を、αβk個の画素のグループAと(1−α)βk個の画素のグループの2つに分割する。この分割の仕方についてもランダムに選ぶ、あるいは、予めブロック内画素位置に1…kのラベルを貼っておき、j番目の画素位置がグループAまたはグループBのどちらに属すかをマップしておき(ブロック内ではグループAの画素がαk個、グループBの画素が(1−α)k個となるようにしておく)、上記選択されたβk個の変更対象画素の各画素位置について、このマップを用いてグループAとグループBに分類するなど、様々な方法がありうる。   Step 406) Next, the selected βk change target pixels are divided into two groups, a group A of αβk pixels and a group of (1-α) βk pixels. This division method is also selected at random, or a label of 1... K is previously attached to the pixel position in the block, and whether the j-th pixel position belongs to group A or group B is mapped ( In this block, the number of pixels in group A is αk and the number of pixels in group B is (1−α) k), and this map is used for each of the selected βk change target pixels. There can be various methods such as grouping into group A and group B.

ステップ407) 次に、濃度パターン変調部123は、透かしパターンブロックの△R,△G,△Bの全画素を一旦ゼロクリアし、上記のステップ406で選択されたβk個の画素位置の△R,△G,△Bプレーンの画素値について、グループAに属するものは(△r,△g,△b)、すなわちRGB基準変更量Aとなるようにセットし、グループBに属するものは(△r,△g,△b)、すなわちRGB基準変更量Bとなるようにセットして、変更済み透かしパターンブロックとしてパターン再構成部124に出力する。 Step 407) Next, the density pattern modulation unit 123 once clears all the pixels of ΔR, ΔG, and ΔB of the watermark pattern block to zero, and ΔR, β at the βk pixel positions selected in Step 406 above. Regarding the pixel values of the ΔG and ΔB planes, those belonging to group A are set to be (Δr A , Δg A , Δb A ), that is, the RGB reference change amount A, and those belonging to group B are (Δr B , Δg B , Δb B ), that is, the RGB reference change amount B is set, and the changed watermark pattern block is output to the pattern reconstruction unit 124.

ステップ408) 上記の濃度パターン変調部123の処理を全ての透かしパターンブロックに対して施した場合にはステップ409に移行し、そうでない場合は、ステップ404に移行する。   Step 408) If the above-described processing of the density pattern modulation unit 123 is applied to all the watermark pattern blocks, the process proceeds to step 409, and if not, the process proceeds to step 404.

ステップ409) パターン再構成部124において、変更済み透かしパターンブロックを対応する元の透かしパターンブロックと置き換えて再構成して、変更済み透かしパターンを生成して出力する。   Step 409) The pattern reconstruction unit 124 reconstructs the changed watermark pattern block by replacing it with the corresponding original watermark pattern block, and generates and outputs a modified watermark pattern.

なお、図17に示すように、ブロック内画素数kに対してβk個の画素を変更箇所として各カラープレーン毎に選択し、更にグループAとグループBの分割も各カラープレーン毎に独立に行い、各カラープレーン毎にグループAの画素とグループBの画素を、RGB基準変更量記憶部325に格納されているRGB基準変更量AまたはBの対応する成分値を用いて設定するようにしてもよい。   As shown in FIG. 17, βk pixels for the number k of pixels in the block are selected as changed portions for each color plane, and group A and group B are divided independently for each color plane. The group A pixels and the group B pixels may be set for each color plane using the corresponding component values of the RGB reference change amount A or B stored in the RGB reference change amount storage unit 325. Good.

<第3の実施の形態の効果>
本実施の形態においては、最終的に電子透かし埋め込み装置が出力する画素値は(0,0,0)すなわち変更なしか、RGB基準変更量A=(△r,△g,△b)か、あるいはRGB基準変更量B=(△r,△g,△b)の三通りのいずれかである。さらに、上記のとおり、RGB基準変更量Aによる△yとRGB基準変更量Bによる△yは逆符号であるから、ブロック中にRGB基準変更量Aによる変更とRGB基準変更量Bによる変更が混在しているときには、画素毎ではなくブロックというマクロな視点で見れば輝度の増減が相殺される効果が得られる。本実施の形態のように、△yと△yの絶対値を用いた比αによってRGB基準変更量Aによる変更とRGB基準変更量Bによる変更の対象となる画素の面積比率を定めれば、マクロに見た際に輝度の増減は完全に相殺される。すなわち、従来問題であった、画質劣化の主要因である意図しない輝度成分の変更を(マクロに)ゼロにすることができ、電子透かし埋め込みによる画質劣化の低減に大きく寄与する。この点で本実施の形態は第1の実施の形態よりも優れたものとなっている。
<Effect of the third embodiment>
In this embodiment, the pixel value finally output from the digital watermark embedding apparatus is (0, 0, 0), that is, no change, but the RGB reference change amount A = (Δr A , Δg A , Δb A ) Or RGB reference change amount B = (Δr B , Δg B , Δb B ). Further, as described above, since according to the RGB reference change amount A △ by y A and RGB reference change amount B △ y B are opposite sign, change by changing the RGB reference change amount B by RGB reference change amount A during block When there is a mixture of brightness and brightness, an increase / decrease in luminance can be offset if viewed from a macro viewpoint, not a pixel but a block. As in the present embodiment, the ratio α of the absolute values of Δy A and Δy B determines the area ratio of the pixels to be changed by the RGB reference change amount A and the change by the RGB reference change amount B. For example, when viewed macroscopically, the increase or decrease in luminance is completely offset. That is, the change of the unintended luminance component, which is a main cause of the image quality degradation, which has been a problem in the past, can be made zero (macro), which greatly contributes to the reduction of image quality degradation due to digital watermark embedding. In this respect, the present embodiment is superior to the first embodiment.

また、RGB基準変更量Aによる△cbとRGB基準変更量Bに△cbが同じ符号であるから、透かしの埋め込みチャネルであるCb成分については相殺されない。すなわち確実に電子透かしを埋め込むことができる。 In addition, since Δcb B has the same sign as Δcb A by the RGB reference change amount A and RGB reference change amount B, the Cb component which is a watermark embedding channel is not canceled out. That is, a digital watermark can be reliably embedded.

さらに、第1の実施の形態と同様に、ブロック中の変更対象画素数によって透かしの埋め込みレベルを制御できるため、量子化による丸め誤差の問題を避け、従来技術よりも正確な値を埋め込み可能であり、きめ細かな制御も可能である。   Furthermore, as in the first embodiment, since the watermark embedding level can be controlled by the number of pixels to be changed in the block, the problem of rounding error due to quantization can be avoided, and a more accurate value than in the prior art can be embedded. Fine control is also possible.

[第4の実施の形態]
本実施の形態では、以下に説明する部分を除き第3の実施の形態と同様である。
[Fourth Embodiment]
This embodiment is the same as the third embodiment except for the parts described below.

図18は、本発明の第4の実施の形態における透かしパターン変更部の構成を示し、図19は、本発明の第4の実施の形態における透かしパターン変更部の処理のフローチャートである。   FIG. 18 shows the configuration of the watermark pattern changing unit in the fourth embodiment of the present invention, and FIG. 19 is a flowchart of the processing of the watermark pattern changing unit in the fourth embodiment of the present invention.

本実施の形態における透かしパターン変更部120においては、RGB変更量記憶部425に、RGB基準変更量AとRGB基準変更量Bの組を複数記憶する点において第3の実施の形態と異なる。   The watermark pattern changing unit 120 according to the present embodiment is different from the third embodiment in that a plurality of RGB reference change amounts A and RGB reference change amounts B are stored in the RGB change amount storage unit 425.

透かしパターン変更部120は、ブロック内平均変更量算出部122において各透かしパターンブロック中のCb成分の平均変更量を算出する処理(ステップ401〜404)までは第3の実施の形態と同様である。   The watermark pattern changing unit 120 is the same as that of the third embodiment until the process of calculating the average change amount of the Cb component in each watermark pattern block in the intra-block average change amount calculating unit 122 (steps 401 to 404). .

ステップ501) 濃度パターン変調部123において、ブロック内平均変更量算出部122で算出された平均変更量に依存して、RGB変更量記憶部425に複数記憶されているRGB基準変更量A/Bの組の中から一つの組を選択する処理を伴う部分が第3の実施の形態と異なる。図20に、RGB基準変更量の組の選択方法の例を示す。今、RGB基準変更量A/Bの組が(1)〜(n)まで、n個用意されているとする。また、各RGB基準変更量A/B(i)に対して、値xが対応付けられているとする。このとき、RGB基準変更量A/Bの添え字が大きくなるほど、画素値の変更に伴うCb成分の変更量が大きい、すなわち、透かしが強く埋め込まれるようにし、また、0<x<x<…<xとなるようにxを定めておく。また、各RGB基準変更量A/B(i)については、第3の実施の形態と同じように、輝度成分の変更量が逆符号であり、Cb成分の変更量が同符号であるものとする。また、RGB基準変更量A/Bの各々について、輝度変更量が少ないものが望ましい。入力されたCb成分の平均変更量の絶対値yを求め、yがxj−1<y≦xなる区間内の値であるときに、j番目のRGB基準変更量の組RGB基準変更量A/B(j)を選択する。図20の例では、入力された平均変更量(図中の黒丸)がx<y≦xであるので、RGB基準変更量A/B(2)が選択される。 Step 501) In the density pattern modulation unit 123, a plurality of RGB reference change amounts A / B stored in the RGB change amount storage unit 425 depending on the average change amount calculated by the intra-block average change amount calculation unit 122. The part accompanied by the process of selecting one set from the set is different from the third embodiment. FIG. 20 shows an example of a method for selecting a set of RGB reference change amounts. Assume that n sets of RGB reference change amounts A / B are prepared from (1) to (n). Further, it is assumed that a value x i is associated with each RGB reference change amount A / B (i). At this time, as the subscript of the RGB reference change amount A / B increases, the change amount of the Cb component accompanying the change of the pixel value increases, that is, the watermark is strongly embedded, and 0 <x 1 <x 2 <... <x i is determined so that x n is satisfied. In addition, for each RGB reference change amount A / B (i), the change amount of the luminance component has the opposite sign and the change amount of the Cb component has the same sign as in the third embodiment. To do. Further, it is desirable that each of the RGB reference change amounts A / B has a small luminance change amount. The absolute value y of the average change amount of the input Cb component is obtained, and when y is a value in a section where x j−1 <y ≦ x j , the set RGB reference change amount of the jth RGB reference change amount Select A / B (j). In the example of FIG. 20, since the input average change amount (black circle in the figure) is x 1 <y ≦ x 2 , the RGB reference change amount A / B (2) is selected.

このようにRGB基準変更量の組を一つ選択した後の処理は、第3の実施の形態と同じである。   Thus, the processing after selecting one set of RGB reference change amounts is the same as that of the third embodiment.

<第4の実施の形態の効果>
本実施の形態においては、第1の実施の形態に対する第2の実施の形態と同じ効果を、第3の実施の形態の効果に更に加えることができる。すなわち、第3の実施の形態の効果に加え、RGB基準変更量A/Bの組を透かしブロックパターン中の平均変更量の大きさに応じて段階的に選択しているので、視覚的劣化を抑え、かつきめ細かい強度の制御が可能となるといった効果を同時に得ることができる。
<Effect of the fourth embodiment>
In the present embodiment, the same effect as that of the second embodiment with respect to the first embodiment can be further added to the effect of the third embodiment. That is, in addition to the effects of the third embodiment, the RGB reference change amount A / B pair is selected stepwise according to the average change amount in the watermark block pattern, so that visual degradation is reduced. It is possible to simultaneously obtain the effect of suppressing and finely controlling the strength.

[第5の実施の形態]
本実施の形態では、前述の第1〜第4の実施の形態とは異なり、ブロック平均画素値に基づく透かしパターンだけではなく、図21に示すような任意の透かしパターンにも対応するものとする。例えば、文献Aのような電子透かし方法に適用可能である。
[Fifth Embodiment]
In the present embodiment, unlike the first to fourth embodiments, not only the watermark pattern based on the block average pixel value but also an arbitrary watermark pattern as shown in FIG. . For example, the present invention can be applied to a digital watermark method such as Document A.

図22は、本発明の第5の実施の形態における透かしパターン変更部の構成を示し、図23は、本発明の第5の実施の形態における透かしパターン変更部の処理のフローチャートである。   FIG. 22 shows the configuration of the watermark pattern changing unit in the fifth embodiment of the present invention, and FIG. 23 is a flowchart of the processing of the watermark pattern changing unit in the fifth embodiment of the present invention.

本実施の形態における透かしパターン変更部120は、透かしパターン階調変換部510、画素値マッピング部520、及び予め定められた1つ以上のRGB基準変更量を格納したRGB基準変更量記憶部501から構成される。透かしパターン変更部120は、透かしパターン生成部110からの透かしパターンを入力とし、変更済み透かしパターンを出力する。複数のRGB基準変更量は、前述の第1〜第4の実施の形態と同様に、Y成分変更量が少ないものを選ぶようにする。   The watermark pattern changing unit 120 according to the present embodiment includes a watermark pattern gradation converting unit 510, a pixel value mapping unit 520, and an RGB reference change amount storage unit 501 storing one or more predetermined RGB reference change amounts. Composed. The watermark pattern changing unit 120 receives the watermark pattern from the watermark pattern generating unit 110 and outputs the changed watermark pattern. As the plurality of RGB reference change amounts, the one having the small Y component change amount is selected as in the first to fourth embodiments.

ステップ601) 透かしパターン変更部120は、まず、透かしパターン階調変換部510において、入力された透かしパターンのCb成分変更量を擬似階調変換し、階調変換パレットパターンを得る。透かしパターン階調変換部510における擬似階調レベルについて、図24を用いて説明する。まず、予めRGB基準変更量記憶部501に格納されているn個のRGB基準変更量(i)(i=1…n)の各々について、Cb成分変更量△cbを式(1)を用いて求めておく。次に、透かしパターンの各画素値のCb成分変更量x(△R,△G,△Bに式(1)を適用して得られる、正負の値をとる)を、−△cb,0,△cb(i=i…n)の2n+1個の値を用いて量子化する写像を定義する。具体的には、図24のように、透かしパターンのCb、成分変更量xが正の場合、0≦x<△cb/2の場合は0に量子化し、△cb/2≦x<△cb+△cb/2の場合は、△cbに量子化し、…、 Step 601) The watermark pattern changing unit 120 first performs pseudo gradation conversion on the input Cb component change amount of the watermark pattern in the watermark pattern gradation converting unit 510 to obtain a gradation conversion palette pattern. The pseudo gradation level in the watermark pattern gradation conversion unit 510 will be described with reference to FIG. First, for each of the n RGB reference change amounts (i) (i = 1... N) stored in the RGB reference change amount storage unit 501 in advance, the Cb component change amount Δcb i is expressed by equation (1). And ask. Next, the Cb component change amount x of each pixel value of the watermark pattern (takes a positive or negative value obtained by applying Expression (1) to ΔR, ΔG, ΔB) is expressed as −Δcb i , 0. , Δcb i (i = i... N), 2n + 1 values are used to define a mapping to be quantized. Specifically, as shown in FIG. 24, when Cb of the watermark pattern, component change amount x is positive, 0 ≦ x <△ For cb 1/2 are quantized to 0, △ cb 1/2 ≦ x < △ in the case of cb 1 + △ cb 2/2 , and quantized to △ cb 1, ...,

の場合は、△cbに量子化し、…, Quantize to Δcb i , ...

の場合は、△cbに量子化する、といった手続きを行う。xが負の場合も同様にすればよい。このようにして、もともと実数値であった透かしパターンのCb成分変更量xを、2n+1レベルの離散的な値に写像する。このとき、−△cbを表すパレット番号を[−i],[0]を表すパレット番号を[0]、△cbを表すパレット番号を[i]とすれば、実数値xは[±i](i=0,…,n)の2n+1個のパレット情報に写像されることになる。 In the case of, the procedure of quantizing to Δcb n is performed. The same may be done when x is negative. In this way, the Cb component change amount x of the watermark pattern, which was originally a real value, is mapped to a discrete value of 2n + 1 levels. At this time, if the palette number representing -Δcb i is [-i], the palette number representing [0] is [0], and the palette number representing Δcb i is [i], the real value x is [± i] (i = 0,..., n) is mapped to 2n + 1 pieces of palette information.

この写像を用いて、透かしパターンの擬似階調変換を行って階調変換パレットパターンを生成する。具体的には図25に示すように、例えば、Floyd-Steinberg誤差拡散法を用いた擬似階調変換を行う。よく知られている2値化の場合と同様に、各画素のCb成分変更量について上記のような写像で量子化値に置き換え、置き換えによって生じた元のCb成分変更量との誤差を、未処理の近傍画素へ拡散する、という手続きによって、多値化誤差拡散を行うことができる。図25では、RGB基準変更量が1つ、すなわち、n=1の場合であるため、擬似階調表現は3値レベルで行われている。図23(B)の階調変換パレットパターン中の黒画素はパレット番号[−1]、すなわち−△Cbを、灰色画素は[0]、すなわち0を、白画像は[1]、すなわち△Cbを表している。本実施の形態では、Floyd-Steinberg誤差拡散法を用いたが、別の擬似階調表現方法、例えば、組織的ディザ法など任意のものを用いても良い。 Using the mapping, pseudo gradation conversion of the watermark pattern is performed to generate a gradation conversion palette pattern. Specifically, as shown in FIG. 25, for example, pseudo gradation conversion using the Floyd-Steinberg error diffusion method is performed. As in the case of well-known binarization, the Cb component change amount of each pixel is replaced with a quantized value by mapping as described above, and an error from the original Cb component change amount generated by the replacement is not changed. Multilevel error diffusion can be performed by the procedure of diffusing to the neighboring pixels of the process. In FIG. 25, since the RGB reference change amount is 1, that is, n = 1, the pseudo gradation expression is performed at the ternary level. Figure 23 (B) black pixels pallet number [-1] in the gradation conversion palette pattern in, that - the △ Cb 1, gray pixels [0], i.e. 0, white images [1], i.e. △ it represents the Cb 1. In this embodiment, the Floyd-Steinberg error diffusion method is used. However, another pseudo gradation expression method such as a systematic dither method may be used.

ステップ602) 次に、画像値マッピング部520において、階調変更パレットパターンの各パレット情報を用いて透かしパターンの各画素値を変更して、変更済み透かしパターンを出力する。図26を用いて画素値マッピング部520における処理を説明する。   Step 602) Next, the image value mapping unit 520 changes each pixel value of the watermark pattern using each palette information of the gradation change palette pattern, and outputs the changed watermark pattern. Processing in the pixel value mapping unit 520 will be described with reference to FIG.

階調変換パレットパターンの各要素値は、上記のようにRGB基準変化量(i)と対応付けられたパレット情報[i]となっている。そこで、画素値マッピング部520では、階調変換パレットパターンの各パレット情報に対応するRGB基準変更量を、対応する透かしパターンの画素値として設定することで、変更済み透かしパターンを生成する。このとき、パレット情報が負の場合は、上記のパレット情報とRGB基準変更量の対応付けに従って、パレット情報の絶対値│i│に対応するRGB基準変更量(│i│)=(△r,△g,△b)を用いて、透かしパターンの対応する画素値を(−△r,−△g,−△b)に設定するようにする。図26では、RGB基準変更量が一つの場合を示しているが、複数の場合も同様の手順で処理を行う。 Each element value of the gradation conversion palette pattern is palette information [i] associated with the RGB reference change amount (i) as described above. Therefore, the pixel value mapping unit 520 generates the changed watermark pattern by setting the RGB reference change amount corresponding to each palette information of the gradation conversion palette pattern as the pixel value of the corresponding watermark pattern. At this time, if the palette information is negative, the RGB reference change amount (| i |) = (Δr i ) corresponding to the absolute value | i | of the palette information according to the association between the palette information and the RGB reference change amount. , Δg i , Δb i ), the corresponding pixel value of the watermark pattern is set to (−Δr i , −Δg i , −Δb i ). FIG. 26 shows a case where there is only one RGB reference change amount, but processing is performed in the same procedure when there are a plurality of RGB reference change amounts.

<第5の実施の形態の効果>
本実施の形態においては、透かしパターンを擬似階調変換し、量子化された値をRGB基準変更量と対応付け、これに基づいて変更済み透かしパターンを得るため、第1〜第4の実施の形態のように、ブロックベースの処理の場合に生じるブロック歪を生じさせず、画質の改善が図れる。特に、図21に示したようなテクスチャ的な透かしパターンに適している。また、各RGB基準変更量はY成分の変更量が少ないものであるため、変更済み透かしパターンのY成分変更量も低く抑えられるため、画質の改善を図ることができる。また、擬似階調表現によって、透かしパターンの振幅レベルを細かく表現でき、画質劣化と耐性のトレードオフバランスの細かな制御が可能となる。
<Effect of Fifth Embodiment>
In the present embodiment, the watermark pattern is subjected to pseudo gradation conversion, the quantized value is associated with the RGB reference change amount, and based on this, the changed watermark pattern is obtained. As in the embodiment, the image quality can be improved without causing block distortion that occurs in the case of block-based processing. In particular, it is suitable for a textured watermark pattern as shown in FIG. Further, since each RGB reference change amount is a small change amount of the Y component, the Y component change amount of the changed watermark pattern can be suppressed to be low, so that the image quality can be improved. Further, the amplitude level of the watermark pattern can be expressed finely by the pseudo gradation expression, and fine control of the trade-off balance between image quality degradation and resistance can be performed.

[第6の実施の形態]
本実施の形態においては、以下に説明する点を除き、第5の実施の形態と同様である。
[Sixth Embodiment]
The present embodiment is the same as the fifth embodiment except for the points described below.

図27は、本発明の第6の実施の形態における透かしパターン変更部の構成を示し、図28は、本発明の第6の実施の形態における透かしパターン変更部の処理のフローチャートを示す。   FIG. 27 shows a configuration of a watermark pattern changing unit in the sixth embodiment of the present invention, and FIG. 28 shows a flowchart of processing of the watermark pattern changing unit in the sixth embodiment of the present invention.

本実施の形態における透かしパターン変更部120は、透かしパターン階調変換部510、画素値マッピング部520、及び、予め定められた1つ以上のRGB基準変更量AとRGB基準変更量Bの組を格納したRGB基準変更量記憶部502から構成される。透かしパターン変更部120は、透かしパターン生成部110からの透かしパターンを入力とし、変更済み透かしパターンを出力する。   The watermark pattern changing unit 120 in this embodiment includes a watermark pattern gradation converting unit 510, a pixel value mapping unit 520, and one or more predetermined pairs of RGB reference change amount A and RGB reference change amount B. The stored RGB reference change amount storage unit 502 is configured. The watermark pattern changing unit 120 receives the watermark pattern from the watermark pattern generating unit 110 and outputs the changed watermark pattern.

RGB基準変更量記憶部502は、第4の実施の形態などと同様に、RGB基準変更量A/Bの組が(1)〜(n)まで、n個用意されているとする。また、RGB基準変更量A/Bの添え字が大きくなるほど、画素値の変更に伴うCb成分の変更量が大きい。すなわち、透かしが強く埋め込まれるようにし、各組におけるAとBでは、輝度成分の変更量が逆符号であり、Cb成分の変更量が同符号であるものとする。   In the RGB reference change amount storage unit 502, it is assumed that n sets of RGB reference change amounts A / B from (1) to (n) are prepared as in the fourth embodiment. Further, the larger the subscript of the RGB reference change amount A / B, the larger the change amount of the Cb component accompanying the change of the pixel value. That is, it is assumed that the watermark is strongly embedded, and in A and B in each set, the change amount of the luminance component is the opposite sign and the change amount of the Cb component is the same sign.

ステップ701) 透かしパターン変更部120は、まず、透かしパターン階調変更部510において、入力された透かしパターンのCb成分変更量を擬似階調変換し、階調変換パレットパターンを得る。   Step 701) The watermark pattern changing unit 120 first performs pseudo gradation conversion on the input Cb component change amount of the watermark pattern in the watermark pattern gradation changing unit 510 to obtain a gradation conversion palette pattern.

透かしパターン階調変換部510における擬似階調ラベルについて、図24を用いて説明する。まず、RGB基準変更量記憶部502に格納されている予め定められたn個のRGB基準変更量A/B(i)(i=1…n)の各組について、RGB基準変更量A(i)が(△rAi,△gAi,△bAi)、RGB基準変更量B(i)が(△rBi,△gBi,△bBi)であったとき、RGB基準変更量A(i)によるY成分変更量△yAi及びRGB基準変更量B(i)によるY成分変更量△yBiを式(1)を用いて求めておき、両者の絶対値を用いて比の値αiを、
αi=│△yAi│/(│△yAi│+│△yBi│)
のようにして求めておく。
The pseudo gradation label in the watermark pattern gradation conversion unit 510 will be described with reference to FIG. First, for each set of n predetermined RGB reference change amounts A / B (i) (i = 1... N) stored in the RGB reference change amount storage unit 502, the RGB reference change amount A (i ) Is (Δr Ai , Δg Ai , Δb Ai ), and the RGB reference change amount B (i) is (Δr Bi , Δg Bi , Δb Bi ), the RGB reference change amount A (i ) Y component change amount Δy Ai and RGB reference change amount B (i) Y component change amount Δy Bi are obtained using equation (1), and the absolute value of both is used to determine the ratio value αi. ,
αi = │ △ y Ai │ / (│ △ y Ai │ + │ △ y Bi │)
Find it like this.

ステップ702) 次に、RGB基準変更量A(i)によるCb成分変更量△cbAiと、RGB基準変更量B(i)によるCb成分変更量△cbBiと、今求めたαを用いて、
△cb=α・△cbAi+(1−α)・△cbBiを求める。
Step 702) Next, using the Cb component change amount Δcb Ai based on the RGB reference change amount A (i), the Cb component change amount Δcb Bi based on the RGB reference change amount B (i), and the α i thus obtained. ,
Δcb i = α i · Δcb Ai + (1−α i ) · Δcb Bi is obtained.

ステップ703) これを用いて、第5の実施の形態と同様に階調変換パレットパターンを生成する。   Step 703) Using this, a gradation conversion palette pattern is generated as in the fifth embodiment.

ステップ704) 次に、画素値マッピング部520において、階調変換パレットパターンの各パレット情報を用いて透かしパターンの各画素値を変更して、変更済み透かしパターンを出力する。図29を用いて画素値マッピング部における処理を説明する。階調変換パレットパターンの各要素値は、RGB基準変更量A/B(i)と対応付けられたパレット情報[i]となっている。そこで、画素値マッピング部520では、階調変換パレットパターンの各パレット情報に対応するRGB基準変更量A/Bを用いて、変更済み透かしパターンを生成する。具体的には、上記の比αをRGB基準変更量A(i)が選ばれる確率、(1−α)をRGB基準変更量B(i)が選ばれる確率とみなして、パレット情報[i]の画素値を、この確率に従ってRGB基準変更量A(i)または、RGB基準変更量B(i)に設定する。これは、図29に示すように、同一のパレット情報を持つ画素領域を、面積比α:1−αにランダムにグループ分けすることに相当する。パレット情報が負の場合は、第5の実施の形態と同様にして、パレット情報の絶対値│i│に対応するRGB基準変更量A/B(│i│)を用いて、変更画素値を正負逆転させればよい。 Step 704) Next, the pixel value mapping unit 520 changes each pixel value of the watermark pattern using each palette information of the gradation conversion palette pattern, and outputs the changed watermark pattern. Processing in the pixel value mapping unit will be described with reference to FIG. Each element value of the gradation conversion palette pattern is palette information [i] associated with the RGB reference change amount A / B (i). Therefore, the pixel value mapping unit 520 generates a changed watermark pattern using the RGB reference change amount A / B corresponding to each palette information of the gradation conversion palette pattern. Specifically, the above-mentioned ratio α i is regarded as the probability that the RGB reference change amount A (i) is selected, and (1-α i ) is regarded as the probability that the RGB reference change amount B (i) is selected. The pixel value of i] is set to the RGB reference change amount A (i) or the RGB reference change amount B (i) according to this probability. As shown in FIG. 29, this corresponds to randomly grouping pixel regions having the same palette information into an area ratio α i : 1−α i . When the palette information is negative, the changed pixel value is set using the RGB reference change amount A / B (| i |) corresponding to the absolute value | i | of the palette information, as in the fifth embodiment. What is necessary is just to reverse positive / negative.

なお、上記の各実施の形態においては、Cb成分への電子透かし埋め込みについて説明したが、勿論Cr成分でもかまわない。さらに、HSV表示色におけるH成分やS成分などであってもかまわない(この場合はV(明度)成分がYcbCr成分におけるY相当であると考え、Vの変更量を抑えるように本発明を適用すればよい)。その他の表色系であっても同様に適用可能である。   In each of the above embodiments, the digital watermark embedding in the Cb component has been described, but it goes without saying that the Cr component may be used. Further, it may be an H component or S component in the HSV display color (in this case, the V (brightness) component is considered to be equivalent to Y in the YcbCr component, and the present invention is applied so as to suppress the change amount of V. do it). The same applies to other color systems.

また、本実施の形態において、原画像のデータフォーマットがRGB表色系に基づいている場合について説明したが、本発明はこれに限定されるものではない。すなわち、原画像データフォーマットが、例えばJPEGやMPEGなどのようにYCbCr表色系に基づくものであったり、あるいは、HSV表色系であっても適用可能である。また、本実施の形態においては、原画像のデータフォーマットがRGB表色系、電子透かし埋め込みをYCbCr表色系で行う場合を説明したが、第1,2,5の実施の形態のように濃度変調する場合は、これら2つの表色系が同じでもかまわない。さらに、第3,4,6の実施の形態のように特定色成分の変更量を相殺する場合では、原画像のデータフォーマットの表色系と電子透かし埋め込み対象色成分の表色系が異なっていれば、どのような組み合わせでも本発明が適用可能である。   In the present embodiment, the case where the data format of the original image is based on the RGB color system has been described, but the present invention is not limited to this. In other words, the present invention is applicable even if the original image data format is based on the YCbCr color system such as JPEG or MPEG, or the HSV color system. In the present embodiment, the case where the data format of the original image is the RGB color system and the digital watermark embedding is performed in the YCbCr color system has been described. However, as in the first, second, and fifth embodiments, the density has been described. When modulating, these two color systems may be the same. Further, when the change amount of the specific color component is canceled as in the third, fourth, and sixth embodiments, the color system of the original image data format and the color system of the digital watermark embedding target color component are different. Any combination is applicable to the present invention.

さらに、上記の各実施の形態では、静止画像への電子透かしについて説明したが、非特許文献1のような動画像への電子透かしを考えた場合は、動画像の各フレーム画像またはフィールド画像を静止画像とみなして本発明を適用すればよい。   Further, in each of the above-described embodiments, the digital watermark to the still image has been described. However, when considering the digital watermark to the moving image as in Non-Patent Document 1, each frame image or field image of the moving image is The present invention may be applied as a still image.

なお、上記の第1〜第6の実施の形態における電子透かし埋め込み装置の各構成要素の動作をプログラムとして構築し、電子透かし埋め込み装置として利用されるコンピュータにインストールして実行させる、または、ネットワークを介して流通させることが可能である。   The operation of each component of the digital watermark embedding device in the above first to sixth embodiments is constructed as a program, installed in a computer used as the digital watermark embedding device, and executed, or a network It is possible to circulate through.

また、構築されたプログラムをハードディスクや、フレキシブルディスク・CD−ROM等の可搬記憶媒体に格納し、電子透かし埋め込み装置として利用されるコンピュータにインストールする、または、配布することが可能である。   Further, the constructed program can be stored in a portable storage medium such as a hard disk, a flexible disk, or a CD-ROM, and can be installed or distributed in a computer used as a digital watermark embedding apparatus.

なお、本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において種々変更・応用が可能である。   The present invention is not limited to the above-described embodiment, and various modifications and applications can be made within the scope of the claims.

本発明は、コンテンツの著作権保護・管理システムや、コンテンツ関連サービス提供システム等に用いられる電子透かし技術に適用可能である。   The present invention can be applied to a digital watermark technique used in a content copyright protection / management system, a content-related service providing system, and the like.

本発明の原理構成図である。It is a principle block diagram of this invention. 本発明の原理を説明するための図である。It is a figure for demonstrating the principle of this invention. 本発明の実施の形態共通の電子透かし埋め込み装置の構成図である。It is a block diagram of the digital watermark embedding apparatus common to the embodiments of the present invention. 本発明の実施の形態共通の電子透かし埋め込み装置の処理のフローチャートである。It is a flowchart of a process of the digital watermark embedding apparatus common to the embodiments of the present invention. 本発明の説明に用いる電子透かし埋め込み方法を説明するための図である。It is a figure for demonstrating the digital watermark embedding method used for description of this invention. 本発明の説明に用いる電子透かし検出方法を説明するための図である。It is a figure for demonstrating the digital watermark detection method used for description of this invention. 本発明の第1の実施の形態における透かしパターン変更部の構成図である。It is a block diagram of the watermark pattern change part in the 1st Embodiment of this invention. 本発明の第1の実施の形態における透かしパターン変更部の処理のフローチャートである。It is a flowchart of the process of the watermark pattern change part in the 1st Embodiment of this invention. 本発明の第1の実施の形態における透かしパターン変更部の処理を説明するための図(その1)である。It is FIG. (1) for demonstrating the process of the watermark pattern change part in the 1st Embodiment of this invention. 本発明の第1の実施の形態における透かしパターン変更部の処理を説明するための図(その2)である。It is FIG. (2) for demonstrating the process of the watermark pattern change part in the 1st Embodiment of this invention. 本発明の第2の実施の形態における透かしパターン変更部の構成図である。It is a block diagram of the watermark pattern change part in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における透かしパターン変更部の処理のフローチャートである。It is a flowchart of the process of the watermark pattern change part in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における濃度パターン変調部のRGB基準変更量の選択処理を説明するための図である。It is a figure for demonstrating the selection process of the RGB reference | standard change amount of the density pattern modulation part in the 2nd Embodiment of this invention. 本発明の第3の実施の形態における透かしパターン変更部の構成図である。It is a block diagram of the watermark pattern change part in the 3rd Embodiment of this invention. 本発明の第3の実施の形態における透かしパターン変更部の処理のフローチャートである。It is a flowchart of the process of the watermark pattern change part in the 3rd Embodiment of this invention. 本発明の第3の実施の形態における透かしパターン変更部の処理を説明するための図(その1)である。It is FIG. (1) for demonstrating the process of the watermark pattern change part in the 3rd Embodiment of this invention. 本発明の第3の実施の形態における透かしパターン変更部の処理を説明するための図(その2)である。It is FIG. (2) for demonstrating the process of the watermark pattern change part in the 3rd Embodiment of this invention. 本発明の第4の実施の形態における透かしパターン変更部の構成図である。It is a block diagram of the watermark pattern change part in the 4th Embodiment of this invention. 本発明の第4の実施の形態における透かしパターン変更部の処理のフローチャートである。It is a flowchart of the process of the watermark pattern change part in the 4th Embodiment of this invention. 本発明の第4の実施の形態における濃度パターン変調部のRGB基準変更量の選択処理を説明するための図である。It is a figure for demonstrating the selection process of the RGB reference | standard change amount of the density pattern modulation part in the 4th Embodiment of this invention. 本発明の第5の実施の形態を適用する透かしパターンの例である。It is an example of the watermark pattern to which the 5th Embodiment of this invention is applied. 本発明の第5の実施の形態における透かしパターン変更部の構成図である。It is a block diagram of the watermark pattern change part in the 5th Embodiment of this invention. 本発明の第5の実施の形態における透かしパターン変更部の処理のフローチャートである。It is a flowchart of the process of the watermark pattern change part in the 5th Embodiment of this invention. 本発明の第5の実施の形態における透かしパターン階調変換部の処理を説明するための図(その1)である。It is FIG. (1) for demonstrating the process of the watermark pattern gradation conversion part in the 5th Embodiment of this invention. 本発明の第5の実施の形態における透かしパターン階調変換部の処理を説明するための図(その2)である。It is FIG. (2) for demonstrating the process of the watermark pattern gradation conversion part in the 5th Embodiment of this invention. 本発明の第5の実施の形態における画素値マッピング部の処理を説明するための図である。It is a figure for demonstrating the process of the pixel value mapping part in the 5th Embodiment of this invention. 本発明の第6の実施の形態における透かしパターン変更部の構成図である。It is a block diagram of the watermark pattern change part in the 6th Embodiment of this invention. 本発明の第6の実施の形態における透かしパターン変更部の処理のフローチャートである。It is a flowchart of the process of the watermark pattern change part in the 6th Embodiment of this invention. 本発明の第6の実施の形態における画素値マッピング部の処理を説明するための図である。It is a figure for demonstrating the process of the pixel value mapping part in the 6th Embodiment of this invention.

符号の説明Explanation of symbols

100 電子透かし埋め込み装置
110 透かしパターン生成手段、透かしパターン生成部
120 透かしパターン変更手段、透かしパターン変更部
121 透かしパターンブロック分割部
122 ブロック内平均変更量算出部
123 濃度パターン変調部
124 パターン再構成部
125 基準変更量記憶手段、RGB基準変更量記憶部
130 透かしパターン重畳手段、透かしパターン重畳部
225 RGB基準変更量記憶部
325 RGB基準変更量記憶部
425 RGB基準変更量記憶部
501 RGB基準変更量記憶部
502 RGB基準変更量記憶部
510 透かしパターン階調変換部
520 画素値マッピング部
DESCRIPTION OF SYMBOLS 100 Digital watermark embedding apparatus 110 Watermark pattern production | generation means, Watermark pattern production | generation part 120 Watermark pattern change means, Watermark pattern change part 121 Watermark pattern block division | segmentation part 122 Block average change amount calculation part 123 Density pattern modulation part 124 Pattern reconstruction part 125 Reference change amount storage means, RGB reference change amount storage section 130 Watermark pattern superimposing means, watermark pattern superposition section 225 RGB reference change amount storage section 325 RGB reference change amount storage section 425 RGB reference change amount storage section 501 RGB reference change amount storage section 502 RGB reference change amount storage unit 510 Watermark pattern gradation conversion unit 520 Pixel value mapping unit

Claims (10)

カラー画像に電子透かしを埋め込む電子透かし埋め込み装置であって、
原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段と、
原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成手段と、
前記基準変更量記憶手段の基準変更量を参照して、前記透かしパターンの前記原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分の誤差が小さくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更手段と、
前記変更済み透かしパターンを前記原画像に重畳して透かし入り画像を出力する透かしパターン重畳手段と、
を有することを特徴とする電子透かし埋め込み装置。
An electronic watermark embedding device for embedding an electronic watermark in a color image,
Reference change amount storage means for storing a reference change amount for each color component of the color system used in the data format of the original image;
When an original image and watermark information are input, a watermark pattern generating means for generating a watermark pattern representing a change amount of a pixel value given to the original image by embedding the watermark information in the original image with the watermark,
With reference to the reference change amount of the reference change amount storage means, the watermark pattern is changed so that the error of the watermark embedding target color component due to quantization generated when the watermark pattern is superimposed on the original image is reduced. Watermark pattern changing means for generating a changed watermark pattern
Watermark pattern superimposing means for superimposing the changed watermark pattern on the original image and outputting a watermarked image;
A digital watermark embedding apparatus comprising:
カラー画像に電子透かしを埋め込む電子透かし埋め込み装置であって、
原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段と、
原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成手段と、
前記基準変更量記憶手段の基準変更量を参照して、前記透かしパターンの前記原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分以外の色成分の変更量が少なくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更手段と、
前記変更済み透かしパターンを前記原画像に重畳して透かし入り画像を出力する透かしパターン重畳手段と、
を有することを特徴とする電子透かし埋め込み装置。
An electronic watermark embedding device for embedding an electronic watermark in a color image,
Reference change amount storage means for storing a reference change amount for each color component of the color system used in the data format of the original image;
When an original image and watermark information are input, a watermark pattern generating unit that generates a watermark pattern representing a change amount of a pixel value given to the original image by embedding the watermark information into the original image, and
With reference to the reference change amount of the reference change amount storage means, the change amount of the color components other than the watermark embedding target color component due to quantization generated when the watermark pattern is superimposed on the original image is reduced. Watermark pattern changing means for generating a changed watermark pattern by changing the watermark pattern;
Watermark pattern superimposing means for superimposing the changed watermark pattern on the original image and outputting a watermarked image;
A digital watermark embedding apparatus comprising:
前記透かしパターン変更手段は、
前記透かしパターンを所与のサイズのブロックに分割して透かしパターンブロック群を生成するパターンブロック分割手段と、
前記各透かしパターンブロック中の埋め込み対象色成分の平均値である平均変更量を算出するブロック内平均変更量算出手段と、
前記平均変更量と、埋め込み対象色成分以外の色成分の値が小さい、前記基準変更量記憶手段に格納された基準変更量の埋め込み対象色成分値との比を算出し、算出された該比の値に基づいて前記各透かしパターンブロックの画素値を、該基準変更量を用いて濃度変調して変更済み透かしパターンブロック群を生成する濃度パターン変調手段と、
前記変更済み透かしパターンブロック群を再構成して前記変更済み透かしパターンを出力するパターン再構成手段と、
を有する請求項1または2記載の電子透かし埋め込み装置。
The watermark pattern changing means includes
Pattern block dividing means for dividing the watermark pattern into blocks of a given size to generate a watermark pattern block group;
An in-block average change amount calculating means for calculating an average change amount that is an average value of the embedding target color components in each watermark pattern block;
The ratio between the average change amount and the embedding target color component value of the reference change amount stored in the reference change amount storage means in which the value of the color component other than the embedding target color component is small is calculated, and the calculated ratio Density pattern modulation means for generating a modified watermark pattern block group by performing density modulation on the pixel value of each watermark pattern block using the reference change amount based on the value of
Pattern reconstruction means for reconstructing the modified watermark pattern block group and outputting the modified watermark pattern;
The digital watermark embedding apparatus according to claim 1, comprising:
前記濃度パターン変調手段は、
前記平均変更量の値に基づいて、前記基準変更量記憶手段を参照して、埋め込み対象色成分以外の色成分の値が小さい所与の複数の基準変更量から一つを選択する手段と、
前記平均変更量と選択された基準変更量の埋め込み対象色成分値との比を算出する手段と、
算出された前記比の値に基づいて、前記各透かしパターンブロックの画素値を前記選択された基準変更量を用いて濃度変調して変更済み透かしパターンブロック群を生成する手段と、
を含む請求項3記載の電子透かし埋め込み装置。
The density pattern modulating means includes
Based on the value of the average change amount, referring to the reference change amount storage unit, means for selecting one of a plurality of reference change amounts having small values of color components other than the embedding target color component;
Means for calculating a ratio between the average change amount and the embedding target color component value of the selected reference change amount;
Means for generating a modified watermark pattern block group by density-modulating the pixel value of each watermark pattern block using the selected reference change amount based on the calculated ratio value;
4. The digital watermark embedding apparatus according to claim 3.
前記基準変更量記憶手段は、
埋め込み対象色成分の値が同符号でかつ埋め込み対象色成分以外の色成分の値が逆符号である所与の基準変更量Aと基準変更量Bの組を格納し、
前記透かしパターン変更手段は、
前記透かしパターンを所与のサイズのブロックに分割して透かしパターンブロック群を生成する透かしパターンブロック分割手段と、
前記各透かしパターンブロック中の埋め込み対象色成分の平均値である平均変更量を算出するブロック内平均変更量算出手段と、
前記基準変更量記憶手段を参照して、前記基準変更量Aと前記基準変更量Bの各埋め込み対象色成分値の絶対値の比αを算出し、前記透かしパターンブロックと同じサイズの画素領域を面積比α:(1−α)で該基準変更量Aと該基準変更量Bに設定した場合の画素領域中の1画素当たりの埋め込み対象成分値を求め、
前記平均変更量と、前記1画素当たりの埋め込み対象成分値との比を参照し、該比の値に基づいて前記各透かしパターンブロック中の変更対象画素群を選択し、
選択された変更対象画素群を画素数比α:(1−α)でグループA及びグループBの画素グループに分割し、
前記グループAの画素の画素値を前記基準変更量Aに、前記グループBの画素の画素値を前記基準変更量Bに設定し、それ以外の画素値を0に設定して変更済み透かしパターンブロック群を生成する濃度パターン変調手段と、
前記変更済み透かしパターンブロック群を再構成して変更済み透かしパターンを出力するパターン再構成手段と、
を有する請求項1または2記載の電子透かし埋め込み装置。
The reference change amount storage means includes
Storing a set of a given reference change amount A and a reference change amount B in which the value of the embedding target color component has the same sign and the value of the color component other than the embedding target color component has the opposite sign;
The watermark pattern changing means includes
Watermark pattern block dividing means for dividing the watermark pattern into blocks of a given size to generate a watermark pattern block group;
An in-block average change amount calculating means for calculating an average change amount that is an average value of the embedding target color components in each watermark pattern block;
Referring to the reference change amount storage means, the ratio α of the absolute values of the embedding target color component values of the reference change amount A and the reference change amount B is calculated, and a pixel region having the same size as the watermark pattern block is calculated. An embedding target component value per pixel in the pixel area when the reference change amount A and the reference change amount B are set at an area ratio α: (1−α) is obtained,
Referencing the ratio between the average change amount and the embedding target component value per pixel, and selecting a change target pixel group in each watermark pattern block based on the ratio value;
The selected pixel group to be changed is divided into pixel groups of group A and group B with a pixel number ratio α: (1-α),
The pixel value of the group A pixel is set to the reference change amount A, the pixel value of the group B pixel is set to the reference change amount B, and other pixel values are set to 0 to change the watermark pattern block A density pattern modulating means for generating a group;
Pattern reconstructing means for reconstructing the modified watermark pattern block group and outputting a modified watermark pattern;
The digital watermark embedding apparatus according to claim 1, comprising:
前記基準変更量記憶手段は、
埋め込み対象色成分の値が同符号でかつ埋め込み対象色成分以外の色成分の値が逆符号である所与の基準変更量Aと基準変更量Bの組を複数格納し
前記濃度パターン変調手段は、
前記基準変更量記憶手段を参照して、各組における該基準変更量Aと該基準変更量Bの各埋め込み対象色成分値の絶対値の比αを算出し、前記透かしパターンブロックと同じサイズの画素領域を面積比α:(1−α)で該基準変更量Aと該基準変更量Bに設定した場合の画素領域中の1画素あたりの埋め込み対象成分値を各組について求める手段と、
前記平均変更量に各組の該1画素あたりの埋め込み対象成分値の値に基づいて、前記基準変更量記憶手段の基準変更量Aと基準変更量Bの組を一つ選択する手段と、
前記平均変更量と前記選択された該1画素当たりの埋め込み対象成分値との比を算出する手段と、
算出された前記比の値に基づいて前記各透かしパターンブロック中の変更対象画素群を選択する手段と、
変更対象画素群を前記選択された組における比αを用いて画素数比α:(1−α)でグループA及びグループBの画素グループに分割する手段と、
前記グループAの画素の画素値を前記選択された基準変更量Aに、前記グループBの画素の画素値を前記選択された基準変更量Bに設定し、それ以外の画素値を0に設定して変更済み透かしパターンブロック群を生成する手段と、
を含む請求項5記載の電子透かし埋め込み装置。
The reference change amount storage means includes
A plurality of sets of a given reference change amount A and a reference change amount B in which values of embedding target color components have the same sign and values of color components other than the embedding target color component have opposite signs; ,
Referring to the reference change amount storage means, calculates a ratio α of absolute values of the embedding target color component values of the reference change amount A and the reference change amount B in each set, and has the same size as the watermark pattern block Means for obtaining for each set an embedding target component value per pixel in the pixel area when the pixel area is set to the reference change amount A and the reference change amount B at an area ratio α: (1−α);
Means for selecting one set of reference change amount A and reference change amount B of the reference change amount storage means based on the value of the embedding target component value per pixel of each set for the average change amount;
Means for calculating a ratio between the average change amount and the selected embedding target component value per pixel;
Means for selecting a pixel group to be changed in each watermark pattern block based on the calculated ratio value;
Means for dividing the pixel group to be changed into pixel groups of group A and group B with a pixel number ratio α: (1-α) using the ratio α in the selected set;
The pixel value of the group A pixel is set to the selected reference change amount A, the pixel value of the group B pixel is set to the selected reference change amount B, and the other pixel values are set to 0. Means for generating a modified watermark pattern block group,
The digital watermark embedding apparatus according to claim 5.
前記透かしパターン変更手段は、
前記基準変更量記憶手段を参照して、埋め込み対象色成分以外の色成分の値が小さい所与の一つ以上の基準変更量の埋め込み対象色成分値を用いて、前記透かしパターンを擬似階調を変換して階調変換パレットパターンを生成する手段と、
前記透かしパターンの各画素に対応する前記階調変換されたパレットパターンの要素値であるパレット情報に基づいて、前記基準変更量記憶手段の基準変更量を選択し、選択された基準変更量に基づいて透かしパターンの画素値を設定して変更済み透かしパターンを出力する手段と、
を有する請求項1または2記載の電子透かし埋め込み装置。
The watermark pattern changing means includes
With reference to the reference change amount storage means, the watermark pattern is converted into a pseudo gradation using one or more reference change amount embedding target color component values whose color component values other than the embedding target color component are small. Generating a gradation conversion palette pattern by converting
Based on palette information which is an element value of the palette pattern after gradation conversion corresponding to each pixel of the watermark pattern, a reference change amount of the reference change amount storage means is selected, and based on the selected reference change amount Means for setting the pixel value of the watermark pattern and outputting the changed watermark pattern;
The digital watermark embedding apparatus according to claim 1, comprising:
前記基準変更量記憶手段は、
埋め込み対象色成分の値が同符号でかつ埋め込み対象色成分以外の色成分の値が逆符号である所与の基準変更量Aと基準変更量Bの組を複数格納し、
前記透かしパターン変更手段は、
前記基準変更量記憶手段の各組における前記基準変更量Aと前記基準変更量Bの各埋め込み対象色成分値の絶対値の比αを算出し、前記透かしパターンブロックと同じサイズの画素領域を面積比α:(1−α)で該基準変更量Aと該基準変更量Bに設定した場合の画素領域中の1画素あたりの埋め込み対象成分値を各組について求め、
前記各組の1画素あたりの埋め込み対象成分値を用いて、前記透かしパターンを擬似階調変換して、階調変換パレットパターンを生成する透かしパターン階調変換手段と、
前記透かしパターンの各画素に対応する前記階調変換パレットパターンの要素値であるパレット情報に基づいて、前記基準変更量記憶手段の基準変更量の組を選択し、
選択された基準変更量の組のいずれか一方を確率αで、他方を確率1−αで選択し、選択された基準変更量の値に基づいて透かしパターンの画素値を設定して変更済み透かしパターンを出力する画素値マッピング手段と、
を有する請求項1または2記載の電子透かし埋め込み装置。
The reference change amount storage means includes
Storing a plurality of sets of given reference change amount A and reference change amount B in which the value of the embedding target color component is the same sign and the value of the color component other than the embedding target color component is the opposite sign;
The watermark pattern changing means includes
A ratio α of absolute values of embedding target color component values of the reference change amount A and the reference change amount B in each set of the reference change amount storage means is calculated, and an area of a pixel region having the same size as the watermark pattern block is calculated. The component value to be embedded per pixel in the pixel area when the reference change amount A and the reference change amount B are set at a ratio α: (1−α) is obtained for each set,
Watermark pattern gradation conversion means for generating a gradation conversion palette pattern by performing pseudo gradation conversion on the watermark pattern using the embedding target component value per pixel of each set;
Based on palette information that is an element value of the gradation conversion palette pattern corresponding to each pixel of the watermark pattern, a set of reference change amounts of the reference change amount storage means is selected,
One of the selected reference change amount sets is selected with probability α and the other is selected with probability 1-α, and the watermark value is changed by setting the pixel value of the watermark pattern based on the selected reference change amount value. Pixel value mapping means for outputting a pattern;
The digital watermark embedding apparatus according to claim 1, comprising:
カラー画像に電子透かしを埋め込む電子透かし埋め込み方法であって、
透かしパターン生成手段において、原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成ステップと、
透かしパターン変更手段において、原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段を参照して、前記透かしパターンの前記原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分の誤差が小さくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更ステップと、
透かしパターン重畳手段において、前記変更済み透かしパターンを前記原画像に重畳して透かし入り画像を出力する透かしパターン重畳ステップと、
を行うことを特徴とする電子透かし埋め込み方法。
An electronic watermark embedding method for embedding an electronic watermark in a color image,
When an original image and watermark information are input in the watermark pattern generation means, a watermark pattern that generates a watermark pattern representing the amount of change in pixel value given to the original image by embedding the watermark information in the original image Generation step;
In the watermark pattern changing means, with reference to the reference change amount storage means for storing the reference change amount for each color component of the color system used in the data format of the original image, when the watermark pattern is superimposed on the original image A watermark pattern changing step for generating a changed watermark pattern by changing the watermark pattern so that an error of a watermark embedding target color component caused by quantization is reduced;
In a watermark pattern superimposing unit, a watermark pattern superimposing step of superimposing the changed watermark pattern on the original image and outputting a watermarked image;
An electronic watermark embedding method comprising:
カラー画像に電子透かしを埋め込む電子透かし埋め込み方法であって、
透かしパターン生成手段において、原画像と透かし情報が入力されると、該透かし情報の該原画像への電子透かし埋め込みによって該原画像に与えられる画素値の変更量を表す透かしパターンを生成する透かしパターン生成ステップと、
透かしパターン変更手段において、原画像のデータフォーマットで用いられる表色系の各色成分に対する基準変更量を格納する基準変更量記憶手段を参照して、前記透かしパターンの前記原画像への重畳の際に生じる量子化による透かし埋め込み対象色成分以外の色成分の変更量が少なくなるように該透かしパターンを変更して変更済み透かしパターンを生成する透かしパターン変更ステップと、
透かしパターン重畳手段において、前記変更済み透かしパターンを前記原画像に重畳して透かし入り画像を出力する透かしパターン重畳ステップと、
を行うことを特徴とする電子透かし埋め込み方法。
An electronic watermark embedding method for embedding an electronic watermark in a color image,
When an original image and watermark information are input in the watermark pattern generation means, a watermark pattern that generates a watermark pattern representing the amount of change in pixel value given to the original image by embedding the watermark information in the original image Generation step;
In the watermark pattern changing means, with reference to the reference change amount storage means for storing the reference change amount for each color component of the color system used in the data format of the original image, when the watermark pattern is superimposed on the original image A watermark pattern changing step for generating a changed watermark pattern by changing the watermark pattern so that a change amount of a color component other than a watermark embedding target color component by the generated quantization is reduced;
In a watermark pattern superimposing unit, a watermark pattern superimposing step of superimposing the changed watermark pattern on the original image and outputting a watermarked image;
An electronic watermark embedding method comprising:
JP2006188011A 2006-07-07 2006-07-07 Digital watermark embedding apparatus and method Active JP4205737B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006188011A JP4205737B2 (en) 2006-07-07 2006-07-07 Digital watermark embedding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006188011A JP4205737B2 (en) 2006-07-07 2006-07-07 Digital watermark embedding apparatus and method

Publications (2)

Publication Number Publication Date
JP2008017289A true JP2008017289A (en) 2008-01-24
JP4205737B2 JP4205737B2 (en) 2009-01-07

Family

ID=39073889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006188011A Active JP4205737B2 (en) 2006-07-07 2006-07-07 Digital watermark embedding apparatus and method

Country Status (1)

Country Link
JP (1) JP4205737B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323769A (en) * 2011-07-07 2012-01-18 深圳市智宇实业发展有限公司 The standardized tabular generation method of direct digital control system
JP2012022059A (en) * 2010-07-13 2012-02-02 Mutech Trail Co Ltd Device, method and program for outputting confidential information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012022059A (en) * 2010-07-13 2012-02-02 Mutech Trail Co Ltd Device, method and program for outputting confidential information
CN102323769A (en) * 2011-07-07 2012-01-18 深圳市智宇实业发展有限公司 The standardized tabular generation method of direct digital control system

Also Published As

Publication number Publication date
JP4205737B2 (en) 2009-01-07

Similar Documents

Publication Publication Date Title
TWI729377B (en) Methods for mapping images from a first dynamic range to a second dynamic range
US9501818B2 (en) Local multiscale tone-mapping operator
Luo et al. Reversible data hiding based on block median preservation
US8363889B2 (en) Image data processing systems for hiding secret information and data hiding methods using the same
CN101371583B (en) Method and device of high dynamic range coding / decoding
US7630512B2 (en) Method for performing recoverable video and image watermarking which survives block-based video and image compression
KR20190100416A (en) Tone Curve Mapping for High Dynamic Range Images
EP1519311A1 (en) Average chrominance value modification for digital video watermarking
CN105993175B (en) For having the segmentation inter-layer prediction of the signal of enhancing dynamic range
Leung et al. Adaptive reversible data hiding based on block median preservation and modification of prediction errors
US7646881B2 (en) Watermarking scheme for digital video
CN110192223B (en) Display mapping of high dynamic range images
KR20050031438A (en) Color selection scheme for digital video watermarking
KR102385726B1 (en) Method and apparatus for encoding/decoding a high dynamic range picture into a coded bitstream
US20190289329A1 (en) Apparatus and a method for 3d video coding
CN106412595B (en) Method and apparatus for encoding high dynamic range frames and applied low dynamic range frames
JP2022504213A (en) Reduction of banding artifacts in backwards compatible HDR imaging
Fallahpour et al. Subjectively adapted high capacity lossless image data hiding based on prediction errors
Mukherjee et al. Adaptive dithering using Curved Markov-Gaussian noise in the quantized domain for mapping SDR to HDR image
Perez-Daniel et al. Watermarking of HDR images in the spatial domain with HVS-imperceptibility
JP4205737B2 (en) Digital watermark embedding apparatus and method
Lauga et al. Segmentation-based optimized tone mapping for high dynamic range image and video coding
EP1382192A1 (en) Hardcopy watermarking
US20070104349A1 (en) Tally image generating method and device, tally image generating program, and confidential image decoding method
JP2009253854A (en) Method, device, and program of embedding digital watermark, and computer readable recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080917

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081014

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081016

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4205737

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121024

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121024

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131024

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350