JP2000032406A - Electronic watermark insertion system to digital signal - Google Patents

Electronic watermark insertion system to digital signal

Info

Publication number
JP2000032406A
JP2000032406A JP10195548A JP19554898A JP2000032406A JP 2000032406 A JP2000032406 A JP 2000032406A JP 10195548 A JP10195548 A JP 10195548A JP 19554898 A JP19554898 A JP 19554898A JP 2000032406 A JP2000032406 A JP 2000032406A
Authority
JP
Japan
Prior art keywords
watermark
signal
outputting
image
output
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
JP10195548A
Other languages
Japanese (ja)
Other versions
JP3387418B2 (en
Inventor
Riyouma Ooami
亮磨 大網
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP19554898A priority Critical patent/JP3387418B2/en
Publication of JP2000032406A publication Critical patent/JP2000032406A/en
Application granted granted Critical
Publication of JP3387418B2 publication Critical patent/JP3387418B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/005Robust watermarking, e.g. average attack or collusion attack resistant
    • G06T1/0057Compression invariant watermarking

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an electronic watermark system, where the detection rate is improved while suppressing deterioration in quality of a digital signal by taking deterioration in an image due to irreversible compression into account so as to insert an electronic watermark to the digital signal. SOLUTION: A linear conversion circuit 50 applies linear conversion to a digital signal to calculate an original signal conversion coefficient. A quantizer 51 quantizes the original signal conversion coefficient and provides the output of a quantized value and quantization information, and an inverse quantizer 53 applies inverse quantization to the quantized value to obtain an inversely quantized value. A unit visual sense/ audible sense distortion calculation circuit 55 calculates unit visual sense/audible sense distortion for each original signal conversion coefficient, a watermark signal generating circuit 54 calculates a watermark signal based on the original signal conversion coefficient, electronic watermark information, the inversely quantized value, the quantization information and the unit visual sense/audible sense distortion. In this case first the circuit 54 calculates an object signal to insert the electronic watermark, then calculates a watermark signal to correct the quantized value, an adder 5 adds the watermark signal to the quantized value, and a code converter 56 converts the result of sum into a code string.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、非可逆圧縮符号化
を伴うディジタル信号の電子透かし挿入に関し、特に、
符号化で用いる変換と同じ変換を行なって電子透かしを
挿入するシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the insertion of a digital watermark into a digital signal with lossy compression coding.
The present invention relates to a system for performing the same conversion as that used in encoding to insert a digital watermark.

【0002】[0002]

【従来の技術】この種の従来の、画像への電子透かし挿
入システムとして、例えば文献1(1997年1月、暗
号と情報セキュリティシンポジウム(SCIS97)予
稿SCIS97−26A「ディジタル画像の著作権保護
のための周波数領域における電子透かし方式」)に記載
される方式が知られている。この方式では、原画像を8
×8などの一定の大きさのブロックに区切り、各ブロッ
クにDCT(離散コサイン変換)を行って、得られるD
CT係数に電子透かしを挿入している。具体的には、D
CT係数Dを、電子透かし強度hを基準にして丸め込む
ことで透かし情報を挿入する。もし、挿入すべき情報が
0であるならば、DCT係数Dを
2. Description of the Related Art As this kind of conventional digital watermark insertion system for images, for example, reference 1 (January 1997, Encryption and Information Security Symposium (SCIS97) draft SCIS97-26A, "Digital image copyright protection"). The digital watermarking method in the frequency domain ”) is known. In this method, the original image is
The block is divided into blocks of a fixed size such as × 8, and each block is subjected to DCT (discrete cosine transform) to obtain a D
An electronic watermark is inserted in the CT coefficient. Specifically, D
Watermark information is inserted by rounding the CT coefficient D based on the digital watermark strength h. If the information to be inserted is 0, the DCT coefficient D

【0003】 のように丸め込む。[0003] Round like

【0004】一方、挿入すべき情報が1であるならば、
DCT係数Dを
On the other hand, if the information to be inserted is 1,
DCT coefficient D

【0005】 のように丸め込む。[0005] Round like

【0006】埋め込まれた電子透かしを検出するときに
は、まず、画像を8×8などの一定の大きさのブロック
に区切り、各ブロックにDCTを行ってDCT係数D'を
得る。次に、D'を透かし強度hで量子化したときの量子
化残差P
When detecting an embedded digital watermark, first, an image is divided into blocks of a fixed size such as 8.times.8, and DCT is performed on each block to obtain a DCT coefficient D '. Next, the quantization residual P when D ′ is quantized by the watermark strength h

【0007】 を調べて、埋め込まれた透かし情報を得る。このとき、 であれば埋め込まれている情報は0と判定し、 であれば埋め込まれている情報は1と判定する。[0007] To obtain embedded watermark information. At this time, If so, the embedded information is determined to be 0, If so, the embedded information is determined to be 1.

【0008】このようにして電子透かしの挿入、検出を
行うが、どのDCT係数に電子透かしを挿入するかは、
乱数によって決定し、この乱数を鍵としている。また、
画像全体に同じ透かし情報を繰り返し挿入して、耐性を
高めるようにしている。この方式では、挿入のときには
人間の視覚特性は考慮していない。
[0008] Insertion and detection of a digital watermark are performed in this manner. To which DCT coefficient a digital watermark is to be inserted is determined.
It is determined by a random number, and this random number is used as a key. Also,
The same watermark information is repeatedly inserted into the entire image to increase the durability. In this method, human visual characteristics are not taken into account at the time of insertion.

【0009】また、DCTではなくウェーブレット変換
を用いる方式として、例えば文献2(1998年2月、
信学技報97巻、565号、37〜42頁に記載のCQ
97−76「多重解像度解析によるデジタル画像への電
子透かし法」)に記載される方式が知られている。この
方式では、原画像をウェーブレット変換により多重解像
度分解した後、高域係数のパワーが高くなる位置の低域
係数に電子透かしを挿入する。すなわち、高域係数の2
乗和を求め、それが閾値以上となる低域係数を選択して
電子透かしを挿入する。その挿入方法は、前記文献1
「ディジタル画像の著作権保護のための周波数領域にお
ける電子透かし方式」と類似しており、もし、挿入すべ
き情報が0であるならば、ウェーブレット変換係数を透
かし強度hの偶数倍となるように丸め込む。一方、挿入
すべき情報が1であるならば、ウェーブレット変換係数
を透かし強度hの奇数倍となるように丸め込む。
As a method using wavelet transform instead of DCT, for example, Reference 2 (February 1998,
CQ described in IEICE Technical Report Vol. 97, No. 565, pp. 37-42
97-76 "Digital watermarking method for digital image by multi-resolution analysis") is known. In this method, after an original image is decomposed into multiple resolutions by wavelet transform, a digital watermark is inserted into a low-frequency coefficient at a position where the power of a high-frequency coefficient becomes high. That is, the high frequency coefficient 2
A sum of squares is obtained, a low-frequency coefficient at which the sum is equal to or larger than a threshold is selected, and a digital watermark is inserted. The insertion method is described in the aforementioned document 1.
It is similar to the “digital watermarking scheme in the frequency domain for copyright protection of digital images”. If the information to be inserted is 0, the wavelet transform coefficient is set to be an even multiple of the watermark strength h. Round it in. On the other hand, if the information to be inserted is 1, the wavelet transform coefficient is rounded so as to be an odd multiple of the watermark strength h.

【0010】上述した従来の各電子透かし挿入方式にお
いては、原画に対して直接電子透かしを挿入し、挿入の
際には、非可逆圧縮のことは考慮していない。すなわ
ち、電子透かしの挿入と非可逆圧縮はまったく独立のプ
ロセスである。これらの方式で電子透かしを挿入し、そ
の後に非可逆圧縮を行う場合は、次のようになる。
In each of the above-described conventional digital watermark insertion methods, a digital watermark is directly inserted into an original image, and irreversible compression is not taken into account when the digital watermark is inserted. That is, the insertion of the digital watermark and the lossy compression are completely independent processes. In the case where a digital watermark is inserted by these methods and then irreversible compression is performed, the following is performed.

【0011】図7は、従来方式で電子透かしを挿入し、
これに対して、DCTに基づく非可逆符号化を行う場合
の電子透かし挿入および符号化器の構成の一例を示すブ
ロック図である。
FIG. 7 shows a conventional method of inserting a digital watermark,
On the other hand, it is a block diagram illustrating an example of the configuration of an electronic watermark insertion and encoder when irreversible encoding based on DCT is performed.

【0012】図7を参照すると、電子透かし挿入器10
は、入力画像に電子透かしを挿入し、画像符号化器11
に出力する。画像符号化器11は、電子透かし挿入器1
0から入力される画像を符号化し、符号列を生成して出
力する。
Referring to FIG. 7, a digital watermark inserter 10 is provided.
Inserts a digital watermark into the input image,
Output to The image encoder 11 includes the digital watermark inserter 1
The image input from 0 is encoded, a code string is generated and output.

【0013】さらに、電子透かし挿入器10は、DCT
回路1、電子透かし挿入回路2、及び、逆DCT(Inve
rse DCT、「IDCT」ともいう)回路3を備えて構成
されており、DCT回路1は、入力画像にDCTを行
い、DCT係数を電子透かし挿入回路2へ出力する。電
子透かし挿入回路2は、透かし情報に基づいて透かし信
号を計算し、DCT回路1から出力されるDCT係数に
透かし信号を乗せ、透かし入りDCT係数として逆DC
T(Inverse DCT)回路3に出力する。逆DCT回路3
は、電子透かし挿入回路2から出力される透かし入りD
CT係数に逆DCTを行って、透かし挿入画像を出力す
る。そして、この透かし挿入画像は、画像符号化器11
のDCT回路4に入力される。
Further, the digital watermark inserter 10 has a DCT
Circuit 1, digital watermark insertion circuit 2, and inverse DCT (Inve
The DCT circuit 1 performs DCT on an input image and outputs DCT coefficients to a digital watermark insertion circuit 2. The digital watermark insertion circuit 2 calculates a watermark signal based on the watermark information, puts the watermark signal on the DCT coefficient output from the DCT circuit 1, and generates an inverse DCT coefficient as the watermarked DCT coefficient.
Output to the T (Inverse DCT) circuit 3. Inverse DCT circuit 3
Is the watermarked D output from the digital watermark insertion circuit 2.
Inverse DCT is performed on the CT coefficient to output a watermark inserted image. Then, the watermark inserted image is output to the image encoder 11.
Is input to the DCT circuit 4.

【0014】画像符号化器11は、DCT回路4、量子
化器5、及び、符号変換器6を備えて構成されており、
DCT回路4は、逆DCT回路3から出力される電子透
かし挿入画像にDCTを行い、DCT係数を量子化器5
へ出力する。量子化器5は、DCT回路4から出力され
るDCT係数を量子化して、量子化値を符号変換器6へ
出力する。符号変換器6は、量子化器5から出力される
量子化値に可変長符号化を行って、符号列を出力する。
The image encoder 11 includes a DCT circuit 4, a quantizer 5, and a code converter 6.
The DCT circuit 4 performs DCT on the digital watermark inserted image output from the inverse DCT circuit 3 and converts the DCT coefficient into a quantizer 5.
Output to The quantizer 5 quantizes the DCT coefficient output from the DCT circuit 4 and outputs a quantized value to the code converter 6. The code converter 6 performs variable length coding on the quantized value output from the quantizer 5 and outputs a code string.

【0015】次に、図7に示した回路の動作について説
明する。入力画像は、8×8のブロックに分解され、D
CT回路1において、個々のブロックに対してDCTが
行われ、8×8DCT係数が出力される。電子透かし挿
入回路2では、入力される透かし情報から透かし信号を
計算して、8×8DCT係数に加算する。この電子透か
し挿入方式には、例えば前記文献1「ディジタル画像の
著作権保護のための周波数領域における電子透かし方
式」に示される方式がある。そして、電子透かしの挿入
された8×8DCT係数が求まる。この透かし情報の入
った8×8DCT係数は、逆DCT回路3において8×
8ブロックごとに逆DCTが行われ、電子透かしの挿入
された画像が求まる。
Next, the operation of the circuit shown in FIG. 7 will be described. The input image is decomposed into 8 × 8 blocks, and D
In the CT circuit 1, DCT is performed on each block, and 8 × 8 DCT coefficients are output. The digital watermark insertion circuit 2 calculates a watermark signal from the input watermark information and adds it to the 8 × 8 DCT coefficient. This digital watermark insertion method includes, for example, a method described in the above-mentioned document 1 “Digital watermarking method in frequency domain for copyright protection of digital images”. Then, an 8 × 8 DCT coefficient into which the digital watermark has been inserted is obtained. The 8 × 8 DCT coefficient containing the watermark information is converted by the inverse DCT circuit 3 into an 8 × 8 DCT coefficient.
Inverse DCT is performed every eight blocks, and an image with a digital watermark inserted is obtained.

【0016】このようにして求まった画像は、画像符号
化機11に入力され、まず、DCT回路4で8×8DC
Tが行われ、DCT係数が出力される。このDCT係数
は、量子化器5において、量子化が行われる。例えば、
JPEG符号化を行う場合には、量子化テーブルに基づ
いて、各DCT係数の量子化幅が決定され、量子化され
る。そして、求まった量子化値は、符号変換器6におい
て、ジグザグスキャンなどによって一次元に走査された
後、ハフマン符号化や算術符号化によって符号列に変換
され出力される。符号列を生成する際には、量子化パラ
メータなどの付加情報も一緒に多重化される。
The image obtained in this way is input to the image encoder 11, and first, an 8 × 8 DC
T is performed and a DCT coefficient is output. This DCT coefficient is quantized in the quantizer 5. For example,
When performing JPEG encoding, the quantization width of each DCT coefficient is determined based on the quantization table and is quantized. Then, the obtained quantized value is one-dimensionally scanned by the code converter 6 by zigzag scanning or the like, and then converted into a code string by Huffman coding or arithmetic coding and output. When generating a code string, additional information such as a quantization parameter is multiplexed together.

【0017】図8は、従来方式で電子透かしを挿入し、
これにMPEGなどの非可逆符号化を行う場合の電子透
かし挿入および符号化器の構成の一例を示すブロック図
である。図8において、電子透かし挿入器10は、入力
画像に電子透かしを挿入し、画像符号化器40に出力す
る。電子透かし挿入器10は、図7に示した電子透かし
挿入器10と同じ構成である。画像符号化器40は、電
子透かし挿入器10から入力される画像を符号化し、符
号列を生成して出力する。画像符号化器40は、減算機
21、DCT22、量子化器23、逆量子化器25、逆
DCT26、加算器27、フレームメモリ28、及び、
符号変換器24を備えて構成されている。
FIG. 8 shows a conventional method of inserting a digital watermark,
FIG. 3 is a block diagram showing an example of the configuration of an electronic watermark insertion and encoder when irreversible encoding such as MPEG is performed. In FIG. 8, a digital watermark inserter 10 inserts a digital watermark into an input image and outputs the image to an image encoder 40. The digital watermark inserter 10 has the same configuration as the digital watermark inserter 10 shown in FIG. The image encoder 40 encodes an image input from the digital watermark inserter 10, generates a code string, and outputs the code string. The image encoder 40 includes a subtracter 21, a DCT 22, a quantizer 23, an inverse quantizer 25, an inverse DCT 26, an adder 27, a frame memory 28,
It comprises a code converter 24.

【0018】電子透かし挿入器10の逆DCT回路3か
ら出力される透かし挿入画像は、画像符号化器40の減
算器21に入力される。減算器21は、逆DCT回路3
から出力される透かし挿入画像から、フレームメモリ2
8から出力される動き補償予測画像を減じて、その差分
信号である予測誤差画像を、DCT回路22へ出力す
る。
The watermark inserted image output from the inverse DCT circuit 3 of the digital watermark inserter 10 is input to the subtracter 21 of the image encoder 40. The subtracter 21 is used for the inverse DCT circuit 3
From the watermark inserted image output from the
The motion compensated prediction image output from 8 is subtracted, and a prediction error image as a difference signal is output to the DCT circuit 22.

【0019】DCT回路22は、減算器21から出力さ
れる予測誤差画像信号にDCTを施し、量子化器23へ
DCT係数を出力する。量子化器23は、DCT回路2
2から出力されるDCT係数を量子化し、量子化値を符
号変換器24と逆量子化器25へ出力する。符号変換器
24は、量子化器23から出力される量子化値に可変長
符号化を行って、符号列を出力する。逆量子化器25
は、量子化器23から出力される量子化値を逆量子化し
て、逆量子化値を逆DCT回路26へ出力する。逆DC
T回路26は、逆量子化器25から出力される逆量子化
値に逆DCTを行って、局所復号予測誤差画像を加算器
27へ出力する。加算器27は、逆DCT回路26から
出力される局所復号予測誤差画像に、フレームメモリ2
8から出力される動き補償予測画像を加算して、局所復
号画像を、フレームメモリ28へ出力する。フレームメ
モリ28は、加算器27から出力される局所復号画像に
動き補償を行って、動き補償予測画像を減算器21と加
算器27へ出力する。
The DCT circuit 22 performs DCT on the prediction error image signal output from the subtracter 21 and outputs a DCT coefficient to the quantizer 23. The quantizer 23 is a DCT circuit 2
2 is quantized, and the quantized value is output to the code converter 24 and the inverse quantizer 25. The code converter 24 performs variable length coding on the quantized value output from the quantizer 23 and outputs a code string. Inverse quantizer 25
Dequantizes the quantized value output from the quantizer 23 and outputs the dequantized value to the inverse DCT circuit 26. Inverse DC
The T circuit 26 performs an inverse DCT on the inversely quantized value output from the inverse quantizer 25, and outputs a locally decoded prediction error image to the adder 27. The adder 27 adds the local decoded prediction error image output from the inverse DCT circuit 26 to the frame memory 2.
8 and outputs the locally decoded image to the frame memory 28 by adding the motion compensated prediction image. The frame memory 28 performs motion compensation on the locally decoded image output from the adder 27, and outputs a motion-compensated predicted image to the subtractor 21 and the adder 27.

【0020】次に、図8に示した回路の動作について説
明する。電子透かし挿入器10において、入力画像に電
子透かしが挿入され、電子透かし挿入画像が生成、出力
される。電子透かし挿入器10の動作は、図7に示した
ものと同じである。
Next, the operation of the circuit shown in FIG. 8 will be described. In the digital watermark inserter 10, a digital watermark is inserted into an input image, and a digital watermark inserted image is generated and output. The operation of the digital watermark inserter 10 is the same as that shown in FIG.

【0021】電子透かし挿入器10で求まった電子透か
し挿入画像は、動画像符号化器40に入力され、減算器
21において、フレームメモリ28から出力される動き
補償予測画像が減じられ、予測誤差画像が求まる。フレ
ームメモリ28の動作は後述する。求まった予測誤差画
像は、DCT回路22において、8×8ブロックごとに
DCTが行われ、DCT係数が出力される。このDCT
係数は、量子化器23において量子化が行われる。例え
ば、MPEG符号化を行う場合には、量子化マトリクス
とマクロブロックごとに定まる量子化スケール値に基づ
いて、各DCT係数の量子化幅が決定され、量子化され
る。そして、求まった量子化値は、符号変換器24にお
いて、ジグザグスキャン、オルタネートスキャンなどに
よって一次元に走査された後、ハフマン符号化や算術符
号化によって符号列に変換され、出力される。符号列を
生成する際には、量子化パラメータなどの付加情報も一
緒に多重化される。さらに、量子化器23で求まった量
子化値は、逆量子化器25で逆量子化され、逆DCT回
路26で8×8ブロックごとに逆DCTが行われ、局所
復号予測誤差画像が求まる。
The digital watermark inserted image obtained by the digital watermark inserter 10 is input to a moving picture encoder 40, and the subtractor 21 reduces the motion compensated predicted image output from the frame memory 28, thereby obtaining a prediction error image. Is found. The operation of the frame memory 28 will be described later. The DCT circuit 22 performs DCT on the obtained prediction error image for each 8 × 8 block, and outputs DCT coefficients. This DCT
The coefficients are quantized in a quantizer 23. For example, when performing MPEG coding, the quantization width of each DCT coefficient is determined and quantized based on a quantization matrix and a quantization scale value determined for each macroblock. Then, the obtained quantized value is one-dimensionally scanned by the code converter 24 by zigzag scan, alternate scan, or the like, and then converted into a code string by Huffman coding or arithmetic coding, and output. When generating a code string, additional information such as a quantization parameter is multiplexed together. Furthermore, the quantized value obtained by the quantizer 23 is inversely quantized by the inverse quantizer 25, and inverse DCT is performed for each 8 × 8 block by the inverse DCT circuit 26, thereby obtaining a local decoded prediction error image.

【0022】加算器27では、局所復号予測誤差画像
に、フレームメモリ28から出力される動き補償予測画
像が加算され、局所復号画像が求まる。これは、フレー
ムメモリ28に入力され、蓄積される。フレームメモリ
28では、過去に蓄積された局所復号画像が蓄えられて
おり、これを参照画像として動き補償を行われ、動き補
償予測画像が生成、出力される。
In the adder 27, the motion-compensated predicted image output from the frame memory 28 is added to the locally decoded error image to obtain a locally decoded image. This is input to the frame memory 28 and stored. In the frame memory 28, a locally decoded image stored in the past is stored, and motion compensation is performed using this as a reference image, and a motion-compensated predicted image is generated and output.

【0023】また、DCTではなくウェーブレット変換
を用いる前記文献2「多重解像度解析によるデジタル画
像への電子透かし法」の場合は、上述のDCTの部分を
ウェーブレット変換に変えれば、同様のことがいえる。
In the case of the above-mentioned document 2 “Digital watermarking method for digital image by multi-resolution analysis” using the wavelet transform instead of the DCT, the same can be said if the above-mentioned DCT part is changed to the wavelet transform.

【0024】[0024]

【発明が解決しようとする課題】上記した従来の方式
は、電子透かしを挿入した後に非可逆圧縮符号化を行う
と、透かし検出精度が著しく劣化する、という問題点を
有している。
The above-mentioned conventional method has a problem that when lossy compression encoding is performed after inserting a digital watermark, the watermark detection accuracy is significantly deteriorated.

【0025】この理由は、電子透かしを挿入する際に
は、ディジタル信号の圧縮のことを考慮していないため
である。非可逆圧縮後であっても、電子透かしを検出で
きるようにするには、挿入する電子透かしの強度を強く
する必要がある。しかし、強度を強くすると、ディジタ
ル信号の品質が低下するという問題が生じる。
The reason for this is that when the digital watermark is inserted, the compression of the digital signal is not considered. Even after irreversible compression, it is necessary to increase the strength of the inserted digital watermark in order to be able to detect the digital watermark. However, when the intensity is increased, there is a problem that the quality of the digital signal is reduced.

【0026】したがって本発明は、上記問題点に鑑みて
なされたものであって、その主たる目的は、非可逆圧縮
による劣化を考慮して電子透かしを挿入することで、デ
ィジタル信号の品質劣化を抑えつつ、検出率を向上させ
る、電子透かしシステムを提供することにある。
Accordingly, the present invention has been made in view of the above-mentioned problems, and a main object of the present invention is to suppress deterioration of digital signal quality by inserting a digital watermark in consideration of deterioration due to lossy compression. Another object of the present invention is to provide a digital watermark system that improves the detection rate.

【0027】また本発明の他の目的は、人間の視覚/聴
覚特性を考慮することで、透かし挿入に伴う視覚/聴覚
的な劣化の小さい電子透かし挿入システムを提供するこ
とにある。
It is another object of the present invention to provide a digital watermark insertion system in which the visual / audible deterioration due to the watermark insertion is small by considering the visual / audible characteristics of a human.

【0028】[0028]

【課題を解決するための手段】前記目的を達成する本願
第1発明は、ディジタル信号を符号化すると同時に電子
透かしを挿入する方式であって、ディジタル信号を周波
数成分に投影する線形変換を行い、原信号変換係数を出
力する手段と、前記原信号変換係数を量子化し、量子化
値を透かし無し量子化値として出力するとともに、量子
化情報を出力する手段と、前記透かし無し量子化値を逆
量子化して、透かし無し復号信号変換係数を出力する手
段と、前記原信号変換係数から視覚/聴覚モデルに基づ
いて、前記原信号変換係数それぞれに対応する単位視覚
/聴覚歪を算出して出力する手段と、前記透かし無し復
号信号変換係数と前記原信号変換係数と前記量子化情報
と前記単位視覚/聴覚歪と電子透かし情報とから、目標
信号を算出して、さらに、前記単位視覚/聴覚歪に基づ
いて、信号全体として視覚/聴覚的に歪が小さく、かつ
電子透かしの検出率を高めるように前記透かし無し量子
化値を修正するような量子化値修正信号を前記目標信号
から決定し、これを透かし信号として出力する手段と、
前記透かし無し量子化値と前記透かし信号とを加算し、
透かし入り量子化値を出力する手段と、前記透かし入り
量子化値から符号列を生成し、出力する手段とを有する
ことを特徴とする。
According to a first aspect of the present invention, which achieves the above object, a digital signal is encoded and a digital watermark is inserted at the same time, and a linear conversion is performed to project the digital signal onto frequency components. Means for outputting an original signal transform coefficient, quantizing the original signal transform coefficient, outputting a quantized value as a watermarkless quantized value, and outputting quantization information; and inverting the watermarkless quantized value. Means for quantizing and outputting a watermark-free decoded signal transform coefficient; and calculating and outputting a unit visual / auditory distortion corresponding to each of the original signal transform coefficients from the original signal transform coefficient based on a visual / auditory model. Means for calculating a target signal from the watermarkless decoded signal transform coefficient, the original signal transform coefficient, the quantization information, the unit visual / audible distortion, and the digital watermark information, Further, based on the unit visual / audible distortion, a quantization value correction for correcting the watermarkless quantization value so as to reduce the visual / audible distortion of the entire signal and to increase the detection rate of the digital watermark. Means for determining a signal from the target signal and outputting this as a watermark signal;
Adding the watermarkless quantized value and the watermark signal,
It is characterized by having means for outputting a watermarked quantized value, and means for generating and outputting a code string from the watermarked quantized value.

【0029】本願第2発明は、画像を符号化すると同時
に電子透かしを挿入する方式であって、局所復号画像に
動き補償を行って、動き補償予測画像を生成し、出力す
る手段と、入力画像から前記動き補償予測画像を減じ
て、予測誤差画像を求めて出力する手段と、前記予測誤
差画像に対して空間周波数成分に投影する線形変換を行
い、予測誤差画像変換係数を求めて出力する手段と、前
記予測誤差画像変換係数を量子化して、量子化値を透か
し無し量子化値として出力するとともに、量子化情報を
出力する手段と、前記透かし無し量子化値を逆量子化
し、透かし無し逆量子化値を出力する手段と、前記動き
補償予測画像に前記線形変換を行い、予測画像変換係数
を求めて出力する手段と、前記透かし無し逆量子化値と
前記予測画像変換係数とを加算し、透かし無し復号画像
変換係数を出力する手段と、前記入力画像に前記線形変
換を行い、原画像変換係数を求めて出力する手段と、前
記原画像変換係数から視覚モデルに基づいて、前記原画
像変換係数それぞれに対応する単位視覚歪を算出して出
力する手段と、前記透かし無し復号画像変換係数と前記
原画像変換係数と前記量子化情報と前記単位視覚歪と電
子透かし情報とから、目標信号を算出し、さらに前記単
位視覚歪に基づいて、画像全体として視覚的に歪が小さ
く、かつ電子透かしの検出率を高めるように前記透かし
無し量子化値を修正する量子化値修正信号を前記目標信
号から決定して、これを透かし信号として出力する手段
と、前記透かし無し量子化値と前記透かし信号とを加算
し、透かし入り量子化値を出力する手段と、前記透かし
入り量子化値から符号列を生成し、出力する手段と前記
透かし入り量子化値を逆量子化し、透かし入り逆量子化
値を出力する手段と、前記透かし入り逆量子化値に前記
線形変換の逆変換を行い、局所復号予測誤差画像を求め
て出力する手段と、前記局所復号予測誤差画像に前記動
き補償予測画像を加算して、結果を前記局所復号画像と
して出力する手段とを有することを特徴とする。
The second invention of the present application is a method of encoding a picture and inserting a digital watermark at the same time as performing a motion compensation on a locally decoded picture to generate and output a motion compensated prediction picture, and an input picture. Means for obtaining and outputting a prediction error image by subtracting the motion-compensated prediction image from, and means for performing linear transformation to project the prediction error image onto a spatial frequency component and obtaining and outputting a prediction error image conversion coefficient. Means for quantizing the prediction error image transform coefficient, outputting the quantized value as a watermarkless quantized value, and outputting quantization information, and inversely quantizing the watermarkless quantized value, Means for outputting a quantized value, means for performing the linear transformation on the motion-compensated predicted image, and calculating and outputting a predicted image transform coefficient, the watermarkless dequantized value and the predicted image transform coefficient A means for outputting a watermark-free decoded image transform coefficient, a means for performing the linear transformation on the input image, obtaining and outputting an original image transform coefficient, based on a visual model from the original image transform coefficient, Means for calculating and outputting a unit visual distortion corresponding to each of the original image transform coefficients, from the watermarkless decoded image transform coefficient, the original image transform coefficient, the quantization information, the unit visual distortion, and the digital watermark information. , A target signal is calculated, and further, based on the unit visual distortion, a quantized value correction signal for correcting the quantized value without watermark so as to visually reduce distortion as a whole image and increase the detection rate of a digital watermark. From the target signal and outputting the watermarked signal as a watermark signal, and adding the watermarkless quantized value and the watermark signal to output a watermarked quantized value. Means for generating and outputting a code string from the watermarked quantized value, means for dequantizing the watermarked quantized value, and means for outputting a watermarked dequantized value; and Means for performing an inverse transformation of the linear transformation, obtaining and outputting a local decoding prediction error image, and means for adding the motion compensation prediction image to the local decoding prediction error image and outputting a result as the local decoding image. It is characterized by having.

【0030】本願第3発明は、画像を符号化すると同時
に電子透かしを挿入する方式であって、入力画像に対し
て空間周波数成分に投影する線形変換を行い、原画像変
換係数を求めて出力する手段と、局所復号画像に動き補
償を行って、動き補償予測画像を生成し、出力する手段
と、前記動き補償予測画像に前記線形変換を行い、予測
画像変換係数を求めて出力する手段と、前記原画像変換
係数から前記予測画像変換係数を減じて、結果を予測誤
差画像変換係数として出力する手段と、前記予測誤差画
像変換係数を量子化し、量子化値を透かし無し量子化値
として出力するとともに、量子化情報を出力する手段
と、前記透かし無し量子化値を逆量子化し、透かし無し
逆量子化値を出力する手段と、前記予測画像変換係数に
前記透かし無し逆量子化値とを加算し、透かし無し復号
画像変換係数を出力する手段と、前記原画像変換係数か
ら視覚モデルに基づいて、前記原画像変換係数それぞれ
に対応する単位視覚歪を算出して出力する手段と、前記
透かし無し復号画像変換係数と前記原画像変換係数と前
記量子化情報と前記単位視覚歪と電子透かし情報とか
ら、目標信号を算出して、さらに、前記単位視覚歪に基
づいて、画像全体として視覚的に歪が小さくかつ電子透
かしの検出率を高めるように前記透かし無し量子化値を
修正する量子化値修正信号を前記目標信号から決定し
て、これを透かし信号として出力する手段と、前記透か
し無し量子化値と前記透かし信号とを加算し、透かし入
り量子化値として出力する手段と、前記透かし入り量子
化値から符号列を生成し、出力する手段と前記透かし入
り量子化値を逆量子化し、透かし入り逆量子化値を出力
する手段と、前記透かし入り逆量子化値に前記線形変換
の逆変換を行い、局所復号予測誤差画像を求めて出力す
る手段と、前記局所復号予測誤差画像に前記動き補償予
測画像を加算し、前記局所復号画像を出力する手段とを
有することを特徴とする。
The third invention of the present application is a method of encoding a picture and inserting a digital watermark at the same time as performing a linear transformation for projecting an input picture onto a spatial frequency component, obtaining an original picture transform coefficient, and outputting it. Means, performing motion compensation on the locally decoded image, generating and outputting a motion-compensated predicted image, and means for performing the linear transformation on the motion-compensated predicted image, obtaining and outputting a predicted image conversion coefficient, Means for subtracting the predicted image conversion coefficient from the original image conversion coefficient and outputting the result as a predicted error image conversion coefficient, and quantizing the predicted error image conversion coefficient, and outputting a quantized value as a watermarkless quantized value Means for outputting quantization information, means for inversely quantizing the watermarked quantized value and outputting a watermarkless dequantized value, and the watermarkless inverse amount for the predicted image transform coefficient. Means for outputting a decoded image conversion coefficient without watermark, and means for calculating and outputting a unit visual distortion corresponding to each of the original image conversion coefficients based on a visual model from the original image conversion coefficients. A target signal is calculated from the watermark-free decoded image transform coefficient, the original image transform coefficient, the quantization information, the unit visual distortion, and the electronic watermark information, and further, based on the unit visual distortion, Means for determining, from the target signal, a quantization value correction signal that corrects the watermarkless quantization value so that the distortion is visually small as a whole and the detection rate of the digital watermark is increased, and output this as a watermark signal. Means for adding the watermarked quantized value and the watermark signal, and outputting the result as a watermarked quantized value; and means for generating and outputting a code string from the watermarked quantized value. Means for inversely quantizing the watermarked quantized value and outputting a watermarked inverse quantized value; performing inverse transformation of the linear transformation on the watermarked inversely quantized value to obtain and output a local decoding prediction error image Means, and means for adding the motion-compensated prediction image to the locally decoded prediction error image and outputting the locally decoded image.

【0031】[0031]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、その好ましい第1の実施の形態におい
て、図1を参照すると、ディジタル信号を周波数成分に
投影する線形変換を行い原信号変換係数を出力する線形
変換手段(50)と、原信号変換係数を量子化し、量子
化した値を透かし無し量子化値として出力するととも
に、量子化情報を出力する量子化手段(51)と、透か
し無し量子化値を逆量子化して透かし無し復号信号変換
係数を出力する逆量子化手段(53)と、原信号変換係
数から視覚/聴覚モデルに基づいて原信号変換係数のそ
れぞれに対応する単位視覚/聴覚歪を算出して出力する
単位視覚/聴覚歪算出手段(55)と、逆量子化手段か
らの透かし無し復号信号変換係数と、線形変換手段から
の原信号変換係数と、量子化手段からの量子化情報と、
単位視覚/聴覚歪算出手段からの単位視覚/聴覚歪と、
与えられた電子透かし情報と、から、目標信号を算出
し、さらに、単位視覚/聴覚歪に基づいて、信号全体と
して、視覚/聴覚的に歪が小さく、かつ電子透かしの検
出率を高めるように、透かし無し量子化値を修正するよ
うな量子化値修正信号を、該目標信号から決定し、これ
を透かし信号として出力する透かし信号発生手段(5
4)と、量子化手段からの透かし無し量子化値と、透か
し信号発生手段からの透かし信号とを加算し加算結果を
透かし入り量子化値として出力する加算手段(52)
と、加算手段からの透かし入り量子化値から符号列を生
成して出力する符号変換手段(56)と、を備えて構成
される。
Embodiments of the present invention will be described. In a first preferred embodiment of the present invention, referring to FIG. 1, a linear conversion means (50) for performing a linear conversion for projecting a digital signal onto a frequency component and outputting an original signal conversion coefficient; Quantizing means (51) for quantizing the coefficient, outputting the quantized value as a watermarkless quantized value, and outputting quantization information, and inversely quantizing the watermarkless quantized value to convert a watermarkless decoded signal conversion coefficient. Inverse quantization means (53) for outputting a unit visual / auditory distortion corresponding to each of the original signal transform coefficients based on the visual / auditory model from the original signal transform coefficients and outputting the unit visual / auditory distortion Means (55), a watermarkless decoded signal transform coefficient from the inverse quantizer, an original signal transform coefficient from the linear transformer, and quantization information from the quantizer.
Unit visual / auditory distortion from the unit visual / auditory distortion calculating means,
A target signal is calculated from the given digital watermark information, and further, based on the unit visual / auditory distortion, the overall signal is visually / auditoryly small and the digital watermark detection rate is increased. A watermark signal generating means (5) for determining a quantized value correction signal for correcting a watermarkless quantized value from the target signal and outputting this as a watermark signal.
(4) an adding means (52) for adding the watermarkless quantized value from the quantizing means and the watermark signal from the watermark signal generating means and outputting the addition result as a watermarked quantized value;
And code conversion means (56) for generating and outputting a code string from the watermarked quantized value from the addition means.

【0032】本発明は、その好ましい実施の形態におい
て、図5を参照すると、透かし信号発生手段は、前記原
信号変換係数と、前記単位視覚/聴覚歪と、前記電子透
かし情報と、から目標信号を算出して出力する目標信号
算出手段(200)と、前記量子化情報と前記目標信号
に基づいて、前記透かし無し復号信号変換係数の値を変
更して、透かし仮挿入信号を生成し、該透かし仮挿入信
号を出力する透かし仮挿入手段(201)と、前記原信
号変換係数と、前記単位視覚/聴覚歪と、前記透かし仮
挿入手段から出力される透かし仮挿入信号とから、透か
し仮挿入信号の視覚/聴覚的劣化を示す値を算出し視覚
/聴覚的劣化度として出力する視覚/聴覚的劣化度算出
手段(203)と、前記電子透かし情報と、前記透かし
仮挿入手段から出力される透かし仮挿入信号と、前記視
覚/聴覚的劣化度算出手段から出力される視覚/聴覚的
劣化度から、透かし挿入制御信号を生成して出力する透
かし挿入判定手段(204)と、前記量子化情報と、前
記透かし無し復号信号変換係数と、前記透かし仮挿入手
段から出力される透かし仮挿入信号と、前記透かし挿入
判定手段から出力される透かし挿入制御信号とから透か
し信号を生成し出力する透かし信号生成手段(202)
と、を備えて構成される。
In a preferred embodiment of the present invention, referring to FIG. 5, the watermark signal generating means is configured to determine a target signal from the original signal conversion coefficient, the unit visual / auditory distortion, and the digital watermark information. A target signal calculating means (200) for calculating and outputting a watermark temporary insertion signal by changing the value of the watermarkless decoded signal transform coefficient based on the quantization information and the target signal; A temporary watermark insertion means (201) for outputting a temporary watermark insertion signal, a temporary watermark insertion from the original signal conversion coefficient, the unit visual / auditory distortion, and a temporary watermark insertion signal output from the temporary watermark insertion means. A visual / auditory degradation calculating means (203) for calculating a value indicating the visual / audible degradation of the signal and outputting the value as the visual / audible degradation degree; the digital watermark information; A watermark insertion determining unit (204) for generating and outputting a watermark insertion control signal based on the watermark temporary insertion signal to be output and the visual / audible deterioration degree output from the visual / audible deterioration calculation unit; Generating and outputting a watermark signal from the watermarking information, the watermark-less decoded signal conversion coefficient, the watermark temporary insertion signal output from the watermark temporary insertion means, and the watermark insertion control signal output from the watermark insertion determination means. Watermark signal generating means (202)
And is provided.

【0033】本発明は、その好ましい実施の形態におい
て、図6を参照すると、透かし信号発生手段は、前記原
信号変換係数と、前記単位視覚/聴覚歪と、前記電子透
かし情報とから目標信号を算出して出力する目標信号算
出手段(200)と、前記量子化情報と、前記電子透か
し情報と、前記目標信号算出手段から出力される目標信
号と、視覚/聴覚的劣化度算出手段から出力される視覚
/聴覚的劣化度に基づいて、透かし無し復号信号変換係
数の値を変更して透かし挿入信号を生成して出力する透
かし仮挿入手段(231)と、前記原信号変換係数と、
前記単位視覚/聴覚歪と、前記透かし仮挿入手段から出
力される透かし仮挿入信号と、から、透かし仮挿入信号
の視覚/聴覚的劣化度を算出し前記透かし仮挿入手段へ
出力する視覚/聴覚的劣化度算出手段(233)と、前
記量子化情報と、前記透かし無し復号信号変換係数と、
前記透かし仮挿入手段から出力される透かし挿入信号と
から透かし信号を生成し、出力する透かし信号生成手段
(232)とを備える。
In a preferred embodiment of the present invention, referring to FIG. 6, the watermark signal generating means converts a target signal from the original signal conversion coefficient, the unit visual / auditory distortion, and the digital watermark information. A target signal calculating means (200) for calculating and outputting; the quantization information; the digital watermark information; a target signal output from the target signal calculating means; and a visual / audible deterioration degree calculating means. A temporary watermark insertion means (231) for generating and outputting a watermark insertion signal by changing the value of the watermarkless decoded signal conversion coefficient based on the degree of visual / audible deterioration;
From the unit visual / audible distortion and the watermark temporary insertion signal output from the watermark temporary insertion means, the degree of visual / auditory deterioration of the watermark temporary insertion signal is calculated, and the visual / auditory output to the watermark temporary insertion means is calculated. Statistical deterioration degree calculating means (233), the quantization information, the watermarkless decoded signal transform coefficient,
A watermark signal generation unit (232) for generating and outputting a watermark signal from the watermark insertion signal output from the temporary watermark insertion unit.

【0034】本発明は、その好ましい実施の形態におい
て、図2を参照すると、画像を符号化すると同時に電子
透かしを挿入するシステムであって、局所復号画像に動
き補償を行って、動き補償予測画像を生成し出力する手
段(88)と、入力画像から動き補償予測画像を減じて
予測誤差画像を求めて出力する減算手段(81)と、予
測誤差画像に対して空間周波数成分に投影する線形変換
を行い、予測誤差画像変換係数を求めて出力する第1の
線形変換手段(82)と、予測誤差画像変換係数を量子
化して、量子化値を透かし無し量子化値として出力する
とともに、量子化情報を出力する量子化手段(83)
と、透かし無し量子化値を逆量子化し、透かし無し逆量
子化値を出力する逆量子化手段(74)と、動き補償予
測画像に、線形変換を行い、予測画像変換係数を求めて
出力する第2の線形変換手段(73)と、透かし無し逆
量子化値と予測画像変換係数とを加算し、透かし無し復
号画像変換係数を出力する第1の加算手段(75)と、
前記入力画像に前記線形変換を行い、原画像変換係数を
求めて出力する第3の線形変換手段(71)と、原画像
変換係数から視覚モデルに基づいて前記原画像変換係数
それぞれに対応する単位視覚歪を算出して出力する単位
視覚歪算出手段(72)と、透かし無し復号画像変換係
数と原画像変換係数と量子化情報と単位視覚歪と電子透
かし情報とから、目標信号を算出し、さらに前記単位視
覚歪に基づいて、画像全体として視覚的に歪が小さく、
かつ電子透かしの検出率を高めるように、透かし無し量
子化値を修正する量子化値修正信号を、目標信号から決
定し、これを透かし信号として出力する透かし信号発生
手段(77)と、透かし無し量子化値と透かし信号とを
加算し、透かし入り量子化値を出力する第2の加算手段
(76)と、透かし入り量子化値から符号列を生成し、
出力する符号変換手段(84)と透かし入り量子化値を
逆量子化し、透かし入り逆量子化値を出力する逆量子化
手段(85)と、透かし入り逆量子化値に前記線形変換
の逆変換を行い、局所復号予測誤差画像を求めて出力す
る逆線形変換手段(86)と、局所復号予測誤差画像に
動き補償予測画像を加算し、加算結果を局所復号画像と
して出力する第3の加算手段(87)と、を備える。
Referring to FIG. 2, in a preferred embodiment of the present invention, a system for encoding a picture and inserting a digital watermark at the same time, performing motion compensation on a locally decoded picture, Means for generating and outputting a prediction error image by subtracting a motion-compensated prediction image from an input image to obtain and output a prediction error image; and a linear transformation for projecting the prediction error image onto a spatial frequency component. And a first linear transformation means (82) for calculating and outputting a prediction error image conversion coefficient, quantizing the prediction error image conversion coefficient, outputting the quantization value as a watermarkless quantization value, and Quantizing means for outputting information (83)
Inverse quantization means (74) for inversely quantizing the watermarkless quantized value and outputting the watermarkless inverse quantized value, linearly transforming the motion-compensated predicted image, and calculating and outputting a predicted image transform coefficient A second linear transformation unit (73), a first addition unit (75) that adds the watermark-less dequantized value and the predicted image transformation coefficient, and outputs a watermark-free decoded image transformation coefficient,
Third linear conversion means (71) for performing the linear conversion on the input image to obtain and output original image conversion coefficients, and a unit corresponding to each of the original image conversion coefficients based on the visual model from the original image conversion coefficients A unit visual distortion calculating means (72) for calculating and outputting visual distortion, a target signal is calculated from the watermarkless decoded image conversion coefficient, the original image conversion coefficient, the quantization information, the unit visual distortion, and the digital watermark information; Further, based on the unit visual distortion, visually the entire image is small distortion,
And a watermark signal generating means (77) for determining a quantized value correction signal for correcting the quantized value without watermark from the target signal so as to increase the detection rate of the digital watermark, and outputting this as a watermark signal; A second adding unit (76) for adding the quantized value and the watermark signal and outputting a watermarked quantized value, and generating a code string from the watermarked quantized value;
A code transforming means (84) for outputting the watermarked quantized value, inversely quantizing the watermarked quantized value, and outputting a watermarked inverse quantized value; and an inverse transform of the linear transformation to the watermarked inverse quantized value. , And an inverse linear conversion means (86) for obtaining and outputting a local decoded prediction error image, and a third adding means for adding the motion compensation predicted image to the local decoded prediction error image and outputting the addition result as a locally decoded image (87).

【0035】本発明は、その好ましい実施の形態におい
て、図3を参照すると、画像を符号化すると同時に電子
透かしを挿入するシステムであって、局所復号画像に動
き補償を行って、動き補償予測画像を生成し、出力する
手段(88)と、入力画像から動き補償予測画像を減じ
て予測誤差画像を求めて出力する減算手段(81)と、
予測誤差画像に対して空間周波数成分に投影する線形変
換を行い、予測誤差画像変換係数を求めて出力する線形
変換手段(82)と、予測誤差画像変換係数を量子化し
て、量子化値を透かし無し量子化値として出力するとと
もに、量子化情報を出力する量子化手段(83)と、透
かし無し量子化値を逆量子化し、透かし無し復号画像変
換係数を出力する逆量子化手段(74)と、予測誤差画
像変換係数から視覚モデルに基づいて予測誤差画像変換
係数それぞれに対応する単位視覚歪を算出して出力する
単位視覚歪算出手段(72)と、前記透かし無し復号画
像変換係数と前記予測誤差画像変換係数と前記量子化情
報と前記単位視覚歪と前記電子透かし情報とから、目標
信号を算出し、さらに前記単位視覚歪に基づいて、画像
全体として視覚的に歪が小さく、かつ電子透かしの検出
率を高めるように、前記透かし無し量子化値を修正する
量子化値修正信号を、前記目標信号から決定し、これを
透かし信号として出力する透かし信号発生手段(90)
と、前記透かし無し量子化値と前記透かし信号とを加算
し、加算結果を透かし入り量子化値として出力する加算
手段(76)と、前記透かし入り量子化値から符号列を
生成し、出力する符号変換手段(84)と、前記透かし
入り量子化値を逆量子化し、透かし入り逆量子化値を出
力する逆量子化手段(85)と、前記透かし入り逆量子
化値に前記線形変換の逆変換を行い、局所復号予測誤差
画像を求めて出力する逆線形変換手段(86)と、前記
局所復号予測誤差画像に前記動き補償予測画像を加算
し、加算結果を前記局所復号画像として出力する第2の
加算手段(87)と、を備え、フレーム内符号化するフ
レームにのみ電子透かしを挿入する。
In a preferred embodiment of the present invention, referring to FIG. 3, a system for encoding an image and inserting a digital watermark at the same time, performs motion compensation on a locally decoded image, and Means for generating and outputting (88) a subtraction means for subtracting the motion compensated prediction image from the input image to obtain and output a prediction error image;
Linear transformation means (82) for performing a linear transformation for projecting the prediction error image onto a spatial frequency component, obtaining and outputting a prediction error image transformation coefficient, and quantizing the prediction error image transformation coefficient to watermark the quantized value; A quantizing means (83) for outputting the quantization information as well as outputting the quantized information, and an inverse quantizing means (74) for inversely quantizing the watermarkless quantized value and outputting a watermarkless decoded image transform coefficient. A unit visual distortion calculating means (72) for calculating and outputting a unit visual distortion corresponding to each of the prediction error image conversion coefficients based on the visual model from the prediction error image conversion coefficients, and the watermarkless decoded image conversion coefficient and the prediction A target signal is calculated from the error image conversion coefficient, the quantization information, the unit visual distortion, and the digital watermark information, and further, based on the unit visual distortion, a visual A watermark signal generating means for determining a quantization value correction signal for correcting the watermarkless quantization value from the target signal so as to reduce the distortion and increase the detection rate of the digital watermark, and to output this as a watermark signal ( 90)
Adding means (76) for adding the watermarked quantized value and the watermark signal, and outputting the addition result as a watermarked quantized value; and generating and outputting a code string from the watermarked quantized value. Code conversion means (84), inverse quantization means (85) for inversely quantizing the watermarked quantized value and outputting a watermarked inverse quantized value, and inverse of the linear transformation to the watermarked inverse quantized value; An inverse linear conversion means (86) for performing conversion, obtaining and outputting a local decoded prediction error image, and adding a motion compensation prediction image to the local decoded prediction error image, and outputting an addition result as the local decoded image. 2 adding means (87), and inserts a digital watermark only into a frame to be intra-coded.

【0036】本発明は、その好ましい実施の形態におい
て、図4を参照すると、画像を符号化すると同時に電子
透かしを挿入するシステムであって、入力画像に対して
空間周波数成分に投影する線形変換を行い、原画像変換
係数を求めて出力する第1の線形変換手段(図4の10
1)と、局所復号画像に動き補償を行って、動き補償予
測画像を生成し出力する手段(図4の88)と、前記動
き補償予測画像に前記線形変換を行い、予測画像変換係
数を求めて出力する第2の線形変換手段(図4の10
2)と、前記原画像変換係数から前記予測画像変換係数
を減じて、減算結果を予測誤差画像変換係数として出力
する減算手段(図4の103)と、前記予測誤差画像変
換係数を量子化し、量子化値を透かし無し量子化値とし
て出力するとともに、量子化情報を出力する量子化手段
(図4の83)と、前記透かし無し量子化値を逆量子化
し、透かし無し逆量子化値を出力する逆量子化手段(図
4の74)と、前記予測画像変換係数に前記透かし無し
逆量子化値とを加算し、加算結果を透かし無し復号画像
変換係数を出力する第1の加算手段(図4の75)と、
前記原画像変換係数から視覚モデルに基づいて、前記原
画像変換係数それぞれに対応する単位視覚歪を算出して
出力する単位視覚歪算出手段(図4の72)と、前記透
かし無し復号画像変換係数と前記原画像変換係数と前記
量子化情報と前記単位視覚歪と電子透かし情報とから、
目標信号を算出して、さらに、前記単位視覚歪に基づい
て、画像全体として視覚的に歪が小さくかつ電子透かし
の検出率を高めるように前記透かし無し量子化値を修正
する量子化値修正信号を前記目標信号から決定して、こ
れを透かし信号として出力する透かし信号発生手段(図
4の77)と、前記透かし無し量子化値と前記透かし信
号とを加算し、加算結果を透かし入り量子化値として出
力する第2の加算手段(図4の76)と、前記透かし入
り量子化値から符号列を生成し出力する符号変換手段
(図4の84)と前記透かし入り量子化値を逆量子化
し、透かし入り逆量子化値を出力する逆量子化手段(図
4の85)と、前記透かし入り逆量子化値に前記線形変
換の逆変換を行い、局所復号予測誤差画像を求めて出力
する逆線形変換手段(図4の86)と、前記局所復号予
測誤差画像に前記動き補償予測画像を加算し、加算結果
を前記局所復号画像を出力する第3の加算手段(図4の
87)とを備える。
Referring to FIG. 4, the present invention, in its preferred embodiment, is a system for encoding an image and simultaneously inserting a digital watermark, the system comprising a linear transformation that projects an input image onto a spatial frequency component. First linear conversion means (10 in FIG. 4) for calculating and outputting original image conversion coefficients.
1) means for performing motion compensation on the locally decoded image to generate and output a motion-compensated predicted image (88 in FIG. 4); and performing the linear transformation on the motion-compensated predicted image to obtain a predicted image transform coefficient. The second linear conversion means (10 in FIG. 4)
2) subtraction means (103 in FIG. 4) for subtracting the predicted image conversion coefficient from the original image conversion coefficient and outputting the subtraction result as a prediction error image conversion coefficient; and quantizing the prediction error image conversion coefficient; A quantizing means (83 in FIG. 4) for outputting the quantized value as a watermarkless quantized value and outputting quantization information, and inversely quantizing the watermarkless quantized value and outputting a watermarkless inverse quantized value And a first adding means (74 in FIG. 4) for adding the watermarked inverse quantized value to the predicted image transform coefficient and outputting a watermarkless decoded image transform coefficient. 4 75),
A unit visual distortion calculating means (72 in FIG. 4) for calculating and outputting a unit visual distortion corresponding to each of the original image conversion coefficients based on a visual model from the original image conversion coefficients; And the original image transform coefficient, the quantization information, the unit visual distortion and the digital watermark information,
Calculating a target signal, and further, based on the unit visual distortion, a quantized value correction signal for correcting the watermarkless quantized value so as to visually reduce distortion as a whole and increase the detection rate of a digital watermark. Is determined from the target signal, a watermark signal generating means (77 in FIG. 4) for outputting the target signal as a watermark signal, adding the watermark-free quantized value and the watermark signal, and quantizing the addition result with the watermarked quantization. A second adding means (76 in FIG. 4) for outputting a value as a value, a code converting means (84 in FIG. 4) for generating and outputting a code string from the watermarked quantized value, and an inverse quantum Inverse quantization means (85 in FIG. 4) for converting the watermarked inversely quantized value into a linearly decoded inversely quantized value, and obtaining and outputting a local decoding prediction error image. Inverse linear transformation means ( 4 of 86), it said adding the motion compensated prediction picture to the local decoded prediction error image, and a third adding means for outputting the local decoded image the addition result (87 in FIG. 4).

【0037】本発明の実施の形態においては、(a)デ
ィジタル信号を周波数成分に投影する線形変換を行い、
原信号変換係数を出力する手段、(b)前記原信号変換
係数を量子化し、量子化値を透かし無し量子化値として
出力するとともに、量子化情報を出力する手段、(c)
前記透かし無し量子化値を逆量子化して、透かし無し復
号信号変換係数を出力する手段、(d)前記原信号変換
係数から視覚/聴覚モデルに基づいて、前記原信号変換
係数それぞれに対応する単位視覚/聴覚歪を算出して出
力する手段、(e)前記透かし無し復号信号変換係数と
前記原信号変換係数と前記量子化情報と前記単位視覚/
聴覚歪と電子透かし情報とから、目標信号を算出し、さ
らに、前記単位視覚/聴覚歪に基づいて、信号全体とし
て視覚/聴覚的に歪が小さく、かつ電子透かしの検出率
を高めるように、前記透かし無し量子化値を修正するよ
うな量子化値修正信号を前記目標信号から決定し、これ
を透かし信号として出力する手段、(f)前記透かし無
し量子化値と前記透かし信号とを加算し、透かし入り量
子化値を出力する手段及び、(g)前記透かし入り量子
化値から符号列を生成し、出力する手段、の上記(a)
〜(g)の各手段は、電子透かし挿入システムを構成す
るコンピュータ(CPU;ディジタル信号処理プロセッ
サも含む)でプログラムを実行することで実現するよう
にしてもよい。この場合、上記(a)〜(g)の各手段
を機能させるためのプログラムは、ハードディスク、R
OM等に格納しておき、CPUで読み出し実行するよう
に構成される。本発明は、これらのプログラムを格納し
た記録媒体も含む。
In the embodiment of the present invention, (a) linear conversion for projecting a digital signal to a frequency component is performed,
Means for outputting an original signal transform coefficient, (b) means for quantizing the original signal transform coefficient, outputting a quantized value as a watermarkless quantized value, and outputting quantization information, and (c).
Means for inversely quantizing the watermarkless quantized value and outputting a watermarkless decoded signal transform coefficient; (d) a unit corresponding to each of the original signal transform coefficients based on a visual / auditory model from the original signal transform coefficients Means for calculating and outputting visual / aural distortion, (e) the watermarkless decoded signal transform coefficient, the original signal transform coefficient, the quantization information, and the unit visual / audio distortion.
A target signal is calculated from the auditory distortion and the digital watermark information, and further, based on the unit visual / auditory distortion, the overall signal is visually / aurally less distorted, and the detection rate of the electronic watermark is increased. Means for determining, from the target signal, a quantized value correction signal for correcting the watermarkless quantized value, and outputting the same as a watermark signal; (f) adding the watermarkless quantized value and the watermark signal (A) means for outputting a watermarked quantized value; and (g) means for generating and outputting a code string from the watermarked quantized value.
Each of the means (a) to (g) may be realized by executing a program by a computer (CPU; also including a digital signal processor) constituting the digital watermark insertion system. In this case, the program for causing each of the means (a) to (g) to function is a hard disk,
It is configured to be stored in an OM or the like and read and executed by the CPU. The present invention also includes a recording medium storing these programs.

【0038】本発明の実施の形態においては、(a)局
所復号画像に動き補償を行って、動き補償予測画像を生
成し、出力する手段、(b)入力画像から前記動き補償
予測画像を減じて予測誤差画像を求めて出力する手段、
(c)前記予測誤差画像に対して空間周波数成分に投影
する線形変換を行い、予測誤差画像変換係数を求めて出
力する手段、(d)前記予測誤差画像変換係数を量子化
して、量子化値を透かし無し量子化値として出力すると
ともに、量子化情報を出力する手段、(e)前記透かし
無し量子化値を逆量子化し、透かし無し逆量子化値を出
力する手段、(f)前記動き補償予測画像に前記線形変
換を行い、予測画像変換係数を求めて出力する手段、
(g)前記透かし無し逆量子化値と前記予測画像変換係
数とを加算し、透かし無し復号画像変換係数を出力する
手段、(h)前記入力画像に前記線形変換を行い、原画
像変換係数を求めて出力する手段、(i)前記原画像変
換係数から視覚モデルに基づいて前記原画像変換係数そ
れぞれに対応する単位視覚歪を算出して出力する手段、
(j)前記透かし無し復号画像変換係数と前記原画像変
換係数と前記量子化情報と前記単位視覚歪と電子透かし
情報とから、目標信号を算出し、さらに前記単位視覚歪
に基づいて、画像全体として視覚的に歪が小さく、かつ
電子透かしの検出率を高めるように、前記透かし無し量
子化値を修正する量子化値修正信号を、前記目標信号か
ら決定し、これを透かし信号として出力する手段、
(k)前記透かし無し量子化値と前記透かし信号とを加
算し、透かし入り量子化値を出力する手段、(l)前記
透かし入り量子化値から符号列を生成し、出力する手
段、(m)前記透かし入り量子化値を逆量子化し、透か
し入り逆量子化値を出力する手段、(n)前記透かし入
り逆量子化値に前記線形変換の逆変換を行い、局所復号
予測誤差画像を求めて出力する手段、(o)前記局所復
号予測誤差画像に前記動き補償予測画像を加算し、加算
結果を前記局所復号画像として出力する手段、の上記
(a)〜(o)の各手段は、電子透かし挿入システムを
構成するコンピュータ(CPU;ディジタル信号処理プ
ロセッサも含む)でプログラムを実行することで実現す
るようにしてもよい。この場合、上記(a)〜(o)の
各手段を機能させるためのプログラムは、ハードディス
ク、ROM等に格納しておき、CPUで読み出し実行す
るように構成される。本発明は、これらのプログラムを
格納した記録媒体も含む。
In the embodiment of the present invention, (a) means for performing motion compensation on a locally decoded image to generate and output a motion-compensated predicted image, and (b) subtracting the motion-compensated predicted image from an input image. Means for obtaining and outputting a prediction error image by
(C) means for performing a linear transformation on the prediction error image to project it onto a spatial frequency component, obtaining and outputting a prediction error image conversion coefficient, and (d) quantizing the prediction error image conversion coefficient to obtain a quantization value. Means for outputting quantization information without watermark and outputting quantization information; (e) means for inversely quantizing the quantized value without watermark to output a dequantized value without watermark; (f) motion compensation Means for performing the linear transformation on the predicted image, calculating and outputting a predicted image conversion coefficient,
(G) means for adding the watermark-less dequantized value and the predicted image transform coefficient to output a watermark-free decoded image transform coefficient, and (h) performing the linear transformation on the input image to obtain an original image transform coefficient. Means for obtaining and outputting; (i) means for calculating and outputting a unit visual distortion corresponding to each of the original image transform coefficients based on a visual model from the original image transform coefficients;
(J) calculating a target signal from the watermark-free decoded image transform coefficient, the original image transform coefficient, the quantization information, the unit visual distortion, and the digital watermark information, and further calculating an entire image based on the unit visual distortion; Means for determining, from the target signal, a quantization value correction signal for correcting the watermarkless quantization value so as to visually reduce distortion and increase the detection rate of a digital watermark, and output this as a watermark signal. ,
(K) means for adding the watermarkless quantized value and the watermark signal to output a watermarked quantized value; (l) means for generating and outputting a code string from the watermarked quantized value; Means for inversely quantizing the watermarked quantized value and outputting a watermarked inverse quantized value; (n) performing an inverse transform of the linear transformation on the watermarked inversely quantized value to obtain a local decoding prediction error image (A) adding the motion compensation prediction image to the local decoded prediction error image and outputting the addition result as the local decoded image; It may be realized by executing a program by a computer (CPU; also including a digital signal processor) constituting the digital watermark insertion system. In this case, a program for causing each of the means (a) to (o) to function is stored in a hard disk, a ROM, or the like, and is configured to be read and executed by the CPU. The present invention also includes a recording medium storing these programs.

【0039】本発明の実施の形態においては、(a)入
力画像に対して空間周波数成分に投影する線形変換を行
い、原画像変換係数を求めて出力する手段、(b)局所
復号画像に動き補償を行って、動き補償予測画像を生成
し、出力する手段、(c)前記動き補償予測画像に前記
線形変換を行い、予測画像変換係数を求めて出力する手
段、(d)前記原画像変換係数から前記予測画像変換係
数を減じて、結果を予測誤差画像変換係数として出力す
る手段、(e)前記予測誤差画像変換係数を量子化し、
量子化値を透かし無し量子化値として出力するととも
に、量子化情報を出力する手段、(f)前記透かし無し
量子化値を逆量子化し、透かし無し逆量子化値を出力す
る手段、(g)前記予測画像変換係数に前記透かし無し
逆量子化値とを加算し、透かし無し復号画像変換係数を
出力する手段、(h)前記原画像変換係数から視覚モデ
ルに基づいて、前記原画像変換係数それぞれに対応する
単位視覚歪を算出して出力する手段、(i)前記透かし
無し復号画像変換係数と前記原画像変換係数と前記量子
化情報と前記単位視覚歪と電子透かし情報とから、目標
信号を算出して、さらに、前記単位視覚歪に基づいて、
画像全体として視覚的に歪が小さくかつ電子透かしの検
出率を高めるように前記透かし無し量子化値を修正する
量子化値修正信号を前記目標信号から決定して、これを
透かし信号として出力する手段、(j)前記透かし無し
量子化値と前記透かし信号とを加算し、透かし入り量子
化値として出力する手段、(k)前記透かし入り量子化
値から符号列を生成し、出力する手段、(l)前記透か
し入り量子化値を逆量子化し、透かし入り逆量子化値を
出力する手段、(m)前記透かし入り逆量子化値に前記
線形変換の逆変換を行い、局所復号予測誤差画像を求め
て出力する手段、(n)前記局所復号予測誤差画像に前
記動き補償予測画像を加算し、前記局所復号画像を出力
する手段との上記(a)〜(n)の各手段は、電子透か
し挿入システムを構成するコンピュータ(CPU;ディ
ジタル信号処理プロセッサも含む)でプログラムを実行
することで実現するようにしてもよい。この場合、上記
(a)〜(n)の各手段を機能させるためのプログラム
は、ハードディスク、ROM等に格納しておき、CPU
で読み出し実行するように構成される。本発明は、これ
らのプログラムを格納した記録媒体も含む。
In the embodiment of the present invention, (a) means for performing a linear transformation for projecting an input image on a spatial frequency component to obtain and output an original image transformation coefficient, and (b) moving a local decoded image Means for performing compensation to generate and output a motion-compensated predicted image; (c) means for performing the linear transformation on the motion-compensated predicted image to obtain and output a predicted image conversion coefficient; Means for subtracting the predicted image conversion coefficient from the coefficient and outputting the result as a predicted error image conversion coefficient; (e) quantizing the predicted error image conversion coefficient;
Means for outputting the quantized value as a watermarkless quantized value and outputting quantization information; (f) means for dequantizing the watermarkless quantized value and outputting a watermarkless dequantized value; (g) Means for adding the watermark-less dequantized value to the predicted image transform coefficient and outputting a watermark-free decoded image transform coefficient; (h) the original image transform coefficient based on a visual model from the original image transform coefficient; Means for calculating and outputting a unit visual distortion corresponding to (i) a target signal from the decoded image conversion coefficient without watermark, the original image conversion coefficient, the quantization information, the unit visual distortion, and the digital watermark information; Calculating, and further based on the unit visual distortion,
Means for determining, from the target signal, a quantization value correction signal for correcting the watermarkless quantization value so as to visually reduce distortion as a whole and to increase the detection rate of a digital watermark, and output this as a watermark signal. (J) means for adding the watermark-free quantized value and the watermark signal and outputting as a watermarked quantized value; (k) means for generating and outputting a code string from the watermarked quantized value; 1) means for inversely quantizing the watermarked quantized value and outputting a watermarked inverse quantized value; (m) performing inverse transformation of the linear transformation on the watermarked inversely quantized value to obtain a local decoded prediction error image. (N) adding the motion compensation prediction image to the local decoded prediction error image and outputting the local decoded image; and (a) to (n) the digital watermark. Insertion system It may be realized by executing a program; (including digital signal processor CPU) computer formed. In this case, a program for causing each of the above-described means (a) to (n) to function is stored in a hard disk, a ROM, or the like, and is stored in a CPU.
Is configured to execute reading. The present invention also includes a recording medium storing these programs.

【0040】[0040]

【実施例】本発明の実施例について図面を参照して以下
に詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0041】[実施例1]図1は、本発明の第1の実施例
の構成を示すブロック図である。図1を参照すると、本
発明の第1の実施例において、線形変換回路50は、入
力ディジタル信号に線形変換を行い、得られた変換係数
を、原信号変換係数として、量子化器51と単位視覚/
聴覚歪算出回路55と透かし信号発生回路54とへ出力
する。
[First Embodiment] FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention. Referring to FIG. 1, in a first embodiment of the present invention, a linear conversion circuit 50 performs a linear conversion on an input digital signal, and uses the obtained conversion coefficient as a raw signal conversion coefficient with a quantizer 51 and a unit. Visual /
The signal is output to the auditory distortion calculation circuit 55 and the watermark signal generation circuit 54.

【0042】量子化器51は、線形変換回路50から出
力される原信号変換係数を量子化し、量子化値を透かし
無し量子化値として逆量子化器53と加算器52とへ出
力するとともに、量子化情報を透かし信号発生回路54
へ出力する。
The quantizer 51 quantizes the original signal transform coefficient output from the linear transform circuit 50, and outputs the quantized value as a watermarkless quantized value to the inverse quantizer 53 and the adder 52. A watermark signal generation circuit 54
Output to

【0043】逆量子化器53は、量子化器51から出力
される透かし無し量子化値を逆量子化し、透かし無し復
号信号変換係数として,透かし信号発生回路54へ出力
する。
The inverse quantizer 53 inversely quantizes the watermarkless quantized value output from the quantizer 51, and outputs it to the watermark signal generating circuit 54 as a watermarkless decoded signal transform coefficient.

【0044】単位視覚/聴覚歪算出回路55は、線形変
換回路50から出力される原信号変換係数から単位視覚
/聴覚歪を算出し、透かし信号発生回路54へ出力す
る。
The unit visual / auditory distortion calculation circuit 55 calculates a unit visual / auditory distortion from the original signal conversion coefficient output from the linear conversion circuit 50 and outputs the calculated unit visual / auditory distortion to the watermark signal generating circuit 54.

【0045】透かし信号発生回路54は、逆量子化器5
3から出力される透かし無し復号信号変換係数と、線形
変換回路50から出力される原信号変換係数と、電子透
かし情報と、量子化器51から出力される量子化情報
と、単位視覚/聴覚歪算出回路55から出力される単位
視覚/聴覚歪と、から、透かし信号を計算し、透かし信
号を加算器52へ出力する。
The watermark signal generating circuit 54 includes an inverse quantizer 5
3, the original signal transform coefficient output from the linear transform circuit 50, the digital watermark information, the quantized information output from the quantizer 51, and the unit visual / auditory distortion. A watermark signal is calculated from the unit visual / aural distortion output from the calculation circuit 55, and the watermark signal is output to the adder 52.

【0046】加算器52は、量子化器51から出力され
る透かし無し量子化値と、透かし信号発生回路54から
出力される透かし信号と、を加算して、加算結果を、透
かし入り量子化値として符号変換器56へ出力する。
The adder 52 adds the watermarkless quantized value output from the quantizer 51 and the watermark signal output from the watermark signal generating circuit 54, and outputs the addition result as a watermarked quantized value. And outputs it to the code converter 56.

【0047】符号変換器56は、加算器52から出力さ
れる透かし入り量子化値から符号列を生成して出力す
る。
The code converter 56 generates a code string from the watermarked quantized value output from the adder 52 and outputs it.

【0048】次に、図1に示した回路の動作について説
明する。
Next, the operation of the circuit shown in FIG. 1 will be described.

【0049】入力ディジタル信号は、線形変換回路50
に入力され、ここで線形変換が行われる。線形変換と
は、ディジタル信号を周波数成分に変換する変換を意味
し、例えば、DCTや、離散アダマール変換、フーリエ
変換、カルーネン・レーベ変換などの直交変換や、ウェ
ーブレット変換などのフィルタ変換がこれに相当する。
例えば、入力ディジタル信号が画像信号でこれをJPEG符
号化する場合には、線形変換として、8×8DCTが用
いられる。8×8DCTの場合には、入力ディジタル信
号である画像信号は、8×8のブロックに分割され、各
ブロックに対してDCTが行なわれる。
The input digital signal is supplied to a linear conversion circuit 50.
, Where a linear transformation is performed. Linear transformation refers to transformation for transforming a digital signal into frequency components.For example, DCT, orthogonal transformation such as discrete Hadamard transformation, Fourier transformation, Karhunen-Loeve transformation, and filter transformation such as wavelet transformation correspond to this. I do.
For example, when an input digital signal is an image signal and is subjected to JPEG encoding, an 8 × 8 DCT is used as a linear transformation. In the case of 8 × 8 DCT, an image signal as an input digital signal is divided into 8 × 8 blocks, and DCT is performed on each block.

【0050】一方、線形変換としてウェーブレット変換
などのフィルタ変換が用いられる場合には、画像全体に
フィルタ処理が行なわれる。このようにして求まった変
換係数は、原信号変換係数として出力される。
On the other hand, when a filter transform such as a wavelet transform is used as the linear transform, a filter process is performed on the entire image. The transform coefficients obtained in this way are output as original signal transform coefficients.

【0051】原信号変換係数は、量子化器51において
量子化が行われる。例えば、JPEG符号化を行う場合
には、量子化テーブルに基づいて量子化特性が決定さ
れ、各変換係数は量子化される。そして、量子化値は、
透かし無し量子化値として出力される。また、この量子
化で用いられた量子化情報も同時に出力される。量子化
情報としては、例えばJPEGであれば量子化テーブル
の値である。あるいは、量子化幅そのものであってもよ
い。あるいは、量子化特性を一意に定めるためのインデ
ックスであってもよい。
The original signal transform coefficients are quantized by a quantizer 51. For example, when performing JPEG encoding, a quantization characteristic is determined based on a quantization table, and each transform coefficient is quantized. And the quantization value is
Output as a watermarkless quantized value. Also, the quantization information used in this quantization is output at the same time. The quantization information is, for example, a value of a quantization table in the case of JPEG. Alternatively, the quantization width itself may be used. Alternatively, it may be an index for uniquely defining the quantization characteristic.

【0052】透かし無し量子化値は、逆量子化器53で
逆量子化され、結果は、透かし無し復号信号変換係数と
して出力される。この透かし無し復号信号変換係数は、
電子透かしを挿入しない場合に復号器で得られる復号信
号に対して線形変換を行って求まる変換係数に、整数化
や演算精度の違いによって生じる微小な誤差を除いて一
致する。
The watermarkless quantized value is inversely quantized by the inverse quantizer 53, and the result is output as a watermarkless decoded signal transform coefficient. This watermark-less decoded signal conversion coefficient is
The conversion coefficient obtained by performing a linear conversion on the decoded signal obtained by the decoder when no digital watermark is inserted, matches the conversion coefficient except for a small error caused by the conversion into an integer or a difference in operation accuracy.

【0053】一方、線形変換回路50で得られた変換係
数は、単位視覚/聴覚歪算出回路55へも入力され、単
位視覚/聴覚歪算出回路55では、各変換係数に対応す
る単位視覚/聴覚歪が算出される。
On the other hand, the conversion coefficients obtained by the linear conversion circuit 50 are also input to the unit visual / auditory distortion calculating circuit 55, and the unit visual / auditory distortion calculating circuit 55 outputs the unit visual / auditory corresponding to each conversion coefficient. The distortion is calculated.

【0054】ここで、単位視覚/聴覚歪とは、入力信号
が画像の場合には画質の視覚的な劣化の尺度となる量
で、この量を基準として視覚的劣化の度合を表す。
Here, the unit visual / auditory distortion is an amount serving as a measure of visual deterioration of image quality when an input signal is an image, and represents the degree of visual deterioration based on this amount.

【0055】また入力信号が音声または音響信号の場合
には、単位視覚/聴覚歪は音質の聴覚的な劣化の尺度と
なる量で、この量を基準として聴覚的な劣化の度合を表
す。この量としては、例えば、JND(Just Noticeab
le Difference)がある。JNDは文字通り、人間の目
や耳が違いを識別できる限界値であり、この値よりも小
さい差は、人間の目や耳では検知できない。
When the input signal is a voice or acoustic signal, the unit visual / auditory distortion is an amount which is a measure of the audible deterioration of the sound quality, and indicates the degree of the audible deterioration based on this amount. As this amount, for example, JND (Just Noticeab)
le Difference). JND is literally a limit value at which human eyes and ears can identify a difference, and a difference smaller than this value cannot be detected by human eyes or ears.

【0056】単位視覚/聴覚歪はJNDそのものであっ
てもよいし、これを定数倍したものであってもよい。単
位視覚/聴覚歪は視覚/聴覚モデルに基づいて計算され
る。視覚/聴覚モデルとしては、任意の視覚/聴覚モデ
ルを用いることが可能である。例えば、入力信号が画像
で、線形変換回路50で線形変換として、8×8DCT
を行う場合には、文献3(SPIE,vol.1913(1993),pp.
202-216,「DCT quantization matrices visually
optimized for individual images」(Andrew B. Wa
tson著))のモデルを用いてJNDを計算し、これを単
位視覚/聴覚歪として用いることができる。
The unit visual / auditory distortion may be JND itself or a constant multiplied by JND. The unit visual / auditory distortion is calculated based on the visual / auditory model. Any visual / auditory model can be used as the visual / auditory model. For example, when the input signal is an image and the linear conversion circuit 50 performs a linear conversion, an 8 × 8 DCT
Is performed, see Reference 3 (SPIE, vol. 1913 (1993), pp.
202-216, “DCT quantization matrices visually
optimized for individual images "(Andrew B. Wa
JND is calculated using the model of tson)), and this can be used as the unit visual / auditory distortion.

【0057】単位視覚/聴覚歪は、各変換係数ごとに異
なるため、変換係数ごとに算出される。ただし、電子透
かしの挿入に関係しない変換係数に対しては、これを求
める必要はない。このようにして、各変換係数の単位視
覚/聴覚歪が求まり、出力される。
Since the unit visual / auditory distortion differs for each conversion coefficient, it is calculated for each conversion coefficient. However, it is not necessary to calculate the conversion coefficient for the conversion coefficient not related to the insertion of the digital watermark. In this way, the unit visual / auditory distortion of each transform coefficient is obtained and output.

【0058】そして、透かし信号発生回路54におい
て、透かし無し復号変換係数と原信号変換係数と電子透
かし情報と量子化情報と単位視覚/聴覚歪とを用いて透
かし信号が生成され、出力される。この動作の詳細は後
述する。さらに加算器52において、透かし信号は、対
応する透かし無し量子化値に加算され、結果は透かし入
り量子化値として出力される。透かし入り量子化値は符
号変換器56において符号列に変換される。例えば、入
力ディジタル信号が画像の場合には、ジグザグスキャン
などによって一次元に走査された後、ハフマン符号化や
算術符号化によって符号列に変換され、出力される。符
号列を生成する際には、量子化情報などの付加情報も一
緒に多重化される。
Then, the watermark signal generation circuit 54 generates and outputs a watermark signal using the watermarkless decoding transform coefficient, original signal transform coefficient, digital watermark information, quantization information, and unit visual / auditory distortion. Details of this operation will be described later. Further, in the adder 52, the watermark signal is added to the corresponding quantized value without watermark, and the result is output as a quantized value with watermark. The watermarked quantized value is converted into a code string in the code converter 56. For example, when the input digital signal is an image, it is one-dimensionally scanned by zigzag scanning or the like, converted to a code string by Huffman coding or arithmetic coding, and output. When generating a code string, additional information such as quantization information is multiplexed together.

【0059】次に、本発明の第1の実施例における透か
し信号発生回路54の詳細について説明する。図5は、
本発明の第1の実施例における、透かし信号発生回路5
4の構成の一例を示すブロック図である。図5を参照し
て、透かし信号発生回路の構成について説明する。
Next, the details of the watermark signal generation circuit 54 in the first embodiment of the present invention will be described. FIG.
The watermark signal generation circuit 5 according to the first embodiment of the present invention
4 is a block diagram illustrating an example of the configuration of FIG. The configuration of the watermark signal generation circuit will be described with reference to FIG.

【0060】図5を参照すると、目標信号算出回路20
0、透かし仮挿入器201、透かし信号生成回路20
2、聴覚/聴覚的劣化度算出回路203、及び透かし挿
入判定回路204を備えて構成されている。目標信号算
出回路200は、原信号変換係数と単位視覚/聴覚歪と
電子透かし情報とから目標信号を算出して、透かし仮挿
入器201へ出力する。透かし仮挿入器201は、量子
化情報と目標信号算出回路200から出力される目標信
号に基づいて、透かし無し復号信号変換係数の値を変更
して透かし仮挿入信号を生成し、これを視覚/聴覚的劣
化度算出回路203と透かし挿入判定回路204と透か
し信号生成回路202へ出力する。
Referring to FIG. 5, the target signal calculating circuit 20
0, watermark temporary inserter 201, watermark signal generation circuit 20
2. It comprises an auditory / audible deterioration degree calculating circuit 203 and a watermark insertion determining circuit 204. The target signal calculation circuit 200 calculates a target signal from the original signal conversion coefficient, the unit visual / auditory distortion, and the digital watermark information, and outputs the target signal to the temporary watermark inserter 201. The watermark temporary inserter 201 changes the value of the watermark-less decoded signal conversion coefficient based on the quantization information and the target signal output from the target signal calculation circuit 200 to generate a watermark temporary insertion signal, Output to the auditory degradation calculation circuit 203, the watermark insertion determination circuit 204, and the watermark signal generation circuit 202.

【0061】視覚/聴覚的劣化度算出回路203は、原
信号変換係数と単位視覚/聴覚歪と透かし仮挿入器20
1から出力される透かし仮挿入信号とから、透かし仮挿
入信号の視覚/聴覚的劣化を示す値を算出し、視覚/聴
覚的劣化度として透かし挿入判定回路204へ出力す
る。
The visual / auditory deterioration degree calculating circuit 203 includes an original signal conversion coefficient, a unit visual / auditory distortion, and a watermark temporary inserter 20.
A value indicating visual / audible deterioration of the watermark temporary insertion signal is calculated from the watermark temporary insertion signal output from No. 1 and output to the watermark insertion determination circuit 204 as the degree of visual / audible deterioration.

【0062】透かし挿入判定回路204は、電子透かし
情報と透かし仮挿入器201から出力される透かし仮挿
入信号と視覚/聴覚的劣化度算出回路203から出力さ
れる視覚/聴覚的劣化度から、透かし挿入制御信号を生
成し、透かし信号生成回路202へ出力する。
The watermark insertion determining circuit 204 determines the watermark based on the digital watermark information, the temporary watermark insertion signal output from the temporary watermark inserter 201, and the visual / audible deterioration degree output from the visual / audible deterioration degree calculation circuit 203. An insertion control signal is generated and output to the watermark signal generation circuit 202.

【0063】透かし信号生成回路202は、量子化情報
と透かし無し復号信号変換係数と透かし仮挿入器201
から出力される透かし仮挿入信号と透かし挿入判定回路
204から出力される透かし挿入制御信号とから、透か
し信号を生成し、出力する。
The watermark signal generation circuit 202 includes a quantized information, a decoded signal conversion coefficient without watermark, and a temporary watermark inserter 201.
And a watermark insertion control signal output from the watermark insertion determination circuit 204, and outputs a watermark signal.

【0064】次に、図5に示した回路の詳細な動作につ
いて説明する。原信号変換係数と単位視覚/聴覚歪と電
子透かし情報とは目標信号算出回路200に入力され
る。目標信号算出回路200では、原信号変換係数と挿
入すべき電子透かし情報とから、透かし挿入後に変換係
数がとるべき値が算出される。そして、この値は目標信
号として出力される。目標信号は、変換係数そのもので
あってもよいし、変換係数になんらかの変換を行って得
られる値でもよい。どのように目標信号を求めるかは、
用いる電子透かし挿入、検出方法に依存して決定され
る。
Next, the detailed operation of the circuit shown in FIG. 5 will be described. The original signal conversion coefficient, the unit visual / audible distortion, and the digital watermark information are input to the target signal calculation circuit 200. The target signal calculation circuit 200 calculates a value to be obtained by the conversion coefficient after the watermark is inserted, from the original signal conversion coefficient and the digital watermark information to be inserted. Then, this value is output as a target signal. The target signal may be the conversion coefficient itself or a value obtained by performing some conversion on the conversion coefficient. How to find the target signal depends on
It is determined depending on the digital watermark insertion and detection method used.

【0065】目標信号の算出に用いる電子透かし挿入方
法としては、変換係数ドメインで電子透かしを挿入する
任意の方法を用いることができる。例えば、図1の線形
変換回路50において、JPEGなどで用いられる8×
8DCTを行う場合には、前記文献1「ディジタル画像
の著作権保護のための周波数領域における電子透かし方
式」に示される方式などの従来方式を含め、任意の8×
8DCTベースの電子透かし挿入方法を用いることがで
きる。この目標信号の算出に当たっては、単位視覚/聴
覚歪を考慮して、視覚歪が目立ちにくいような目標信号
を算出することも可能である。
As a digital watermark insertion method used for calculating a target signal, any method of inserting a digital watermark in a transform coefficient domain can be used. For example, in the linear conversion circuit 50 of FIG.
In the case of performing 8DCT, any 8 × TCT method including the conventional method such as the method described in the above-mentioned reference 1 “Digital watermarking method in frequency domain for copyright protection of digital images” is used.
An 8DCT-based watermark insertion method can be used. In calculating the target signal, it is also possible to calculate a target signal in which visual distortion is less noticeable in consideration of unit visual / auditory distortion.

【0066】目標信号は透かし仮挿入器201へ入力さ
れ、ここで、透かし仮挿入信号が算出される。透かし仮
挿入信号は、透かし無し復号信号変換係数を、目標信号
に近づくように変化させることにより求める。ただし、
復号器側で逆量子化して復号するとき、この値は量子化
情報によって定まる離散的な値しか取り得ないことを考
慮して、変化させる際も、復号器で復号する際に取り得
る離散的な値の間で変化させる。例えば、透かし無し復
号信号変換係数を求めるとき、線形量子化によって量子
化を行ったならば、逆量子化値として取り得る値は、等
しい量子化ステップ間隔の値しか取り得ないため、量子
化ステップ幅の整数倍の値で増減させる。
The target signal is input to the temporary watermark inserter 201, where the temporary watermark insertion signal is calculated. The watermark temporary insertion signal is obtained by changing the watermark-free decoded signal conversion coefficient so as to approach the target signal. However,
When decoding by inverse quantization on the decoder side, taking into account that this value can only take a discrete value determined by the quantization information, when changing the value, the discrete value that can be taken when decoding by the decoder is considered. Vary between values. For example, when obtaining the watermarked decoded signal transform coefficient, if the quantization is performed by linear quantization, the value that can be taken as the inverse quantization value can only take the value of the equal quantization step interval, so the quantization step width Increase or decrease by an integral multiple of.

【0067】透かし仮挿入器201から出力される透か
し仮挿入信号は、視覚/聴覚的劣化度算出回路203へ
入力される。視覚/聴覚的劣化度算出回路203では、
各透かし仮挿入信号値と、対応する原信号変換係数の差
分が算出される。そして、これが、対応する単位視覚/
聴覚歪の何倍に相当するかが計算され、この値が視覚/
聴覚的劣化度として出力される。
The temporary watermark insertion signal output from the temporary watermark insertion unit 201 is input to the visual / aural deterioration degree calculation circuit 203. In the visual / aural deterioration degree calculation circuit 203,
The difference between each watermark temporary insertion signal value and the corresponding original signal transform coefficient is calculated. And this is the corresponding unit vision /
The number of times the auditory distortion is calculated is calculated.
It is output as the degree of auditory deterioration.

【0068】透かし仮挿入器201から出力される透か
し仮挿入信号は、透かし挿入判定回路204へも入力さ
れる。ここでは、以下に述べるような方法によって、電
子透かし情報を用いて透かし仮挿入信号が有効であるか
を判定する。
The watermark temporary insertion signal output from the temporary watermark insertion unit 201 is also input to the watermark insertion determination circuit 204. Here, it is determined whether or not the watermark temporary insertion signal is valid by using the digital watermark information by a method described below.

【0069】透かし仮挿入信号は、量子化の影響のため
に、目標信号とは必ずしも一致せず、ある程度のずれが
生じる。透かし挿入判定回路204では、まず、このず
れが電子透かしの検出に与える影響を各透かし仮挿入信
号値に対して調べる。この部分は、どのような方式によ
って電子透かしを検出するかに依存する。量子化の影響
を調べる方式としては、実際に電子透かしの検出を試み
て、仮挿入した透かし信号が検出に寄与するかどうかを
調べればよい。あるいは、実際に検出を行わなくても、
これに類似する操作によって影響を調べる方式など、様
々な方式を用いることが可能である。
The watermark temporary insertion signal does not always coincide with the target signal due to the influence of quantization, and a certain amount of shift occurs. First, the watermark insertion determination circuit 204 examines the effect of this shift on the detection of a digital watermark for each watermark temporary insertion signal value. This part depends on the method of detecting the digital watermark. As a method of checking the influence of quantization, it is sufficient to actually try to detect a digital watermark and check whether or not the temporarily inserted watermark signal contributes to the detection. Alternatively, without actually performing detection,
Various methods such as a method of examining the influence by an operation similar to this can be used.

【0070】もし、このずれが検出の劣化にはつながら
ない場合には、さらに対応する視覚/聴覚的劣化度を調
べる。そして、劣化が小さい場合には、実際に透かしを
挿入してもよいと判定して、挿入を許可する制御信号
(ON信号値)を出力する。この判定方式としては、例
えば、閾値を用いて、劣化度の絶対値が閾値以下のとき
のみ挿入を許可する方式などが考えられる。
If the deviation does not lead to the deterioration of the detection, the corresponding degree of visual / audible deterioration is examined. When the deterioration is small, it is determined that the watermark may be actually inserted, and a control signal (ON signal value) for permitting the insertion is output. As this determination method, for example, a method of using a threshold value and permitting insertion only when the absolute value of the degree of deterioration is equal to or less than the threshold value can be considered.

【0071】一方、前述のずれによって、電子透かしの
挿入が意味をなさない場合や、誤検出の原因になるな
ど、逆に検出に悪影響を及ぼす場合については、挿入を
禁止する制御信号(OFF信号値)を出力する。
On the other hand, in the case where the insertion of the digital watermark does not make sense due to the above-mentioned deviation or the case where the detection is adversely affected, such as the cause of erroneous detection, the control signal (OFF signal Value).

【0072】以上の判定を、各透かし仮挿入信号値に対
して行い、各透かし挿入信号値に対応する制御信号値
は、透かし生成回路202へ出力される。
The above determination is performed for each watermark temporary insertion signal value, and the control signal value corresponding to each watermark insertion signal value is output to the watermark generation circuit 202.

【0073】さらに、透かし仮挿入器から出力される透
かし仮挿入信号は、透かし信号生成回路202へも入力
される。透かし信号生成回路202では、透かし挿入判
定回路204から出力される透かし挿入制御信号に基づ
いて、透かしの挿入の是非を判断し、透かし信号を生成
する。透かし挿入制御信号値がONとなる透かし仮挿入
信号値に対しては、これと透かし無し復号信号変換係数
との差分を求め、量子化情報を用いてその差分を量子化
された値に換算して、透かし信号値として出力する。一
方、透かし挿入制御信号がONでない場合、透かし信号
値として0を出力する。このようにして、透かし信号値
が生成され、出力される。
Further, the temporary watermark insertion signal output from the temporary watermark inserter is also input to the watermark signal generation circuit 202. The watermark signal generation circuit 202 determines whether to insert a watermark based on the watermark insertion control signal output from the watermark insertion determination circuit 204, and generates a watermark signal. For the watermark temporary insertion signal value for which the watermark insertion control signal value is ON, the difference between this and the watermarkless decoded signal conversion coefficient is obtained, and the difference is converted to a quantized value using quantization information. And outputs it as a watermark signal value. On the other hand, when the watermark insertion control signal is not ON, 0 is output as the watermark signal value. In this way, a watermark signal value is generated and output.

【0074】なお、図5に示した透かし挿入判定回路2
04において、挿入される電子透かしの強度を判定し
て、これが所定の条件を満たさない場合は、目標信号算
出回路200に対して、目標信号の再計算を要求するよ
うになっていても良い。すなわち、透かし強度が所定の
条件を満たさない場合は、より強い強度の透かしを埋め
込むための目標信号を計算するよう、目標信号算出回路
200に要求する。目標信号算出回路200では、この
要求を受けると、再度目標信号を計算し、上述の手順で
再度透かし信号の算出が行われる。このように、透かし
挿入判定回路での判定結果をフィードバックすること
で、電子透かしの強度を適応的に制御できる。
The watermark insertion determination circuit 2 shown in FIG.
At 04, the strength of the digital watermark to be inserted is determined, and if the strength does not satisfy the predetermined condition, the target signal calculating circuit 200 may be requested to recalculate the target signal. That is, when the watermark strength does not satisfy the predetermined condition, the target signal calculating circuit 200 is requested to calculate a target signal for embedding a watermark of higher strength. Upon receiving this request, the target signal calculation circuit 200 calculates the target signal again, and calculates the watermark signal again according to the above-described procedure. As described above, the strength of the digital watermark can be adaptively controlled by feeding back the determination result of the watermark insertion determination circuit.

【0075】上記した、透かし信号発生回路は、電子透
かし挿入方式に依存して、様々な形態で実施が可能であ
る。
The watermark signal generation circuit described above can be implemented in various forms depending on the digital watermark insertion method.

【0076】次に、上述の構成を、前記文献1「ディジ
タル画像の著作権保護のための周波数領域における電子
透かし方式」に示される電子透かし方式に応用して、こ
の挿入方式を改良する例について述べる。この方式に応
用する場合、図1に示す回路に入力されるディジタル信
号は画像であり、線形変換回路50で行われる線形変換
は、8×8DCTとする。
Next, an example in which the above-described configuration is applied to a digital watermarking system described in the above-mentioned reference 1 “Digital watermarking system in the frequency domain for copyright protection of digital images” to improve this insertion system will be described. State. When applied to this method, the digital signal input to the circuit shown in FIG. 1 is an image, and the linear conversion performed by the linear conversion circuit 50 is 8 × 8 DCT.

【0077】図5に示した回路のうち、視覚/聴覚的劣
化度算出回路203と透かし信号生成回路202の動作
については、電子すかし挿入方式には特に依存せず、前
述の通りであるため、これ以外の回路について述べる。
Of the circuits shown in FIG. 5, the operations of the visual / auditory deterioration degree calculating circuit 203 and the watermark signal generating circuit 202 do not particularly depend on the digital watermark insertion method and are as described above. The other circuits will be described.

【0078】目標信号算出回路200は、電子透かし情
報の0、1に応じて、前記数1または数2によって求ま
る透かし挿入後の変換係数qを、目標信号として算出
し、出力する回路として構成される。
The target signal calculation circuit 200 is configured as a circuit that calculates, as a target signal, a transform coefficient q after watermark insertion obtained by the above equation (1) or (2) according to the digital watermark information 0, 1 and outputs the target signal. You.

【0079】透かし仮挿入器201は、目標信号に近づ
くように、透かし無し復号信号変換係数を量子化情報に
従って変化させ、透かし仮挿入信号を算出する回路であ
る。例えば、各目標信号値を量子化情報に従って量子化
した値を、透かし仮挿入信号として計算する回路が考え
られる。視覚/聴覚的劣化度算出回路203は、前述の
通り、各透かし仮挿入信号の視覚的劣化度を算出して出
力する。透かし挿入判定回路204は、電子透かし情報
を用いて、透かし仮挿入信号に対して前記数3、数4、数
5に従って判定を試み、実際に挿入した電子透かし情報
と判定された電子透かし情報とが一致する透かし仮挿入
信号値を選択する。さらに、選択された透かし仮挿入信
号値に対して視覚的劣化度を調べ、この値がある一定値
以下であるならば、その透かし仮挿入信号値に対する透
かし挿入制御信号値をONにする。他方、それ以外の透
かし仮挿入信号値については、透かし挿入制御信号値を
OFFにする。この透かし挿入制御信号値を透かし信号
生成回路202へ出力する。
The temporary watermark insertion unit 201 is a circuit for calculating a watermark temporary insertion signal by changing the watermarkless decoded signal conversion coefficient according to the quantization information so as to approach the target signal. For example, a circuit that calculates a value obtained by quantizing each target signal value according to the quantization information as a watermark temporary insertion signal can be considered. The visual / aural deterioration degree calculation circuit 203 calculates and outputs the visual deterioration degree of each watermark temporary insertion signal as described above. The watermark insertion determination circuit 204 uses the digital watermark information to apply
The determination is attempted in accordance with 5, and a watermark temporary insertion signal value in which the actually inserted digital watermark information matches the determined digital watermark information is selected. Further, the degree of visual deterioration is checked for the selected watermark temporary insertion signal value, and if this value is below a certain value, the watermark insertion control signal value for that watermark temporary insertion signal value is turned ON. On the other hand, for other watermark temporary insertion signal values, the watermark insertion control signal value is turned off. This watermark insertion control signal value is output to the watermark signal generation circuit 202.

【0080】また、上述のDCTを行う部分をウェーブ
レット変換に変えることで、上述の実施例を、前記文献
2「多重解像度解析によるデジタル画像への電子透かし
法」に示される電子透かし方式に応用し、改良する方式
を、同様にして構成できる。
Further, the above embodiment is applied to the digital watermarking method described in the above-mentioned document 2 “Digital Watermarking Method for Digital Image by Multi-Resolution Analysis” by changing the above-mentioned DCT portion to wavelet transform. , An improved system can be similarly configured.

【0081】図6は、本発明の第1の実施例における、
透かし信号発生回路54の別の構成の一例を示すブロッ
ク図である。図6を参照して、透かし信号発生回路の構
成について説明する。
FIG. 6 shows a first embodiment of the present invention.
FIG. 11 is a block diagram illustrating an example of another configuration of the watermark signal generation circuit 54. The configuration of the watermark signal generation circuit will be described with reference to FIG.

【0082】目標信号算出回路200は、原信号変換係
数と単位視覚/聴覚歪と電子透かし情報とから目標信号
を算出して、透かし仮挿入器231へ出力する。透かし
仮挿入器231は、量子化情報と電子透かし情報と目標
信号算出回路200から出力される目標信号と視覚/聴
覚的劣化度算出回路233から出力される視覚/聴覚的
劣化度に基づいて、透かし無し復号信号変換係数の値を
変更して透かし挿入信号を生成し、これを透かし信号生
成回路232へ出力する。また、透かし仮挿入信号を視
覚/聴覚的劣化度算出回路233へ出力する。
The target signal calculation circuit 200 calculates a target signal from the original signal conversion coefficient, the unit visual / audible distortion, and the digital watermark information, and outputs the target signal to the temporary watermark inserter 231. The temporary watermark inserter 231 is based on the quantization information, the digital watermark information, the target signal output from the target signal calculation circuit 200, and the visual / audible deterioration degree output from the visual / audible deterioration degree calculation circuit 233. A watermark insertion signal is generated by changing the value of the watermark-less decoded signal conversion coefficient, and is output to the watermark signal generation circuit 232. Further, it outputs the watermark temporary insertion signal to the visual / aural deterioration degree calculation circuit 233.

【0083】視覚/聴覚的劣化度算出回路233は、原
信号変換係数と単位視覚/聴覚歪と透かし仮挿入器23
1から出力される透かし仮挿入信号とから、透かし仮挿
入信号の視覚/聴覚的劣化度を算出し、透かし仮挿入器
231へ出力する。
The visual / aural deterioration degree calculating circuit 233 includes an original signal conversion coefficient, a unit visual / aural distortion, and the watermark temporary inserter 23.
Then, the degree of visual / audible deterioration of the watermark temporary insertion signal is calculated from the watermark temporary insertion signal output from No. 1 and output to the watermark temporary insertion unit 231.

【0084】透かし信号生成回路232は、量子化情報
と透かし無し復号信号変換係数と透かし仮挿入器231
から出力される透かし挿入信号とから透かし信号を生成
し、出力する。
The watermark signal generation circuit 232 includes quantization information, a decoded signal conversion coefficient without watermark, and a temporary watermark inserter 231.
A watermark signal is generated from the watermark insertion signal output from the and a watermark signal is output.

【0085】次に、図6に示した透かし信号発生回路2
35の詳細な動作について説明する。
Next, the watermark signal generation circuit 2 shown in FIG.
35 will be described in detail.

【0086】原信号変換係数と単位視覚/聴覚歪と電子
透かし情報とは目標信号算出回路200に入力される。
目標信号算出回路200の動作は、図5に示したのもの
と同様であり、目標信号が算出され、透かし仮挿入器2
31へ出力される。
The original signal conversion coefficient, the unit visual / auditory distortion, and the digital watermark information are input to the target signal calculation circuit 200.
The operation of the target signal calculation circuit 200 is the same as that shown in FIG.
Output to 31.

【0087】透かし仮挿入器231では、透かし挿入信
号が算出される。これは、透かし無し復号信号変換係数
を、目標信号に近づくように変化させることにより求め
る。透かし仮挿入器231は、図5に示した透かし仮挿
入器201において透かし仮挿入信号を算出したときと
同様にして、透かし挿入信号を算出する。さらに、透か
し仮挿入器231は、透かし仮挿入信号も算出する。こ
れは、透かし挿入信号の各値を更新するとしたらいくら
に更新するか、すなわち、透かし挿入信号の次の更新値
を表す値である。そして、透かし無し復号信号変換係数
値を、透かし挿入信号よりも、数量子化ステップ分だけ
余分に変化させた値とする。簡単には、1量子化ステッ
プ分だけ余分に変化させた値にすればよい。あるいは、
何量子化ステップ分変化させるかを決定するのに、電子
透かし情報を用いてもよい。そして、透かし仮挿入信号
は、視覚/聴覚的劣化度算出回路233へ出力される。
一方、透かし挿入信号については、透かし仮挿入器23
1の内部にある記憶装置にその値が保持される。
The temporary watermark inserter 231 calculates a watermark insertion signal. This is obtained by changing the watermark-less decoded signal conversion coefficient so as to approach the target signal. The temporary watermark inserter 231 calculates the watermark insertion signal in the same manner as when the temporary watermark insertion signal is calculated in the temporary watermark inserter 201 shown in FIG. Further, the temporary watermark insertion device 231 also calculates a temporary watermark insertion signal. This is a value indicating how much, if any, each value of the watermark insertion signal should be updated, that is, a value representing the next update value of the watermark insertion signal. Then, the watermark-less decoded signal conversion coefficient value is set to a value obtained by changing the watermark insertion signal by an extra number of quantization steps. In brief, the value may be changed by an extra amount corresponding to one quantization step. Or,
Digital watermark information may be used to determine how many quantization steps to change. Then, the watermark temporary insertion signal is output to the visual / aural deterioration degree calculation circuit 233.
On the other hand, for the watermark insertion signal, the watermark temporary inserter 23
The value is held in a storage device inside 1.

【0088】視覚/聴覚的劣化度算出回路233の動作
は、図5に示した視覚/聴覚的劣化度算出回路203と
同様であり、視覚/聴覚的劣化度が求まり、透かし仮挿
入器231へ出力される。透かし仮挿入器231では、
この視覚/聴覚的劣化度から、現在の透かし挿入信号値
を、さらに量子化ステップ1つ分(あるいは数ステップ
分)だけ変化させると、視覚/聴覚的劣化度がいくらに
なるかがわかる。すなわち、この値が小さくなる透かし
仮挿入信号値に関しては、さらに、1量子化ステップ分
(あるいは数量子化ステップ分)だけ値を変化させて
も、視覚/聴覚的劣化が小さいことがわかる。
The operation of the visual / aural deterioration degree calculating circuit 233 is the same as that of the visual / aural deterioration degree calculating circuit 203 shown in FIG. Is output. In the temporary watermark insertion device 231,
From the degree of visual / audible deterioration, it is possible to know how much the degree of visual / audible deterioration will be increased if the current watermark insertion signal value is further changed by one quantization step (or several steps). In other words, with respect to the watermark temporary insertion signal value in which this value is reduced, it can be seen that even if the value is further changed by one quantization step (or several quantization steps), visual / audible deterioration is small.

【0089】そこで、透かし仮挿入器231では、この
視覚/聴覚的劣化度が小さいものから優先的に透かし挿
入信号値を変化させていく。すなわち、記憶装置内に保
持されている値を更新していく。そして、目標信号に近
くなった時点で透かし挿入信号値の更新を停止し、最終
的に求まった透かし挿入値を透かし信号生成回路232
へ出力する。
Therefore, the temporary watermark insertion unit 231 preferentially changes the watermark insertion signal value from the one with the smallest degree of visual / audible deterioration. That is, the value stored in the storage device is updated. Then, the update of the watermark insertion signal value is stopped at the time of approaching the target signal, and the watermark insertion value finally obtained is replaced with the watermark signal generation circuit 232.
Output to

【0090】透かし信号生成回路232の動作は、図5
に示した透かし信号生成回路202と同様であるが、入
力信号が透かし仮挿入信号から透かし挿入信号へ変わっ
ている。また、透かし挿入制御信号によって透かしを挿
入するか否かを制御しない。すなわち、図5に示した透
かし信号生成回路202において、透かし挿入制御信号
が常にONである場合と同様の動作をして、透かし信号
を出力する。
The operation of the watermark signal generation circuit 232 is described in FIG.
19, except that the input signal is changed from the temporary watermark insertion signal to the watermark insertion signal. Also, whether or not to insert a watermark is not controlled by the watermark insertion control signal. That is, the watermark signal generation circuit 202 shown in FIG. 5 performs the same operation as when the watermark insertion control signal is always ON, and outputs the watermark signal.

【0091】次に、前記文献1「ディジタル画像の著作
権保護のための周波数領域における電子透かし方式」に
示される電子透かし方式に応用した場合の、透かし信号
発生回路54の具体的な構成について、図1及び図6を
参照して説明する。
Next, a specific configuration of the watermark signal generating circuit 54 when applied to the digital watermarking method described in the above-mentioned document 1 “Digital watermarking method in frequency domain for copyright protection of digital images” will be described. This will be described with reference to FIGS.

【0092】この方式に応用する場合、前述の通り、図
1に示した回路に入力されるディジタル信号は画像であ
り、線形変換回路50で行われる線形変換は、8×8D
CTとする。
When applied to this method, as described above, the digital signal input to the circuit shown in FIG. 1 is an image, and the linear conversion performed by the linear conversion circuit 50 is 8 × 8D
CT.

【0093】目標信号算出回路200は、電子透かし情
報の0、1に応じて、前記数1または数2によって求まる
透かし挿入後の変換係数qを、目標信号として算出し、
出力する回路として構成される。
The target signal calculation circuit 200 calculates, as a target signal, the conversion coefficient q after the watermark insertion obtained by the above equation 1 or 2 according to the digital watermark information 0 or 1.
It is configured as an output circuit.

【0094】透かし仮挿入器231では、まず、透かし
挿入信号値を入力される透かし無し復号信号変換係数値
と同じ値にセットする。次に、各透かし挿入信号値を数
量子化ステップ分だけ変化させて、対応する透かし仮挿
入信号値を計算する。このとき、変化させる方向、すな
わち、量子化ステップを加算するか減算するかは、目標
信号値と比べて、透かし挿入信号値が大きいか小さいか
によって決まる。もし、透かし挿入信号値が大きい場合
は、量子化ステップを減じ、そうでなければ量子化ステ
ップを加える。このとき、何量子化ステップ分変化させ
るかは、電子透かし情報と比較して、正しく検出できる
かどうかによって決定する。すなわち、量子化ステップ
1つ分、2つ分、と変化させていったとき、透かし仮挿
入信号から正しく電子透かし情報が検出できる最小の値
を選択する。このようにして透かし仮挿入値を決定す
る。
First, the temporary watermark inserter 231 sets the watermark insertion signal value to the same value as the input watermarkless decoded signal conversion coefficient value. Next, each watermark insertion signal value is changed by several quantization steps, and the corresponding watermark temporary insertion signal value is calculated. At this time, the direction of change, that is, whether to add or subtract the quantization step, is determined by whether the watermark insertion signal value is larger or smaller than the target signal value. If the watermark insertion signal value is large, the quantization step is reduced; otherwise, a quantization step is added. At this time, the number of quantization steps to be changed is determined based on whether or not it can be correctly detected in comparison with the digital watermark information. That is, when the quantization step is changed to one or two quantization steps, the minimum value at which digital watermark information can be correctly detected from the watermark temporary insertion signal is selected. In this way, the watermark temporary insertion value is determined.

【0095】次に、求まった透かし仮挿入信号値は、視
覚/聴覚的劣化度算出回路233へ入力され、透かし仮
挿入信号値それぞれに対する視覚的劣化度が算出され、
透かし仮挿入器231へ出力される。透かし仮挿入器2
31では、入力された視覚的劣化度が小さくなるものを
選択し、記憶装置に保持されている透かし挿入信号値を
透かし仮挿入信号値に更新する。このとき、この透かし
仮挿入信号値も対応して更新される。透かし仮挿入信号
値の決定法は上述の通りである。
Next, the obtained watermark temporary insertion signal value is input to the visual / aural deterioration degree calculation circuit 233, and the visual deterioration degree for each watermark temporary insertion signal value is calculated.
Output to the temporary watermark insertion unit 231. Watermark temporary inserter 2
In step 31, a signal having a smaller degree of visual deterioration is selected, and the watermark insertion signal value stored in the storage device is updated to a temporary watermark insertion signal value. At this time, the watermark temporary insertion signal value is also updated correspondingly. The method for determining the watermark temporary insertion signal value is as described above.

【0096】正しく検出できる透かし情報の割合が一定
の条件を満たすまで、上述の操作を繰り返す。あるい
は、各透かし仮挿入信号値に対する視覚的劣化度が、ど
れも所定の値よりも大きくなった場合は、そこで更新を
終了する。あるいは、上述の繰り返しを所定の回数行っ
たらそこで更新を終了するようにしてもよい。
The above operation is repeated until the ratio of watermark information that can be correctly detected satisfies a certain condition. Alternatively, when the degree of visual deterioration for each watermark temporary insertion signal value becomes larger than a predetermined value, the update is ended there. Alternatively, the update may be terminated when the above-described repetition is performed a predetermined number of times.

【0097】そして、最終的に求まった透かし挿入信号
を透かし信号生成回路232へ出力する。透かし信号生
成回路232の動作は前述のとおりであり、透かし信号
が算出され、出力される。
Then, the watermark insertion signal finally obtained is output to the watermark signal generation circuit 232. The operation of the watermark signal generation circuit 232 is as described above, and the watermark signal is calculated and output.

【0098】また、上述のDCTを行う部分をウェーブ
レット変換に変えることで、上述の実施例を前記文献2
「多重解像度解析によるデジタル画像への電子透かし
法」に示される電子透かし方式に応用し、改良する方式
を、同様にして構成できる。
Also, the above-mentioned embodiment is changed to the above-mentioned Reference 2 by changing the above-mentioned DCT portion to a wavelet transform.
A method for applying and improving the digital watermarking method shown in “Digital Watermarking Method for Digital Image by Multiresolution Analysis” can be similarly configured.

【0099】以上説明した本発明の第1の実施例は、非
可逆圧縮による電子透かしデータの劣化を防ぎ、かつ、
視覚/聴覚的な劣化を抑える信号の電子透かし挿入方式
を与える。
The first embodiment of the present invention described above prevents digital watermark data from deteriorating due to lossy compression, and
A digital watermark insertion method for a signal that suppresses visual / audible deterioration is provided.

【0100】[実施例2]次に、本発明の第2の実施例に
ついて図面を参照して詳細に説明する。図2は、本発明
の第2の実施例の構成を示すブロック図である。図2を
参照すると、減算器81は、フレームメモリ88から出
力される動き補償予測画像を入力画像から減じて、結果
を予測誤差画像として線形変換回路82へ出力する。
[Embodiment 2] Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing the configuration of the second embodiment of the present invention. Referring to FIG. 2, the subtracter 81 subtracts the motion compensated prediction image output from the frame memory 88 from the input image, and outputs the result to the linear conversion circuit 82 as a prediction error image.

【0101】線形変換回路82は、減算器81から出力
される予測誤差画像に線形変換を行って、得られる変換
係数を予測誤差画像変換係数として量子化器83へ出力
する。
The linear conversion circuit 82 performs a linear conversion on the prediction error image output from the subtracter 81, and outputs the obtained conversion coefficient to the quantizer 83 as a prediction error image conversion coefficient.

【0102】量子化器83は、線形変換回路82から出
力される予測誤差画像変換係数を量子化し、量子化値を
透かし無し量子化値として逆量子化器74と加算器76
へ出力し、さらに量子化情報を透かし信号発生回路77
へ出力する。
The quantizer 83 quantizes the predictive error image transform coefficient output from the linear transform circuit 82, and uses the quantized value as a watermarkless quantized value and an inverse quantizer 74 and an adder 76.
To the watermark signal generation circuit 77
Output to

【0103】線形変換回路71は、入力画像に線形変換
を行って、結果を原画像変換係数として透かし信号発生
回路77と単位視覚歪算出回路72へ出力する。
The linear conversion circuit 71 performs a linear conversion on the input image and outputs the result to the watermark signal generation circuit 77 and the unit visual distortion calculation circuit 72 as original image conversion coefficients.

【0104】単位視覚歪算出回路72は、線形変換回路
71から出力される原画像変換係数から単位視覚歪を算
出し、透かし信号発生回路77へ出力する。
The unit visual distortion calculation circuit 72 calculates the unit visual distortion from the original image conversion coefficient output from the linear conversion circuit 71 and outputs the calculated unit visual distortion to the watermark signal generation circuit 77.

【0105】線形変換回路73は、フレームメモリ88
から出力される動き補償予測画像にDCTを行って、得
られる変換係数を予測画像変換係数として加算器75へ
出力する。
The linear conversion circuit 73 includes a frame memory 88
The DCT is performed on the motion-compensated predicted image output from, and the obtained transform coefficient is output to the adder 75 as a predicted image transform coefficient.

【0106】逆量子化器74は、量子化器83から出力
される透かし無し量子化値を逆量子化し、結果を透かし
無し逆量子化値として加算器75へ出力する。
The inverse quantizer 74 inversely quantizes the watermarkless quantized value output from the quantizer 83, and outputs the result to the adder 75 as a watermarkless inverse quantized value.

【0107】加算器75は、線形変換回路73から出力
される予測画像変換係数と逆量子化器74から出力され
る透かし無し逆量子化値とを加算して、結果を透かし無
し復号画像変換係数として透かし信号発生回路77へ出
力する。
The adder 75 adds the predicted image transform coefficient output from the linear transform circuit 73 and the watermarkless inverse quantized value output from the inverse quantizer 74, and outputs the result as the watermarkless decoded image transform coefficient. Is output to the watermark signal generation circuit 77.

【0108】透かし信号発生回路77は、加算器75か
ら出力される透かし無し復号画像変換係数と、線形変換
回路71から出力される原画像変換係数と、電子透かし
情報と、量子化器83から出力される量子化情報と、単
位視覚歪算出回路72から出力される単位視覚歪とから
透かし信号を算出し、透かし信号を加算器76へ出力す
る。
The watermark signal generation circuit 77 outputs a watermark-free decoded image conversion coefficient output from the adder 75, an original image conversion coefficient output from the linear conversion circuit 71, digital watermark information, and an output from the quantizer 83. A watermark signal is calculated from the quantized information thus obtained and the unit visual distortion output from the unit visual distortion calculation circuit 72, and the watermark signal is output to the adder.

【0109】加算器76は、量子化器83から出力され
る透かし無し量子化値に透かし信号発生回路77から出
力される透かし信号を加算し、結果を透かし入り量子化
値として符号変換器84と逆量子化器85へ出力する。
The adder 76 adds the watermark signal output from the watermark signal generating circuit 77 to the watermark-free quantized value output from the quantizer 83, and outputs the result as a watermarked quantized value to the code converter 84. Output to the inverse quantizer 85.

【0110】符号変換器84は、加算器76から出力さ
れる透かし入り量子化値に可変長符号化を行って、符号
列を生成して出力する。
The code converter 84 performs variable length coding on the watermarked quantized value output from the adder 76 to generate and output a code string.

【0111】逆量子化器85は、加算器76から出力さ
れる透かし入り量子化値を逆量子化して、結果を透かし
入り逆量子化値として逆線形変換回路86へ出力する。
The inverse quantizer 85 inversely quantizes the watermarked quantized value output from the adder 76 and outputs the result to the inverse linear transform circuit 86 as a watermarked inverse quantized value.

【0112】逆線形変換回路86は、逆量子化器85か
ら出力される透かし入り逆量子化値に逆線形変換を行っ
て、得られる変換係数を局所復号予測誤差画像として加
算器87へ出力する。
The inverse linear transform circuit 86 performs an inverse linear transform on the watermarked inverse quantized value output from the inverse quantizer 85, and outputs the obtained transform coefficient to the adder 87 as a locally decoded prediction error image. .

【0113】加算器87は、逆線形変換回路86から出
力される局所復号予測誤差画像にフレームメモリ88か
ら出力される動き補償予測画像を加算して、局所復号画
像をフレームメモリ88へ出力する。
The adder 87 adds the motion-compensated predicted image output from the frame memory 88 to the locally decoded error image output from the inverse linear conversion circuit 86, and outputs the locally decoded image to the frame memory 88.

【0114】フレームメモリ88は、加算器87から出
力される局所復号画像に動き補償を行って、動き補償予
測画像を減算器81と加算器87と線形変換回路73へ
出力する。
The frame memory 88 performs motion compensation on the locally decoded image output from the adder 87, and outputs a motion-compensated predicted image to the subtractor 81, the adder 87, and the linear conversion circuit 73.

【0115】次に、図2に示した回路の動作について説
明する。
Next, the operation of the circuit shown in FIG. 2 will be described.

【0116】入力画像は、減算器81に入力され、ここ
でフレームメモリ88から出力される動き補償予測画像
が入力画像から減じられ、予測誤差画像が求まる。フレ
ームメモリ88の動作は後述する。求まった予測誤差画
像は、線形変換回路82において線形変換が行われ、求
まった変換係数は、予測誤差画像変換係数として出力さ
れる。図1に示した回路と同様に、線形変換としてはさ
まざまな変換が可能である。MPEGやH.261、H.263等の国
際標準画像符号化方式の場合には、線形変換として8×
8DCTが行われる。予測誤差画像変換係数は、量子化
器83に入力され、量子化される。例えば、MPEG符
号化を行う場合には、量子化マトリクスとマクロブロッ
クごとに定まる量子化スケール値に基づいて量子化特性
が決定され、各変換係数は量子化される。そして、量子
化値は透かし無し量子化値として出力される。また、こ
の量子化で用いられた量子化情報も同時に出力される。
量子化情報としては、例えばMPEGであれば量子化マ
トリクスの値、量子化スケール値である。あるいは、量
子化幅そのものであってもよい。あるいは、量子化特性
を一意に定めるためのインデックスであってもよい。透
かし無し量子化値は逆量子化器74で逆量子化され、結
果は透かし無し逆量子化値として出力される。
The input image is input to a subtracter 81, where the motion compensated prediction image output from the frame memory 88 is subtracted from the input image, and a prediction error image is obtained. The operation of the frame memory 88 will be described later. The obtained prediction error image is subjected to linear conversion in a linear conversion circuit 82, and the obtained conversion coefficients are output as prediction error image conversion coefficients. As in the circuit shown in FIG. 1, various conversions are possible as the linear conversion. In the case of international standard image coding methods such as MPEG, H.261, and H.263, 8 ×
8DCT is performed. The prediction error image conversion coefficient is input to the quantizer 83 and is quantized. For example, when performing MPEG coding, the quantization characteristics are determined based on a quantization matrix and a quantization scale value determined for each macroblock, and each transform coefficient is quantized. Then, the quantized value is output as a watermarkless quantized value. Also, the quantization information used in this quantization is output at the same time.
For example, in the case of MPEG, the quantization information is a value of a quantization matrix and a quantization scale value. Alternatively, the quantization width itself may be used. Alternatively, it may be an index for uniquely defining the quantization characteristic. The watermarkless quantized value is inversely quantized by the inverse quantizer 74, and the result is output as a watermarkless inversely quantized value.

【0117】また、フレームメモリ88から出力される
動き補償予測画像は、線形変換回路73へ入力され、動
き補償予測画像に対して、線形変換回路82と同様の線
形変換が行われる。そして得られた変換係数は、予測画
像変換係数として出力される。予測画像変換係数は、加
算器75へ入力され、逆量子化器74から出力される透
かし無し逆量子化値に加算される。そして、得られた結
果は透かし無し復号画像変換係数として出力される。な
お、透かし無し復号画像変換係数は、電子透かしを挿入
しない場合に、復号器で得られる復号画像にDCTを行
って求まる変換係数と、整数化、演算精度等に起因する
微小な誤差を除いて等しくなる。
The motion-compensated predicted image output from the frame memory 88 is input to the linear conversion circuit 73, and the motion-compensated predicted image is subjected to the same linear conversion as the linear conversion circuit 82. Then, the obtained transform coefficients are output as predicted image transform coefficients. The predicted image transform coefficient is input to the adder 75 and added to the watermarkless dequantized value output from the dequantizer 74. Then, the obtained result is output as a watermarkless decoded image conversion coefficient. Note that the watermark-free decoded image transform coefficient is obtained by excluding a transform coefficient obtained by performing DCT on a decoded image obtained by a decoder and a small error caused by integer conversion, operation accuracy, and the like when no digital watermark is inserted. Become equal.

【0118】一方、入力画像は、線形変換回路71へも
入力され、線形変換回路82と同様の線形変換が行われ
る。そして、求まった変換係数は、原画像変換係数とし
て出力される。原画像変換係数は、単位視覚歪算出回路
72へ入力される。単位視覚歪算出回路72の動作は図
1の単位視覚/聴覚歪算出回路55と同様であり、各原
画像変換係数に対する単位視覚歪が算出され、出力され
る。
On the other hand, the input image is also input to the linear conversion circuit 71, where the same linear conversion as the linear conversion circuit 82 is performed. Then, the obtained transform coefficients are output as original image transform coefficients. The original image conversion coefficients are input to the unit visual distortion calculation circuit 72. The operation of the unit visual distortion calculation circuit 72 is
This is the same as the unit visual / auditory distortion calculation circuit 55, and the unit visual distortion for each original image conversion coefficient is calculated and output.

【0119】そして、透かし信号発生回路77におい
て、透かし無し復号画像変換係数と原画像変換係数と電
子透かし情報と量子化情報と単位視覚歪とを用いて透か
し信号が生成され、出力される。
The watermark signal generation circuit 77 generates and outputs a watermark signal using the watermarkless decoded image conversion coefficient, original image conversion coefficient, digital watermark information, quantization information, and unit visual distortion.

【0120】透かし信号発生回路77の動作は、図1に
示した透かし信号発生回路54と同様である。ただし、
透かし信号を生成する際に用いるパラメータ等は、画像
の符号化モードを示すピクチャタイプやマクロブロック
タイプ、あるいは動き補償モードなどに応じて異なって
いてもよい。
The operation of watermark signal generating circuit 77 is the same as that of watermark signal generating circuit 54 shown in FIG. However,
The parameters and the like used when generating the watermark signal may be different depending on the picture type or macroblock type indicating the image encoding mode, the motion compensation mode, or the like.

【0121】透かし信号は、加算器76において、量子
化器83から出力される透かし無し量子化値に加算さ
れ、その結果は透かし入り量子化値として出力される。
透かし入り量子化値は、符号変換器84において、ジグ
ザグスキャン、オルタネートスキャンなどによって一次
元に走査された後、ハフマン符号化や算術符号化によっ
て符号列に変換され、出力される。符号列を生成する際
には、量子化パラメータなどの画像の符号化復号処理で
必須な付加情報も一緒に多重化される。
The watermark signal is added by the adder 76 to the watermarked quantized value output from the quantizer 83, and the result is output as a watermarked quantized value.
The watermarked quantized value is one-dimensionally scanned by a code converter 84 by zigzag scan, alternate scan, or the like, then converted into a code string by Huffman coding or arithmetic coding, and output. When a code string is generated, additional information such as a quantization parameter, which is essential for encoding and decoding an image, is also multiplexed.

【0122】さらに、加算器76から出力される透かし
入り量子化値は、逆量子化器85で逆量子化され、さら
に逆線形変換回路86において線形変換回路82で行わ
れた変換の逆変換が行われ、局所復号予測誤差画像が求
まる。例えば、線形変換回路82で8×8DCTが行わ
れる場合には、逆線形変換回路86では、8×8逆DC
Tが行われる。加算器87では、局所復号予測誤差画像
に、フレームメモリ88から出力される動き補償予測画
像が加算され、局所復号画像が求まる。これは、フレー
ムメモリ88に入力され、蓄積される。フレームメモリ
88では、過去に局所復号された局所復号画像が蓄えら
れており、これを参照画像として動き補償が行われ、動
き補償予測画像が生成、出力される。
Further, the watermarked quantized value output from the adder 76 is inversely quantized by the inverse quantizer 85, and further inversely transformed by the linear transformation circuit 82 by the inverse linear transformation circuit 86. The local decoding prediction error image is obtained. For example, when 8 × 8 DCT is performed by the linear transformation circuit 82, the inverse linear transformation circuit 86 performs 8 × 8 inverse DCT.
T is performed. In the adder 87, the motion-compensated predicted image output from the frame memory 88 is added to the locally decoded prediction error image, and a locally decoded image is obtained. This is input to the frame memory 88 and stored. In the frame memory 88, a locally decoded image that has been locally decoded in the past is stored, and motion compensation is performed using this as a reference image, and a motion compensated prediction image is generated and output.

【0123】[実施例3]図2に示した前記第2の実施例
の回路では、フレーム間符号化を行うフレームについて
も電子透かしを挿入している。そのかわりに、フレーム
内符号化するフレームのみに電子透かしを挿入すること
も可能である。
[Embodiment 3] In the circuit of the second embodiment shown in FIG. 2, a digital watermark is inserted also into a frame to be subjected to inter-frame coding. Instead, it is also possible to insert a digital watermark only into the frame to be intra-coded.

【0124】図3は、本発明の第3の実施例の構成を示
す図であり、内符号化するフレームにのみ電子透かしを
挿入する符号化器の構成を示すブロック図である。図2
に示した回路と比べると、図3に示す回路構成において
は、線形変換回路71、線形変換回路73、加算器75
が無く、透かし信号発生回路77のかわりに、透かし信
号発生回路90が設けられている。そして、逆量子化器
74から出力される透かし無し逆量子化は透かし信号発
生回路90へ出力され、線形変換回路82から出力され
る予測誤差画像変換係数は、単位視覚歪算出回路72と
透かし信号発生回路90へも出力されている。それ以外
の構成は、図2に示した構成と同じである。
FIG. 3 is a diagram showing the configuration of the third embodiment of the present invention, and is a block diagram showing the configuration of an encoder for inserting a digital watermark only into a frame to be internally encoded. FIG.
3, the linear conversion circuit 71, the linear conversion circuit 73, and the adder 75 in the circuit configuration shown in FIG.
And a watermark signal generation circuit 90 is provided instead of the watermark signal generation circuit 77. Then, the watermarkless inverse quantization output from the inverse quantizer 74 is output to the watermark signal generation circuit 90, and the prediction error image conversion coefficient output from the linear conversion circuit 82 is converted into the unit visual distortion calculation circuit 72 and the watermark signal. It is also output to the generation circuit 90. The other configuration is the same as the configuration shown in FIG.

【0125】フレーム内符号化を行う場合には、フレー
ムメモリ88からは動き補償予測画像は出力されない。
このため、減算器81の出力は原画像と同じである。し
たがってこの場合は、図2において線形変換回路82の
出力と線形変換回路71の出力は一致するため、1つの
線形変換回路で十分である。このため、図3に示す回路
では、線形変換回路82から出力される予測誤差画像変
換係数は、単位視覚歪算出回路72と透かし信号発生回
路90へも出力されている。
When intra-frame encoding is performed, no motion-compensated predicted image is output from the frame memory 88.
Therefore, the output of the subtractor 81 is the same as that of the original image. Therefore, in this case, since the output of the linear conversion circuit 82 and the output of the linear conversion circuit 71 match in FIG. 2, one linear conversion circuit is sufficient. For this reason, in the circuit shown in FIG. 3, the prediction error image conversion coefficient output from the linear conversion circuit 82 is also output to the unit visual distortion calculation circuit 72 and the watermark signal generation circuit 90.

【0126】また、フレーム内符号化の場合は、図2に
おいて加算器75の出力は逆量子化器74から出力され
る透かし無し逆量子化値と一致するため、図3に示す回
路では、線形変換回路73、加算器75を除き、逆量子
化器74から出力される透かし無し逆量子化値がそのま
ま透かし信号発生回路90へ入力されている。
In the case of intra-frame coding, since the output of the adder 75 in FIG. 2 matches the inversely quantized value without watermark output from the inverse quantizer 74, the circuit shown in FIG. Except for the conversion circuit 73 and the adder 75, the watermarkless inversely quantized value output from the inverse quantizer 74 is directly input to the watermark signal generation circuit 90.

【0127】透かし信号発生回路90からは、フレーム
内符号化するときは透かし信号が出力され、フレーム間
符号化を行うときは、透かし信号として0が出力され
る。それ以外の回路の動作は、図2に示した回路と同様
である。
The watermark signal generation circuit 90 outputs a watermark signal when performing intra-frame encoding, and outputs 0 as a watermark signal when performing inter-frame encoding. The operation of the other circuits is the same as that of the circuit shown in FIG.

【0128】このように、フレーム内符号化を行うフレ
ームのみに電子透かしを挿入する場合にはフィードバッ
クループを考慮する必要はなくなるため、図1に示した
回路と等価になる。したがって、図1の説明で述べた通
り、本発明を実施できる。
As described above, when an electronic watermark is inserted only into a frame to be subjected to intra-frame encoding, it is not necessary to consider a feedback loop, and the circuit is equivalent to the circuit shown in FIG. Therefore, the present invention can be implemented as described in the description of FIG.

【0129】上記した本発明の第2、第3の実施例は、
非可逆圧縮による電子透かしデータの劣化を防ぎ、か
つ、視覚的な劣化を抑える動画像の電子透かし挿入方式
を与える。
The second and third embodiments of the present invention described above
A method of inserting a digital watermark into a moving image which prevents deterioration of digital watermark data due to lossy compression and suppresses visual deterioration.

【0130】[実施例4]次に、本発明の第4の実施例に
ついて図面を参照して詳細に説明する。
[Embodiment 4] Next, a fourth embodiment of the present invention will be described in detail with reference to the drawings.

【0131】図4は、本発明の第4の実施例の構成を示
すブロック図である。図4を参照すると、線形変換回路
101は、入力画像に線形変換を行い、得られる変換係
数を原画像変換係数として、減算器103と透かし信号
発生回路77と単位視覚歪算出回路72へ出力する。
FIG. 4 is a block diagram showing the configuration of the fourth embodiment of the present invention. Referring to FIG. 4, the linear conversion circuit 101 performs a linear conversion on an input image, and outputs the obtained conversion coefficient as an original image conversion coefficient to the subtractor 103, the watermark signal generation circuit 77, and the unit visual distortion calculation circuit 72. .

【0132】線形変換回路102は、フレームメモリ8
8から出力される動き補償予測画像に線形変換を行っ
て、得られる変換係数を予測画像変換係数として、減算
器103と加算器75へ出力する。
The linear conversion circuit 102 includes the frame memory 8
Then, a linear transformation is performed on the motion-compensated predicted image output from 8 and the obtained transform coefficient is output to the subtractor 103 and the adder 75 as a predicted image transform coefficient.

【0133】減算器103は、線形変換回路101から
出力される原画像変換係数から、線形変換回路102か
ら出力される予測画像変換係数を減じて、得られる変換
係数を予測誤差画像変換係数として量子化器83へ出力
する。
The subtractor 103 subtracts the predicted image conversion coefficient output from the linear conversion circuit 102 from the original image conversion coefficient output from the linear conversion circuit 101, and obtains the obtained conversion coefficient as a prediction error image conversion coefficient. Output to the converter 83.

【0134】量子化器83は、減算器103から出力さ
れる予測誤差画像変換係数を量子化し、量子化値を透か
し無し量子化値として逆量子化器74と加算器76へ出
力し、さらに量子化情報を透かし信号発生回路77へ出
力する。
The quantizer 83 quantizes the prediction error image transform coefficient output from the subtractor 103, outputs the quantized value as a watermarkless quantized value to the inverse quantizer 74 and the adder 76, and further The conversion information is output to the watermark signal generation circuit 77.

【0135】逆量子化器74の接続関係は、図2に示し
た回路と同じである。加算器75は、線形変換回路10
2から出力される予測画像変換係数と逆量子化器74か
ら出力される透かし無し逆量子化値とを加算して、結果
を透かし無し復号画像変換係数として透かし信号発生回
路77へ出力する。
The connection relationship of the inverse quantizer 74 is the same as that of the circuit shown in FIG. The adder 75 is connected to the linear conversion circuit 10.
2 and the watermarked inverse quantization value output from the inverse quantizer 74, and outputs the result to the watermark signal generation circuit 77 as a watermarkless decoded image conversion coefficient.

【0136】単位視覚歪算出回路72は、線形変換回路
101から出力される原画像変換係数から単位視覚歪を
算出し、透かし信号発生回路77へ出力する。
The unit visual distortion calculation circuit 72 calculates the unit visual distortion from the original image conversion coefficient output from the linear conversion circuit 101 and outputs the calculated unit visual distortion to the watermark signal generation circuit 77.

【0137】透かし信号発生回路77は、加算器75か
ら出力される透かし無し復号画像変換係数と、線形変換
回路101から出力される原画像変換係数と、電子透か
し情報と、量子化器83から出力される量子化情報と、
単位視覚歪算出回路72から出力される単位視覚歪とか
ら透かし信号を算出し、透かし信号を加算器76へ出力
する。
The watermark signal generation circuit 77 outputs a watermark-free decoded image conversion coefficient output from the adder 75, an original image conversion coefficient output from the linear conversion circuit 101, digital watermark information, and an output from the quantizer 83. Quantization information,
A watermark signal is calculated from the unit visual distortion output from the unit visual distortion calculation circuit 72, and the watermark signal is output to the adder.

【0138】加算器76、符号変換器84、逆量子化器
85、逆線形変換回路86、加算器87の接続関係は、
図2に示した回路と同じである。
The connection relationship between the adder 76, the code converter 84, the inverse quantizer 85, the inverse linear conversion circuit 86, and the adder 87 is as follows.
This is the same as the circuit shown in FIG.

【0139】フレームメモリ88は、加算器87から出
力される局所復号画像に動き補償を行って、動き補償予
測画像を加算器87と線形変換回路102へ出力する。
The frame memory 88 performs motion compensation on the locally decoded image output from the adder 87, and outputs a motion-compensated predicted image to the adder 87 and the linear conversion circuit 102.

【0140】次に、図4に示した回路の動作について説
明する。
Next, the operation of the circuit shown in FIG. 4 will be described.

【0141】入力画像は、線形変換回路101に入力さ
れ、ここで線形変換が行われる。求まった変換係数は、
原画像変換係数として出力される。一方、フレームメモ
リ88から出力される動き補償予測画像は、線形変換回
路102へ入力され、動き補償予測画像に対して、線形
変換回路101と同様の線形変換が行われる。そして、
得られた変換係数は、予測画像変換係数として出力され
る。
The input image is input to a linear conversion circuit 101, where linear conversion is performed. The obtained conversion coefficient is
Output as original image conversion coefficients. On the other hand, the motion-compensated predicted image output from the frame memory 88 is input to the linear conversion circuit 102, and the same linear conversion as the linear conversion circuit 101 is performed on the motion-compensated predicted image. And
The obtained transform coefficients are output as predicted image transform coefficients.

【0142】予測画像変換係数は減算器103に入力さ
れ、対応する原画像変換係数から減じられて予測誤差画
像変換係数が求まる。もし、線形変換回路101で行わ
れる線形変換が図2の線形変換回路82で行われる線形
変換と等価であるならば、減算器103から出力される
予測誤差画像変換係数は、変換の線形性により、図2に
示した線形変換回路82から出力される予測誤差画像変
換係数と一致する。
The predicted image conversion coefficient is input to the subtractor 103, and is subtracted from the corresponding original image conversion coefficient to obtain a prediction error image conversion coefficient. If the linear conversion performed by the linear conversion circuit 101 is equivalent to the linear conversion performed by the linear conversion circuit 82 in FIG. 2, the prediction error image conversion coefficient output from the subtractor 103 is determined by the linearity of the conversion. , Coincides with the prediction error image conversion coefficient output from the linear conversion circuit 82 shown in FIG.

【0143】求まった予測誤差画像変換係数は、量子化
器83で量子化され、透かし無し量子化値が出力され
る。
The obtained predictive error image transform coefficient is quantized by the quantizer 83, and a quantized value without watermark is output.

【0144】透かし無し量子化値は、逆量子化器74で
逆量子化され、透かし無し逆量子化値が出力される。量
子化器83、逆量子化器74の動作は、図2に示したも
のと同様である。
The quantized value without watermark is inversely quantized by the inverse quantizer 74, and the inversely quantized value without watermark is output. The operations of the quantizer 83 and the inverse quantizer 74 are the same as those shown in FIG.

【0145】また、予測画像変換係数は加算器75へ入
力され、加算器75で、逆量子化器74から出力される
透かし無し逆量子化値に加算され、透かし無し復号画像
変換係数が出力される。この加算器75の動作も、図2
に示した回路と同様である。
The predicted image conversion coefficient is input to an adder 75, which adds the predicted image conversion coefficient to the inversely quantized value without watermark output from the inverse quantizer 74, and outputs a decoded image conversion coefficient without watermark. You. The operation of the adder 75 is also described in FIG.
Is the same as the circuit shown in FIG.

【0146】また、線形変換回路101から出力される
原画像変換係数は、単位視覚歪算出回路72へ入力され
る。単位視覚歪算出回路72の動作は、図2に示したも
のと同様であり、各変換係数に対する単位視覚歪が算出
され、出力される。
The original image conversion coefficient output from the linear conversion circuit 101 is input to the unit visual distortion calculation circuit 72. The operation of the unit visual distortion calculation circuit 72 is the same as that shown in FIG. 2, and the unit visual distortion for each transform coefficient is calculated and output.

【0147】そして、透かし信号発生回路77におい
て、透かし無し復号画像変換係数と原画像変換係数と電
子透かし情報と量子化情報と単位視覚歪とを用いて透か
し信号が生成され、出力される。透かし信号発生回路7
7の動作は、図2に示したものと同様である。
Then, the watermark signal generation circuit 77 generates and outputs a watermark signal using the watermarkless decoded image conversion coefficient, original image conversion coefficient, digital watermark information, quantization information, and unit visual distortion. Watermark signal generation circuit 7
7 is the same as that shown in FIG.

【0148】透かし信号は、加算器76において、量子
化器83から出力される透かし無し量子化値に加算さ
れ、その結果は透かし入り量子化値として出力される。
透かし入り量子化値は、符号変換器84において、符号
列に変換され、出力される。加算器76、符号変換器8
4の動作は、図2に示したものと同様である。
The watermark signal is added by the adder 76 to the watermarked quantized value output from the quantizer 83, and the result is output as a watermarked quantized value.
The watermarked quantized value is converted into a code string by a code converter 84 and output. Adder 76, code converter 8
The operation of No. 4 is the same as that shown in FIG.

【0149】さらに、加算器76から出力される透かし
入り量子化値は、逆量子化器85で逆量子化され、逆線
形変換回路86において線形変換回路101で行われた
線形変換の逆変換が行われ、局所復号予測誤差画像が求
まる。
Further, the quantized value with watermark output from the adder 76 is inversely quantized by the inverse quantizer 85, and the inverse linear conversion circuit 86 performs the inverse conversion of the linear conversion performed by the linear conversion circuit 101. The local decoding prediction error image is obtained.

【0150】加算器87では、局所復号予測誤差画像
に、フレームメモリ88から出力される動き補償予測画
像が加算され、局所復号画像が求まる。
In the adder 87, the motion-compensated predicted image output from the frame memory 88 is added to the locally decoded prediction error image, and a locally decoded image is obtained.

【0151】フレームメモリ88では動き補償が行わ
れ、動き補償予測画像が生成、出力される。逆量子化器
85、逆線形変換回路86、加算器87、フレームメモ
リ88の動作は、図2に示したものと同じである。
The frame memory 88 performs motion compensation, and generates and outputs a motion-compensated predicted image. The operations of the inverse quantizer 85, the inverse linear transform circuit 86, the adder 87, and the frame memory 88 are the same as those shown in FIG.

【0152】上記した本発明の第4の実施例は、非可逆
圧縮による電子透かしデータの劣化を防ぎ、かつ、視覚
的な劣化を抑える動画像の電子透かし挿入方式を与え
る。さらに、本発明の第2の実施例よりも、線形変換の
計算回数を低減できる。
The above-described fourth embodiment of the present invention provides a method for inserting a digital watermark into a moving image which prevents deterioration of digital watermark data due to lossy compression and suppresses visual deterioration. Further, the number of times of performing the linear conversion can be reduced as compared with the second embodiment of the present invention.

【0153】[0153]

【発明の効果】以上説明したように、本発明によれば下
記記載の効果を奏する。
As described above, according to the present invention, the following effects can be obtained.

【0154】本発明の第1の効果は、非可逆圧縮による
電子透かしデータの劣化を抑えられる、ということであ
る。
A first effect of the present invention is that deterioration of digital watermark data due to lossy compression can be suppressed.

【0155】その理由は、本発明においては、非可逆圧
縮符号化回路と電子透かし挿入器とを組み合わせて、非
可逆圧縮時の量子化に適合するように、電子透かしデー
タを挿入するからである。従来の電子透かし方式では、
非可逆圧縮を考慮せずに電子透かしを挿入するため、非
可逆圧縮による劣化は避けられなかったが、本発明で
は、量子化による劣化を考慮して、その影響を緩和する
ように電子透かしを挿入するため、電子透かしデータの
劣化を最小限にくい止めることができる。
The reason is that, in the present invention, the digital watermark data is inserted so as to be suitable for the quantization at the time of the lossy compression by combining the lossy compression encoding circuit and the digital watermark inserter. . In the conventional digital watermarking method,
Since the digital watermark is inserted without considering irreversible compression, deterioration due to irreversible compression was unavoidable.However, in the present invention, the digital watermark is designed so as to mitigate the influence by considering the deterioration due to quantization. Because of the insertion, deterioration of digital watermark data can be prevented from being minimized.

【0156】本発明の第2の効果は、視覚/聴覚的な劣
化を抑えつつ、電子透かしを挿入できる、ということで
ある。
A second effect of the present invention is that a digital watermark can be inserted while suppressing visual / audible deterioration.

【0157】その理由は、本発明においては、視覚/聴
覚モデルに基づいて視覚/聴覚的な劣化の度合を判定し
つつ、これを小さく抑えるように電子透かしを挿入する
ためである。従来の電子透かし方式では、非可逆圧縮を
考慮せずに電子透かしを挿入するため、量子化によって
挿入した電子透かしが検出できなくなるような場合であ
っても、無駄に電子透かしを挿入して、不用な劣化を生
じさせていたが、本発明では、このような無駄な場合に
は電子透かしを挿入しないため、視覚/聴覚的な劣化を
小さく抑えることができる。
The reason is that, in the present invention, the degree of visual / auditory deterioration is determined based on the visual / auditory model, and an electronic watermark is inserted so as to suppress the degree. In the conventional digital watermarking method, since a digital watermark is inserted without considering irreversible compression, even if the digital watermark inserted by quantization becomes undetectable, the digital watermark is inserted unnecessarily, Although unnecessary degradation has occurred, the present invention does not insert a digital watermark in such a wasteful case, so that visual / audible degradation can be suppressed to a small extent.

【0158】本発明の第3の効果は、本願発明を用いて
従来ある電子透かし方式を改良した場合であっても、電
子透かし検出器を変える必要はない、ということであ
る。このため、検出器がすでに製造・出荷された後であ
っても、本願発明を用いて挿入方式を改良することで、
視覚/聴覚的な劣化を小さく抑えて電子透かしの検出率
を向上できる。
A third effect of the present invention is that it is not necessary to change the digital watermark detector even when the conventional digital watermark system is improved using the present invention. For this reason, even after the detector has already been manufactured and shipped, by improving the insertion method using the present invention,
The detection rate of the digital watermark can be improved while suppressing visual / audible deterioration.

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

【図1】本発明の第1の実施例における、符号化および
電子透かし挿入器の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an encoding and digital watermark inserting unit according to a first embodiment of the present invention.

【図2】本発明の第2の実施例における、符号化および
電子透かし挿入器の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an encoding and digital watermark inserting unit according to a second embodiment of the present invention.

【図3】本発明の第3の実施例における、符号化および
電子透かし挿入器の構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of an encoding and digital watermark inserting unit according to a third embodiment of the present invention.

【図4】本発明の第4の実施例における、符号化および
電子透かし挿入器の構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of an encoding and digital watermark inserting unit according to a fourth embodiment of the present invention.

【図5】本発明の第1、第2、第4実施例における、透
かし信号発生回路の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a watermark signal generation circuit in the first, second, and fourth embodiments of the present invention.

【図6】本発明の第1、第2、第4実施例における、透
かし信号発生回路の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a watermark signal generation circuit in the first, second, and fourth embodiments of the present invention.

【図7】従来の電子透かし挿入器と符号化器の構成の一
例を示すブロック図である。
FIG. 7 is a block diagram showing an example of the configuration of a conventional digital watermark inserter and encoder.

【図8】従来の電子透かし挿入器と動画像符号化器の構
成の一例を示すブロック図である。
FIG. 8 is a block diagram illustrating an example of a configuration of a conventional digital watermark inserter and a moving image encoder.

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

1 DCT回路 2 電子透かし挿入回路 3 逆DCT回路 4 DCT回路 5 量子化器 6 符号変換器 10 電子透かし挿入器 11 画像符号化器 21 減算器 22 DCT回路 23 量子化器 24 符号変換器 25 逆量子化器 26 逆DCT回路 27 加算器 28 フレームメモリ 40 動画像符号化器 50 線形変換回路 51 逆量子化器 52 加算器 53 逆量子化器 54 透かし信号発生回路 55 単位視覚/聴覚歪算出回路 46 符号変換器 71 線形変換回路 72 単位視覚歪算出回路 73 線形変換回路 74 逆量子化器 75 加算器 76 加算器 77 透かし信号発生回路 81 減算器 82 線形変換回路 83 量子化器 84 符号変換器 85 逆量子化器 86 逆線形変換回路 87 加算器 88 フレームメモリ 90 透かし信号発生回路 101 線形変換回路 102 線形変換回路 103 減算器 200 目標信号算出回路 201 透かし仮挿入器 202 透かし信号生成回路 203 視覚劣化度算出回路 204 透かし挿入判定回路 205 透かし信号発生回路 231 透かし仮挿入器 232 透かし信号生成回路 233 視覚劣化度算出回路 235 透かし信号発生回路 DESCRIPTION OF SYMBOLS 1 DCT circuit 2 Digital watermark insertion circuit 3 Inverse DCT circuit 4 DCT circuit 5 Quantizer 6 Code converter 10 Digital watermark inserter 11 Image encoder 21 Subtractor 22 DCT circuit 23 Quantizer 24 Code converter 25 Inverse quantum 26 Inverse DCT circuit 27 Adder 28 Frame memory 40 Video encoder 50 Linear transformation circuit 51 Inverse quantizer 52 Adder 53 Inverse quantizer 54 Watermark signal generation circuit 55 Unit visual / auditory distortion calculation circuit 46 Code Converter 71 linear conversion circuit 72 unit visual distortion calculation circuit 73 linear conversion circuit 74 inverse quantizer 75 adder 76 adder 77 watermark signal generation circuit 81 subtractor 82 linear conversion circuit 83 quantizer 84 code converter 85 inverse quantum Transformer 86 inverse linear transformation circuit 87 adder 88 frame memory 90 watermark signal generation circuit 101 line Conversion circuit 102 linear conversion circuit 103 subtractor 200 target signal calculation circuit 201 watermark temporary inserter 202 watermark signal generation circuit 203 visual degradation degree calculation circuit 204 watermark insertion determination circuit 205 watermark signal generation circuit 231 watermark temporary insertion device 232 watermark signal generation circuit 233 Visual deterioration degree calculation circuit 235 Watermark signal generation circuit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】ディジタル信号を符号化すると共に電子透
かしを挿入するシステムであって、 前記ディジタル信号を周波数成分に投影する線形変換を
行い原信号変換係数を出力する手段と、 前記原信号変換係数を量子化し、量子化した値を透かし
無し量子化値として出力するとともに、量子化情報を出
力する手段と、 前記透かし無し量子化値を逆量子化して透かし無し復号
信号変換係数を出力する手段と、 前記原信号変換係数から視覚/聴覚モデルに基づいて前
記原信号変換係数のそれぞれに対応する単位視覚/聴覚
歪を算出して出力する手段と、 前記透かし無し復号信号変換係数と前記原信号変換係数
と前記量子化情報と前記単位視覚/聴覚歪と電子透かし
情報とから、目標信号を算出し、さらに、前記単位視覚
/聴覚歪に基づいて、信号全体として視覚/聴覚的に歪
が小さく、かつ電子透かしの検出率を高めるように、前
記透かし無し量子化値を修正するような量子化値修正信
号を、前記目標信号から決定し、これを透かし信号とし
て出力する透かし信号発生手段と、 前記透かし無し量子化値と前記透かし信号とを加算し、
透かし入り量子化値を出力する手段と、 前記透かし入り量子化値から符号列を生成して出力する
手段とを含む、ことを特徴とする、ディジタル信号符号
化電子透かし挿入システム。
1. A system for encoding a digital signal and inserting a digital watermark, comprising: means for performing a linear transformation for projecting the digital signal onto a frequency component to output an original signal transformation coefficient; Means for outputting a quantized value as a watermarked quantized value and outputting quantization information, and means for inversely quantizing the watermarkless quantized value and outputting a watermarkless decoded signal transform coefficient. Means for calculating and outputting a unit visual / auditory distortion corresponding to each of the original signal transform coefficients from the original signal transform coefficients based on a visual / auditory model, and the watermarkless decoded signal transform coefficient and the original signal transform. A target signal is calculated from the coefficient, the quantization information, the unit visual / auditory distortion, and the digital watermark information, and further, a target signal is calculated based on the unit visual / auditory distortion. A quantization value correction signal for correcting the watermarkless quantization value is determined from the target signal so that distortion as a whole is visually / audibly small and the detection rate of the digital watermark is increased. Watermark signal generating means for outputting as a signal, adding the watermarkless quantized value and the watermark signal,
A digital signal coded digital watermark insertion system, comprising: means for outputting a watermarked quantized value; and means for generating and outputting a code string from the watermarked quantized value.
【請求項2】前記透かし信号発生手段が、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記電子透かし情報と、から目標信号を算出して出力す
る目標信号算出手段と、 前記量子化情報と前記目標信号と、に基づいて、前記透
かし無し復号信号変換係数の値を変更して透かし仮挿入
信号を生成し、該透かし仮挿入信号を出力する透かし仮
挿入手段と、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記透かし仮挿入手段から出力される透かし仮挿入信号
と、から、透かし仮挿入信号の視覚/聴覚的劣化を示す
値を算出し視覚/聴覚的劣化度情報として出力する視覚
/聴覚的劣化度算出手段と、 前記電子透かし情報と、前記透かし仮挿入手段から出力
される透かし仮挿入信号と、前記視覚/聴覚的劣化度算
出手段から出力される視覚/聴覚的劣化度情報と、か
ら、透かし挿入制御信号を生成して出力する透かし挿入
判定手段と、 前記量子化情報と、前記透かし無し復号信号変換係数
と、前記透かし仮挿入手段から出力される透かし仮挿入
信号と、前記透かし挿入判定手段から出力される前記透
かし挿入制御信号と、から、透かし信号を生成し出力す
る透かし信号生成手段と、 を備えたことを特徴とする、請求項1記載のディジタル
信号符号化電子透かし挿入システム。
2. The apparatus according to claim 2, wherein the watermark signal generating means includes: an original signal conversion coefficient; the unit visual / auditory distortion information;
A target signal calculating unit that calculates and outputs a target signal from the digital watermark information; and, based on the quantized information and the target signal, changes a value of the watermark-less decoded signal conversion coefficient to generate a watermark temporary. A temporary watermark insertion means for generating an insertion signal and outputting the temporary watermark insertion signal, the original signal conversion coefficient, the unit visual / auditory distortion information,
From the watermark temporary insertion signal output from the watermark temporary insertion means, a value indicating visual / audible deterioration of the watermark temporary insertion signal is calculated, and the visual / audible deterioration degree calculation is output as visual / audible deterioration degree information Means, the digital watermark information, the watermark temporary insertion signal output from the watermark temporary insertion means, and the visual / audible deterioration degree information output from the visual / audible deterioration degree calculating means, A watermark insertion determining unit that generates and outputs a control signal, the quantization information, the watermarkless decoded signal conversion coefficient, a watermark temporary insertion signal output from the watermark temporary inserting unit, and a watermark insertion determining unit. 2. The digital signal code according to claim 1, further comprising: a watermark signal generating unit configured to generate and output a watermark signal from the output watermark control signal. Of electronic watermark insertion system.
【請求項3】前記透かし信号発生手段が、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記電子透かし情報と、から目標信号を算出して出力す
る目標信号算出手段と、 前記量子化情報と、前記電子透かし情報と、前記目標信
号算出手段から出力される目標信号と、視覚/聴覚的劣
化度算出手段から出力される視覚/聴覚的劣化度情報に
基づいて、前記透かし無し復号信号変換係数の値を変更
して透かし仮挿入信号と透かし挿入信号を生成して出力
する透かし仮挿入手段と、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記透かし仮挿入手段から出力される透かし仮挿入信号
と、から、透かし仮挿入信号の視覚/聴覚的劣化度情報
を算出し前記透かし仮挿入手段へ出力する視覚/聴覚的
劣化度算出手段と、 前記量子化情報と、前記透かし無し復号信号変換係数
と、前記透かし仮挿入手段から出力される透かし挿入信
号とから透かし信号を生成し、出力する透かし信号生成
手段と、 を備えたことを特徴とする、請求項1記載のディジタル
信号符号化電子透かし挿入システム。
3. The watermark signal generating means includes: an original signal transform coefficient, the unit visual / auditory distortion information,
Target signal calculation means for calculating and outputting a target signal from the digital watermark information; the quantization information; the digital watermark information; a target signal output from the target signal calculation means; A temporary watermark insertion means for generating and outputting a temporary watermark insertion signal and a watermark insertion signal by changing the value of the watermarkless decoded signal conversion coefficient based on the visual / audible degradation degree information output from the degradation degree calculation means The original signal conversion coefficient, the unit visual / auditory distortion information,
A visual / audible degradation degree calculating means for calculating visual / audible deterioration degree information of the watermark temporary insertion signal from the watermark temporary insertion signal output from the watermark temporary insertion means and outputting the information to the watermark temporary insertion means; A watermark signal generation unit that generates and outputs a watermark signal from the quantization information, the watermark-less decoded signal conversion coefficient, and a watermark insertion signal output from the temporary watermark insertion unit, The digital signal encoding digital watermark insertion system according to claim 1.
【請求項4】画像を符号化すると共に電子透かしを挿入
するシステムであって、 局所復号画像に動き補償を行って、動き補償予測画像を
生成し、出力する手段と、 入力画像から前記動き補償予測画像を減じて予測誤差画
像を求めて出力する手段と、 前記予測誤差画像に対して空間周波数成分に投影する線
形変換を行い、予測誤差画像変換係数を求めて出力する
手段と、 前記予測誤差画像変換係数を量子化して、量子化値を透
かし無し量子化値として出力するとともに、量子化情報
を出力する手段と、 前記透かし無し量子化値を逆量子化し、透かし無し逆量
子化値を出力する手段と、 前記動き補償予測画像に前記線形変換を行い、予測画像
変換係数を求めて出力する手段と、 前記透かし無し逆量子化値と前記予測画像変換係数とを
加算し、透かし無し復号画像変換係数を出力する手段
と、 前記入力画像に前記線形変換を行い、原画像変換係数を
求めて出力する手段と、 前記原画像変換係数から視覚モデルに基づいて前記原画
像変換係数それぞれに対応する単位視覚歪を算出して出
力する手段と、 前記透かし無し復号画像変換係数と前記原画像変換係数
と前記量子化情報と前記単位視覚歪と電子透かし情報と
から、目標信号を算出し、さらに前記単位視覚歪に基づ
いて、画像全体として視覚的に歪が小さく、かつ電子透
かしの検出率を高めるように、前記透かし無し量子化値
を修正する量子化値修正信号を、前記目標信号から決定
し、これを透かし信号として出力する透かし信号発生手
段と、 前記透かし無し量子化値と前記透かし信号とを加算し、
透かし入り量子化値を出力する手段と、 前記透かし入り量子化値から符号列を生成し、出力する
手段と前記透かし入り量子化値を逆量子化し、透かし入
り逆量子化値を出力する手段と、 前記透かし入り逆量子化値に前記線形変換の逆変換を行
い、局所復号予測誤差画像を求めて出力する手段と、 前記局所復号予測誤差画像に前記動き補償予測画像を加
算し、加算結果を前記局所復号画像として出力する手段
とを備えたことを特徴とする、画像符号化電子透かし挿
入システム。
4. A system for encoding an image and inserting a digital watermark, performing motion compensation on a locally decoded image to generate and output a motion compensated prediction image, and said motion compensation from an input image. Means for calculating and outputting a prediction error image by subtracting the prediction image; means for performing a linear transformation to project the prediction error image onto a spatial frequency component to obtain and output a prediction error image conversion coefficient; and Means for quantizing the image transform coefficient, outputting the quantized value as a watermarkless quantized value, and outputting quantization information; and dequantizing the watermarkless quantized value and outputting a watermarkless dequantized value. Means for performing the linear transformation on the motion-compensated predicted image, calculating and outputting a predicted image conversion coefficient, and adding the watermarkless inverse quantization value and the predicted image conversion coefficient, Means for outputting a watermarkless decoded image transform coefficient; means for performing the linear transformation on the input image to obtain and output an original image transform coefficient; and the original image transform coefficient based on a visual model from the original image transform coefficient. Means for calculating and outputting a corresponding unit visual distortion, and calculating a target signal from the watermarkless decoded image transform coefficient, the original image transform coefficient, the quantization information, the unit visual distortion, and the digital watermark information. Further, based on the unit visual distortion, the quantized value correction signal for correcting the watermark-less quantized value so that the distortion is visually small as a whole image and the detection rate of the digital watermark is increased. Determined from the signal, a watermark signal generating means for outputting this as a watermark signal, adding the watermarkless quantized value and the watermark signal,
Means for outputting a watermarked quantized value; means for generating and outputting a code string from the watermarked quantized value; means for dequantizing the watermarked quantized value; and means for outputting a watermarked dequantized value. Means for performing an inverse transformation of the linear transformation on the watermarked inverse quantization value to obtain and output a local decoding prediction error image; adding the motion compensation prediction image to the local decoding prediction error image; Means for outputting as the locally decoded image.
【請求項5】画像を符号化すると共に電子透かしを挿入
するシステムであって、 局所復号画像に動き補償を行って、動き補償予測画像を
生成し、出力する手段と、 入力画像から前記動き補償予測画像を減じて予測誤差画
像を求めて出力する手段と、 前記予測誤差画像に対して空間周波数成分に投影する線
形変換を行い、予測誤差画像変換係数を求めて出力する
手段と、 前記予測誤差画像変換係数を量子化して、量子化値を透
かし無し量子化値として出力するとともに、量子化情報
を出力する手段と、 前記透かし無し量子化値を逆量子化し、透かし無し復号
画像変換係数を出力する手段と、 前記予測誤差画像変換係数から視覚モデルに基づいて前
記予測誤差画像変換係数それぞれに対応する単位視覚歪
を算出して出力する手段と、 前記透かし無し復号画像変換係数と前記予測誤差画像変
換係数と前記量子化情報と前記単位視覚歪と前記電子透
かし情報とから、目標信号を算出し、さらに前記単位視
覚歪に基づいて、画像全体として視覚的に歪が小さく、
かつ電子透かしの検出率を高めるように、前記透かし無
し量子化値を修正する量子化値修正信号を、前記目標信
号から決定し、これを透かし信号として出力する透かし
信号発生手段と、 前記透かし無し量子化値と前記透かし信号とを加算し、
加算結果を透かし入り量子化値として出力する手段と、 前記透かし入り量子化値から符号列を生成し、出力する
手段と、 前記透かし入り量子化値を逆量子化し、透かし入り逆量
子化値を出力する手段と、 前記透かし入り逆量子化値に前記線形変換の逆変換を行
い、局所復号予測誤差画像を求めて出力する手段と、 前記局所復号予測誤差画像に前記動き補償予測画像を加
算し、加算結果を前記局所復号画像として出力する手段
とを備え、フレーム内符号化するフレームにのみ電子透
かしを挿入する、ことを特徴とする、画像符号化電子透
かし挿入システム。
5. A system for encoding an image and inserting a digital watermark, comprising: performing motion compensation on a locally decoded image to generate and output a motion-compensated predicted image; Means for calculating and outputting a prediction error image by subtracting the prediction image; means for performing a linear transformation to project the prediction error image onto a spatial frequency component to obtain and output a prediction error image conversion coefficient; and Means for quantizing the image transform coefficient, outputting the quantized value as a watermarkless quantized value, and outputting quantization information; dequantizing the watermarkless quantized value and outputting a watermarkless decoded image transform coefficient Means for calculating and outputting a unit visual distortion corresponding to each of the prediction error image conversion coefficients based on a visual model from the prediction error image conversion coefficients, and A target signal is calculated from the uncoded decoded image conversion coefficient, the prediction error image conversion coefficient, the quantization information, the unit visual distortion, and the digital watermark information, and further, based on the unit visual distortion, visualizes the entire image. The distortion is small,
And a watermark signal generation means for determining a quantization value correction signal for correcting the watermarkless quantization value from the target signal so as to increase the detection rate of the digital watermark, and outputting this as a watermark signal; Adding the quantized value and the watermark signal,
Means for outputting the addition result as a watermarked quantized value; means for generating and outputting a code string from the watermarked quantized value; and means for inversely quantizing the watermarked quantized value. Outputting means, performing inverse transformation of the linear transformation on the watermarked inverse quantization value, obtaining and outputting a local decoding prediction error image, and adding the motion compensation prediction image to the local decoding prediction error image. Means for outputting the result of addition as the locally decoded image, wherein a digital watermark is inserted only into a frame to be intra-coded.
【請求項6】画像を符号化すると共に電子透かしを挿入
するシステムであって、 入力画像に対して空間周波数成分に投影する線形変換を
行い、原画像変換係数を求めて出力する手段と、 局所復号画像に動き補償を行って、動き補償予測画像を
生成し、出力する手段と、 前記動き補償予測画像に前記線形変換を行い、予測画像
変換係数を求めて出力する手段と、 前記原画像変換係数から前記予測画像変換係数を減じ
て、結果を予測誤差画像変換係数として出力する手段
と、 前記予測誤差画像変換係数を量子化し、量子化値を透か
し無し量子化値として出力するとともに、量子化情報を
出力する手段と、 前記透かし無し量子化値を逆量子化し、透かし無し逆量
子化値を出力する手段と、 前記予測画像変換係数に前記透かし無し逆量子化値とを
加算し、透かし無し復号画像変換係数を出力する手段
と、 前記原画像変換係数から視覚モデルに基づいて、前記原
画像変換係数それぞれに対応する単位視覚歪を算出して
出力する手段と、 前記透かし無し復号画像変換係数と前記原画像変換係数
と前記量子化情報と前記単位視覚歪と電子透かし情報と
から、目標信号を算出して、さらに、前記単位視覚歪に
基づいて、画像全体として視覚的に歪が小さくかつ電子
透かしの検出率を高めるように前記透かし無し量子化値
を修正する量子化値修正信号を前記目標信号から決定し
て、これを透かし信号として出力する透かし信号発生手
段と、 前記透かし無し量子化値と前記透かし信号とを加算し、
透かし入り量子化値として出力する手段と、 前記透かし入り量子化値から符号列を生成し、出力する
手段と前記透かし入り量子化値を逆量子化し、透かし入
り逆量子化値を出力する手段と、 前記透かし入り逆量子化値に前記線形変換の逆変換を行
い、局所復号予測誤差画像を求めて出力する手段と、 前記局所復号予測誤差画像に前記動き補償予測画像を加
算し、前記局所復号画像を出力する手段とを有すること
を特徴とする、画像符号化電子透かし挿入システム。
6. A system for encoding an image and inserting a digital watermark, comprising: a means for performing a linear transformation for projecting an input image onto a spatial frequency component to obtain and output an original image transformation coefficient; Means for performing motion compensation on the decoded image to generate and output a motion-compensated predicted image; means for performing the linear transformation on the motion-compensated predicted image to obtain and output a predicted image transform coefficient; Means for subtracting the predicted image conversion coefficient from the coefficients and outputting the result as a prediction error image conversion coefficient; andquantizing the prediction error image conversion coefficient, outputting the quantization value as a watermarkless quantization value, and performing quantization. Means for outputting information; means for inversely quantizing the watermarkless quantized value to output a watermarkless inverse quantized value; and applying the watermarkless inverse quantized value to the predicted image transform coefficient. Means for adding and outputting a watermark-free decoded image transform coefficient; means for calculating and outputting a unit visual distortion corresponding to each of the original image transform coefficients based on a visual model from the original image transform coefficients; Without the decoded image transform coefficient, the original image transform coefficient, the quantization information, the unit visual distortion, and the digital watermark information, a target signal is calculated, and further, based on the unit visual distortion, a visual A watermark signal generating means for determining a quantization value correction signal for correcting the quantization value without watermark so that the distortion is small and increasing the detection rate of the digital watermark from the target signal, and outputting this as a watermark signal, Adding the watermarkless quantized value and the watermark signal,
Means for outputting as a watermarked quantized value; means for generating and outputting a code string from the watermarked quantized value; means for dequantizing the watermarked quantized value; and means for outputting a watermarked dequantized value. Means for performing an inverse transformation of the linear transformation on the watermarked inverse quantized value to obtain and output a local decoding prediction error image; and adding the motion compensation prediction image to the local decoding prediction error image to perform the local decoding. Means for outputting an image.
【請求項7】前記透かし信号発生手段が、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記電子透かし情報と、から目標信号を算出して出力す
る目標信号算出手段と、 前記量子化情報と前記目標信号と、に基づいて、前記透
かし無し復号信号変換係数の値を変更して透かし仮挿入
信号を生成し、該透かし仮挿入信号を出力する透かし仮
挿入手段と、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記透かし仮挿入手段から出力される透かし仮挿入信号
と、から、透かし仮挿入信号の視覚/聴覚的劣化を示す
値を算出し視覚/聴覚的劣化度情報として出力する視覚
/聴覚的劣化度算出手段と、 前記電子透かし情報と、前記透かし仮挿入手段から出力
される透かし仮挿入信号と、前記視覚/聴覚的劣化度算
出手段から出力される視覚/聴覚的劣化度情報と、か
ら、透かし挿入制御信号を生成して出力する透かし挿入
判定手段と、 前記量子化情報と、前記透かし無し復号信号変換係数
と、前記透かし仮挿入手段から出力される透かし仮挿入
信号と、前記透かし挿入判定手段から出力される前記透
かし挿入制御信号と、から、透かし信号を生成し出力す
る透かし信号生成手段と、 を備えたことを特徴とする、請求項4又は6記載の画像
符号化電子透かし挿入システム。
7. The watermark signal generating means includes: the original signal conversion coefficient; the unit visual / auditory distortion information;
A target signal calculating unit that calculates and outputs a target signal from the digital watermark information; and, based on the quantized information and the target signal, changes a value of the watermark-less decoded signal conversion coefficient to generate a watermark temporary. A temporary watermark insertion means for generating an insertion signal and outputting the temporary watermark insertion signal, the original signal conversion coefficient, the unit visual / auditory distortion information,
From the watermark temporary insertion signal output from the watermark temporary insertion means, a value indicating visual / audible deterioration of the watermark temporary insertion signal is calculated, and the visual / audible deterioration degree calculation is output as visual / audible deterioration degree information Means, a watermark insertion from the digital watermark information, a watermark temporary insertion signal output from the watermark temporary insertion means, and visual / audible deterioration degree information output from the visual / audible deterioration degree calculation means. A watermark insertion determining unit that generates and outputs a control signal, the quantization information, the watermarkless decoded signal conversion coefficient, a watermark temporary insertion signal output from the watermark temporary inserting unit, and a watermark insertion determining unit. The image encoding apparatus according to claim 4, further comprising: a watermark signal generation unit configured to generate and output a watermark signal from the watermark insertion control signal to be output. Child watermark insertion system.
【請求項8】前記透かし信号発生手段が、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記電子透かし情報と、から目標信号を算出して出力す
る目標信号算出手段と、 前記量子化情報と、前記電子透かし情報と、前記目標信
号算出手段から出力される目標信号と、視覚/聴覚的劣
化度算出手段から出力される視覚/聴覚的劣化度情報に
基づいて、前記透かし無し復号信号変換係数の値を変更
して透かし仮挿入信号と透かし挿入信号を生成して出力
する透かし仮挿入手段と、 前記原信号変換係数と、前記単位視覚/聴覚歪情報と、
前記透かし仮挿入手段から出力される透かし仮挿入信号
と、から、透かし仮挿入信号の視覚/聴覚的劣化度情報
を算出し前記透かし仮挿入手段へ出力する視覚/聴覚的
劣化度算出手段と、 前記量子化情報と、前記透かし無し復号信号変換係数
と、前記透かし仮挿入手段から出力される透かし挿入信
号とから透かし信号を生成し、出力する透かし信号生成
手段と、 を備えたことを特徴とする、請求項4又は6記載の画像
符号化電子透かし挿入システム。
8. The watermark signal generating means, wherein: the original signal transform coefficient; the unit visual / auditory distortion information;
Target signal calculation means for calculating and outputting a target signal from the digital watermark information; the quantization information; the digital watermark information; a target signal output from the target signal calculation means; A temporary watermark insertion means for generating and outputting a temporary watermark insertion signal and a watermark insertion signal by changing the value of the watermarkless decoded signal conversion coefficient based on the visual / audible degradation degree information output from the degradation degree calculation means The original signal conversion coefficient, the unit visual / auditory distortion information,
A visual / audible degradation degree calculating means for calculating visual / audible deterioration degree information of the watermark temporary insertion signal from the watermark temporary insertion signal output from the watermark temporary insertion means and outputting the information to the watermark temporary insertion means; A watermark signal generation unit that generates and outputs a watermark signal from the quantization information, the watermark-less decoded signal conversion coefficient, and a watermark insertion signal output from the temporary watermark insertion unit, The image encoding digital watermark insertion system according to claim 4 or 6, wherein
【請求項9】ディジタル信号を符号化すると共に電子透
かしを挿入するシステムにおいて、 (a)ディジタル信号を周波数成分に投影する線形変換
を行い、原信号変換係数を出力する手段、 (b)前記原信号変換係数を量子化し、量子化値を透か
し無し量子化値として出力するとともに、量子化情報を
出力する手段、 (c)前記透かし無し量子化値を逆量子化して、透かし
無し復号信号変換係数を出力する手段、 (d)前記原信号変換係数から視覚/聴覚モデルに基づ
いて、前記原信号変換係数それぞれに対応する単位視覚
/聴覚歪を算出して出力する手段と、 (e)前記透かし無し復号信号変換係数と前記原信号変
換係数と前記量子化情報と前記単位視覚/聴覚歪と電子
透かし情報とから、目標信号を算出し、さらに、前記単
位視覚/聴覚歪に基づいて、信号全体として視覚/聴覚
的に歪が小さく、かつ電子透かしの検出率を高めるよう
に、前記透かし無し量子化値を修正するような量子化値
修正信号を前記目標信号から決定し、これを透かし信号
として出力する手段、 (f)前記透かし無し量子化値と前記透かし信号とを加
算し、透かし入り量子化値を出力する手段及び、 (g)前記透かし入り量子化値から符号列を生成し、出
力する手段と、 の上記(a)〜(g)の各手段を前記システムを構成す
るコンピュータで機能させるためのプログラムを記憶し
た記録媒体。
9. A system for encoding a digital signal and inserting a digital watermark, comprising: (a) means for performing a linear transformation for projecting the digital signal onto frequency components and outputting original signal transformation coefficients; Means for quantizing the signal transform coefficient, outputting the quantized value as a watermarkless quantized value, and outputting quantization information; and (c) inversely quantizing the watermarkless quantized value to obtain a watermarkless decoded signal transform coefficient. (D) means for calculating and outputting a unit visual / auditory distortion corresponding to each of the original signal transform coefficients based on a visual / auditory model from the original signal transform coefficients, and (e) the watermark. A target signal is calculated from the no-decoded signal conversion coefficient, the original signal conversion coefficient, the quantization information, the unit visual / auditory distortion, and the digital watermark information. Based on the perceptual distortion, a quantized value correction signal for correcting the watermarkless quantized value from the target signal so as to reduce the visual / audible distortion as a whole signal and to increase the detection rate of the digital watermark. Means for determining and outputting this as a watermark signal; (f) means for adding the watermarkless quantized value and the watermark signal to output a watermarked quantized value; and (g) the watermarked quantized value. And a means for generating a code string from and outputting the program, and a program for causing each of the above means (a) to (g) to function on a computer constituting the system.
【請求項10】画像を符号化すると共に電子透かしを挿
入するシステムであって、 (a)局所復号画像に動き補償を行って、動き補償予測
画像を生成し、出力する手段、 (b)入力画像から前記動き補償予測画像を減じて予測
誤差画像を求めて出力する手段、 (c)前記予測誤差画像に対して空間周波数成分に投影
する線形変換を行い、予測誤差画像変換係数を求めて出
力する手段、 (d)前記予測誤差画像変換係数を量子化して、量子化
値を透かし無し量子化値として出力するとともに、量子
化情報を出力する手段、 (e)前記透かし無し量子化値を逆量子化し、透かし無
し逆量子化値を出力する手段、 (f)前記動き補償予測画像に前記線形変換を行い、予
測画像変換係数を求めて出力する手段、 (g)前記透かし無し逆量子化値と前記予測画像変換係
数とを加算し、透かし無し復号画像変換係数を出力する
手段、 (h)前記入力画像に前記線形変換を行い、原画像変換
係数を求めて出力する手段、 (i)前記原画像変換係数から視覚モデルに基づいて前
記原画像変換係数それぞれに対応する単位視覚歪を算出
して出力する手段、 (j)前記透かし無し復号画像変換係数と前記原画像変
換係数と前記量子化情報と前記単位視覚歪と電子透かし
情報とから、目標信号を算出し、さらに前記単位視覚歪
に基づいて、画像全体として視覚的に歪が小さく、かつ
電子透かしの検出率を高めるように、前記透かし無し量
子化値を修正する量子化値修正信号を、前記目標信号か
ら決定し、これを透かし信号として出力する手段、 (k)前記透かし無し量子化値と前記透かし信号とを加
算し、透かし入り量子化値を出力する手段、 (l)前記透かし入り量子化値から符号列を生成し、出
力する手段、 (m)前記透かし入り量子化値を逆量子化し、透かし入
り逆量子化値を出力する手段、 (n)前記透かし入り逆量子化値に前記線形変換の逆変
換を行い、局所復号予測誤差画像を求めて出力する手段
及び、 (o)前記局所復号予測誤差画像に前記動き補償予測画
像を加算し、加算結果を前記局所復号画像として出力す
る手段、 の上記(a)〜(o)の各手段を前記システムを構成す
るコンピュータで機能させるためのプログラムを記憶し
た記録媒体。
10. A system for encoding an image and inserting a digital watermark, comprising: (a) means for performing motion compensation on a locally decoded image to generate and output a motion-compensated predicted image; and (b) inputting. Means for obtaining and outputting a prediction error image by subtracting the motion compensated prediction image from the image, and (c) performing linear transformation for projecting the prediction error image onto a spatial frequency component to obtain and output a prediction error image conversion coefficient. (D) means for quantizing the prediction error image transform coefficient, outputting the quantized value as a watermarkless quantized value, and outputting quantization information, and (e) reversing the watermarkless quantized value. Means for quantizing and outputting a watermark-less dequantized value; (f) means for performing the linear transformation on the motion-compensated predicted image to obtain and output a predicted image conversion coefficient; and (g) the watermark-free dequantized value. When (H) means for adding the predicted image conversion coefficient and outputting a watermarkless decoded image conversion coefficient, (h) means for performing the linear conversion on the input image to obtain and output an original image conversion coefficient, and (i) means for outputting the original image conversion coefficient. Means for calculating and outputting a unit visual distortion corresponding to each of the original image transform coefficients from the image transform coefficients based on a visual model, and (j) the decoded image transform coefficient without watermark, the original image transform coefficient, and the quantization information. And a target signal is calculated from the unit visual distortion and the digital watermark information. Further, based on the unit visual distortion, the watermark is visually reduced as a whole image, and the detection rate of the digital watermark is increased. Means for determining a quantization value correction signal for correcting the no-quantization value from the target signal, and outputting this as a watermark signal; (k) adding the watermark-less quantization value and the watermark signal; Means for calculating and outputting a watermarked quantized value; (l) means for generating and outputting a code string from the watermarked quantized value; and (m) inversely quantizing the watermarked quantized value to obtain a watermarked inverse. Means for outputting a quantized value; (n) means for performing inverse transformation of the linear transformation on the watermarked inverse quantized value to obtain and output a local decoding prediction error image; and (o) the local decoding prediction error image. Means for adding the motion-compensated prediction image to and outputting a result of the addition as the locally decoded image. A program for causing each of the means (a) to (o) to function on a computer constituting the system is stored. recoding media.
【請求項11】画像を符号化すると共に電子透かしを挿
入するシステムであって、 (a)入力画像に対して空間周波数成分に投影する線形
変換を行い、原画像変換係数を求めて出力する手段、 (b)局所復号画像に動き補償を行って、動き補償予測
画像を生成し、出力する手段、 (c)前記動き補償予測画像に前記線形変換を行い、予
測画像変換係数を求めて出力する手段、 (d)前記原画像変換係数から前記予測画像変換係数を
減じて、結果を予測誤差画像変換係数として出力する手
段、 (e)前記予測誤差画像変換係数を量子化し、量子化値
を透かし無し量子化値として出力するとともに、量子化
情報を出力する手段、 (f)前記透かし無し量子化値を逆量子化し、透かし無
し逆量子化値を出力する手段、 (g)前記予測画像変換係数に前記透かし無し逆量子化
値とを加算し、透かし無し復号画像変換係数を出力する
手段、 (h)前記原画像変換係数から視覚モデルに基づいて、
前記原画像変換係数それぞれに対応する単位視覚歪を算
出して出力する手段、 (i)前記透かし無し復号画像変換係数と前記原画像変
換係数と前記量子化情報と前記単位視覚歪と電子透かし
情報とから、目標信号を算出して、さらに、前記単位視
覚歪に基づいて、画像全体として視覚的に歪が小さくか
つ電子透かしの検出率を高めるように前記透かし無し量
子化値を修正する量子化値修正信号を前記目標信号から
決定して、これを透かし信号として出力する手段、 (j)前記透かし無し量子化値と前記透かし信号とを加
算し、透かし入り量子化値として出力する手段、 (k)前記透かし入り量子化値から符号列を生成し、出
力する手段、 (l)前記透かし入り量子化値を逆量子化し、透かし入
り逆量子化値を出力する手段、 (m)前記透かし入り逆量子化値に前記線形変換の逆変
換を行い、局所復号予測誤差画像を求めて出力する手段
及び、 (n)前記局所復号予測誤差画像に前記動き補償予測画
像を加算し、前記局所復号画像を出力する手段、 の上記(a)〜(n)の各手段を前記システムを構成す
るコンピュータで機能させるためのプログラムを記憶し
た記録媒体。
11. A system for encoding an image and inserting a digital watermark, wherein (a) means for performing a linear transformation for projecting an input image onto a spatial frequency component, and obtaining and outputting an original image transformation coefficient. (B) means for generating and outputting a motion-compensated predicted image by performing motion compensation on the locally decoded image; and (c) performing the linear transformation on the motion-compensated predicted image to obtain and output a predicted image transform coefficient. (D) means for subtracting the predicted image conversion coefficient from the original image conversion coefficient and outputting the result as a predicted error image conversion coefficient; (e) quantizing the predicted error image conversion coefficient and watermarking the quantized value Means for outputting as the no quantization value and outputting quantization information; (f) means for dequantizing the watermarkless quantization value and outputting a watermarkless inverse quantization value; Means for adding the watermark-less dequantized value to a number and outputting a watermark-free decoded image transform coefficient, (h) based on a visual model from the original image transform coefficient,
Means for calculating and outputting a unit visual distortion corresponding to each of the original image transform coefficients; (i) the watermarkless decoded image transform coefficient, the original image transform coefficient, the quantization information, the unit visual distortion, and the digital watermark information From the above, a target signal is calculated, and further, based on the unit visual distortion, the watermark-free quantization value is corrected so that the distortion is visually reduced as a whole and the digital watermark detection rate is increased. Means for determining a value correction signal from the target signal and outputting it as a watermark signal; (j) means for adding the watermarkless quantized value and the watermark signal and outputting as a watermarked quantized value; k) means for generating and outputting a code string from the watermarked quantized value; (l) means for dequantizing the watermarked quantized value and outputting a watermarked dequantized value; Means for performing an inverse transformation of the linear transformation on the intricate inverse quantization value to obtain and output a local decoding prediction error image; and (n) adding the motion compensation prediction image to the local decoding prediction error image, Means for outputting a decoded image; and a recording medium storing a program for causing each of the above means (a) to (n) to function on a computer constituting the system.
JP19554898A 1998-07-10 1998-07-10 Digital watermark insertion system for digital signal Expired - Fee Related JP3387418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19554898A JP3387418B2 (en) 1998-07-10 1998-07-10 Digital watermark insertion system for digital signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19554898A JP3387418B2 (en) 1998-07-10 1998-07-10 Digital watermark insertion system for digital signal

Publications (2)

Publication Number Publication Date
JP2000032406A true JP2000032406A (en) 2000-01-28
JP3387418B2 JP3387418B2 (en) 2003-03-17

Family

ID=16342940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19554898A Expired - Fee Related JP3387418B2 (en) 1998-07-10 1998-07-10 Digital watermark insertion system for digital signal

Country Status (1)

Country Link
JP (1) JP3387418B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020067853A (en) * 2001-02-19 2002-08-24 주식회사 마크애니 Apparatus and Method for controlling the copy and play of a digital audio contents using digital watermarking
WO2002089478A1 (en) * 2001-04-24 2002-11-07 Kabushiki Kaisha Toshiba Digital watermark burying method and device, and digital watermark detecting method and device
US6885756B2 (en) 2001-02-01 2005-04-26 Matsushita Electric Industrial Co., Ltd. Apparatus and method for embedding watermark information in compressed image data, and apparatus and method for retrieving watermark information from compressed image data having watermark information embedded therein
WO2006027823A1 (en) * 2004-09-06 2006-03-16 Mitsubishi Denki Kabushiki Kaisha Electronic watermark device, authentication processing device, decoding processing device, and re-quantization device
US7095853B2 (en) 2000-02-24 2006-08-22 Nec Corporation System and method for preventing an illegal copy of contents
US7239716B2 (en) 2000-11-08 2007-07-03 Nec Corporation Data insertion device and method of inserting data
JP2008219867A (en) * 2001-07-30 2008-09-18 Transpacific Information Llc Secure, robust, and high-fidelity watermarking
JP2017123668A (en) * 2011-11-07 2017-07-13 ドルビー・インターナショナル・アーベー Computer readable medium
US11277630B2 (en) 2011-11-07 2022-03-15 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7095853B2 (en) 2000-02-24 2006-08-22 Nec Corporation System and method for preventing an illegal copy of contents
US7239716B2 (en) 2000-11-08 2007-07-03 Nec Corporation Data insertion device and method of inserting data
US6885756B2 (en) 2001-02-01 2005-04-26 Matsushita Electric Industrial Co., Ltd. Apparatus and method for embedding watermark information in compressed image data, and apparatus and method for retrieving watermark information from compressed image data having watermark information embedded therein
KR20020067853A (en) * 2001-02-19 2002-08-24 주식회사 마크애니 Apparatus and Method for controlling the copy and play of a digital audio contents using digital watermarking
WO2002089478A1 (en) * 2001-04-24 2002-11-07 Kabushiki Kaisha Toshiba Digital watermark burying method and device, and digital watermark detecting method and device
US6741723B2 (en) 2001-04-24 2004-05-25 Kabushiki Kaisha Toshiba Digital watermark embedding method and apparatus, and digital watermark
US6952486B2 (en) 2001-04-24 2005-10-04 Kabushiki Kaisha Toshiba Digital watermark embedding method and apparatus, and digital watermark
JP2008219867A (en) * 2001-07-30 2008-09-18 Transpacific Information Llc Secure, robust, and high-fidelity watermarking
JPWO2006027823A1 (en) * 2004-09-06 2008-05-08 三菱電機株式会社 Digital watermarking device, authentication processing device, decoding processing device, and requantization device
WO2006027823A1 (en) * 2004-09-06 2006-03-16 Mitsubishi Denki Kabushiki Kaisha Electronic watermark device, authentication processing device, decoding processing device, and re-quantization device
JP4624359B2 (en) * 2004-09-06 2011-02-02 三菱電機株式会社 Digital watermarking device
JP2017123668A (en) * 2011-11-07 2017-07-13 ドルビー・インターナショナル・アーベー Computer readable medium
US11109072B2 (en) 2011-11-07 2021-08-31 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US11277630B2 (en) 2011-11-07 2022-03-15 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US11889098B2 (en) 2011-11-07 2024-01-30 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US11943485B2 (en) 2011-11-07 2024-03-26 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto

Also Published As

Publication number Publication date
JP3387418B2 (en) 2003-03-17

Similar Documents

Publication Publication Date Title
JP2618083B2 (en) Image recovery method and apparatus
JP4633417B2 (en) Bitstream control post-processing filtering
EP1788820A2 (en) Image encoding method and apparatus and image decoding method and apparatus using characteristics of the human visual system
US8396314B2 (en) Method and apparatus for inverse quantizing image, and method and apparatus for decoding image
KR100853336B1 (en) Image encoding apparatus and image decoding apparatus
JP2624087B2 (en) Video signal decoding method
JPWO2006054667A1 (en) Data compression / decompression method, program, and apparatus
JP3387418B2 (en) Digital watermark insertion system for digital signal
JP2007336468A (en) Re-encoding apparatus, re-encoding method and program
JP5139995B2 (en) Method and apparatus for watermarking a stream
JP2003259369A (en) Error concealment method employing electronic watermark of moving picture
US9848209B2 (en) Adaptive error detection for MPEG-2 error concealment
US6362753B1 (en) Video data encoder and method of encoding video data
KR101385957B1 (en) Method and appartus for correcting the coefficients in the decoder
JP4642509B2 (en) Apparatus for embedding confidential information in compressed image data and apparatus for encoding confidential data
US9628791B2 (en) Method and device for optimizing the compression of a video stream
JP2008502256A (en) Compensation for watermark irregularities caused by moved objects
JP4624359B2 (en) Digital watermarking device
EP1511323B1 (en) Device and method for the compression or decompression of digital images
JP3271100B2 (en) Digital image signal decoding apparatus and method
JP2010268505A (en) Block motion video coding and decoding
JP2005535263A (en) Method for transmitting data in an encoder
JPH09187001A (en) Arithmetic device and method
JP2003230023A (en) Aperture correction method for network camera and the network camera
JPH06169453A (en) Picture data encoding and decoding device and method thereof

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020611

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021210

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

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees