JP2008067233A - Digital-watermarking embedding method, program, and computer-readable recording medium - Google Patents

Digital-watermarking embedding method, program, and computer-readable recording medium Download PDF

Info

Publication number
JP2008067233A
JP2008067233A JP2006244822A JP2006244822A JP2008067233A JP 2008067233 A JP2008067233 A JP 2008067233A JP 2006244822 A JP2006244822 A JP 2006244822A JP 2006244822 A JP2006244822 A JP 2006244822A JP 2008067233 A JP2008067233 A JP 2008067233A
Authority
JP
Japan
Prior art keywords
information
digital watermark
color system
image data
rgb
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006244822A
Other languages
Japanese (ja)
Inventor
To O
涛 王
Hitoshi Ryu
整 劉
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.)
C4 Technology Inc
Original Assignee
C4 Technology Inc
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 C4 Technology Inc filed Critical C4 Technology Inc
Priority to JP2006244822A priority Critical patent/JP2008067233A/en
Publication of JP2008067233A publication Critical patent/JP2008067233A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To suppress deterioration in image quality while suppressing the occurrence of noise when embedding digital-watermarking information into a color image. <P>SOLUTION: A digital-watermarking embedding method includes: a first step, in which luminance information Y in a YUV color system is generated on the basis of red information R, green information G, and blue information B of image data of an original image in an RGB color system; a second step, in which the digital-watermarking information is embedded into the luminance information Y generated in the first step so as to generate luminance information Y' being the luminance information Y embedded with the digital watermarking information; and a third step for generating image data in the RGB color system, in which the digital-watermarking information is embedded into the original image, on the basis of the luminance information Y generated in the first step, the luminance information Y' generated in the second step, and the red information R, green information G, and blue information B of the RGB color system of the original image. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電子透かし埋め込み方法、プログラムおよびコンピュータ読み取り可能な記録媒体に関し、さらに詳細には、カラー画像に電子透かし情報を埋め込むようにした電子透かし埋め込み方法、プログラムおよびコンピュータ読み取り可能な記録媒体に関する。   The present invention relates to an electronic watermark embedding method, a program, and a computer-readable recording medium. More particularly, the present invention relates to an electronic watermark embedding method, a program, and a computer-readable recording medium in which electronic watermark information is embedded in a color image.

近年、コンピュータネットワークの発展に伴い、画像データや音声データなどのような電子データの著作権侵害が問題となってきている。   In recent years, with the development of computer networks, copyright infringement of electronic data such as image data and audio data has become a problem.

こうした電子データの著作権侵害に対抗して電子データの著作権を保護する手段として、例えば、電子データに電子透かし情報を埋め込む電子透かし埋め込み技術が種々開発されてきている。   As means for protecting the copyright of electronic data against such copyright infringement of electronic data, for example, various digital watermark embedding techniques for embedding digital watermark information in electronic data have been developed.

ここで、電子透かし(以下、電子透かしを、単に「透かし」と適宜に称することとする。)埋め込み技術とは、画像データや音声データといった電子データに、その冗長性を利用して他の情報を埋め込む技術であり、一般に、画像データや音声データといった電子データに埋め込まれた他の情報を「電子透かし情報(透かし情報)」あるいは単に「電子透かし(透かし)」と称している。   Here, a digital watermark (hereinafter, digital watermark is simply referred to as “watermark” as appropriate) is a technique for embedding electronic data, such as image data and audio data, by utilizing the redundancy of other information. In general, other information embedded in electronic data such as image data and audio data is referred to as “digital watermark information (watermark information)” or simply “digital watermark (watermark)”.


従来、カラー画像に電子透かし情報を埋め込む電子透かし埋め込み技術としては、JPEGやMPEGなどの圧縮技術に用いられるYUV(Y:輝度情報、U:青色成分色差情報、V:赤色成分色差情報)表色系で示されたカラー画像の輝度情報Yに、電子透かし情報を埋め込むという手法が知られている。

Conventionally, as a digital watermark embedding technique for embedding digital watermark information in a color image, YUV (Y: luminance information, U: blue component color difference information, V: red component color difference information) color used for compression techniques such as JPEG and MPEG A technique of embedding digital watermark information in luminance information Y of a color image shown in the system is known.

一方、パーソナルコンピュータを用いてディスプレイへカラー画像を表示するには、RGB(R:赤色情報、G:緑色情報、B:青色情報)表色系で表現された画像データが用いられる。   On the other hand, in order to display a color image on a display using a personal computer, image data expressed in an RGB (R: red information, G: green information, B: blue information) color system is used.

このため、パーソナルコンピュータのディスプレイに表示可能なRGB表色系で表現された画像データに電子透かし情報を埋め込むためには、図1に示すような処理を行うことになる。   For this reason, in order to embed digital watermark information in image data expressed in the RGB color system that can be displayed on the display of a personal computer, processing as shown in FIG. 1 is performed.

即ち、RGB表色系で表現された元画像の画像データを、YUV表色系で表現される画像データに変換し(RGB→YUV変換処理)、元画像の輝度情報Yと青色成分色差情報Uと赤色成分色差情報Vとを得る。それから、上記RGB→YUV変換処理により得られたYUV表色系で表現された画像データの輝度情報Yに電子透かし情報を埋め込んで(電子透かし情報埋め込み処理)、電子透かし情報を埋め込まれた輝度情報Yたる輝度情報Y’を生成する。その後に、輝度情報Y’と青色成分色差情報Uと赤色成分色差情報Vとよりなる画像データを、RGB表色系で表現される画像データに変換し(YUV→RGB変換処理)、電子透かし情報が埋め込まれた赤色情報R、緑色情報Gおよび青色情報Bたる赤色情報R’、緑色情報G’および青色情報B’よりなるRGB表色系で表現される画像データを得るものである。この赤色情報R’、緑色情報G’および青色情報B’よりなるRGB表色系で表現された画像データが、元画像に電子透かし情報が埋め込まれた画像を表すものとなる。   That is, the image data of the original image expressed in the RGB color system is converted into image data expressed in the YUV color system (RGB → YUV conversion process), and the luminance information Y and the blue component color difference information U of the original image are converted. And red component color difference information V are obtained. Then, the digital watermark information is embedded in the luminance information Y of the image data expressed in the YUV color system obtained by the RGB → YUV conversion process (digital watermark information embedding process), and the luminance information is embedded with the digital watermark information. Luminance information Y ′ as Y is generated. After that, the image data composed of the luminance information Y ′, the blue component color difference information U, and the red component color difference information V is converted into image data expressed in the RGB color system (YUV → RGB conversion processing), and the electronic watermark information The image data expressed by the RGB color system composed of red information R, green information G and blue information B, red information R ′, green information G ′ and blue information B ′ embedded therein. The image data expressed in the RGB color system composed of the red information R ′, the green information G ′, and the blue information B ′ represents an image in which digital watermark information is embedded in the original image.

ここで、RGB表色系の赤色情報R、緑色情報Gおよび青色情報BとYUV表色系の輝度情報Y、青色成分色差情報Uおよび赤色成分色差情報Vとは、記憶装置の容量の消費量を低くするために、いずれも0〜255までの整数で表現されるものであるが、図2(a)にRGB表色系をYUV表色系へ変換するRGB→YUV変換処理の際に用いる典型的な変換式を示し、図2(b)にYUV表色系をRGB表色系へ変換するYUV→RGB変換処理の際に用いる典型的な変換式を示す。   Here, red information R, green information G, and blue information B in the RGB color system, luminance information Y in the YUV color system, blue component color difference information U, and red component color difference information V are consumption amounts of the storage device capacity. In order to lower the value, all are expressed by integers from 0 to 255. FIG. 2A shows an RGB → YUV conversion process for converting the RGB color system to the YUV color system. A typical conversion formula is shown, and FIG. 2B shows a typical conversion formula used in the YUV → RGB conversion processing for converting the YUV color system to the RGB color system.


ところで、こうしたRGB→YUV変換処理やYUV→RGB変換処理に用いる上記した図2(a)(b)に示すような変換式の係数は、一般にその精度がかなり高いものと認識されている。

By the way, it is generally recognized that the coefficients of the conversion equations as shown in FIGS. 2A and 2B used for such RGB → YUV conversion processing and YUV → RGB conversion processing have considerably high accuracy.

しかしながら、RGB表色系の赤色情報R、緑色情報Gおよび青色情報BとYUV表色系の輝度情報Y、青色成分色差情報Uおよび赤色成分色差情報Vとは整数で表現されるものであるため、図2(a)(b)に示すような変換式により変換された値の小数点以下の数値に対しては切り捨て、切り上げあるいは四捨五入などの処理が行われ、図2(a)(b)に示すような変換式により変換された値は整数化されている。このため、RGB→YUV変換処理やYUV→RGB変換処理により変換された各情報には、変換の際の誤差が生じることとなっていた。   However, since the RGB color system red information R, green information G and blue information B, and YUV color system luminance information Y, blue component color difference information U and red component color difference information V are expressed by integers. 2A and 2B are subjected to processing such as rounding down, rounding up, or rounding to the numerical value after the decimal point of the value converted by the conversion formula as shown in FIGS. The value converted by the conversion formula as shown is converted to an integer. For this reason, each information converted by the RGB → YUV conversion process or the YUV → RGB conversion process has an error in conversion.

即ち、本願発明者が図2(a)(b)に示す変換式を用いて計算したところによれば、元画像の画像データRGBと元画像に電子透かし情報を埋め込んだ画像の画像データR’G’B’との間には、図3に示すように大きな差が認められた。   That is, according to the calculation performed by the inventor using the conversion formulas shown in FIGS. 2A and 2B, the image data RGB of the original image and the image data R ′ of the image in which digital watermark information is embedded in the original image. A large difference was observed with G′B ′ as shown in FIG.

なお、この図3に示す図表は、RGB表色系からYUV表色系への変換を行った後にさらにそのYUV表色系をRGB表色系へ変換した後において、元のRGB表色系と変換後のRGB表色系(変換後のRGB表色系のRをR’として示し、変換後のRGB表色系のGをG’として示し、変換後のRGB表色系のBをB’として示す。)とを比較し、R、G、Bのそれぞれが0〜255の範囲で変化する全部で16777216点の中で、
R−R’
G−G’
B−B’
とについて、それぞれ全16777216点中に誤差が1.0以上ある数の割合を示したものである。
The chart shown in FIG. 3 is the original RGB color system after the conversion from the RGB color system to the YUV color system and after the YUV color system is further converted to the RGB color system. RGB color system after conversion (R in the RGB color system after conversion is shown as R ', G in the RGB color system after conversion is shown as G', and B in the RGB color system after conversion is B ' And R, G, and B each change within a range of 0 to 255, and in total 16777216 points,
RR '
GG '
BB '
And the ratio of numbers having an error of 1.0 or more in all 16777216 points.

なお、図3において、「RError」は赤色情報Rについての誤差を示し、「GError」は緑色情報Gについての誤差を示し、「BError」は青色情報Bについての誤差を示し、「Plus」は誤差が+1.0以上になった点数を示し、「Minus」は誤差が−1.0以下になった点数を示し、「Total」は「Plus」と「Minus」との点数を合計したものを示し、「ErrorRate」は赤色情報R、緑色情報Gおよび青色情報Bのそれぞれにおける全16777216点中の「Total」に示されている誤差の点数の割合を示している。   In FIG. 3, “REerror” indicates an error regarding red information R, “GEerror” indicates an error regarding green information G, “Berror” indicates an error regarding blue information B, and “Plus” indicates an error. Indicates a score of +1.0 or more, “Minus” indicates a score where an error is −1.0 or less, and “Total” indicates a sum of scores of “Plus” and “Minus”. , “ErrorRate” indicates the ratio of the error score indicated by “Total” among all 16777216 points in each of red information R, green information G, and blue information B.


ここで、RGB表色系をYUV表色系へ変換するRGB→YUV変換処理の際に用いる図2(a)に示す変換式における青色成分色差情報Uを求める式2に着目すると、青色成分色差情報Uに関しては、四捨五入によって結果的に−0.5〜+0.5の誤差が発生することになる(図4(a)参照)。

Here, when attention is paid to Formula 2 for obtaining the blue component color difference information U in the conversion formula shown in FIG. 2A used in the RGB → YUV conversion process for converting the RGB color system to the YUV color system, the blue component color difference As for the information U, rounding off results in an error of −0.5 to +0.5 (see FIG. 4A).

次に、YUV表色系からRGB表色系へ変換するYUV→RGB変換処理の際に用いる図2(b)に示す変換式における青色情報Bを求める式6に着目すると、当該式6中に存在する青色成分色差情報Uの係数は1.772003となっている。従って、青色成分色差情報Uにおける−0.5〜+0.5の四捨五入による誤差−0.5〜+0.5は1.772003倍され、−0.886〜+0.886となる(図4(b)参照)。   Next, when attention is paid to Expression 6 for obtaining the blue information B in the conversion expression shown in FIG. 2B used in the YUV → RGB conversion processing for converting from the YUV color system to the RGB color system, The coefficient of the existing blue component color difference information U is 1.772003. Accordingly, the error −0.5 to +0.5 due to rounding off of −0.5 to +0.5 in the blue component color difference information U is multiplied by 1.772003 to −0.886 to +0.886 (FIG. 4B). )reference).

そして、この誤差自体が青色情報Bに反映されることになるが、その際に図2(b)における青色情報Bを求める式で算出された値がさらに四捨五入されることにより、その誤差は−1〜+1となり、誤差範囲が拡大することになる。   This error itself is reflected in the blue information B. At this time, the value calculated by the formula for obtaining the blue information B in FIG. 1 to +1, and the error range is expanded.

なお、図5には、RGB表色系からYUV表色系への変換を行った後にさらにそのYUV表色系をRGB表色系へ変換した場合について、元のRGB表色系と変換後のRGB表色系(変換後のRGB表色系のRをR’として示し、変換後のRGB表色系のGをG’として示し、変換後のRGB表色系のBをB’として示す。)との誤差が示されている。図5においては、R’G’B’において誤差の出る部分がそれぞれ強調表示されている。   FIG. 5 shows a case where the YUV color system is converted from the RGB color system to the RGB color system and then converted from the original RGB color system to the YUV color system. RGB color system (R in the RGB color system after conversion is shown as R ′, G in the RGB color system after conversion is shown as G ′, and B in the RGB color system after conversion is shown as B ′. ) Error is shown. In FIG. 5, the portions where errors occur in R′G′B ′ are highlighted.

また、図6には、RGB表色系からYUV表色系への変換を行った後に、輝度情報Yに電子透かし情報を埋め込み輝度情報Y’を生成し、電子透かし情報を埋め込んだYUV表色系をRGB表色系へ変換した場合について、元のRGB表色系と変換後のRGB表色系(変換後のRGB表色系のRをR’として示し、変換後のRGB表色系のGをG’として示し、変換後のRGB表色系のBをB’として示す。)との誤差が示されている。図6においては、R’G’B’において誤差の出る部分がそれぞれ強調表示されている。   FIG. 6 shows a YUV color specification in which, after conversion from the RGB color system to the YUV color system, digital watermark information is embedded in the luminance information Y to generate luminance information Y ′, and the digital watermark information is embedded. When the system is converted to the RGB color system, the original RGB color system and the converted RGB color system (R in the converted RGB color system is shown as R ′, and the converted RGB color system G is shown as G ′, and the converted RGB color system B is shown as B ′. In FIG. 6, portions where errors occur in R′G′B ′ are highlighted.

こうした図5と図6とを比較すると明らかなように、輝度情報Yに電子透かし情報を埋め込むことにより誤差が拡大することになる。   As is clear from comparison between FIG. 5 and FIG. 6, the error is expanded by embedding the digital watermark information in the luminance information Y.


以上において説明したように、RGB表色系で表示された画像データをYUV表色系に変換する際や、電子透かし情報を埋め込み処理されたYUV表色系で表示された画像データをRGB表色系に変換する際において、図2(a)(b)に示す変換式で得られた値の小数点以下が四捨五入されることにより、仮に変換式の係数の精度を高めたとしても得られる値には誤差が発生し、電子透かし情報が埋め込まれた画像にはこの誤差に起因するノイズが生じて、電子透かし情報が埋め込まれた画像の画質が劣化するという問題点が指摘されていた。

As described above, when the image data displayed in the RGB color system is converted into the YUV color system, the image data displayed in the YUV color system in which digital watermark information is embedded is converted into the RGB color system. When converting to a system, the value obtained by the conversion formula shown in FIGS. 2A and 2B is rounded off to the value obtained even if the precision of the coefficient of the conversion formula is increased. There is a problem that an error occurs, and noise caused by this error occurs in an image in which digital watermark information is embedded, and the image quality of the image in which digital watermark information is embedded deteriorates.


なお、本願出願人が特許出願時に知っている先行技術は、上記において説明したようなものであって文献公知発明に係る発明ではないため、記載すべき先行技術情報はない。

The prior art that the applicant of the present application knows at the time of filing a patent is as described above and is not an invention related to a known literature, so there is no prior art information to be described.

本発明は、上記したような従来の技術の有する種々の問題点に鑑みてなされたものであり、その目的とするところは、カラー画像に電子透かし情報を埋め込むにあたって、ノイズの発生を抑制して画質の劣化を抑止するようにした電子透かし埋め込み方法、プログラムおよびコンピュータ読み取り可能な記録媒体を提供しようとするものである。   The present invention has been made in view of the various problems of the conventional techniques as described above. The object of the present invention is to suppress the generation of noise when embedding digital watermark information in a color image. It is an object of the present invention to provide a digital watermark embedding method, a program, and a computer-readable recording medium that suppress deterioration of image quality.

上記目的を達成するために、本発明は、RGB表色系の元画像の画像データの赤色情報Rと緑色情報Gと青色情報Bとに基づいて輝度情報Yのみを発生し、この輝度情報Yに対して電子透かし情報を埋め込んで当該電子透かし情報を埋め込まれた輝度情報Yたる輝度情報Y’を生成し、輝度情報Yと輝度情報Y’と元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとを用いて演算することにより、元画像に電子透かし情報を埋め込んだRGB表色系の画像データを得るようにしたものである。   In order to achieve the above object, the present invention generates only luminance information Y based on the red information R, green information G, and blue information B of the image data of the RGB color system original image, and this luminance information Y Are embedded with digital watermark information to generate luminance information Y ′ which is luminance information Y embedded with the digital watermark information, luminance information Y and luminance information Y ′, and red information R of the RGB color system of the original image, By performing calculations using the green information G and the blue information B, RGB color system image data in which digital watermark information is embedded in the original image is obtained.

こうした本発明によれば、元画像のRGB表色系の元画像の画像データと元画像に電子透かし情報を埋め込んだ画像のRGB表色系の元画像の画像データとにおける各情報の差が小さくなり、元画像に電子透かし情報を埋め込んだ画像におけるノイズの発生が抑制されて、元画像に電子透かし情報を埋め込んだ画像の画質の劣化が抑止される。   According to the present invention, the difference in information between the image data of the RGB color system original image of the original image and the image data of the RGB color system original image of the image in which the digital watermark information is embedded in the original image is small. Thus, the occurrence of noise in the image in which the digital watermark information is embedded in the original image is suppressed, and deterioration of the image quality of the image in which the digital watermark information is embedded in the original image is suppressed.


より詳細には、まず、図2(b)に示す変換式中の赤色情報Rへの変換式である、以下に示す式2について着目する。

More specifically, first, attention is focused on Expression 2 shown below, which is a conversion expression to red information R in the conversion expression shown in FIG.

R=(unsigned char){Y+1.401998(V−128)} ・・・ 式2
そして、この式2を、元画像のRGB表色系の画像データをRGB→YUV変換処理して得られた電子透かし情報の埋め込み処理が施されていないYUV表色系の画像データを、RGB表色系の画像データへ変換する際の赤色情報Rの変換式とする。
R = (unsigned char) {Y + 1.401998 * (V−128)} Equation 2
Then, Equation 2 is used to convert YUV color system image data not subjected to the embedding process of digital watermark information obtained by performing RGB → YUV conversion processing on the RGB color system image data of the original image to the RGB table. A conversion formula of red information R when converting to color image data is used.

一方、元画像のRGB表色系の画像データをRGB→YUV変換処理して得られたYUV表色系の画像データに対して、電子透かし情報の埋め込み処理を施す場合には、輝度情報Yに電子透かし情報のパターンを示す成分M(以下、単に「電子透かし成分M」と適宜に称する。)を埋め込むことにより、輝度情報Yは電子透かし成分Mを埋め込まれた輝度情報Yたる輝度情報Y’に変換される。しかしながら、青色成分色差情報Uおよび赤色成分色差情報Vには電子透かし成分Mが埋め込まれないので、青色成分色差情報Uおよび赤色成分色差情報Vはそのまま変化しない。   On the other hand, when digital watermark information embedding processing is performed on YUV color system image data obtained by converting RGB color system image data of the original image into RGB → YUV, the luminance information Y By embedding a component M indicating a pattern of digital watermark information (hereinafter simply referred to as “digital watermark component M” as appropriate), luminance information Y is luminance information Y ′ as luminance information Y in which the digital watermark component M is embedded. Is converted to However, since the digital watermark component M is not embedded in the blue component color difference information U and the red component color difference information V, the blue component color difference information U and the red component color difference information V remain unchanged.

従って、電子透かし情報を埋め込む処理を施された赤色情報Rたる赤色情報R’は、以下の式7で表される。   Therefore, the red information R ′, which is the red information R subjected to the process of embedding the digital watermark information, is expressed by the following Expression 7.

R’=(unsigned char){Y’+1.401998(V−128)} ・・・ 式7
これらの式2と式7との2つの式を用いて演算すると、
R’−R=Y’−Y
となり、
R’=R+(Y’−Y)
が得られる。
R ′ = (unsigned char) {Y ′ + 1.401998 * (V−128)} Equation 7
When calculating using these two expressions, Expression 2 and Expression 7,
R′−R = Y′−Y
And
R ′ = R + (Y′−Y)
Is obtained.

ここで、元画像のRGB表色系の画像データの赤色情報Rは既知の値であり、輝度情報Yは図2(a)に示す式1により得られる値であり、輝度情報Y’は図2(a)に示す式1により得られた輝度情報Yに電子透かし成分Mを加算したものである。   Here, the red information R of the RGB color system image data of the original image is a known value, the luminance information Y is a value obtained by Equation 1 shown in FIG. 2A, and the luminance information Y ′ The digital watermark component M is added to the luminance information Y obtained by Equation 1 shown in 2 (a).

つまり、電子透かし情報の埋め込み処理を施された赤色情報R’は、元画像のRGB表色系の画像データの赤色情報Rに、電子透かし成分Mを埋め込んだ輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値を加えれば求められることになる。   In other words, the red information R ′ subjected to the digital watermark information embedding process is converted from the luminance information Y ′ in which the digital watermark component M is embedded in the red information R of the RGB color system image data of the original image to the digital watermark component M. It can be obtained by adding a value obtained by subtracting the luminance information Y before embedding.


また、緑色情報Gと青色情報Bとについても、上記において説明した赤色情報Rの場合と同様である。

Also, the green information G and the blue information B are the same as the case of the red information R described above.

まず、緑色情報Gについて説明すると、図2(b)に示す変換式中の緑色情報Gへの変換式である、以下に示す式5について着目する。   First, the green information G will be described. Attention is focused on the following formula 5 which is a conversion formula to the green information G in the conversion formula shown in FIG.

G=(unsigned char){Y−0.344133(U−128)−0.714137(V−128)} ・・・ 式5
そして、この式5を、元画像のRGB表色系の画像データをRGB→YUV変換処理して得られた電子透かし情報の埋め込み処理が施されていないYUV表色系の画像データを、RGB表色系の画像データへ変換する際の緑色情報Gの変換式とする。
G = (unsigned char) {Y−0.344133 * (U−128) −0.714137 * (V−128)} Equation 5
Then, Equation 5 is obtained by converting the RGB color system image data of the original image into the RGB table YUV color system image data that has not been embedded with the digital watermark information obtained by the RGB → YUV conversion process. A conversion formula of the green information G when converting to color image data is used.

一方、元画像のRGB表色系の画像データをRGB→YUV変換処理して得られたYUV表色系の画像データに対して、電子透かし情報の埋め込み処理を施す場合には、輝度情報Yに電子透かし成分Mを埋め込むことにより、輝度情報Yは電子透かし成分Mを埋め込まれた輝度情報Yたる輝度情報Y’に変換される。しかしながら、青色成分色差情報Uおよび赤色成分色差情報Vには電子透かし成分Mが埋め込まれないので、青色成分色差情報Uおよび赤色成分色差情報Vはそのまま変化しない。   On the other hand, when digital watermark information embedding processing is performed on YUV color system image data obtained by converting RGB color system image data of the original image into RGB → YUV, the luminance information Y By embedding the digital watermark component M, the luminance information Y is converted into luminance information Y ′ as the luminance information Y in which the digital watermark component M is embedded. However, since the digital watermark component M is not embedded in the blue component color difference information U and the red component color difference information V, the blue component color difference information U and the red component color difference information V remain unchanged.

従って、電子透かし情報を埋め込む処理を施された緑色情報Gたる緑色情報G’は、以下の式8で表される。   Therefore, the green information G ′, which is the green information G that has been subjected to the process of embedding the digital watermark information, is expressed by the following Expression 8.

G’=(unsigned char){Y’−0.344133(U−128)−0.714137(V−128)} ・・・ 式8
これらの式5と式8との2つの式を用いて演算すると、
G’−G=Y’−Y
となり、
G’=G+(Y’−Y)
が得られる。
G ′ = (unsigned char) {Y′−0.344133 * (U−128) −0.714137 * (V−128)} Expression 8
When calculating using these two expressions of Expression 5 and Expression 8,
G'-G = Y'-Y
And
G ′ = G + (Y′−Y)
Is obtained.

ここで、元画像のRGB表色系の画像データの緑色情報Gは既知の値であり、輝度情報Yは図2(a)に示す式1により得られる値であり、輝度情報Y’は図2(a)に示す式1により得られた輝度情報Yに電子透かし成分Mを加算したものである。   Here, the green information G of the RGB color system image data of the original image is a known value, the luminance information Y is a value obtained by Equation 1 shown in FIG. 2A, and the luminance information Y ′ The digital watermark component M is added to the luminance information Y obtained by Equation 1 shown in 2 (a).

つまり、電子透かし情報の埋め込み処理を施された緑色情報G’は、元画像のRGB表色系の画像データの緑色情報Gに、電子透かし成分Mを埋め込んだ輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値を加えれば求められることになる。   That is, the green information G ′ subjected to the digital watermark information embedding process is converted from the luminance information Y ′ in which the digital watermark component M is embedded in the green information G of the RGB color system image data of the original image to the digital watermark component M ′. It can be obtained by adding a value obtained by subtracting the luminance information Y before embedding.


次に、青色情報Bについて説明すると、図2(b)に示す変換式中の青色情報Bへの変換式である、以下に示す式6について着目する。

Next, the blue information B will be described. Attention is focused on the following expression 6 which is a conversion expression to the blue information B in the conversion expression shown in FIG.

B=(unsigned char){Y+1.772003(U−128)+0.000016(V−128)} ・・・ 式6
そして、この式6を、元画像のRGB表色系の画像データをRGB→YUV変換処理して得られた電子透かし情報の埋め込み処理が施されていないYUV表色系の画像データを、RGB表色系の画像データへ変換する際の青色情報Bの変換式とする。
B = (unsigned char) {Y + 1.772003 * (U−128) + 0.000016 * (V−128)} Equation 6
Then, Equation 6 is used to convert YUV color system image data that has not been subjected to embedding processing of digital watermark information obtained by performing RGB → YUV conversion processing on the RGB color system image data of the original image to the RGB table. It is assumed that the conversion formula of the blue information B is converted to color image data.

一方、元画像のRGB表色系の画像データをRGB→YUV変換処理して得られたYUV表色系の画像データに対して、電子透かし情報の埋め込み処理を施す場合には、輝度情報Yに電子透かし成分Mを埋め込むことにより、輝度情報Yは電子透かし成分Mを埋め込まれた輝度情報Yたる輝度情報Y’に変換される。しかしながら、青色成分色差情報Uおよび赤色成分色差情報Vには電子透かし成分Mが埋め込まれないので、青色成分色差情報Uおよび赤色成分色差情報Vはそのまま変化しない。   On the other hand, when digital watermark information embedding processing is performed on YUV color system image data obtained by converting RGB color system image data of the original image into RGB → YUV, the luminance information Y By embedding the digital watermark component M, the luminance information Y is converted into luminance information Y ′ as the luminance information Y in which the digital watermark component M is embedded. However, since the digital watermark component M is not embedded in the blue component color difference information U and the red component color difference information V, the blue component color difference information U and the red component color difference information V remain unchanged.

従って、電子透かし情報を埋め込む処理を施された青色情報Bたる青色情報B’は、以下の式9で表される。   Therefore, the blue information B ′, which is the blue information B that has been subjected to the process of embedding the digital watermark information, is expressed by Equation 9 below.

B’=(unsigned char){Y’+1.772003(U−128)+0.000016(V−128)} ・・・ 式9
これらの式6と式9との2つの式を用いて演算すると、
B’−B=Y’−Y
となり、
B’=B+(Y’−Y)
が得られる。
B ′ = (unsigned char) {Y ′ + 1.772003 * (U−128) + 0.000016 * (V−128)} Equation 9
When calculating using these two formulas of Formula 6 and Formula 9,
B'-B = Y'-Y
And
B ′ = B + (Y′−Y)
Is obtained.

ここで、元画像のRGB表色系の画像データの青色情報Bは既知の値であり、輝度情報Yは図2(a)に示す式1により得られる値であり、輝度情報Y’は図2(a)に示す式1により得られた輝度情報Yに電子透かし成分Mを加算したものである。   Here, the blue color information B of the RGB color system image data of the original image is a known value, the luminance information Y is a value obtained by Equation 1 shown in FIG. 2A, and the luminance information Y ′ The digital watermark component M is added to the luminance information Y obtained by Equation 1 shown in 2 (a).

つまり、電子透かし情報の埋め込み処理を施された青色情報B’は、元画像のRGB表色系の画像データの青色情報Bに、電子透かし成分Mを埋め込んだ輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値を加えれば求められることになる。   In other words, the blue information B ′ subjected to the digital watermark information embedding process is converted from the luminance information Y ′ in which the digital watermark component M is embedded in the blue information B of the RGB color system image data of the original image to the digital watermark component M ′. It can be obtained by adding a value obtained by subtracting the luminance information Y before embedding.


即ち、従来の技術では、電子透かし成分Mの埋め込みを行っていない青色成分色差情報Uおよび赤色成分色差情報Vが、表色系の変換によって誤差を生じることとなっていた。

In other words, according to the conventional technique, the blue component color difference information U and the red component color difference information V that are not embedded with the digital watermark component M cause an error due to the color system conversion.

しかしながら、本発明においては、上記において説明したように、
R’=R+(Y’−Y) ・・・ 式10
G’=G+(Y’−Y) ・・・ 式11
B’=B+(Y’−Y) ・・・ 式12
で示す式10、式11および式12の3つの式を用いることによって、電子透かし情報を埋め込む処理を行う際に、青色成分色差情報Uおよび赤色成分色差情報Vについての表色系の変換を行う必要がないので、誤差の発生を大幅に抑制することができるようになる。
However, in the present invention, as explained above,
R ′ = R + (Y′−Y) Expression 10
G ′ = G + (Y′−Y) Expression 11
B ′ = B + (Y′−Y) Expression 12
When the processing of embedding the digital watermark information is performed, the color system of the blue component color difference information U and the red component color difference information V is converted by using the three equations of Equation 10, Equation 11, and Equation 12. Since it is not necessary, the occurrence of errors can be greatly suppressed.

従って、こうした本発明によれば、電子透かし情報が埋め込まれた画像に、青色成分色差情報Uおよび赤色成分色差情報Vについての表色系の変換誤差に起因するノイズを生じさせて画質が劣化させることがない。換言すれば、本発明を用いることにより、カラー画像に電子透かし情報を埋め込むにあたって、ノイズの発生を抑制して画質の劣化を抑止することができる。   Therefore, according to the present invention, the image quality is deteriorated by causing noise caused by the color system conversion error for the blue component color difference information U and the red component color difference information V in the image in which the digital watermark information is embedded. There is nothing. In other words, by using the present invention, when embedding digital watermark information in a color image, it is possible to suppress the occurrence of noise and suppress the deterioration of image quality.


ところで、上記した変換式である
R’=R+(Y’−Y) ・・・ 式10
G’=G+(Y’−Y) ・・・ 式11
B’=B+(Y’−Y) ・・・ 式12
で示す式10、式11および式12の3つの式において、電子透かし成分Mを埋め込んだ輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)は、電子透かし成分Mに他ならないものである。

By the way, the above-described conversion equation is R ′ = R + (Y′−Y) Equation 10
G ′ = G + (Y′−Y) Expression 11
B ′ = B + (Y′−Y) Expression 12
In the three expressions of Expression 10, Expression 11, and Expression 12, the value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M is This is nothing but the digital watermark component M.

従って、上記した3つの変換式は
R’=R+M
G’=G+M
B’=B+M
ただし M=Y’−Y
と書き替えることもできる。
Therefore, the above three conversion equations are R ′ = R + M
G '= G + M
B '= B + M
However, M = Y'-Y
Can also be rewritten.


こうした本発明のうち請求項1に記載の発明は、カラー画像に電子透かし情報を埋め込む電子透かし埋め込み方法において、RGB表色系の元画像の画像データの赤色情報Rと緑色情報Gと青色情報Bとに基づいてYUV表色系の輝度情報Yを生成する第1のステップと、上記第1のステップで生成された輝度情報Yに対して電子透かし情報を埋め込んで、上記電子透かし情報を埋め込まれた輝度情報Yたる輝度情報Y’を生成する第2のステップと、上記第1のステップで生成された輝度情報Yと上記第2のステップで生成された輝度情報Y’と上記元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとに基づいて、上記元画像に電子透かし情報を埋め込んだRGB表色系の画像データを生成する第3のステップとを有するようにしたものである。

Among these aspects of the present invention, the invention described in claim 1 is a digital watermark embedding method for embedding digital watermark information in a color image, in which red information R, green information G, and blue information B of image data of an RGB color system original image is provided. The first step of generating the luminance information Y of the YUV color system based on the above and the electronic watermark information is embedded by embedding the electronic watermark information in the luminance information Y generated in the first step. The second step of generating the luminance information Y ′ as the luminance information Y, the luminance information Y generated in the first step, the luminance information Y ′ generated in the second step, and the RGB of the original image And a third step of generating RGB color system image data in which digital watermark information is embedded in the original image based on the color system red information R, green information G, and blue information B. Those were.

また、本発明のうち請求項2に記載の発明は、本発明のうち請求項1に記載の発明において、上記第1のステップは、RGB表色系の画像データをYUV表色系の画像データに変換する変換処理において、輝度情報Yのみを生成するようにしたものである。   The invention according to claim 2 of the present invention is the invention according to claim 1 of the present invention, wherein the first step is to convert the RGB color system image data into YUV color system image data. Only the luminance information Y is generated in the conversion process for converting to.

また、本発明のうち請求項3に記載の発明は、本発明のうち請求項1または2のいずれか1項に記載の発明において、上記第3のステップは、上記第1のステップで生成された輝度情報Yと上記第2のステップで生成された輝度情報Y’との差分値を生成し、上記差分値と上記元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとをそれぞれ演算処理し、上記元画像に電子透かし情報を埋め込んだRGB表色系の画像データを生成するようにしたものである。   The invention according to claim 3 of the present invention is the invention according to claim 1 or 2 of the present invention, wherein the third step is generated in the first step. A difference value between the brightness information Y and the brightness information Y ′ generated in the second step is generated, and the difference value and the red information R, green information G, and blue information B of the RGB color system of the original image are generated. And RGB color system image data in which digital watermark information is embedded in the original image is generated.

また、本発明のうち請求項4に記載の発明は、本発明のうち請求項3に記載の発明において、上記演算処理は、上記差分値を上記元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとにそれぞれ加算する処理であるようにしたものである。   According to a fourth aspect of the present invention, in the invention according to the third aspect of the present invention, the arithmetic processing includes calculating the difference value as red information R in the RGB color system of the original image. This is a process of adding to the green information G and the blue information B, respectively.

また、本発明のうち請求項5に記載の発明は、本発明のうち請求項1、2、3または4のいずれか1項に記載の発明をコンピュータに実行させるためのプログラムである。   The invention according to claim 5 of the present invention is a program for causing a computer to execute the invention according to any one of claims 1, 2, 3 or 4 of the present invention.

また、本発明のうち請求項6に記載の発明は、本発明のうち請求項5に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。   Moreover, invention of Claim 6 among the present invention is a computer-readable recording medium which recorded the program of Claim 5 among this invention.

本発明は、以上説明したように構成されているので、カラー画像に電子透かし情報を埋め込むにあたって、ノイズの発生を抑制して画質の劣化を抑止することができるという優れた効果を奏する。   Since the present invention is configured as described above, when embedding digital watermark information in a color image, there is an excellent effect that the generation of noise can be suppressed and deterioration of image quality can be suppressed.

以下、添付の図面を参照しながら、本発明による電子透かし埋め込み方法、プログラムおよびコンピュータ読み取り可能な記録媒体の実施の形態の一例を詳細に説明するものとする。   Hereinafter, an example of an embodiment of a digital watermark embedding method, a program, and a computer-readable recording medium according to the present invention will be described in detail with reference to the accompanying drawings.


図7には、本発明による電子透かし埋め込み方法を実施するための電子透かし埋め込み処理装置のシステム構成の一例を表すブロック構成図が示されている。

FIG. 7 is a block diagram showing an example of the system configuration of a digital watermark embedding processing apparatus for implementing the digital watermark embedding method according to the present invention.

即ち、この本発明による電子透かし埋め込み処理装置10は、その全体の動作を中央処理装置(CPU)12を用いて制御するように構成されている。   That is, the digital watermark embedding processing apparatus 10 according to the present invention is configured to control the entire operation using a central processing unit (CPU) 12.

このCPU12には、バス14を介して、CPU12の制御のためのプログラムや後述する各種の情報などを記憶するリードオンリメモリ(ROM)やCPU12のワーキングエリアとして用いられる記憶領域などを備えたランダムアクセスメモリ(RAM)などから構成される記憶装置16と、CPU12の制御に基づいて各種の表示を行うCRTや液晶パネルなどの画面を備えた表示装置18と、表示装置18の画面上における任意の位置を指定するなどの操作を行うためのマウスなどのポインティングデバイス20と、任意の文字を入力するなどの操作を行うためのキーボードなどの文字入力デバイス22と、RGB表色系の画像データを入力するとともにRGB表色系の画像データを出力する画像データ入出力装置24とが接続されている。   The CPU 12 is provided with random access via a bus 14 including a read only memory (ROM) for storing a program for controlling the CPU 12 and various types of information to be described later, a storage area used as a working area for the CPU 12, and the like. A storage device 16 including a memory (RAM), a display device 18 having a screen such as a CRT or a liquid crystal panel that performs various displays based on the control of the CPU 12, and an arbitrary position on the screen of the display device 18 A pointing device 20 such as a mouse for performing an operation such as specifying a character, a character input device 22 such as a keyboard for performing an operation such as inputting an arbitrary character, and RGB color system image data are input. And an image data input / output device 24 for outputting RGB color system image data. There.

なお、電子透かし埋め込み処理装置10においては、ユーザーがポインティングデバイス20や文字入力デバイス22などの入力手段を操作することにより、ユーザーの所望の指示や設定を入力することができるようになされており、ユーザーによるポインティングデバイス20や文字入力デバイス22の操作に応じて表示装置18における表示が変化する。   In the digital watermark embedding processing apparatus 10, the user can input desired instructions and settings by operating the input means such as the pointing device 20 and the character input device 22, The display on the display device 18 changes according to the operation of the pointing device 20 and the character input device 22 by the user.


以上の構成において、図8に示すフローチャートならびに図9以下の各図を参照しながら、電子透かし埋め込み処理装置10によって実行される電子透かし埋め込み処理を詳細に説明する。

In the above configuration, the digital watermark embedding process executed by the digital watermark embedding processing apparatus 10 will be described in detail with reference to the flowchart shown in FIG.

ここで、図8には、電子透かし埋め込み処理装置10によって実行される電子透かし埋め込み処理の処理ルーチンを示すフローチャートが表されている。   Here, FIG. 8 shows a flowchart showing a processing routine of digital watermark embedding processing executed by the digital watermark embedding processing apparatus 10.

ユーザーがポインティングデバイス20や文字入力デバイス22などの入力手段を操作することにより、元画像への電子透かし情報の埋め込みを指示すると、この処理ルーチンが起動される。   When the user instructs to embed digital watermark information in the original image by operating input means such as the pointing device 20 and the character input device 22, this processing routine is started.

この処理ルーチンが起動されると、まず、画像データ入出力装置24により元画像のRGB表色系の画像データ(以下、「発明を実施するための最良の形態」の項においては、元画像のRGB表色系の画像データを「画像データRGB」と適宜に称する。)を読み込む(ステップS802)。   When this processing routine is started, first, the image data input / output device 24 uses the RGB color system image data of the original image (hereinafter referred to as "the best mode for carrying out the invention" The RGB color system image data is appropriately referred to as “image data RGB”) (step S802).

次に、読み込まれた画像データRGBをYUV表色系の画像データに変換する処理を行うが、この際には、青色成分色差情報Uならびに赤色成分色差情報Vは本発明における透かし埋め込み処理に必要ないので、表色系の変換は輝度情報Yのみ行い(図9参照)、図2(a)に示す式1により算出された値を四捨五入することにより輝度情報Yを得るようにする(ステップS804)。即ち、ステップS804では、青色成分色差情報Uならびに赤色成分色差情報Vは生成しない。   Next, the read image data RGB is converted into YUV color system image data. In this case, the blue component color difference information U and the red component color difference information V are necessary for the watermark embedding process in the present invention. Therefore, only the luminance information Y is converted in the color system (see FIG. 9), and the luminance information Y is obtained by rounding off the value calculated by the equation 1 shown in FIG. 2A (step S804). ). That is, in step S804, the blue component color difference information U and the red component color difference information V are not generated.

次に、ステップS804で得られた輝度情報Yに電子透かし成分Mを加算することによって、輝度情報Yに電子透かし成分Mを埋め込み、電子透かし情報を埋め込まれた輝度情報Yたる輝度情報Y’を生成する(ステップS806)。   Next, by adding the digital watermark component M to the luminance information Y obtained in step S804, the digital watermark component M is embedded in the luminance information Y, and the luminance information Y ′ as the luminance information Y embedded with the digital watermark information is obtained. Generate (step S806).

それから、輝度情報Y’と輝度情報Yとの差分値を求めて輝度情報Yの変化分を示す値(Y’−Y)を取得し、上記した式10、式11および式12を用いて、値(Y’−Y)を画像データRGBにおける赤色情報R、緑色情報Gおよび青色情報Bに加算することによって、元画像に電子透かし情報が埋め込まれた画像のRGB表色系の画像データR’G’B’を生成する(ステップS808)。   Then, a difference value between the luminance information Y ′ and the luminance information Y is obtained to obtain a value (Y′−Y) indicating a change amount of the luminance information Y, and using the above-described Expression 10, Expression 11, and Expression 12, By adding the value (Y′−Y) to the red information R, the green information G, and the blue information B in the image data RGB, the RGB color system image data R ′ of the image in which the digital watermark information is embedded in the original image. G′B ′ is generated (step S808).

そして、ステップS808で生成された画像データR’G’B’は、画像データ入出力装置24により出力され(ステップS810)、電子透かし埋め込み処理の処理ルーチンを終了する。   The image data R′G′B ′ generated in step S808 is output by the image data input / output device 24 (step S810), and the processing routine of the digital watermark embedding process is terminated.


上記した電子透かし埋め込み処理の処理ルーチンを実行することにより、例えば、図10に示すように、画像データRGBと画像データR’G’B’との差を著しく低減することができ、画像データR’G’B’におけるノイズの発生を抑制して画質の劣化を抑止することができた。

By executing the processing routine of the digital watermark embedding process described above, for example, as shown in FIG. 10, the difference between the image data RGB and the image data R′G′B ′ can be remarkably reduced, and the image data R It was possible to suppress the deterioration of image quality by suppressing the generation of noise in 'G'B'.

即ち、図10の(a)に着目すると、画像データRGBの赤色情報Rは「220」、緑色情報Gは「153」、青色情報Bは「191」となっている。このRGB表色系の画像データRGBをYUV表色系に変換する際には、青色成分色差情報Uおよび赤色成分色差情報Vへの変換は行わず、図2(a)に示す式1を用いた演算処理により輝度情報Yのみが取得され、得られた値を四捨五入することにより輝度情報Yが「177」と算出される。   That is, paying attention to FIG. 10A, the red information R of the image data RGB is “220”, the green information G is “153”, and the blue information B is “191”. When converting the RGB color system image data RGB into the YUV color system, conversion to the blue component color difference information U and the red component color difference information V is not performed, and Expression 1 shown in FIG. Only the luminance information Y is acquired by the calculation processing performed, and the luminance information Y is calculated as “177” by rounding off the obtained value.

ここで、電子透かし成分Mの値を「3」とすると、輝度情報Yに電子透かし成分Mとして「3」を加算することによって、電子透かし成分Mが埋め込まれた輝度情報Y’の値が「180」と求められる。さらに、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)として、「3」が得られる。   Here, when the value of the digital watermark component M is “3”, “3” is added as the digital watermark component M to the luminance information Y, so that the value of the luminance information Y ′ in which the digital watermark component M is embedded is “ 180 ". Further, “3” is obtained as a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M.

そして、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)の値である「3」を赤色情報Rの「220」に加算することにより、電子透かし埋め込み処理を施された赤色情報R’として「223」が算出される。   Then, “3” which is a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ in which the digital watermark component M is embedded is “220” of the red information R. "223" is calculated as the red information R 'subjected to the digital watermark embedding process.

同様にして、緑色情報Gの「153」に値(Y’−Y)の値である「3」を加算することにより、電子透かし埋め込み処理を施された緑色情報G’は「156」と算出され、青色情報Bの「191」に値(Y’−Y)の値である「3」を加算することにより、電子透かし埋め込み処理を施された青色情報B’は「194」と算出される。   Similarly, by adding “3” which is a value (Y′−Y) to “153” of the green information G, the green information G ′ subjected to the digital watermark embedding process is calculated as “156”. Then, by adding “3” which is the value (Y′−Y) to “191” of the blue information B, the blue information B ′ subjected to the digital watermark embedding process is calculated as “194”. .

また、図10の(b)では、画像データRGBの赤色情報Rは「222」、緑色情報Gは「225」、青色情報Bは「103」となっている。このRGB表色系の画像データRGBをYUV表色系に変換する際には、青色成分色差情報Uおよび赤色成分色差情報Vへの変換は行わず、図2(a)に示す式1を用いた演算処理により輝度情報Yのみが取得され、得られた値を四捨五入することにより輝度情報Yが「210」と算出される。   In FIG. 10B, the red information R of the image data RGB is “222”, the green information G is “225”, and the blue information B is “103”. When converting the RGB color system image data RGB into the YUV color system, conversion to the blue component color difference information U and the red component color difference information V is not performed, and Expression 1 shown in FIG. Only the luminance information Y is acquired by the calculation processing performed, and the luminance information Y is calculated as “210” by rounding off the obtained value.

ここで、電子透かし成分Mの値を「−2」とすると、輝度情報Yに電子透かし成分Mとして「−2」を加算することによって、電子透かし成分Mが埋め込まれた輝度情報Y’の値が「208」と求められる。さらに、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)として、「−2」が得られる。   Here, when the value of the digital watermark component M is “−2”, the value of the luminance information Y ′ in which the digital watermark component M is embedded is obtained by adding “−2” as the digital watermark component M to the luminance information Y. Is determined to be “208”. Furthermore, “−2” is obtained as a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M.

そして、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)の値である「−2」を赤色情報Rの「222」に加算することにより、電子透かし埋め込み処理を施された赤色情報R’として「220」が算出される。   Then, “−2” which is a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ in which the digital watermark component M is embedded is set to “ By adding to “222”, “220” is calculated as the red information R ′ subjected to the digital watermark embedding process.

同様にして、緑色情報Gの「225」に値(Y’−Y)の値である「−2」を加算することにより、電子透かし埋め込み処理を施された緑色情報G’は「223」と算出され、青色情報Bの「103」に値(Y’−Y)の値である「−2」を加算することにより、電子透かし埋め込み処理を施された青色情報B’は「101」と算出される。   Similarly, by adding “−2” which is the value (Y′−Y) to “225” of the green information G, the green information G ′ subjected to the digital watermark embedding process becomes “223”. The blue information B ′ that has been subjected to the digital watermark embedding process is calculated as “101” by adding “−2” that is the value (Y′−Y) to “103” of the blue information B. Is done.

また、図10の(c)では、画像データRGBの赤色情報Rは「224」、緑色情報Gは「220」、青色情報Bは「100」となっている。このRGB表色系の画像データRGBをYUV表色系に変換する際には、青色成分色差情報Uおよび赤色成分色差情報Vへの変換は行わず、図2(a)に示す式1を用いた演算処理により輝度情報Yのみが取得され、得られた値を四捨五入することにより輝度情報Yが「208」と算出される。   In FIG. 10C, the red information R of the image data RGB is “224”, the green information G is “220”, and the blue information B is “100”. When converting the RGB color system image data RGB into the YUV color system, conversion to the blue component color difference information U and the red component color difference information V is not performed, and Expression 1 shown in FIG. Only the luminance information Y is acquired by the calculation processing performed, and the luminance information Y is calculated as “208” by rounding off the obtained value.

ここで、電子透かし成分Mの値を「−1」とすると、輝度情報Yに電子透かし成分Mとして「−1」を加算することによって、電子透かし成分Mが埋め込まれた輝度情報Y’の値が「207」と求められる。さらに、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)として、「−1」が得られる。   Here, when the value of the digital watermark component M is “−1”, the value of the luminance information Y ′ in which the digital watermark component M is embedded by adding “−1” as the digital watermark component M to the luminance information Y. Is "207". Furthermore, “−1” is obtained as a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M.

そして、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)の値である「−1」を赤色情報Rの「224」に加算することにより、電子透かし埋め込み処理を施された赤色情報R’として「223」が算出される。   Then, “−1”, which is a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ in which the digital watermark component M is embedded, is set to “ By adding to “224”, “223” is calculated as the red information R ′ subjected to the digital watermark embedding process.

同様にして、緑色情報Gの「220」に値(Y’−Y)の値である「−1」を加算することにより、電子透かし埋め込み処理を施された緑色情報G’は「219」と算出され、青色情報Bの「100」に値(Y’−Y)の値である「−1」を加算することにより、電子透かし埋め込み処理を施された青色情報B’は「99」と算出される。   Similarly, by adding “−1” which is a value (Y′−Y) to “220” of the green information G, the green information G ′ subjected to the digital watermark embedding process is “219”. The blue information B ′ that has been subjected to the digital watermark embedding process is calculated as “99” by adding “−1” that is a value (Y′−Y) to “100” of the blue information B. Is done.

また、図10の(d)では、画像データRGBの赤色情報Rは「219」、緑色情報Gは「215」、青色情報Bは「105」となっている。このRGB表色系の画像データRGBをYUV表色系に変換する際には、青色成分色差情報Uおよび赤色成分色差情報Vへの変換は行わず、図2(a)に示す式1を用いた演算処理により輝度情報Yのみが取得され、得られた値を四捨五入することにより輝度情報Yが「204」と算出される。   In FIG. 10D, the red information R of the image data RGB is “219”, the green information G is “215”, and the blue information B is “105”. When converting the RGB color system image data RGB into the YUV color system, conversion to the blue component color difference information U and the red component color difference information V is not performed, and Expression 1 shown in FIG. Only the luminance information Y is acquired by the calculation processing performed, and the luminance information Y is calculated as “204” by rounding off the obtained value.

ここで、電子透かし成分Mの値を「0」(電子透かし情報を埋め込まない場合である。)とすると、輝度情報Yに電子透かし成分Mとして「0」を加算することによって、電子透かし成分Mが埋め込まれた輝度情報Y’の値が「204」と求められる。さらに、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)として、「0」が得られる。   Here, if the value of the digital watermark component M is “0” (when the digital watermark information is not embedded), “0” is added to the luminance information Y as the digital watermark component M, whereby the digital watermark component M is added. The value of the luminance information Y ′ in which is embedded is obtained as “204”. Further, “0” is obtained as a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M.

そして、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)の値である「0」を赤色情報Rの「219」に加算することにより、電子透かし埋め込み処理を施された赤色情報R’として「219」が算出される。   Then, “0” which is a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M is set to “219” of the red information R. "219" is calculated as the red information R 'subjected to the digital watermark embedding process.

同様にして、緑色情報Gの「215」に値(Y’−Y)の値である「0」を加算することにより、電子透かし埋め込み処理を施された緑色情報G’は「215」と算出され、青色情報Bの「105」に値(Y’−Y)の値である「0」を加算することにより、電子透かし埋め込み処理を施された青色情報B’は「105」と算出される。   Similarly, by adding “0” which is a value (Y′−Y) to “215” of the green information G, the green information G ′ subjected to the digital watermark embedding process is calculated as “215”. Then, by adding “0” which is the value (Y′−Y) to “105” of the blue information B, the blue information B ′ subjected to the digital watermark embedding process is calculated as “105”. .

また、図10の(e)では、画像データRGBの赤色情報Rは「227」、緑色情報Gは「223」、青色情報Bは「140」となっている。このRGB表色系の画像データRGBをYUV表色系に変換する際には、青色成分色差情報Uおよび赤色成分色差情報Vへの変換は行わず、図2(a)に示す式1を用いた演算処理により輝度情報Yのみが取得され、得られた値を四捨五入することにより輝度情報Yが「215」と算出される。   In FIG. 10E, the red information R of the image data RGB is “227”, the green information G is “223”, and the blue information B is “140”. When converting the RGB color system image data RGB into the YUV color system, conversion to the blue component color difference information U and the red component color difference information V is not performed, and Expression 1 shown in FIG. Only the luminance information Y is acquired by the calculation processing performed, and the luminance information Y is calculated as “215” by rounding off the obtained value.

ここで、電子透かし成分Mの値を「2」とすると、輝度情報Yに電子透かし成分Mとして「2」を加算することによって、電子透かし成分Mが埋め込まれた輝度情報Y’の値が「217」と求められる。さらに、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)として、「2」が得られる。   Here, when the value of the digital watermark component M is “2”, by adding “2” as the digital watermark component M to the luminance information Y, the value of the luminance information Y ′ in which the digital watermark component M is embedded is “ 217 ". Further, “2” is obtained as a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ embedded with the digital watermark component M.

そして、電子透かし成分Mが埋め込まれた輝度情報Y’から電子透かし成分Mを埋め込む前の輝度情報Yを引いた値(Y’−Y)の値である「2」を赤色情報Rの「227」に加算することにより、電子透かし埋め込み処理を施された赤色情報R’として「229」が算出される。   Then, “2” which is a value (Y′−Y) obtained by subtracting the luminance information Y before embedding the digital watermark component M from the luminance information Y ′ in which the digital watermark component M is embedded is “227” of the red information R. "229" is calculated as red information R 'that has been subjected to the digital watermark embedding process.

同様にして、緑色情報Gの「223」に値(Y’−Y)の値である「2」を加算することにより、電子透かし埋め込み処理を施された緑色情報G’は「225」と算出され、青色情報Bの「140」に値(Y’−Y)の値である「2」を加算することにより、電子透かし埋め込み処理を施された青色情報B’は「142」と算出される。   Similarly, by adding “2” which is a value (Y′−Y) to “223” of the green information G, the green information G ′ subjected to the digital watermark embedding process is calculated as “225”. Then, by adding “2” which is the value (Y′−Y) to “140” of the blue information B, the blue information B ′ subjected to the digital watermark embedding process is calculated as “142”. .

このようにして算出した電子透かし埋め込み処理を施された画像データR’G’B’により、画質の劣化の少ない電子透かし情報を埋め込まれた元画像を得ることができる。   From the image data R′G′B ′ subjected to the digital watermark embedding process calculated in this way, an original image in which digital watermark information with little deterioration in image quality is embedded can be obtained.


ここで、ピクセル解像度が2048×2560ピクセルのビットマップ形式の画像において、透かし強度4で透かし埋め込み処理を行った場合の従来の技術による手法と本発明による手法とについて、それぞれの画質変化評価を行った。

Here, in the bitmap format image with a pixel resolution of 2048 × 2560 pixels, the image quality change evaluation is performed for the conventional technique and the technique according to the present invention when the watermark embedding process is performed with a watermark strength of 4. It was.

図11には、その画質変化評価の結果が示されており、従来の技術による手法に比べて本発明による手法においては、青色成分色差情報Uおよび赤色成分色差情報Vの変化率が大幅に低減することが示された。   FIG. 11 shows the result of the image quality change evaluation. In the method according to the present invention, the rate of change in the blue component color difference information U and the red component color difference information V is greatly reduced as compared with the conventional method. Was shown to do.

また、本発明による手法においては、従来の技術による手法に比べて赤色情報R’、緑色情報G’および青色情報B’の変化率が小さいので、本発明による手法によれば従来の技術による手法よりもノイズを抑制して画質の劣化を抑止することができる。   In the method according to the present invention, the rate of change of the red information R ′, the green information G ′, and the blue information B ′ is smaller than the method according to the conventional technique. Therefore, according to the method according to the present invention, the technique according to the conventional technique is used. Therefore, it is possible to suppress degradation of image quality by suppressing noise.

さらに、本発明による手法においては、赤色情報R’、緑色情報G’および青色情報B’の変化率は近似した値であり、基本的に輝度情報Yだけしか変化していないので、本発明による手法を用いた電子透かし埋め込み処理を施された画像は、高画質を保つことができる。   Furthermore, in the method according to the present invention, the change rates of the red information R ′, the green information G ′, and the blue information B ′ are approximate values, and basically only the luminance information Y is changed. An image subjected to the digital watermark embedding process using the technique can maintain high image quality.


なお、本発明による手法によれば、表色系の変換処理や電子透かし情報の埋め込み処理に関しては、青色成分色差情報Uならびに赤色成分色差情報Vに対しては何らの処理も行っていないため、理論上は青色成分色差情報Uならびに赤色成分色差情報Vの変化率はゼロとなるはずである。しかしながら、青色成分色差情報Uならびに赤色成分色差情報Vの値が「0」または「255」付近の場合には、電子透かし成分を埋め込むことによってオーバーフローが発生してしまうため、図11に示すように、青色成分色差情報Uならびに赤色成分色差情報Vの変化率はゼロとはならない場合がある。

According to the method of the present invention, no processing is performed on the blue component color difference information U and the red component color difference information V with respect to the color system conversion process and the digital watermark information embedding process. Theoretically, the change rate of the blue component color difference information U and the red component color difference information V should be zero. However, when the values of the blue component color difference information U and the red component color difference information V are in the vicinity of “0” or “255”, an overflow occurs due to embedding the digital watermark component, as shown in FIG. The change rate of the blue component color difference information U and the red component color difference information V may not be zero.


また、図12には、画像データRGBをRGB→YUV変換処理により得られた画像データYUVと、従来の技術により画像データYUVに電子透かし埋め込み処理を施した画像データY’UVと、本発明の手法により画像データYUVに電子透かし埋め込み処理を施した画像データY’UVとを比較した比較結果が示されている。

FIG. 12 also shows image data YUV obtained by converting RGB image data from RGB to YUV, image data Y′UV obtained by subjecting image data YUV to digital watermark embedding by conventional techniques, and the present invention. A comparison result comparing image data Y′UV obtained by performing digital watermark embedding processing on image data YUV by the technique is shown.

この比較結果によれば、輝度情報Y’では従来の技術と本発明による手法とではあまり差がみられない。一方、電子透かし埋め込み処理を施していない青色成分色差情報Uならびに赤色成分色差情報Vとの比較に関しては、図12において強調表示したように、従来の技術により画像データYUVに電子透かし埋め込み処理を施した画像データY’UVでは大きな差異が見られるのに対して、本発明の手法により画像データYUVに電子透かし埋め込み処理を施した画像データY’UVでは差異がほとんど見られない。   According to this comparison result, there is not much difference in luminance information Y ′ between the conventional technique and the method according to the present invention. On the other hand, regarding the comparison with the blue component color difference information U and the red component color difference information V that have not been subjected to the digital watermark embedding process, as shown in FIG. 12, the digital watermark embedding process is performed on the image data YUV by the conventional technique. The image data Y′UV shows a large difference, whereas the image data Y′UV obtained by applying the digital watermark embedding process to the image data YUV by the method of the present invention hardly shows any difference.

なお、図12に示す比較結果においては、比較精度を高めるために四捨五入していない値を用いた。   In addition, in the comparison result shown in FIG. 12, the value which is not rounded off was used in order to improve the comparison precision.


以上において説明したように、本発明の手法による電子透かし埋め込み方法を用いると、人間の目にとって敏感に感じられる青色成分色差情報Uならびに赤色成分色差情報Vの変化を大幅に抑えることができる。例えば、透かし強度2の場合、図13に示すように、青色成分色差情報Uならびに赤色成分色差情報Vの変化率に関して、本発明による手法は従来の技術に対して約80%の改善効果がある。

As described above, when the digital watermark embedding method according to the method of the present invention is used, changes in the blue component color difference information U and the red component color difference information V that are sensitive to human eyes can be significantly suppressed. For example, in the case of watermark strength 2, as shown in FIG. 13, the method according to the present invention has an improvement effect of about 80% over the prior art with respect to the change rate of the blue component color difference information U and the red component color difference information V. .

また、従来の技術によれば、表色系の変換の際に図2(a)(b)に示す式1〜6に関して14回の演算処理を行っていたが、本発明による手法によれば、輝度情報Yの値のみが必要となるので式1における3回の演算処理だけを行えばよく、CPU12による演算処理を大幅に削減でき、処理速度を大幅に向上することができるものであり、例えば、約70%の改善効果がある。   In addition, according to the conventional technology, 14 arithmetic operations are performed on the equations 1 to 6 shown in FIGS. 2A and 2B when the color system is converted. Since only the value of the luminance information Y is required, it is only necessary to perform the three arithmetic processings in Equation 1, the arithmetic processing by the CPU 12 can be greatly reduced, and the processing speed can be greatly improved. For example, there is an improvement effect of about 70%.

また、本発明による手法によれば、青色成分色差情報Uならびに赤色成分色差情報Vを記憶領域に保持しなくてもよいため、従来の技術において1ピクセルあたり6バイトを利用していたものが、1ピクセルあたり5バイトの利用ですみ、利用するメモリの消費量を約17%低減することができる。
そして、上記においても説明したように、本発明による手法によれば、従来の技術に比べて、元画像の画像データの値と元画像に電子透かし成分を埋め込んだ画像の画像データの値との差が小さくなるため、従来の技術よりも電子透かし埋め込み処理による画像の画質が向上し、透かし強度を向上させることが可能となる。
Further, according to the method of the present invention, since the blue component color difference information U and the red component color difference information V do not need to be stored in the storage area, in the conventional technique, 6 bytes per pixel are used. Only 5 bytes are used per pixel, and the amount of memory consumed can be reduced by about 17%.
As described above, according to the technique of the present invention, the value of the image data of the original image and the value of the image data of the image in which the digital watermark component is embedded in the original image are compared with the conventional technique. Since the difference is reduced, the image quality by the digital watermark embedding process is improved and the watermark strength can be improved as compared with the conventional technique.

本発明は、RGB表色系の画像データに電子透かし情報を埋め込む際に利用することができる。   The present invention can be used when embedding digital watermark information in RGB color system image data.

図1は、従来の技術によるRGB表色系の画像データに電子透かし情報を埋め込む処理を示すブロック説明図である。FIG. 1 is an explanatory block diagram illustrating processing for embedding digital watermark information in RGB color system image data according to the prior art. 図2(a)は、画像データをRGB表色系からYUV表色系に変換するRGB→YUV変換処理に用いる変換式を示す説明図であり、図1(b)は、画像データをYUV表色系からRGB表色系に変換するYUV→RGB変換処理に用いる変換式を示す説明図である。FIG. 2A is an explanatory diagram showing a conversion formula used for RGB → YUV conversion processing for converting image data from the RGB color system to the YUV color system, and FIG. It is explanatory drawing which shows the conversion formula used for the YUV-> RGB conversion process which converts into a RGB color system from a color system. 図3は、RGB表色系からYUV表色系への変換を行った後にさらにそのYUV表色系をRGB表色系へ変換した後において、元のRGB表色系と変換後のRGB表色系(変換後のRGB表色系のRをR’として示し、変換後のRGB表色系のGをG’として示し、変換後のRGB表色系のBをB’として示す。)とを比較し、R、G、Bのそれぞれが0〜255の範囲で変化する全部で16777216点の中で、「R−R’」と「G−G’」と「B−B’」とについて、それぞれ全16777216点中に誤差が1.0以上ある数の割合を示した図表である。FIG. 3 shows the original RGB color system and the converted RGB color after the YUV color system is converted to the RGB color system after the conversion from the RGB color system to the YUV color system. System (R in the RGB color system after conversion is shown as R ′, G in the RGB color system after conversion is shown as G ′, and B in the RGB color system after conversion is shown as B ′). In comparison, among the total 16777216 points where each of R, G and B varies in the range of 0 to 255, about “RR ′”, “GG ′” and “BB ′”, It is the graph which showed the ratio of the number which has an error 1.0 or more in all 16777216 points respectively. 図4(a)は、青色成分色差情報Uの誤差範囲を示したグラフであり、図4(b)は、青色情報Bの誤差範囲を示したグラフである。4A is a graph showing the error range of the blue component color difference information U, and FIG. 4B is a graph showing the error range of the blue information B. 図5は、RGB表色系からYUV表色系への変換を行った後にさらにそのYUV表色系をRGB表色系へ変換した場合について、元のRGB表色系と変換後のRGB表色系(変換後のRGB表色系のRをR’として示し、変換後のRGB表色系のGをG’として示し、変換後のRGB表色系のBをB’として示す。)との誤差を説明するための図表である。FIG. 5 shows the original RGB color system and the converted RGB color system when the YUV color system is further converted to the RGB color system after the conversion from the RGB color system to the YUV color system. System (R in the RGB color system after conversion is shown as R ′, G in the RGB color system after conversion is shown as G ′, and B in the RGB color system after conversion is shown as B ′). It is a chart for demonstrating an error. 図6は、RGB表色系からYUV表色系への変換を行った後に、輝度情報Yに電子透かし情報を埋め込み輝度情報Y’を生成し、電子透かし情報を埋め込んだYUV表色系をRGB表色系へ変換した場合について、元のRGB表色系と変換後のRGB表色系(変換後のRGB表色系のRをR’として示し、変換後のRGB表色系のGをG’として示し、変換後のRGB表色系のBをB’として示す。)との誤差を説明するための図表である。FIG. 6 shows that after performing the conversion from the RGB color system to the YUV color system, the digital watermark information is embedded in the luminance information Y to generate luminance information Y ′, and the YUV color system in which the digital watermark information is embedded is converted into RGB. In the case of conversion to the color system, the original RGB color system and the converted RGB color system (R in the converted RGB color system is shown as R ′, and G in the converted RGB color system is G. It is a chart for explaining an error from 'shown as B and B in the RGB color system after conversion as B'). 図7は、本発明による電子透かし埋め込み方法を実施するための電子透かし埋め込み処理装置のシステム構成の一例を表すブロック構成図である。FIG. 7 is a block diagram showing an example of the system configuration of a digital watermark embedding processing apparatus for implementing the digital watermark embedding method according to the present invention. 図8は、本発明による電子透かし埋め込み処理の処理ルーチンを示すフローチャートである。FIG. 8 is a flowchart showing a processing routine of digital watermark embedding processing according to the present invention. 図9は、本発明によるRGB表色系の画像データに電子透かし情報を埋め込む処理を示すブロック説明図である。FIG. 9 is a block diagram illustrating processing for embedding digital watermark information in RGB color system image data according to the present invention. 図10は、本発明による電子透かし埋め込み方法で処理された画像データR’G’B’の算出結果を示す図表である。FIG. 10 is a chart showing the calculation result of the image data R′G′B ′ processed by the digital watermark embedding method according to the present invention. 図11は、透かし強度4の場合における本発明による各情報の変化率と従来の技術による各情報の変化率とを比較して示した図表である。FIG. 11 is a chart comparing the rate of change of each information according to the present invention with the rate of change of each information according to the prior art when the watermark strength is 4. 図12は、画像データRGBをRGB→YUV変換処理により得られた画像データYUVと、従来の技術により画像データYUVに電子透かし埋め込み処理を施した画像データY’UVと、本発明の手法により画像データYUVに電子透かし埋め込み処理を施した画像データY’UVとを比較した比較結果を示す図表である。FIG. 12 shows image data YUV obtained by RGB → YUV conversion processing of image data RGB, image data Y′UV obtained by subjecting image data YUV to digital watermark embedding processing by a conventional technique, and an image obtained by the method of the present invention. It is a graph which shows the comparison result which compared the image data Y'UV which performed the electronic watermark embedding process to the data YUV. 図13は、透かし強度2の場合における本発明による各情報の変化率と従来の技術による各情報の変化率とを比較して示したた図表である。FIG. 13 is a chart showing a comparison between the rate of change of each information according to the present invention and the rate of change of each information according to the prior art when the watermark strength is 2.

符号の説明Explanation of symbols

10 電子透かし埋め込み処理装置
12 中央処理装置(CPU)
14 バス
16 記憶装置
18 表示装置
20 ポインティングデバイス
22 文字入力デバイス
24 画像データ入出力装置
10 Digital Watermark Embedding Processing Device 12 Central Processing Unit (CPU)
14 bus 16 storage device 18 display device 20 pointing device 22 character input device 24 image data input / output device

Claims (6)

カラー画像に電子透かし情報を埋め込む電子透かし埋め込み方法において、
RGB表色系の元画像の画像データの赤色情報Rと緑色情報Gと青色情報Bとに基づいてYUV表色系の輝度情報Yを生成する第1のステップと、
前記第1のステップで生成された輝度情報Yに対して電子透かし情報を埋め込んで、前記電子透かし情報を埋め込まれた輝度情報Yたる輝度情報Y’を生成する第2のステップと、
前記第1のステップで生成された輝度情報Yと前記第2のステップで生成された輝度情報Y’と前記元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとに基づいて、前記元画像に電子透かし情報を埋め込んだRGB表色系の画像データを生成する第3のステップと
を有することを特徴とする電子透かし埋め込み方法。
In a digital watermark embedding method for embedding digital watermark information in a color image,
A first step of generating luminance information Y of the YUV color system based on the red information R, green information G, and blue information B of the image data of the RGB color system original image;
A second step of embedding digital watermark information in the luminance information Y generated in the first step to generate luminance information Y ′ as the luminance information Y embedded with the digital watermark information;
Based on the luminance information Y generated in the first step, the luminance information Y ′ generated in the second step, the red color information R, the green color information G, and the blue color information B of the RGB color system of the original image. And a third step of generating RGB color system image data in which digital watermark information is embedded in the original image.
請求項1に記載の電子透かし埋め込み方法において、
前記第1のステップは、RGB表色系の画像データをYUV表色系の画像データに変換する変換処理において、輝度情報Yのみを生成する
ことを特徴とする電子透かし埋め込み方法。
The digital watermark embedding method according to claim 1,
The electronic watermark embedding method characterized in that the first step generates only luminance information Y in a conversion process of converting RGB color system image data into YUV color system image data.
請求項1または2のいずれか1項に記載の電子透かし埋め込み方法において、
前記第3のステップは、前記第1のステップで生成された輝度情報Yと前記第2のステップで生成された輝度情報Y’との差分値を生成し、前記差分値と前記元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとをそれぞれ演算処理し、前記元画像に電子透かし情報を埋め込んだRGB表色系の画像データを生成する
ことを特徴とする電子透かし埋め込み方法。
The digital watermark embedding method according to claim 1 or 2,
The third step generates a difference value between the luminance information Y generated in the first step and the luminance information Y ′ generated in the second step, and the difference value and RGB of the original image Digital watermark embedding characterized by calculating each of red information R, green information G, and blue information B of the color system and generating RGB color system image data in which the digital watermark information is embedded in the original image Method.
請求項3に記載の電子透かし埋め込み方法において、
前記演算処理は、前記差分値を前記元画像のRGB表色系の赤色情報Rと緑色情報Gと青色情報Bとにそれぞれ加算する処理である
ことを特徴とする電子透かし埋め込み方法。
The digital watermark embedding method according to claim 3,
The digital watermark embedding method, wherein the calculation process is a process of adding the difference value to red information R, green information G, and blue information B of the RGB color system of the original image.
請求項1、2、3または4のいずれか1項に記載の電子透かし埋め込み方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the digital watermark embedding method according to any one of claims 1, 2, 3, and 4. 請求項5に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 5 is recorded.
JP2006244822A 2006-09-08 2006-09-08 Digital-watermarking embedding method, program, and computer-readable recording medium Pending JP2008067233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006244822A JP2008067233A (en) 2006-09-08 2006-09-08 Digital-watermarking embedding method, program, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006244822A JP2008067233A (en) 2006-09-08 2006-09-08 Digital-watermarking embedding method, program, and computer-readable recording medium

Publications (1)

Publication Number Publication Date
JP2008067233A true JP2008067233A (en) 2008-03-21

Family

ID=39289498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006244822A Pending JP2008067233A (en) 2006-09-08 2006-09-08 Digital-watermarking embedding method, program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP2008067233A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253854A (en) * 2008-04-09 2009-10-29 Nippon Telegr & Teleph Corp <Ntt> Method, device, and program of embedding digital watermark, and computer readable recording medium
US9159112B2 (en) 2010-09-16 2015-10-13 Hewlett-Packard Development Company, L.P. Digital watermarking using saturation patterns
CN106372467A (en) * 2016-08-31 2017-02-01 哈尔滨工程大学 Copyright protection sea chart watermark method based on color components
WO2024087864A1 (en) * 2022-10-24 2024-05-02 抖音视界有限公司 Image watermarking method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000134461A (en) * 1998-10-27 2000-05-12 Kowa Co Method for imbedding electronic watermark and its decoding method
JP2002281283A (en) * 2001-03-21 2002-09-27 Sharp Corp Information embedding method, information detecting method and recording medium having recorded programs

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000134461A (en) * 1998-10-27 2000-05-12 Kowa Co Method for imbedding electronic watermark and its decoding method
JP2002281283A (en) * 2001-03-21 2002-09-27 Sharp Corp Information embedding method, information detecting method and recording medium having recorded programs

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253854A (en) * 2008-04-09 2009-10-29 Nippon Telegr & Teleph Corp <Ntt> Method, device, and program of embedding digital watermark, and computer readable recording medium
US9159112B2 (en) 2010-09-16 2015-10-13 Hewlett-Packard Development Company, L.P. Digital watermarking using saturation patterns
CN106372467A (en) * 2016-08-31 2017-02-01 哈尔滨工程大学 Copyright protection sea chart watermark method based on color components
CN106372467B (en) * 2016-08-31 2019-11-12 哈尔滨工程大学 A kind of sea chart water mark method for copyright protection based on color component
WO2024087864A1 (en) * 2022-10-24 2024-05-02 抖音视界有限公司 Image watermarking method and device

Similar Documents

Publication Publication Date Title
JP4135737B2 (en) Image processing program
JP2008067373A (en) Image correction method and apparatus
CN109118436B (en) Image tone adaptation method, corresponding electronic device and storage medium
JP2009027612A (en) Video signal processing apparatus, video signal processing method, and display apparatus
JP2008067233A (en) Digital-watermarking embedding method, program, and computer-readable recording medium
US11954765B2 (en) Applying random patches to pixel block of an image utilizing different weights
JP5676874B2 (en) Image processing apparatus, control method therefor, and program
US20090268253A1 (en) Image processing apparatus
JP2005346639A (en) Image processing apparatus and image processing method
JP5106483B2 (en) Method and apparatus for vertically scaling pixel data
JP2009049752A (en) Video signal processing device, video signal processing method and display device
JP2006254432A (en) Digital image data-processing method for processing digital image data
JP2011128714A (en) Image processing apparatus, image data and image processing program
JP2009206563A (en) Image signal processing apparatus, and image signal processing program
JP4632100B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP2007195216A (en) Image processing apparatus, image processing method and image processing program
JP2007139838A (en) Apparatus and method for processing image
US20240221245A1 (en) Display apparatus and image processing method thereof for applying random patches to pixel block
JP2018085578A (en) Image processing apparatus, image processing method, and program
JP2010026690A (en) Image processing device
JP2011023975A (en) Data transfer device, data transfer program, data transfer system, image display system, and data transfer method
JP2005128618A (en) Divider, exposure control device, and division method
JP2023168073A (en) Image processing apparatus and image processing method
CN116489377A (en) Image processing method and electronic device
JP2005269476A (en) Apparatus and method for correcting luminance data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100601

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101012