JP2000013763A - Device and method for processing picture data and device and method for recording - Google Patents

Device and method for processing picture data and device and method for recording

Info

Publication number
JP2000013763A
JP2000013763A JP10175201A JP17520198A JP2000013763A JP 2000013763 A JP2000013763 A JP 2000013763A JP 10175201 A JP10175201 A JP 10175201A JP 17520198 A JP17520198 A JP 17520198A JP 2000013763 A JP2000013763 A JP 2000013763A
Authority
JP
Japan
Prior art keywords
value
evaluation value
evaluation
image data
difference value
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
JP10175201A
Other languages
Japanese (ja)
Other versions
JP3642956B2 (en
Inventor
Nobusada Miyahara
信禎 宮原
Yoichi Yagasaki
陽一 矢ヶ崎
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP17520198A priority Critical patent/JP3642956B2/en
Priority to KR1019990023504A priority patent/KR20000006352A/en
Publication of JP2000013763A publication Critical patent/JP2000013763A/en
Application granted granted Critical
Publication of JP3642956B2 publication Critical patent/JP3642956B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09CCIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
    • G09C5/00Ciphering apparatus or methods not provided for in the preceding groups, e.g. involving the concealment or deformation of graphic data such as designs, written or printed messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/08Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division
    • H04N7/081Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division the additional information signals being transmitted by means of a subcarrier

Abstract

PROBLEM TO BE SOLVED: To provide a device and a method for processing picture data with high detection accuracy of an evaluation value to detect a watermark which is added to the picture data and a device and a method for recording. SOLUTION: A watermark detector 2 is provided with a watermark pattern holding memory 3 to output a pattern of the watermark, a differential calculator 4 to calculate a differential value of pixel values between inputted picture data and neighboring pixels, an evaluation value calculator 5 to calculate the evaluation value based on the pattern of the watermark taken out from the watermark pattern holding memory 3 and the differential value and an evaluation value comparator 6 to detect the watermark based on the evaluation value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、特定の画像データ
(静止画像或いは動画像シーケンス)に対して、それに
付随する情報を画像データ中に付加し、再生時にその付
随情報を検出する画像データ処理装置及び方法、並びに
記録装置及び方法に関し、特に、デジタル画像データに
付加された付随情報を、再生時に検出する画像データ処
理装置及び方法、並びに記録装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data processing for adding information accompanying specific image data (still image or moving image sequence) to the image data and detecting the accompanying information during reproduction. The present invention relates to an apparatus and method, and a recording apparatus and method, and more particularly, to an image data processing apparatus and method for detecting accompanying information added to digital image data at the time of reproduction, and a recording apparatus and method.

【0002】[0002]

【従来の技術】特定の画像データ(静止画像或いは動画
像シーケンス)に対して、それに付随する情報を画像デ
ータ中に付加し、再生時にその付随情報を検出して利用
する技術がある。この代表的な例として、著作権情報の
付加が挙げられる。
2. Description of the Related Art There is a technique for adding information accompanying specific image data (a still image or a moving image sequence) to the image data and detecting and using the additional information at the time of reproduction. A typical example of this is the addition of copyright information.

【0003】不特定の利用者が特定の画像データを利用
することが可能である場合、その画像に対して著作権を
持つ者がその権利を主張するためには、あらかじめ著作
権情報を画像データ中に付加しておく必要がある。著作
権情報を付加することにより、画像の再生装置或いは再
生方法の処理手順の中で、その画像データを表示不可と
すべき著作権情報が検出された場合には、その画像デー
タの表示を行わない等の対策を講じることが可能とな
る。
[0003] When an unspecified user can use specific image data, in order for a person who has a copyright to the image to claim that right, the copyright information must be stored in advance in the image data. It needs to be added inside. By adding the copyright information, when the copyright information for which the image data should not be displayed is detected in the processing procedure of the image reproducing apparatus or the reproducing method, the image data is displayed. It is possible to take countermeasures such as the absence.

【0004】上述の著作権情報の付加或いは検出は、現
在ビデオテープの不正コピー防止等でよく利用されてい
る。近頃はビデオテープのレンタルを行う店も多いが、
多くの利用者が店から低価格で借りたビデオテープを不
正にコピーして楽しんだ場合、そのビデオテープの著作
権を持つ者及びビデオテープのレンタルを行う店の損害
は甚大である。
[0004] The addition or detection of the above-mentioned copyright information is often used at present to prevent unauthorized copying of video tapes. Recently, there are many shops that rent videotapes,
If many users illegally copy and enjoy a videotape borrowed from a store at a low price, damage to the owner of the videotape and the store that rents the videotape is enormous.

【0005】ビデオテープには、画像データがアナログ
的に記録されているため、コピーを行った場合に画質が
劣化する場合がある。そのため、コピーが複数回繰り返
された場合、元々保持されていた画質を維持することは
非常に困難となる。
[0005] Since image data is recorded on a video tape in an analog manner, image quality may be degraded when copying is performed. Therefore, when copying is repeated a plurality of times, it is very difficult to maintain the originally held image quality.

【0006】これに対し、最近普及しつつあるデジタル
的に画像データを記録し再生する機器等においては、不
正コピーによる損害はさらに大きなものとなる。画像デ
ータをデジタル的に扱う機器等では、原理的にコピーに
よって画質が劣化することはない。そのため、デジタル
的に処理を行う機器等における不正コピー防止は、アナ
ログの場合と比べてはるかに重要である。
On the other hand, in digitally recording and reproducing devices and the like which are becoming more and more popular recently, the damage due to unauthorized copying is even greater. In a device or the like that handles image data digitally, image quality is not degraded by copying in principle. Therefore, prevention of unauthorized copying in a device or the like that processes digitally is much more important than in the case of analog.

【0007】画像データに付随する情報をその画像デー
タ中に付加する方法は、主に2通りある。
There are two main methods for adding information accompanying image data to the image data.

【0008】第1の方法は、画像データの補助部分に付
加する方法である。例えばビデオテープでは、図20に
示すように、その画像データの補助的情報が画面上部に
記録されている。この領域の一部を利用して、付随情報
を付加することが可能である。
The first method is a method of adding image data to an auxiliary part. For example, on a video tape, as shown in FIG. 20, auxiliary information of the image data is recorded at the top of the screen. By using a part of this area, it is possible to add additional information.

【0009】第2の方法は、画像データの主要部分に付
加する方法である。これは、図21に示すように、ある
特定のパターン、例えば、ウォータマーク(Water Mar
k)パターンを視覚的に感知できない程度に画像の全体
或いは一部に付加するものである。この具体例として、
乱数やM系列等を用いて発生させた鍵パターンを利用し
て情報の付加或いは検出を行うスペクトラム拡散等があ
る。
The second method is a method of adding the image data to the main part. This is, as shown in FIG. 21, a specific pattern, for example, a watermark (Water Mar).
k) The pattern is added to the whole or a part of the image so that the pattern cannot be visually perceived. As a specific example of this,
There is spread spectrum or the like in which information is added or detected using a key pattern generated using a random number, an M sequence, or the like.

【0010】以下では、従来より行われているウォータ
マークパターンを用いた場合の画像データの主要部分へ
の付随情報の付加及び検出の一例について説明する。
Hereinafter, an example of adding and detecting accompanying information to a main portion of image data when a watermark pattern is used, which has been conventionally performed, will be described.

【0011】ウォータマークは、図22に示すように、
各画素について、プラス、マイナスの2つのシンボルの
いずれかを取るものと仮定する。なお、実際には、ウォ
ータマークパターンは2つのシンボルのいずれかをラン
ダムに取るものであり、その領域の形状、大きさについ
ても任意である場合が多い。
The watermark is, as shown in FIG.
Assume that each pixel takes one of two symbols, plus and minus. Actually, the watermark pattern is a pattern that randomly takes one of the two symbols, and the shape and size of the area are often arbitrary.

【0012】付随情報を付加する際には、図23に示す
ように、付加を行う対象となる画像上でウォータマーク
パターンの領域と等しい大きさの領域を設定し、そし
て、設定した領域とウォータマークパターンを重ねて照
らし合わせ、プラスのシンボルの画素については値aを
足し、マイナスのシンボルの画素については値bを引
く。ここで、値a,b共に、任意の値であり、そのウォ
ータマークパターンを通じて一定である。例えば、本例
では、図23中(B)に示すように、値a=1,b=1
に設定しており、すなわち、図23中(A)に示すよう
に付加を行う対象となる領域の画素値が全て100であ
るとした場合には、この埋め込み操作により画素値は、
図23中(c)に示すように、101、99のいずれか
になる。
When adding the accompanying information, as shown in FIG. 23, an area having the same size as the area of the watermark pattern is set on the image to be added, and the set area and the watermark are set. The mark patterns are overlapped and illuminated, and the value a is added to the pixel of the plus symbol, and the value b is subtracted to the pixel of the minus symbol. Here, both the values a and b are arbitrary values and are constant throughout the watermark pattern. For example, in this example, as shown in FIG. 23B, the values a = 1 and b = 1
23, that is, assuming that the pixel values of the area to be added are all 100 as shown in FIG.
As shown in FIG. 23 (c), it becomes one of 101 and 99.

【0013】付随情報を検出する際には、検出を行う対
象となる画像上でウォータマークパターンの領域と等し
い大きさの領域を設定する。そして、この領域の画素全
てを合計した値を評価値として用いる。具体的には、画
素全てを合計の算出は、図24中(A)及び(B)に示
すように、設定された領域とウォータマークパターンを
重ねて照らし合わせ、プラスのシンボルの画素について
は足し算、マイナスのシンボルの画素については引き算
する。このとき、付随情報を付加する際に用いたウォー
タマークパターンと同じパターンを用いることが条件で
あることはいうまでもない。
When detecting accompanying information, an area having the same size as the area of the watermark pattern is set on an image to be detected. Then, a value obtained by summing all the pixels in this area is used as an evaluation value. Specifically, as shown in (A) and (B) of FIG. 24, the sum of all the pixels is calculated by overlapping the set area and the watermark pattern and illuminating them, and adding up the pixels of the plus symbol. , And subtraction is performed for the pixel of the minus symbol. At this time, it is needless to say that the same pattern as the watermark pattern used when adding the accompanying information is used.

【0014】このような検出操作により、付随情報が付
加されている場合には、図24中(A)に示すように、
その評価値は(4n)^2(領域に含まれる画素数の数
と同じ)になり、また、付随情報が付加されていない場
合には、図24中(B)に示すように、その評価値は0
になる。
When the accompanying information is added by such a detecting operation, as shown in FIG.
The evaluation value is (4n) ^ 2 (same as the number of pixels included in the area). When no additional information is added, as shown in FIG. Value is 0
become.

【0015】ウォータマークパターンの領域が充分に広
く、かつウォータマークパターンが充分にランダムであ
る場合、付随情報が付加されていない場合の評価値は常
にほぼ0となる。そのため、評価値がある一定の閾値を
超えた場合には、付随情報が付加されていると判別する
ことができる。上記の手順により、付随情報が付加され
ているか否かという2値の情報(1ビット)を付加する
ことが可能となる。ここで、より多くの情報を付加した
い場合には、画像全体をk個の領域に分けてそれぞれ上
記の操作を行う等の処理方法により、2^k通り(k ビ
ット)の情報を付加することができる。
When the area of the watermark pattern is sufficiently large and the watermark pattern is sufficiently random, the evaluation value when the accompanying information is not added is almost zero. Therefore, when the evaluation value exceeds a certain threshold value, it can be determined that additional information has been added. According to the above procedure, it is possible to add binary information (1 bit) indicating whether or not additional information has been added. Here, when it is desired to add more information, 2 ^ k kinds (k bits) of information are added by a processing method such as dividing the entire image into k regions and performing the above operations. Can be.

【0016】さらに、ウォータマークパターンは、M系
列を用いて生成したものを利用することができる。M系
列(最長符号系列)は、0,1の2値のシンボルからな
る数列で、0,1の統計的分布は一定であり、符号相関
は原点で1、その他では−1/符号長となるものであ
る。なお、M系列を用いる以外の方法でウォータマーク
パターンを生成する方法もある。
Further, a watermark pattern generated using an M-sequence can be used. The M-sequence (longest code sequence) is a sequence of binary symbols of 0 and 1, the statistical distribution of 0 and 1 is constant, the code correlation is 1 at the origin, and the other is -1 / code length. Things. Note that there is also a method of generating a watermark pattern by a method other than using the M sequence.

【0017】ところで、画像データをデジタル的に記録
し再生する場合、そのままでは非常に情報量が多くなる
ため、データを圧縮するのが一般的である。画像データ
を圧縮する方法として、JPEG(静止画像符号化方
式;Joint Photographic Coding Experts Groupe)、或
いはMPEG(動画像符号化方式;Moving Picture Exp
erts Groupe)等の高能率符号化方法が国際的に標準化
され、実用化に至っている。
When image data is recorded and reproduced digitally, the amount of information becomes extremely large as it is, so that the data is generally compressed. As a method for compressing image data, JPEG (Joint Photographic Coding Experts Groupe) or MPEG (Moving Picture Coding; Moving Picture Exp
erts Groupe) has been standardized internationally and has been put to practical use.

【0018】高能率符号化によって画像データを圧縮す
る場合において、付随情報の付加及び検出は、図25に
示すように構成されたエンコーダ301及び図26に示
すように構成されたデコーダ305により実現される。
In the case of compressing image data by high-efficiency coding, the addition and detection of accompanying information is realized by an encoder 301 configured as shown in FIG. 25 and a decoder 305 configured as shown in FIG. You.

【0019】エンコーダ301は、図25に示すよう
に、ウォータマーク付加器302において入力されて画
像データに対して付随情報fを付加する。そして、エン
コーダ301は、付随情報fを付加した画像データを符
号化器303に入力し、高能率符号化を行って符号化ビ
ット列を生成する。
As shown in FIG. 25, the encoder 301 adds the accompanying information f to the image data inputted by the watermark adding unit 302. Then, the encoder 301 inputs the image data to which the additional information f has been added to the encoder 303, performs high-efficiency encoding, and generates an encoded bit sequence.

【0020】また、デコーダ305については、図26
に示すように、復号器306により入力されたビット列
を画像データとして復元する。そして、エンコーダ30
5は、ウォータマーク検出器231において付随情報f
を検出する。
FIG. 26 shows the decoder 305.
, The bit string input by the decoder 306 is restored as image data. And the encoder 30
5 is the watermark information 231 in the watermark detector 231.
Is detected.

【0021】なお、画像データを高能率符号化しない場
合には、エンコーダ301から符号化器303を除き、
また、デコーダ305から復号器306を除く構成とさ
れる場合もあり、これにより、画像データ上に付随情報
を付加し、又は画像データに付加されている付随情報を
検出する。
If the image data is not encoded with high efficiency, the encoder 301 is removed from the encoder 301 and
In some cases, the decoder 305 is omitted from the decoder 305, whereby additional information is added to the image data or the additional information added to the image data is detected.

【0022】ここで、ウォータマーク付加器302は、
図27に示すように構成されており、このような構成に
されたウォータマーク付加器302は、付随情報fがo
nである場合には、ウォータマークパターン保持メモリ
311に記録されているウォータマークパターンを用い
て、付随情報付加器312で入力された画像データに対
して付随情報を付加し、また、付随情報fがoffであ
る場合には、入力された画像データを付随情報付加器3
12からそのまま出力する。
Here, the watermark adding device 302
The watermark adding device 302 having such a configuration is configured as shown in FIG.
If n, the additional information is added to the image data input by the additional information adder 312 using the watermark pattern recorded in the watermark pattern holding memory 311, and the additional information f Is off, the input image data is added to the additional information
12 is output as it is.

【0023】また、ウォータマーク検出器307は、図
28に示すように構成されており、このような構成にさ
れたウォータマーク検出器307は、ウォータマークパ
ターン保持メモリ315に記録されているウォータマー
クパターンを用いて、入力された画像データに基づいて
評価値算出器316により評価値を算出している。ここ
で算出された評価値は、評価値比較器317で閾値処理
され、付随情報fとして出力されている。また、入力さ
れた画像データ自体については、そのまま出力される。
なお、画像変換器318(図中点線で示す。)は、入力
された画像データを加工又は処理する部分である。この
ことについては、後で述べる。
The watermark detector 307 is configured as shown in FIG. 28. The watermark detector 307 having such a configuration is used for the watermark detector 307 recorded in the watermark pattern holding memory 315. The evaluation value is calculated by the evaluation value calculator 316 based on the input image data using the pattern. The evaluation value calculated here is subjected to threshold processing by the evaluation value comparator 317, and is output as accompanying information f. Further, the input image data itself is output as it is.
The image converter 318 (shown by a dotted line in the figure) is a part that processes or processes the input image data. This will be described later.

【0024】ウォータマーク付加器302で行われる一
連の処理を図29に示し、また、ウォータマーク検出器
307で行われる一連の処理を図30に示す。
FIG. 29 shows a series of processes performed by the watermark adding unit 302, and FIG. 30 shows a series of processes performed by the watermark detector 307.

【0025】ウォータマーク付加処理については、ウォ
ータマーク付加器302は、図29に示すように、ステ
ップS301において、ウォータマークの付加レベル
a,bを設定する。
In the watermark adding process, the watermark adding unit 302 sets the watermark adding levels a and b in step S301 as shown in FIG.

【0026】続いて、ウォータマーク付加器302は、
ステップS302において、付随情報の付加を行う対象
となる画像上でウォータマークパターンの領域と等しい
大きさの領域を設定し、その領域内の各画素についてウ
ォータマークパターンとの照合を行い、ステップS30
3において、ウォータマークのシンボルの判別を行う。
Subsequently, the watermark adding device 302
In step S302, an area having the same size as the area of the watermark pattern is set on the image to which the additional information is to be added, and each pixel in the area is compared with the watermark pattern.
In 3, the watermark symbol is determined.

【0027】ここで、ウォータマーク付加器302は、
その画素のウォータマークのシンボルがプラスである場
合には、ステップS304に進み、その画素に値aを足
し、また、その画素のウォータマークのシンボルがマイ
ナスである場合には、ステップS305に進み、その画
素から値bを引く。
Here, the watermark adding device 302
If the watermark symbol of the pixel is positive, the process proceeds to step S304, and the value a is added to the pixel. If the watermark symbol of the pixel is negative, the process proceeds to step S305. Subtract the value b from that pixel.

【0028】そして、ウォータマーク付加器302は、
ステップS306において、対象領域の全画素について
処理を行ったか否かの判別処理を行い、ここで、全画素
について処理を行っていないことを確認した場合には、
上記ステップS302に戻り再び上記照合等の処理を行
い、対象領域の全画素について処理を繰り返す。
Then, the watermark adding device 302
In step S306, determination processing is performed as to whether or not processing has been performed on all pixels in the target area. If it is confirmed that processing has not been performed on all pixels,
Returning to step S302, the above-described processing such as the collation is performed again, and the processing is repeated for all the pixels in the target area.

【0029】ウォータマーク検出処理については、ウォ
ータマーク検出器307は、図30に示すように、ステ
ップS311において、評価値sumの初期化及び閾値
thの設定を行う。
In the watermark detection process, the watermark detector 307 initializes the evaluation value sum and sets the threshold value th in step S311, as shown in FIG.

【0030】続いて、ウォータマーク検出器307は、
ステップS312において、ウォータマークパターンの
領域と等しい大きさの領域を設定し、その領域内の各画
素についてウォータマークパターンとの照合を行い、ス
テップS313において、ウォータマークのシンボルの
判別を行う。
Subsequently, the watermark detector 307
In step S312, an area having the same size as the area of the watermark pattern is set, and each pixel in the area is compared with the watermark pattern. In step S313, the symbol of the watermark is determined.

【0031】ここで、ウォータマーク検出器307は、
その画素のウォータマークのシンボルがプラスである場
合には、ステップS314に進み、評価値sumにその
画素値xを足し、また、その画素のウォータマークのシ
ンボルがマイナスである場合には、ステップS315に
進み、評価値sumからその画素値xを引く。
Here, the watermark detector 307 is
If the watermark symbol of the pixel is positive, the process proceeds to step S314, and the pixel value x is added to the evaluation value sum. If the watermark symbol of the pixel is negative, the process proceeds to step S315. To subtract the pixel value x from the evaluation value sum.

【0032】そして、ウォータマーク検出器307は、
ステップS316において、対象領域の全画素について
処理を行ったか否かの判別処理を行い、ここで、全画素
について処理を行っていないことを確認した場合には、
上記ステップS312に戻り再び上記照合等の処理を行
い、対象領域の全画素について処理を繰り返す。
Then, the watermark detector 307
In step S316, a determination process is performed to determine whether or not processing has been performed for all pixels in the target area. If it is confirmed that processing has not been performed for all pixels,
Returning to step S312, the processing such as the above-described collation is performed again, and the processing is repeated for all the pixels in the target area.

【0033】全画素について上述した処理を行った後、
ウォータマーク検出器307は、ステップS317にお
いて、評価値sum>閾値thとして閾値thに対して
評価値sumを比較する。ここでウォータマーク検出器
307は、評価値sum>閾値thである場合には、ス
テップS318に進み、画像データに付随情報が付加さ
れているとみなして付随情報fをon(付随情報fが存
在している)にして、また、そうでない場合には、ステ
ップS319に進み、付随情報fをoff(付随情報f
が存在していない)にする。
After performing the above-described processing for all pixels,
In step S317, the watermark detector 307 compares the evaluation value sum with the threshold th assuming that the evaluation value sum> the threshold th. Here, if the evaluation value sum> threshold th, the watermark detector 307 proceeds to step S318, considers that the additional information is added to the image data, and turns on the additional information f (the additional information f is present). If not, the process proceeds to step S319, where the associated information f is turned off (the associated information f
Does not exist).

【0034】ここで検出された付随情報fは、例えば不
正コピーを防止する場合には、次のように利用される。
The accompanying information f detected here is used as follows, for example, to prevent unauthorized copying.

【0035】上記図26に示すように構成されるデコー
ダ305を例にすると、出力される画像データ及び付随
情報fは、図示せぬ画像表示部に渡される。画像表示部
では、付随情報fがonである場合にはそのまま画像を
表示するが、付随情報fがoffである場合には、例え
ば画像を表示しない、画像データの主要領域を表示しな
い、画像にスクランブルを掛ける(受けとった画像デー
タをでたらめに表示する)等の加工或いは処理を行う。
例えば、画像変換器318は、付随情報fに応じてこの
ような画像データの加工又は処理を行う部分である。
Taking the decoder 305 configured as shown in FIG. 26 as an example, the output image data and accompanying information f are passed to an image display unit (not shown). When the accompanying information f is on, the image display unit displays the image as it is. When the accompanying information f is off, for example, the image is not displayed, the main area of the image data is not displayed, Processing or processing such as scrambling (randomly displaying received image data) is performed.
For example, the image converter 318 is a part that processes or processes such image data according to the accompanying information f.

【0036】また、ウォータマークパターンには、M系
列等の特殊な性質を有するパターンによって構成されて
いる場合もある。この場合には、その性質を利用して付
随情報を検出している。
Further, the watermark pattern may be constituted by a pattern having a special property such as an M series. In this case, the associated information is detected using the property.

【0037】例えばM系列の符号相関は、原点で高く、
その他ではほぼ0になる性質がある。付随情報を検出す
る際にこの性質を利用し、ウォータマークパターンをず
らしながらそれぞれのずらし位置(位相)に対する評価
値を求め、それらの評価値を比較する。この場合、ずら
し量0以外の評価値は、付随情報を付加しなかったとき
の評価値とみなせるため、これらの値を比較することは
相対的評価基準を利用することになり、付随情報を確実
に検出することができる。以後、この検出方法を「ずら
し検出」と呼ぶことにする。
For example, the code correlation of the M sequence is high at the origin,
Others have the property of becoming almost zero. Utilizing this property when detecting the accompanying information, the evaluation value for each shifted position (phase) is obtained while shifting the watermark pattern, and the evaluation values are compared. In this case, since the evaluation value other than the shift amount 0 can be regarded as the evaluation value when the additional information is not added, the comparison of these values uses the relative evaluation criterion, so that the additional information can be reliably determined. Can be detected. Hereinafter, this detection method is referred to as “shift detection”.

【0038】ずらし検出については、図31及び図32
に示すような処理により、付随情報の検出を行ってい
る。そして、図33に示すようにウォータマーク検出器
321を構成することにより、ずらし検出による付随情
報の検出が可能とされている。
FIGS. 31 and 32 show shift detection.
The accompanying information is detected by the processing shown in FIG. By configuring the watermark detector 321 as shown in FIG. 33, it is possible to detect accompanying information by detecting shift.

【0039】なお、ウォータマーク検出器を除くと、こ
の構成はずらし検出を行わない場合と完全に同一、例え
ば上記図28で示したウォータマーク検出器307と完
全に同一である。より具体的には、処理についてみる
と、図30で示した従来例の処理と比べると、ウォータ
マークパターンをずらしながらそれぞれのずらし位置
(位相)に対する評価値を求め、それらの評価値を比較
して付随情報を検出することのみが異っている。
Except for the watermark detector, this configuration is completely the same as the case where no shift detection is performed, for example, completely the same as the watermark detector 307 shown in FIG. More specifically, regarding the processing, as compared with the processing of the conventional example shown in FIG. 30, evaluation values for respective shift positions (phases) are obtained while shifting the watermark pattern, and the evaluation values are compared. The only difference is the detection of accompanying information.

【0040】ずらし検出によりウォータマークパターン
を検出するウォータマーク検出器321は、図33に示
すように、入力された画像データが複数の評価値算出器
3231,3232,3233に入力される。
As shown in FIG. 33, a watermark detector 321 for detecting a watermark pattern by detecting a shift receives input image data into a plurality of evaluation value calculators 323 1 , 323 2 , and 323 3. .

【0041】ウォータマーク検出器321は、ウォータ
マークパターン保持メモリ322に記録されているウォ
ータマークパターンを、必要に応じてウォータマークパ
ターンずらし器3251,3252でずらす。
The watermark detector 321, a watermark pattern recorded in the watermark pattern holding memory 322 is shifted by watermark pattern shifted 325 1, 325 2 as necessary.

【0042】そして、ウォータマーク検出器321は、
評価値算出器により、必要に応じてずらされたウォータ
マークパターンを用いて、それぞれ評価値を算出してい
る。ウォータマーク検出器321は、ここで算出した評
価値を、評価値比較器324により閾値処理して、付随
情報fを出力する。なお、入力された画像データ自体
も、そのまま出力する。画像変換器326(図中点線で
示す)が置かれることもあるが、この理由は既に述べた
とうりである。
Then, the watermark detector 321
Each evaluation value is calculated by the evaluation value calculator using the watermark pattern shifted as necessary. The watermark detector 321 performs a threshold process on the evaluation value calculated here by the evaluation value comparator 324 and outputs accompanying information f. The input image data itself is output as it is. An image converter 326 (shown by a dotted line in the figure) may be provided, for the same reason as described above.

【0043】このような構成からなるウォータマーク検
出器321は、図31に示すように一連の処理により付
随情報fの検出を行っている。
The watermark detector 321 having such a structure detects the accompanying information f by a series of processes as shown in FIG.

【0044】ウォータマーク検出器321は、ステップ
S331において、閾値thの設定を行う。
In step S331, the watermark detector 321 sets the threshold value th.

【0045】そして、ウォータマーク検出器321は、
ステップS322〜ステップS337において、ずらし
量0,i,jのウォータマークパターンを用いたとき
の、現フレームの画像に対するそれぞれの評価値sum
_i,sum_n,sum_jを求めている。このため
に、ウォータマーク検出器321は、ステップS33
3,335,337の各ステップにおいての評価値を算
出するための処理(図32に示す処理であって、以下、
これを「評価値算出処理」と称す。)を行っている。
Then, the watermark detector 321
In steps S322 to S337, each evaluation value sum for the image of the current frame when a watermark pattern having a shift amount of 0, i, j is used.
_I, sum_n, and sum_j. To this end, the watermark detector 321 determines in step S33
The process for calculating the evaluation value in each of the steps 3,335,337 (the process shown in FIG.
This is referred to as “evaluation value calculation processing”. )It is carried out.

【0046】上記評価値算出処理は、図32に示すよう
に、ステップS351において、評価値sumの初期化
を行い、それからステップS352において、ウォータ
マークパターンをずらし量zだけずらす。そして、続く
ステップS353以降の処理では、上記図30を用いて
説明したステップS313〜ステップS316と同様な
処理を行う。
In the evaluation value calculation process, as shown in FIG. 32, in step S351, the evaluation value sum is initialized, and then in step S352, the watermark pattern is shifted by the shift amount z. Then, in the processing after step S353, processing similar to steps S313 to S316 described using FIG. 30 is performed.

【0047】すなわち、ウォータマーク検出器321
は、ステップS352において、ウォータマークパター
ンの領域と等しい大きさの領域を設定し、その領域内の
各画素について上記ずらし量z分ずらしたウォータマー
クパターンとの照合を行い、ステップS353におい
て、ウォータマークのシンボルの判別を行う。ここで、
ウォータマーク検出器321は、その画素のウォータマ
ークのシンボルがプラスである場合には、ステップS3
54に進み、評価値sumにその画素値xを足し、ま
た、その画素のウォータマークのシンボルがマイナスで
ある場合には、ステップS355に進み、評価値sum
からその画素値xを引く。そして、ウォータマーク検出
器321は、ステップS356において、対象領域の全
画素について処理を行ったか否かの判別処理を行い、こ
こで、全画素について処理を行っていないことを確認し
た場合には、上記ステップS352に戻り再び上記照合
等の処理を行い、対象領域の全画素について処理を繰り
返す。このようにウォータマーク検出器321は、この
評価値算出処理により算出している。
That is, the watermark detector 321
In step S352, an area having the same size as the area of the watermark pattern is set, and each pixel in the area is compared with the watermark pattern shifted by the shift amount z. In step S353, the watermark is set. Is determined. here,
If the watermark symbol of the pixel is positive, the watermark detector 321 determines in step S3
The process proceeds to 54, where the pixel value x is added to the evaluation value sum. If the watermark symbol of the pixel is negative, the process proceeds to step S355, where the evaluation value sum is calculated.
From the pixel value x. Then, in step S356, the watermark detector 321 performs determination processing as to whether or not processing has been performed for all pixels in the target area. If it is confirmed that processing has not been performed for all pixels, Returning to step S352, the above-described processing such as the collation is performed again, and the processing is repeated for all the pixels in the target area. As described above, the watermark detector 321 calculates by the evaluation value calculation process.

【0048】このような評価値算出処理により、ウォー
タマーク検出器321は、ステップS332及びステッ
プS333において、ずらし量0における評価値sum
_nを求め、続いて、ステップS334及びステップS
335において、ずらし量z=iのウォータマークパタ
ーンを用いたときの評価値sum_iを求める。そし
て、上記ずらし量z=iにおける評価値sum_iを求
めたウォータマーク検出器321は、最後に、ステップ
S336及びステップS337において、ずらし量z=
jのウォータマークパターンを用いたときの評価値su
m_jを求める。
By such an evaluation value calculation process, the watermark detector 321 performs the evaluation value sum at the shift amount 0 in steps S332 and S333.
_N, followed by step S334 and step S334.
At 335, an evaluation value sum_i when a watermark pattern having a shift amount z = i is used is determined. Then, the watermark detector 321 that has obtained the evaluation value sum_i at the shift amount z = i finally has the shift amount z = i determined in steps S336 and S337.
evaluation value su when the watermark pattern of j is used
Find m_j.

【0049】なお、ここで、ウォータマークパターンを
ずらす際には、図34に示すような処理によって行う。
すなわち、ウォータマークパターンが、図34中(A)
に示すように構成されている場合において、図34中
(B)に示すように画像を走査するときに、例えば図3
4中(C)に示すように、画像の走査順に従ってずらし
て処理を行っている。また、このときにずらす単位は、
1画素単位に限らず、任意の領域の単位でずらしても良
い。ずらし量はi>0,j<0,|i|=|j|のよう
に、ずらし量0を中心に前後に同じ量だけずらす方が良
いが、任意のずらし量でも構わない。
Here, when the watermark pattern is shifted, a process as shown in FIG. 34 is performed.
That is, the watermark pattern is shown in FIG.
When the image is scanned as shown in FIG. 34 (B) in the configuration shown in FIG.
As shown in (C) of FIG. 4, the processing is performed while being shifted according to the scanning order of the image. The unit to be shifted at this time is
The shift is not limited to one pixel unit, but may be shifted in an arbitrary region unit. The shift amount is preferably shifted by the same amount before and after the shift amount 0 as in the case of i> 0, j <0, | i | = | j |, but any shift amount may be used.

【0050】なお、ウォータマークパターンをずらして
評価値を求めるのは、次のような理由による。
The reason why the evaluation value is obtained by shifting the watermark pattern is as follows.

【0051】例えば、M系列を用いてウォータマークパ
ターンを生成した場合、0又は周期分以外の位置(位
相)でそのパターンを任意にずらしたウォータマークパ
ターンとの相関は非常に低くなる。言い換えれば、付加
したときのウォータマークパターンに対して少しでもず
らしたウォータマークパターンを用いて検出を行うと、
評価値のバイアス成分はほぼ0となり、付随情報を付加
しなかった場合の評価値とほぼ同じ値となる。例えば図
24においては、評価値のバイアス成分 (4n)^2
はほぼ0になる。そのため、ウォータマークパターンを
ずらして求めた評価値は、ウォータマークパターンが付
加されていない場合の標準的な評価値とほぼ等しいとみ
なすことができる。それらの評価値とずらし量0の場合
の評価値とを比較することにより、相対的評価基準を利
用できるため、付随情報の検出を容易に行うことができ
る。この方法により、付随情報が埋め込まれていない場
合の評価値がほぼ0となるような、充分に広い領域の
ウォータマークパターン(M系列なら、高次の系列)を
用いなくても、狭い領域の ウォータマークパターン
(M系列なら、低次の系列)を用いるだけで、付随情報
の検出を確実に行うことができるようになっている。
For example, when a watermark pattern is generated using an M-sequence, the correlation with a watermark pattern obtained by arbitrarily shifting the pattern at a position (phase) other than 0 or a period becomes very low. In other words, if detection is performed using a watermark pattern slightly shifted from the watermark pattern at the time of addition,
The bias component of the evaluation value is almost 0, which is almost the same as the evaluation value when no additional information is added. For example, in FIG. 24, the bias component of the evaluation value (4n) ^ 2
Becomes almost zero. Therefore, the evaluation value obtained by shifting the watermark pattern can be regarded as substantially equal to the standard evaluation value when no watermark pattern is added. By comparing those evaluation values with the evaluation value when the shift amount is 0, the relative evaluation criterion can be used, so that the accompanying information can be easily detected. By this method, a sufficiently large area such that the evaluation value when the accompanying information is not embedded is almost 0 is obtained.
Even if a watermark pattern (M-sequence is a higher-order sequence) is not used, it is possible to reliably detect incidental information only by using a watermark pattern in a narrow area (M-sequence is a lower-order sequence). I can do it.

【0052】ウォータマーク検出器321は、このよう
なことから3つの評価値sum_n,sum_i,su
m_jを相対的に評価することにより、上記図31に示
す付随情報の検出を行っている。
The watermark detector 321 has three evaluation values sum_n, sum_i, su
By relatively evaluating m_j, the accompanying information shown in FIG. 31 is detected.

【0053】すなわち、ウォータマーク検出器321
は、図31に示すステップS339において、評価値s
um_i及び評価値sum_jの平均の値sum_av
e=(sum_i+sum_j)/2を求める。そし
て、続くステップS339において、ウォータマーク検
出器321は、この値sum_aveを標準的な評価値
として実際の評価値(ずらし量0の評価値)sum_n
との差分の絶対値|sum_n−sum_ave|を求
める。ここで、ウォータマーク検出器321は、その差
が閾値thよりも大きい場合には、ステップS340に
進み、ずらし位相rでは付随情報が付加されているとみ
なして付随情報fをonにして、そうでない場合には、
ステップS341に進み、付随情報fをoffにする。
That is, the watermark detector 321
Is the evaluation value s in step S339 shown in FIG.
Average value sum_av of um_i and evaluation value sum_j
e = (sum_i + sum_j) / 2 is obtained. Then, in the subsequent step S339, the watermark detector 321 sets this value sum_ave as a standard evaluation value and sets the actual evaluation value (evaluation value of the shift amount 0) sum_n.
And the absolute value | sum_n-sum_ave | Here, if the difference is larger than the threshold th, the watermark detector 321 proceeds to step S340, deems that the accompanying information has been added at the shift phase r, and turns on the accompanying information f. If not,
Proceeding to step S341, the associated information f is turned off.

【0054】例えば、上述の3つの評価値により相対的
に評価する例を、図35のように示すことができる。こ
の図35に示すように、ウォータマークを付加した場
合、ずらし量−1,0,1での評価値は評価値A,su
m_embed,Bになり、また、ウォータマークを付
加しない場合には、同様に評価値は評価値A,sum_
non,Bになる。
For example, FIG. 35 shows an example in which the above three evaluation values are used for relative evaluation. As shown in FIG. 35, when a watermark is added, the evaluation value at the shift amount of −1, 0, 1 is the evaluation value A, su
m_embed, B, and when no watermark is added, similarly, the evaluation value is the evaluation value A, sum_
non, B.

【0055】ここで、標準的な評価値sum_ave=
(A+B)/2(図中●印)とずらし量0におけるウォ
ータマークの付加/非付加の評価値とを比べると、ウォ
ータマーク付加時は評価値sum_embed(図中○
印)との比較になるのでその差が大きくなり、ウォータ
マーク非付加時はsum_non(図中×印)との比較
になるのでその差が小さくなる。よって、上記標準的な
評価値sum_aveとの差を閾値処理することによ
り、付随情報の抽出が可能となるのがわかる。
Here, the standard evaluation value sum_ave =
Comparing (A + B) / 2 (indicated by ● in the figure) with the evaluation value of adding / non-adding a watermark at a shift amount of 0, the evaluation value sum_embed (in the figure, circled)
), The difference becomes larger, and when no watermark is added, the difference becomes smaller because it is compared with sum_non (marked in the figure). Therefore, it can be seen that by performing threshold processing on the difference from the standard evaluation value sum_ave, it is possible to extract accompanying information.

【0056】なお、現フレームの画像に対する標準的な
評価値は、次のような処理方法により求めることができ
る。
The standard evaluation value for the image of the current frame can be obtained by the following processing method.

【0057】例えばメディアンフィルタのようなフィル
タを掛け、3つの評価値sum_n,sum_i,su
m_jに対し、現フレームの画像に対する標準的な評価
値sum_medを求めている。ここで、メディアンフ
ィルタとは、入力した数値列を大きい順或いは小さい順
に並べ直した後で、真中の位置の値を返すフィルタであ
る。すなわち、例えば71,8,−345,68,−2
という5つの数値が入力された場合、メディアンフィル
タは、−345,−2,8,68,71のように並べ換
えを行い、この結果として8を返す。このようにして求
めた標準的な評価値sum_medと実際の評価値su
m_nとの差分の絶対値を求め、その差が閾値thより
も大きい場合には、付随情報が付加されているとみなし
て付随情報fをonにする。そうでない場合には、付随
情報fをoffにする。
For example, a filter such as a median filter is applied, and three evaluation values sum_n, sum_i, su
For m_j, a standard evaluation value sum_med for the image of the current frame is obtained. Here, the median filter is a filter that returns the value at the center position after rearranging the input numerical value sequence in ascending or descending order. That is, for example, 71,8, -345,68, -2
When the five numerical values are input, the median filter performs rearrangement as -345, -2, 8, 68, and 71, and returns 8 as a result. The standard evaluation value sum_med thus obtained and the actual evaluation value su
The absolute value of the difference from m_n is obtained. If the difference is larger than the threshold th, it is determined that the accompanying information has been added, and the accompanying information f is turned on. Otherwise, the associated information f is turned off.

【0058】また、この他にも、任意の単一の位相の評
価値をそのまま利用しても良いし、複数の評価値のうち
全部或いは一部に対する平均値、最大値、最小値などを
求めて利用するというように、どのような処理方法を用
いて標準的な評価値を求めても構わない。これには、例
えば−2及び−1ずらした場合の評価値の推移から、ず
らし量0の場合の評価値を予測或いは外挿するというよ
うな、より複雑な処理方法も含まれている。
In addition, an evaluation value of an arbitrary single phase may be used as it is, or an average value, a maximum value, a minimum value, etc. of all or some of a plurality of evaluation values may be obtained. For example, a standard evaluation value may be obtained by using any processing method. This includes a more complicated processing method such as estimating or extrapolating an evaluation value when the shift amount is 0 from a transition of the evaluation value when the shift is −2 or −1.

【0059】[0059]

【発明が解決しようとする課題】ところで、画像データ
に付随する情報をその画像データ中に付加する上述の方
法では、検出時に次のような問題が発生する。
In the above-described method of adding information accompanying image data to the image data, the following problem occurs at the time of detection.

【0060】画像データに付随した情報を検出する際
は、付加した場合のある特定のパターン、(上述した説
明ではウォータマークパターン)に従って、各画素値を
処理し評価値を算出する。ところが、一般に画素値は正
の値であり、検出時は平均的に0ではない正の値を処理
して評価値を算出することになる。そのため、各画素値
が評価値に与える影響は大きく、ウォータマークパター
ンの系列の長さが短い場合には、誤検出の可能性が高く
なる。
When detecting information attached to image data, each pixel value is processed according to a specific pattern to which information is added (a watermark pattern in the above description) to calculate an evaluation value. However, the pixel value is generally a positive value, and a positive value that is not zero on average is processed at the time of detection to calculate an evaluation value. Therefore, the influence of each pixel value on the evaluation value is large, and the possibility of erroneous detection increases when the length of the watermark pattern series is short.

【0061】すなわち、例えば、上述したMPEG等の
高能率符号化では、輝度信号Y、色差信号Cb,Crは
どれも0〜255の範囲で量子化されている。評価値を
算出する際には、平均的に128の各画素値を処理する
ことになり、評価値は平均的に128の変動を繰り返
す。例えば、系列の長さが100で、プラスのシンボル
の個数がマイナスよりも2個だけ多い場合には、評価値
は128×2で約+256分だけずれてくる。これによ
り、上述したような例のように一つのシンボルで±1の
付加を行っていた場合では、全体では+100の付加し
かできないが、上述したように約+256分だけずれて
しまうような従来の方式では、検出精度は低くなってし
まう。
That is, for example, in the above-described high-efficiency coding such as MPEG, the luminance signal Y and the color difference signals Cb and Cr are all quantized in the range of 0 to 255. When calculating the evaluation value, each pixel value of 128 is processed on average, and the evaluation value repeats 128 fluctuations on average. For example, when the sequence length is 100 and the number of plus symbols is two more than minus, the evaluation value is 128 × 2 and is shifted by about +256 minutes. As a result, in the case where ± 1 is added to one symbol as in the example described above, only +100 can be added as a whole, but as described above, there is a difference of about +256 minutes in the conventional art. In the method, the detection accuracy is low.

【0062】そこで、本発明は、上述した実情に鑑みて
なされたものであって、画像データに付加されているウ
ォータマークを検出するための評価値の検出精度の高い
画像データ処理装置及び方法、並びに記録装置及び方法
を提供することを目的としている。
Therefore, the present invention has been made in view of the above-described circumstances, and has an image data processing apparatus and method which has high detection accuracy of an evaluation value for detecting a watermark added to image data. And a recording apparatus and method.

【0063】[0063]

【課題を解決するための手段】本発明に係る画像データ
処理装置は、上述した課題を解決するために、付随情報
のパターンを出力する付随情報出力手段と、入力された
画像データにおいて近傍の画素との間の画素値の差分値
を算出する差分値算出手段と、付随情報出力手段より出
力された付随情報のパターンと差分値とに基づいて、評
価値を演算する評価値演算手段と、評価値に基づいて付
随情報の検出を行う付随情報検出手段とを備える。
In order to solve the above-mentioned problems, an image data processing apparatus according to the present invention has an additional information output means for outputting a pattern of additional information, and a nearby pixel in input image data. A difference value calculating means for calculating a difference value between pixel values between the two, and an evaluation value calculating means for calculating an evaluation value based on a pattern and a difference value of the accompanying information output from the accompanying information output means; An incidental information detecting means for detecting incidental information based on the value.

【0064】このような構成を有する画像データ処理装
置は、付随情報出力手段より出力された付随情報のパタ
ーンと、差分値算出手段により算出した差分値とに基づ
いて、評価値演算手段により評価値を得る。そして、画
像データ処理装置は、付随情報検出手段により、この評
価値に基づいて付随情報を検出する。
The image data processing apparatus having the above-described configuration provides an evaluation value calculating unit based on the pattern of the accompanying information output from the accompanying information output unit and the difference value calculated by the difference value calculating unit. Get. Then, the image data processing device detects accompanying information based on the evaluation value by the accompanying information detecting means.

【0065】そして、画像データ処理装置は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っている。
The image data processing device detects accompanying information based on an evaluation value obtained from a difference value between a neighboring pixel having a high correlation and a neighboring pixel.

【0066】また、本発明に係る画像データ処理方法
は、上述した課題を解決するために、付随情報のパター
ンを出力する付随情報出力工程と、入力された画像デー
タにおいて近傍の画素との間の画素値の差分値を算出す
る差分値算出工程と、付随情報出力工程において出力さ
れた付随情報のパターンと差分値とに基づいて、評価値
を演算する評価値演算工程と、評価値に基づいて付随情
報の検出を行う付随情報検出工程とを有する。
Further, in order to solve the above-mentioned problem, the image data processing method according to the present invention includes a step of outputting an accompanying information pattern and a step of outputting an accompanying information pattern between neighboring pixels in the input image data. A difference value calculating step of calculating a difference value between pixel values, an evaluation value calculating step of calculating an evaluation value based on a pattern and a difference value of the incidental information output in the incidental information output step, And an incidental information detecting step of detecting incidental information.

【0067】この画像データ処理方法は、付随情報出力
工程において出力された付随情報のパターンと、差分値
算出工程において算出した差分値とに基づいて、評価値
演算手段において評価値を得る。そして、画像データ処
理装置は、付随情報検出手段により、この評価値に基づ
いて付随情報を検出する。
According to this image data processing method, an evaluation value is obtained by the evaluation value calculation means based on the pattern of the accompanying information output in the accompanying information output step and the difference value calculated in the difference value calculating step. Then, the image data processing device detects accompanying information based on the evaluation value by the accompanying information detecting means.

【0068】そして、画像データ処理方法は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っている。
In the image data processing method, accompanying information is detected based on an evaluation value obtained from a difference value between neighboring pixels having a high correlation.

【0069】また、本発明に係る記録装置は、上述した
課題を解決するために、付随情報のパターンを出力する
付随情報出力手段と、入力された画像データにおいて近
傍の画素との間の画素値の差分値を算出する差分値算出
手段と、付随情報出力手段より出力された付随情報のパ
ターンと差分値とに基づいて、評価値を演算する評価値
演算手段と、評価値に基づいて付随情報の検出を行う付
随情報検出手段と、付随情報検出手段の検出結果に応じ
て記録媒体への入力された画像データの記録制御を行う
記録制御手段と備える。
Further, in order to solve the above-mentioned problem, the recording apparatus according to the present invention includes a supplementary information output means for outputting a pattern of supplementary information, and a pixel value between neighboring pixels in input image data. Difference value calculating means for calculating a difference value of the evaluation information, evaluation value calculation means for calculating an evaluation value based on the pattern of the accompanying information output from the accompanying information output means and the difference value, and associated information based on the evaluation value. And a recording control unit that controls the recording of the image data input to the recording medium in accordance with the detection result of the incidental information detecting unit.

【0070】このような構成を有する記録装置は、付随
情報出力手段より出力された付随情報のパターンと、差
分値算出手段により算出した差分値とに基づいて、評価
値演算手段により評価値を得る。そして、記録装置は、
付随情報検出手段により、この評価値に基づいて付随情
報を検出する。さらに、記録装置は、記録制御手段によ
り、付随情報検出手段の検出結果に応じて入力された画
像データを記録媒体に記録する。
In the recording apparatus having such a configuration, an evaluation value is obtained by the evaluation value calculation means based on the pattern of the additional information output from the additional information output means and the difference value calculated by the difference value calculation means. . And the recording device,
The accompanying information detecting means detects the accompanying information based on the evaluation value. Further, the recording device records, on the recording medium, the image data input according to the detection result of the accompanying information detecting means by the recording control means.

【0071】そして、記録装置は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っている。
The recording apparatus detects accompanying information based on an evaluation value obtained from a difference value between a neighboring pixel having a high correlation.

【0072】また、本発明に係る記録方法は、上述した
課題を解決するために、付随情報のパターンを出力する
付随情報出力工程と、入力された画像データにおいて近
傍の画素との間の画素値の差分値を算出する差分値算出
工程と、付随情報出力工程において出力された付随情報
のパターンと差分値とに基づいて、評価値を演算する評
価値演算工程と、評価値に基づいて付随情報の検出を行
う付随情報検出工程と、付随情報検出工程の検出結果に
応じて記録媒体への入力された画像データの記録制御を
行う記録制御工程とを有する。
According to the recording method of the present invention, in order to solve the above-described problem, an additional information output step of outputting a pattern of additional information, and a method of outputting a pixel value between neighboring pixels in input image data. A difference value calculation step of calculating a difference value of the evaluation information; an evaluation value calculation step of calculating an evaluation value based on the pattern and the difference value of the additional information output in the additional information output step; and additional information based on the evaluation value. And a recording control step of controlling the recording of the image data input to the recording medium in accordance with the detection result of the incidental information detecting step.

【0073】この記録方法は、付随情報出力工程におい
て出力された付随情報のパターンと、差分値算出手段に
おいて算出した差分値とに基づいて、評価値演算手段に
より評価値を得る。そして、記録方法は、付随情報検出
工程により、この評価値に基づいて付随情報を検出す
る。さらに、記録方法は、記録制御工程により、付随情
報検出手段の検出結果に応じて入力された画像データを
記録媒体に記録する。
In this recording method, an evaluation value is obtained by the evaluation value calculation means based on the pattern of the additional information output in the additional information output step and the difference value calculated by the difference value calculation means. Then, in the recording method, in the accompanying information detecting step, the accompanying information is detected based on the evaluation value. Further, in the recording method, in the recording control step, the input image data is recorded on the recording medium according to the detection result of the accompanying information detecting means.

【0074】そして、記録方法は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っている。
In the recording method, incidental information is detected based on an evaluation value obtained from a difference value between neighboring pixels having a high correlation.

【0075】また、本発明に係る画像データ処理装置
は、上述した課題を解決するために、付随情報の互いに
位相の異なる複数のパターンを出力する付随情報出力手
段と、入力された画像データにおいて近傍の画素との間
の画素値の差分値を算出する差分値算出手段と、付随情
報出力手段から出力された位相の異なる複数の付随情報
のパターンと差分値とに基づいて、評価値を演算する評
価値演算手段と、評価値演算手段により得た複数の評価
値を比較することにより、付随情報の検出を行う付随情
報検出手段とを備える。
Further, in order to solve the above-mentioned problem, the image data processing apparatus according to the present invention comprises: an auxiliary information output unit for outputting a plurality of patterns of auxiliary information having mutually different phases; Calculating an evaluation value based on a difference value calculating means for calculating a difference value of a pixel value between the pixel and a plurality of incidental information patterns having different phases output from the incidental information output means and the differential value. An evaluation value calculation means is provided, and an associated information detection means for detecting the associated information by comparing a plurality of evaluation values obtained by the evaluation value calculation means.

【0076】このような構成を有する画像データ処理装
置は、付随情報出力手段から出力された位相の異なる複
数の付随情報のパターンと、差分値算出手段により算出
した差分値に基づいて、評価値演算手段により評価値を
得る。そして、画像データ処理装置は、付随情報検出手
段により、複数の評価値に基づいて付随情報を検出す
る。
The image data processing apparatus having such a configuration can calculate an evaluation value based on a plurality of patterns of accompanying information having different phases output from the accompanying information output means and the difference value calculated by the difference value calculating means. An evaluation value is obtained by means. Then, the image data processing device detects the accompanying information based on the plurality of evaluation values by the accompanying information detecting means.

【0077】そして、画像データ処理装置は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っている。
Then, the image data processing device detects accompanying information based on an evaluation value obtained from a difference value between neighboring pixels having a high correlation.

【0078】また、本発明に係る画像データ処理方法
は、上述した課題を解決するために、付随情報の互いに
位相の異なる複数のパターンを出力する付随情報出力工
程と、入力された画像データにおいて近傍の画素との間
の画素値の差分値を算出する差分値算出工程と、付随情
報出力工程において出力された位相の異なる複数の付随
情報のパターンと差分値とに基づいて、評価値を演算す
る評価値演算工程と、評価値演算工程により得た複数の
評価値を比較することにより、付随情報の検出を行う付
随情報検出工程とを有する。
Further, in order to solve the above-mentioned problem, the image data processing method according to the present invention further comprises: an additional information output step of outputting a plurality of patterns of the additional information having different phases; An evaluation value is calculated based on a difference value calculation step of calculating a difference value of a pixel value between the pixel and a plurality of associated information patterns having different phases and a difference value output in the associated information output step. The method includes an evaluation value calculating step and an incidental information detecting step of detecting incidental information by comparing a plurality of evaluation values obtained in the evaluation value calculating step.

【0079】この画像データ処理方法は、付随情報出力
工程において出力された位相の異なる複数の付随情報の
パターンと、差分値算出工程において算出した差分値に
基づいて、評価値演算工程により評価値を得る。そし
て、画像データ処理方法は、付随情報検出工程により、
複数の評価値に基づいて付随情報を検出する。
In this image data processing method, an evaluation value is calculated by an evaluation value calculation step based on a plurality of patterns of auxiliary information output in the additional information output step and having different phases, and the difference value calculated in the difference value calculation step. obtain. Then, the image data processing method includes,
Associated information is detected based on a plurality of evaluation values.

【0080】そして、画像データ処理方法は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っている。
In the image data processing method, accompanying information is detected based on an evaluation value obtained from a difference value between neighboring pixels having a high correlation.

【0081】また、本発明に係る記録装置は、上述した
課題を解決するために、付随情報の互いに位相の異なる
複数のパターンを出力する付随情報出力手段と、入力さ
れた画像データにおいて近傍の画素との間の画素値の差
分値を算出する差分値算出手段と、付随情報出力手段か
ら出力された位相の異なる複数の付随情報のパターンと
差分値とに基づいて、評価値を演算する評価値演算手段
と、評価値演算手段により得た複数の評価値を比較する
ことにより、付随情報の検出を行う付随情報検出手段
と、付随情報検出手段の検出結果に応じて上記記録媒体
への上記入力された画像データの記録制御を行う記録制
御手段と備える。
Further, in order to solve the above-mentioned problem, the recording apparatus according to the present invention comprises: an auxiliary information output means for outputting a plurality of patterns of auxiliary information having mutually different phases; A difference value calculating means for calculating a difference value between pixel values between the two, and an evaluation value for calculating an evaluation value based on a pattern and a difference value of a plurality of pieces of accompanying information having different phases output from the accompanying information output means. A calculating means, an incidental information detecting means for detecting incidental information by comparing a plurality of evaluation values obtained by the evaluation value calculating means, and the input to the recording medium according to a detection result of the incidental information detecting means. Recording control means for controlling the recording of the selected image data.

【0082】このような構成を有する記録装置は、付随
情報出力手段から出力された位相の異なる複数の付随情
報のパターンと、差分値算出手段により算出した差分値
に基づいて、評価値演算手段により評価値を得る。そし
て、記録装置は、付随情報検出手段により、複数の評価
値に基づいて付随情報を検出する。さらに、記録装置
は、記録制御手段により、付随情報検出手段の検出結果
に応じて入力された画像データを記録媒体に記録する。
The recording apparatus having the above-described configuration uses the evaluation value calculating means based on the plurality of patterns of the accompanying information having different phases output from the accompanying information output means and the difference value calculated by the difference value calculating means. Obtain an evaluation value. Then, the recording device detects incidental information based on the plurality of evaluation values by the incidental information detecting means. Further, the recording device records, on the recording medium, the image data input according to the detection result of the accompanying information detecting means by the recording control means.

【0083】そして、記録装置は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っている。
The recording apparatus detects accompanying information based on an evaluation value obtained from a difference value between a neighboring pixel having a high correlation and a neighboring pixel.

【0084】また、本発明に係る記録方法は、上述した
課題を解決するために、付随情報の互いに位相の異なる
複数のパターンを出力する付随情報出力工程と、入力さ
れた画像データにおいて近傍の画素との間の画素値の差
分値を算出する差分値算出工程と、付随情報出力工程に
おいて出力された位相の異なる複数の付随情報のパター
ンと差分値とに基づいて、評価値を演算する評価値演算
工程と、評価値演算工程により得た複数の評価値を比較
することにより、付随情報の検出を行う付随情報検出工
程と、付随情報検出工程の検出結果に応じて上記記録媒
体への上記入力された画像データの記録制御を行う記録
制御工程と有する。
According to the recording method of the present invention, in order to solve the above-mentioned problem, an additional information output step of outputting a plurality of patterns of auxiliary information having different phases from each other includes a step of outputting a plurality of adjacent pixels in the input image data. A difference value calculating step of calculating a difference value of a pixel value between the evaluation value and an evaluation value for calculating an evaluation value based on a pattern and a difference value of a plurality of pieces of incidental information having different phases output in the incidental information output step An additional information detecting step of detecting additional information by comparing a plurality of evaluation values obtained in the calculating step and the evaluation value calculating step, and the input to the recording medium according to a detection result of the additional information detecting step. And a recording control step of performing recording control of the selected image data.

【0085】この記録方法は、付随情報出力工程におい
て出力された位相の異なる複数の付随情報のパターン
と、差分値算出工程において算出した差分値に基づい
て、評価値演算工程により評価値を得る。そして、記録
方法は、付随情報検出工程により、複数の評価値に基づ
いて付随情報を検出する。さらに、記録方法は、記録制
御工程により、付随情報検出工程の検出結果に応じて入
力された画像データを記録媒体に記録する。
According to this recording method, an evaluation value is obtained by an evaluation value calculation step based on a plurality of patterns of auxiliary information having different phases output in the auxiliary information output step and the difference value calculated in the difference value calculation step. Then, the recording method detects incidental information based on the plurality of evaluation values in the incidental information detecting step. Further, in the recording method, the image data input according to the detection result of the incidental information detection step is recorded on the recording medium by the recording control step.

【0086】そして、記録方法は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っている。
In the recording method, incidental information is detected based on an evaluation value obtained from a difference value between neighboring pixels having a high correlation.

【0087】[0087]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を用いて詳しく説明する。この実施の形態は、本
発明に係る画像データ処理処理装置及び方法を、ウォー
タマークが付随情報として埋め込まれている画像データ
を検出するウォータマーク検出器に適用したものであ
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. In this embodiment, an image data processing apparatus and method according to the present invention are applied to a watermark detector that detects image data in which a watermark is embedded as accompanying information.

【0088】先ず第1の実施の形態であるウォータマー
ク検出器の構成について図1を用いて説明する。第1の
実施の形態であるウォータマーク検出器2は、図1に示
すように、ウォータマークのパターンを出力する付随情
報出力手段であるウォータマークパターン保持メモリ3
と、入力された画像データにおいて近傍の画素との間の
画素値の差分値を算出する差分値算出手段である差分算
出器4と、上記ウォータマークパターン保持メモリ3か
ら取り出したウォータマークのパターンと差分値とに基
づいて、評価値を演算する評価値演算手段である評価値
算出器5と、評価値にも基づいてウォータマークの検出
を行う付随情報検出手段である評価値比較器6とを備え
ている。また、ウォータマーク検出器2は、ウォータマ
ークの照合の結果に基づいて入力された画像に処理を施
す画像変換器7を備えている。
First, the configuration of the watermark detector according to the first embodiment will be described with reference to FIG. As shown in FIG. 1, a watermark detector 2 according to the first embodiment has a watermark pattern holding memory 3 as an accompanying information output unit for outputting a watermark pattern.
A difference calculator 4 which is a difference value calculating means for calculating a difference value of a pixel value between neighboring pixels in the input image data, and a watermark pattern extracted from the watermark pattern holding memory 3. An evaluation value calculator 5 that is an evaluation value calculation unit that calculates an evaluation value based on the difference value, and an evaluation value comparator 6 that is an incidental information detection unit that detects a watermark based on the evaluation value. Have. Further, the watermark detector 2 includes an image converter 7 for processing an input image based on the result of the watermark collation.

【0089】上述のような構成を有するウォータマーク
検出器2は、画像データに付加されているウォータマー
クを検出することができる。
The watermark detector 2 having the above-described configuration can detect a watermark added to image data.

【0090】このウォータマーク検出器2は、例えば、
入力された画像データを復号処理するデコーダに備えら
れている。デコーダはこのウォータマーク検出器2を備
えることにより、ウォータマークを検出して、その検出
結果に応じて画像処理を行うことができる。
The watermark detector 2 is, for example,
It is provided in a decoder for decoding input image data. By providing the watermark detector 2, the decoder can detect a watermark and perform image processing according to the detection result.

【0091】デコーダについては、具体的には、従来の
ウォータマーク検出器の説明において用いた図26に示
したようにエンコーダ305と同様に構成されるもので
あって、すなわち、この場合、ウォータマーク検出器3
07に替えて本実施の形態であるウォータマーク検出器
2が適用されることになる。なお、画像データに対する
ウォータマークの付加処理については、図25に示すよ
うなエンコーダ301により行われる。
Specifically, the decoder has the same configuration as the encoder 305 as shown in FIG. 26 used in the description of the conventional watermark detector. That is, in this case, the watermark is used. Detector 3
07, the watermark detector 2 of the present embodiment is applied. The process of adding a watermark to image data is performed by an encoder 301 as shown in FIG.

【0092】上記差分算出器4は、入力された画像デー
タのそれぞれの画素に対する差分値を算出する。ここで
算出された差分値は、評価値算出器5に入力される。
The difference calculator 4 calculates a difference value for each pixel of the input image data. The difference value calculated here is input to the evaluation value calculator 5.

【0093】上記ウォータマークパターン保持メモリ3
は、予めウォータマークが格納される記憶手段であっ
て、上記評価値算出器5は、このウォータマーパターン
保持メモり3に記録されているウォータマークパターン
を用いて、評価値を算出する。ここで算出された評価値
は、評価値比較器6に入力される。
The above-mentioned watermark pattern holding memory 3
Is a storage unit in which a watermark is stored in advance, and the evaluation value calculator 5 calculates an evaluation value using the watermark pattern recorded in the memory 3 for retaining the watermer pattern. The evaluation value calculated here is input to the evaluation value comparator 6.

【0094】評価値比較器6は、評価値を閾値処理し
て、付随情報fを出力する。
The evaluation value comparator 6 performs threshold processing on the evaluation value and outputs accompanying information f.

【0095】なお、入力された画像データは、通常、そ
のまま出力されるが、画像変換器7は、必要に応じて入
力された画像データを加工又は処理する機能を有してい
る。例えば、画像を表示する画像表示部において、付随
情報fがonである場合にはそのまま画像を表示する
が、付随情報fがoffである場合には、例えば画像を
表示しない、画像データの主要領域を表示しない、画像
にスクランブルを掛ける(受けとった画像データをでた
らめに表示する)等の加工或いは処理を行う。この画像
変換器7は、このように付随情報fに応じて画像データ
の加工又は処理を行う部分である。
The input image data is normally output as it is, but the image converter 7 has a function of processing or processing the input image data as needed. For example, in the image display unit that displays an image, if the accompanying information f is on, the image is displayed as it is, but if the accompanying information f is off, for example, the image is not displayed. , And processing or processing such as scrambling the image (randomly displaying the received image data). The image converter 7 is a part that processes or processes image data according to the accompanying information f as described above.

【0096】このような構成を有するウォータマーク検
出器2は、付随情報の検出処理を、図2に示すように、
一連の処理により実行している。
The watermark detector 2 having such a configuration performs the detection processing of the accompanying information as shown in FIG.
It is executed by a series of processing.

【0097】ウォータマーク検出器2は、ステップS1
において、評価値sumの初期化及び閾値thの設定を
行う。
[0097] The watermark detector 2 performs step S1.
In, the evaluation value sum is initialized and the threshold value th is set.

【0098】続いて、ウォータマーク検出器2は、ステ
ップS2において、ウォータマークパターンの領域と等
しい大きさの領域を設定し、その領域内の各画素につい
てウォータマークパターンとの照合を行い、ステップS
3において、その照合を行った画素Xに対する差分値x
dを求める。
Subsequently, in step S2, the watermark detector 2 sets an area having the same size as the area of the watermark pattern, and compares each pixel in the area with the watermark pattern.
3, the difference value x with respect to the pixel X subjected to the comparison
Find d.

【0099】そして、ウォータマーク検出器2は、ステ
ップS4において、ウォータマークのシンボルの判別を
行う。ここで、ウォータマーク検出器2は、その画素の
ウォータマークのシンボルがプラスである場合には、ス
テップS5に進み、評価値sumにその差分値xdを足
し、また、その画素のウォータマークのシンボルがマイ
ナスである場合には、ステップS6に進み、評価値su
mからその差分値xdを引く。
Then, in step S4, the watermark detector 2 determines the symbol of the watermark. Here, if the watermark symbol of the pixel is positive, the watermark detector 2 proceeds to step S5, adds the difference value xd to the evaluation value sum, and outputs the watermark symbol of the pixel. Is negative, the process proceeds to step S6, where the evaluation value su
The difference value xd is subtracted from m.

【0100】それからウォータマーク検出器2は、ステ
ップS7において、対象領域の全画素について処理を行
ったか否かの判別処理を行い、ここで、全画素について
処理を行っていないことを確認した場合には、上記ステ
ップS2に戻り再び上記照合等の処理を行い、対象領域
の全画素について処理を繰り返す。
Then, in step S7, the watermark detector 2 determines whether or not processing has been performed on all the pixels in the target area. If it is confirmed that the processing has not been performed on all the pixels, Returns to step S2, performs the above-described processing such as the collation again, and repeats the processing for all the pixels in the target area.

【0101】全画素について上述した処理を行った後、
ウォータマーク検出器2は、ステップS8において、評
価値sum>閾値thとして閾値thに対して評価値s
umを比較する。ここでウォータマーク検出器2は、評
価値sum>閾値thである場合には、ステップS9に
進み、画像データに付随情報が付加されているとみなし
て付随情報fをon(付随情報fが存在している)にし
て、また、そうでない場合には、ステップS10に進
み、付随情報fをoff(付随情報fが存在していな
い)にする。ここで検出された付随情報fに基づいて、
従来と同様に、例えば不正コピーの防止処理がなされ
る。
After performing the above-described processing for all the pixels,
In step S8, the watermark detector 2 sets the evaluation value sum> the threshold th to the evaluation value s with respect to the threshold th.
Compare um. Here, if the evaluation value sum> threshold th, the watermark detector 2 proceeds to step S9, considers that the additional information is added to the image data, and turns on the additional information f (the additional information f is present). If not, the process proceeds to step S10, where the associated information f is turned off (the associated information f does not exist). Based on the accompanying information f detected here,
As in the related art, for example, an illegal copy prevention process is performed.

【0102】以上のように本発明が適用された上記ウォ
ータマーク検出器2は、評価値に基づいて付随情報の検
出処理を行っているが、従来例の処理と比べると、評価
値sumを算出する際、対象の画素Xそのもの画素値x
を用いるのではなく、画素Xの差分値xdを算出して用
いる点で異なっている。
As described above, the watermark detector 2 to which the present invention is applied performs the detection processing of the accompanying information based on the evaluation value, but calculates the evaluation value sum as compared with the processing of the conventional example. The target pixel X itself, the pixel value x
Is used instead of calculating the difference value xd of the pixel X.

【0103】ウォータマーク検出器2は、上述のような
構成により、差分値を用いて評価値を算出しているの
で、画像データの個々の値が評価値に与える影響を小さ
くすることができる。これにより、ウォータマーク検出
器2は、付随情報の検出精度を高くすることができるの
で、確実は付随情報の検出が可能になる。
Since the watermark detector 2 calculates the evaluation value using the difference value in the above-described configuration, the influence of each value of the image data on the evaluation value can be reduced. Thereby, the watermark detector 2 can increase the detection accuracy of the incidental information, so that the incidental information can be reliably detected.

【0104】すなわち、具体的には、上述したように、
従来においては、0〜255の範囲で量子化されている
各画素値について、近隣の画素値との差分をとると、値
の範囲自体は−255〜255に広がってしまう。しか
し、一般的に画像では近隣の画素値の相関が高いため、
差分値は平均的に0になる。よって、例えば、系列の長
さが100で、プラスのシンボルの個数がマイナスより
も2個だけ多い場合でも、評価値のずれは約±0にな
る。一つのシンボルで±1の付加を行なっていた場合、
全体で+100の付加量があれば、従来よりも高い検出
精度を得ることができることになる。
That is, specifically, as described above,
Conventionally, for each pixel value quantized in the range of 0 to 255, if a difference between the pixel value and a neighboring pixel value is taken, the range of the value itself will be expanded to −255 to 255. However, in general, the correlation between neighboring pixel values is high in an image,
The difference value becomes 0 on average. Therefore, for example, even when the sequence length is 100 and the number of plus symbols is two more than minus, the deviation of the evaluation value is about ± 0. If ± 1 is added for one symbol,
If there is an additional amount of +100 as a whole, it is possible to obtain higher detection accuracy than before.

【0105】なお、画素Xに対する差分値xdの計算方
法については、次のような例が挙げられる。
The following example is given as a method of calculating the difference value xd for the pixel X.

【0106】差分値xdを求める第1の計算方法には、
画素Xと同じ垂直座標に位置する画素との差分(以下、
横差分と称する。)によりを求める方法がある。
The first calculation method for obtaining the difference value xd includes:
The difference between the pixel X and the pixel located at the same vertical coordinate (hereinafter, the difference is
This is referred to as a lateral difference. ).

【0107】すなわち、例えば、画素Xの左隣に位置す
る画素XLと差分をとることにして、差分値xd=XL
−Xを得る。なお、差分値xd=X−XLとすることに
しても良い。
That is, for example, by taking a difference from the pixel XL located on the left of the pixel X, the difference value xd = XL
Get -X. Note that the difference value xd = X-XL may be set.

【0108】また、差分を求める対象は、左隣に限定さ
れる必要はなく、n個だけ左に位置する画素XLnとの
差分を用いても良い。この場合、差分値xd=XLn−
Xとなる。または、差分値xd =X−XLnとなる。も
ちろん、画素Xの右側に位置する画素と差分をとること
にしても良い。
The object for obtaining the difference does not need to be limited to the left side, and a difference from n pixels XLn located on the left side may be used. In this case, the difference value xd = XLn−
X. Alternatively, the difference value xd = X−XLn. Of course, a difference from the pixel located on the right side of the pixel X may be determined.

【0109】次に、第2の計算方法には、画素Xと同じ
水平座標に位置する画素との差(以下、縦差分と称す
る。)を求める方法がある。例えば、画素Xの上隣に位
置する画素XUと差分をとることにして、差分値xd=
XU−Xを得る。なお、差分値xd=X−XUdとする
ことにしても良い。
Next, as a second calculation method, there is a method of calculating a difference between a pixel X and a pixel located at the same horizontal coordinate (hereinafter, referred to as a vertical difference). For example, by taking a difference from the pixel XU located on the upper side of the pixel X, a difference value xd =
XU-X is obtained. Note that the difference value xd may be set to X−XUd.

【0110】また、差分を求める対象は、上隣に限定さ
れる必要はなく、n個だけ上に位置する画素XUnとの
差分を用いても良い。すなわち、この場合、差分値xd
=XUn−Xとなる。または、差分値xd=X−XUn
となる。もちろん、画素Xの下側に位置する画素と差分
をとることにしても良い。
The object for which the difference is to be obtained does not need to be limited to the upper neighbor, and a difference from the pixel XUn located n pixels above may be used. That is, in this case, the difference value xd
= XUn-X. Or, the difference value xd = X−XUn
Becomes Of course, the difference from the pixel located below pixel X may be determined.

【0111】第3の計算方法としては、差分を求める対
象を、垂直座標か水平座標が同じでないものとして求め
る方法がある。
As a third calculation method, there is a method in which a difference is calculated on the assumption that the vertical coordinate or the horizontal coordinate is not the same.

【0112】例えば、画素Xの座標位置から、上に3画
素、右に12画素離れた画素との差分をとるようにして
も良い。
For example, the difference between the coordinate position of the pixel X and the pixel 3 pixels upward and 12 pixels to the right may be calculated.

【0113】なお、上述したような計算方法以外にも、
画像の上下左右の端の方に画素が位置された場合に差分
対象となる画素が画像の外側位置に存在する場合を考慮
して計算方法もある(第4の計算方法)。この場合、差
分値xdを任意の値に設定する。例えば、この場合は差
分値が計算できないと判定し、差分値xd=0としても
良い。または、上述したような計算方法の何らかを用い
て、差分対象となる画素を構成しても良い。さらに、こ
のように対象とされる画素が画像の外側に位置される場
合に、画像を周期化する方法を用いて差分値を求めるこ
ともできる。例えば、左隣の画素を用いて差分値を求め
る場合について考えると、画素Xの座標(y,x)が
(5,0)のとき、差分対象となる左隣の画素XLは座
標(5,−1)となり、画素XLは画像の外側に位置す
ることになる。そこで、画像の水平方向の画素数NHを
画素XLの水平成分に加える周期化を行い、座標(5,
NH−1)に位置する画素を用いる。もちろん、これ以
外の方法によって、差分対象となる画素を構成しても構
わない。
In addition to the calculation method described above,
There is also a calculation method in consideration of a case where a pixel to be subtracted exists at a position outside the image when the pixel is located at the upper, lower, left, or right end of the image (fourth calculation method). In this case, the difference value xd is set to an arbitrary value. For example, in this case, it is determined that the difference value cannot be calculated, and the difference value xd = 0 may be set. Alternatively, the pixel to be subtracted may be configured by using any of the calculation methods as described above. Furthermore, when the target pixel is located outside the image, a difference value can be obtained by using a method of cycling the image. For example, considering the case where the difference value is obtained using the pixel on the left side, when the coordinates (y, x) of the pixel X are (5, 0), the pixel XL on the left side to be a difference object has coordinates (5, 0) -1), and the pixel XL is located outside the image. Therefore, the number of pixels NH in the horizontal direction of the image is periodically added to the horizontal component of the pixel XL, and coordinates (5,
The pixel located at NH-1) is used. Of course, the pixels to be subtracted may be configured by other methods.

【0114】また、第5の計算方法として、次のような
計算方法を用いて、画素Xに対する差分値xdを求めて
ることもできる。
As a fifth calculation method, the difference value xd for the pixel X can be obtained by using the following calculation method.

【0115】まず、上述した横差分と縦差分の両方を用
いて、差分値を求める方法が挙げられる。例えば、画素
X(y,x)に対する差分値xdを求める際には、画素
XL(y,x−1),XU(y−1,x),XUL(y
−1,x−1)の3画素を用いて、差分値 xdを以下
のように求める。
First, there is a method of obtaining a difference value using both the horizontal difference and the vertical difference described above. For example, when calculating the difference value xd for the pixel X (y, x), the pixels XL (y, x-1), XU (y-1, x), XUL (y
Using the three pixels of (−1, x−1), a difference value xd is obtained as follows.

【0116】xd=(XUL−XU)−(XL−X) 複数の画素を用いて差分値を求める方法の例は、これに
限定されることなく次のような算出方法を採ることもで
きる。
Xd = (XUL-XU)-(XL-X) An example of a method of obtaining a difference value using a plurality of pixels is not limited to this, and the following calculation method can be employed.

【0117】例えば横差分なら、画素X0に対する差分
値xdを求める際に、右隣に連続する4つの画素X0
(y,x),X1(y,x+1),X2(y,x+
2),X3(y,x+3)を用いることにしても良い。
この場合、次のような式により各差分値xd1,xd
2,xd3を求める。
For example, in the case of a horizontal difference, when calculating a difference value xd for the pixel X0, four pixels X0 adjacent to the right are used.
(Y, x), X1 (y, x + 1), X2 (y, x +
2), X3 (y, x + 3) may be used.
In this case, each difference value xd1, xd is calculated by the following equation.
2, xd3.

【0118】xd1=X0−X1+X2−X3 xd2=X0−X1−X2+X3 xd3=X0+X1−X2−X3 そして、最終的に得たい差分値xdを、これらの差分値
xd1,xd2,xd3から算出する。例えば、xd
1,xd2,xd3の平均、中間値、0にもっとも近い
値などを得たい差分値xdに決定する。または、これら
の値それぞれに対して個別に評価値を求めるような構成
をとり、評価値を比較する際にそれらを利用することに
しても良い。
Xd1 = X0-X1 + X2-X3 xd2 = X0-X1-X2 + X3 xd3 = X0 + X1-X2-X3 Then, a difference value xd to be finally obtained is calculated from these difference values xd1, xd2, xd3. For example, xd
The difference value xd for which it is desired to obtain an average, an intermediate value of 1, xd2, and xd3, a value closest to 0, and the like. Alternatively, a configuration may be adopted in which evaluation values are individually obtained for these values, and these values may be used when comparing the evaluation values.

【0119】また、画素Xに対する差分値xdを求める
際に、画素X自体を用いなくても良い。この場合には、
例えば、X(y,x)に対する差分値xdを求める際
に、画素XL(y,x−1),XR(y,x+1)を用
い、以下の通り差分値 xd を求める。
When obtaining the difference value xd for the pixel X, the pixel X itself may not be used. In this case,
For example, when obtaining the difference value xd for X (y, x), the difference value xd is obtained as follows using the pixels XL (y, x-1) and XR (y, x + 1).

【0120】 xd=XL(y,x−1)−XR(y,x+1) 差分値xdを求める際に画素X自体を用いない他の例と
しては、さらに、例えば画素Xと同じウォータマークシ
ンボルの画素Xsameと、画素Xと異なるウォータマ
ークシンボルの画素Xdiffから、以下の通り差分値
xdを求める方法もある。
Xd = XL (y, x−1) −XR (y, x + 1) As another example in which the pixel X itself is not used in obtaining the difference value xd, for example, the same watermark symbol as that of the pixel X is used. There is also a method of calculating a difference value xd from a pixel Xsame and a pixel Xdiff of a watermark symbol different from the pixel X as follows.

【0121】xd = Xsame−Xdiff ここで、画素Xsame, Xdiffを選ぶ基準は、例
えば画素位置が画素Xと一番近いもの、又は、画素Xと
値が一番近いものなどにする。
Xd = Xsame-Xdiff Here, the criterion for selecting the pixels Xsame and Xdiff is, for example, a pixel whose pixel position is closest to the pixel X or a pixel whose value is closest to the pixel X.

【0122】上述したように多岐にわたる算出方法によ
り差分値を算出しているが、これは、画像では近隣の画
素値の相関が高いため、画素Xの差分値は平均的に0に
なることを利用している。
As described above, the difference value is calculated by a variety of calculation methods. This is because the correlation between neighboring pixel values is high in an image, and the difference value of pixel X is 0 on average. We are using.

【0123】ところで、画素位置がエッジの境界などに
ある場合、その差分値の絶対値は大きな値となってしま
うことが多く、上述のような算出方法においてさらにこ
のよな現象を考慮しないと、評価値はその差分値によっ
て大きな影響を受けてしまう。
When the pixel position is located at the boundary of an edge or the like, the absolute value of the difference value often becomes large. Unless such a phenomenon is further taken into account in the above-described calculation method, The evaluation value is greatly affected by the difference value.

【0124】このことを避けるために、差分値の絶対値
がある範囲を超える場合には、その差分値を評価値に反
映させないような方法を採る。または、その値をクリッ
ピングしても良い。
In order to avoid this, when the absolute value of the difference value exceeds a certain range, a method is adopted in which the difference value is not reflected on the evaluation value. Alternatively, the value may be clipped.

【0125】具体的には、差分値の絶対値が所定の値ra
ngeとの関係において、|xd|>rangeとなる場合に
は、差分値xdをxd=0に設定する。または、次のよ
うに設定する。
Specifically, the absolute value of the difference value is a predetermined value ra
If | xd |> range in relation to nge, the difference value xd is set to xd = 0. Or, set as follows:

【0126】xd=range (xd≧0) xd=−range (xd<0) なお、上述したクリッピングは、差分値がある値に達し
てときに、所定の値の範囲内に納まるように変換するも
のであるが、この変換を関数変換により行ってもよい。
Xd = range (xd ≧ 0) xd = −range (xd <0) Note that the above-described clipping is performed such that when the difference value reaches a certain value, the difference value falls within a predetermined value range. However, this conversion may be performed by function conversion.

【0127】なお、ウォータマークのシンボルについて
は、プラス、マイナス以外のどのようなシンボルを用い
ることもできる。さらに、ウォータマークのシンボルの
種類についても、2種類ではなく、3種類以上のどのよ
うなシンボルを用いることもできる。例えば、プラス、
ゼロ、マイナスの3種類のシンボルを用意しておき、ウ
ォータマークパターンとの照合を行った際にシンボルが
ゼロである画素については、評価値sumに影響を与え
ない(その画素値を評価値sumに足しも引きもしな
い)ようにするなど、各シンボルにどのような意味を与
える。
It should be noted that any watermark symbol other than plus and minus symbols can be used. Further, as for the types of watermark symbols, not only two types but also three or more types of symbols can be used. For example, plus
Three types of symbols, ie, zero and minus, are prepared, and for a pixel whose symbol is zero when collation with the watermark pattern is performed, the evaluation value sum is not affected (the pixel value is determined by the evaluation value sum). What is the meaning of each symbol?

【0128】また、ウォータマークパターンを画像上に
付加する領域は、任意の形状及び範囲で構わない。
The area where the watermark pattern is added on the image may have any shape and range.

【0129】さらに、付加したウォータマークパターン
との整合が取れている限り、検出時に評価値を求める領
域の形状及び範囲は任意で構わない。さらにウォータマ
ークパターンは、時間的或いは空間的に渡るより広い領
域を用いて、検出を行うことにしても良い。例えば動画
像シーケンスにおいては、時間的な基準を用い、現フレ
ームの時間的位置だけでなく、過去や未来のフレームも
利用して良い。例えば非常に大きな画像サイズを持つ静
止画像においては、1枚の画像をある単位で複数の画像
領域に分割して扱うことにし、空間的な基準を用い、現
在対象としている画像領域に対して、例えば走査順で前
や後に位置する画像領域も利用して良い。
Further, as long as the matching with the added watermark pattern is achieved, the shape and range of the area for which the evaluation value is to be obtained at the time of detection may be arbitrary. Further, the watermark pattern may be detected by using a wider area over time or space. For example, in a moving image sequence, a temporal reference is used, and not only the temporal position of the current frame but also past and future frames may be used. For example, in a still image having a very large image size, one image is divided into a plurality of image areas in a certain unit and handled. For example, image areas located before and after in the scanning order may be used.

【0130】次に、本発明の実施の形態として、ずらし
検出により、画像データにウォータマークとして埋め込
まれている付随情報を検出するウォータマーク検出器に
ついて説明する。すなわち、ここで説明する第2の実施
の形態であるウォータマーク検出器は、ずらし検出に応
じて差分値を用いて評価値を求ている。
Next, as an embodiment of the present invention, a watermark detector for detecting accompanying information embedded as a watermark in image data by detecting displacement will be described. That is, the watermark detector according to the second embodiment described here obtains the evaluation value using the difference value in accordance with the shift detection.

【0131】ここで、差分値を用いてずらし検出を行っ
た場合、評価値がどのようになるかを考えてみる。
Here, what happens to the evaluation value when the shift detection is performed using the difference value will be considered.

【0132】始めに、ウォータマークパターンとして用
いる系列Mに関する性質については次に示のようにな
る。
First, properties regarding the series M used as a watermark pattern are as follows.

【0133】例えば、MとしてM系列を用いた場合、プ
ラスとマイナスのシンボルが疑似乱数的に現れるため、
系列Mと画像Pとの内積はほぼ0になる。また、その系
列と同位相の系列との内積を取ると相関が高くなり、同
位相ではない系列との内積を取ると相関は低くなる性質
も有する。なお、M系列に限らず、このような特殊な性
質を有するパターンであれば、ウォータマーパターンと
して用いる系列Mはここで説明するものに限定されな
い。
For example, when an M sequence is used as M, since plus and minus symbols appear as pseudo-random numbers,
The inner product of the series M and the image P becomes almost 0. Also, taking the inner product of the series and the series of the same phase increases the correlation, and taking the inner product of the series that is not in phase reduces the correlation. It should be noted that the sequence M used as the watermer pattern is not limited to the one described here, as long as it is a pattern having such a special property as well as the M sequence.

【0134】以上をまとめると、式のようになる。The above can be summarized as an equation.

【0135】 M(y,x)=+a (シンボルがプラスの場合) M(y,x)=−b (シンボルがマイナスの場合) Σ{M(y,x)×P(y,x)}≒0 Σ{M(y1,x1)×M(y2,x2)}≒α (y
1=y2 and x1=x2) Σ{M(y1,x1)×M(y2,x2)}≒0 (y
1≠y2 or x1≠x2) 次に、一つ前との差分と一つ後との差分について考えて
みる。
M (y, x) = + a (when the symbol is positive) M (y, x) = − b (when the symbol is negative) {M (y, x) × P (y, x)} {0} M (y1, x1) × M (y2, x2)} ≒ α (y
1 = y2 and x1 = x2) {M (y1, x1) × M (y2, x2)} 0 (y
1 ≠ y2 or x1 ≠ x2) Next, the difference between the immediately preceding and the immediately following is considered.

【0136】まず、一つ前との差分を用いた場合につい
ては、例えば、注目する画素X(x,y)と、その左隣
の画素XL(y,x−1)との差分値を差分値diff
_Lとする。画素X,XLは、どちらもウォータマーク
パターンを付加する前の画像Pに対して、ウォータマー
クパターンMを付加したものである。例えば、差分値d
iff_Lを次のように算出する。
First, when the difference from the immediately preceding pixel is used, for example, the difference value between the pixel of interest X (x, y) and the pixel XL (y, x−1) adjacent to the pixel of interest X (x, y) is calculated as the difference value. Value diff
_L. Each of the pixels X and XL is obtained by adding a watermark pattern M to the image P before adding the watermark pattern. For example, the difference value d
If_L is calculated as follows.

【0137】 diff_L=XL(y,x−1)−X(y,x) ={P(y,x−1)+M(y,x−1)} −{P(y,x)+M(y,x)} =YL+M(y,x−1)−M(y,x) なお、ここで、 YL=P(y,x−1)−P(y,x) である。Diff_L = XL (y, x−1) −X (y, x) = {P (y, x−1) + M (y, x−1)} − {P (y, x) + M (y) , X)} = YL + M (y, x-1) -M (y, x) where YL = P (y, x-1) -P (y, x).

【0138】そして、差分値diff_Lを用いて評価
値sum_Lを算出する。ずらし量0の時の評価値su
m_L(0)は、画像に渡って画素M(y,x)と差分
値diff_Lの内積を求めることにより、次のように
得られる。
Then, the evaluation value sum_L is calculated using the difference value diff_L. Evaluation value su when the shift amount is 0
m_L (0) is obtained as follows by calculating the inner product of the pixel M (y, x) and the difference value diff_L over the image.

【0139】 sum_L(0)=Σ{M(y,x)×diff_L} =Σ{M(y,x)×YL} +Σ{M(y,x)×M(y,x−1)} −Σ{M(y,x)×M(y,x)} ここで、上式の第1項は、画像との内積なので、ほぼ0
となる。また、第2項は、同位相ではない系列との内積
なので、ほぼ0となる。そして、第3項は、同位相の系
列の内積なので、ほぼ−αとなる。これらから、次のよ
うな値が導き出せる。
Sum_L (0) = {M (y, x) × diff_L} = {M (y, x) × YL} + {M (y, x) × M (y, x−1)} − {M (y, x) × M (y, x)} Here, since the first term of the above equation is an inner product with the image, almost zero
Becomes Since the second term is an inner product with a series that is not in phase, it is almost zero. Since the third term is the inner product of the series having the same phase, it is substantially -α. From these, the following values can be derived.

【0140】sum_L(0)≒−α そして、これらと同様に、ずらし量−1の場合の評価値
sum_L(−1)を同様に求める。なお以下では、ず
らし量zが画像のx成分に対して影響を与える場合を例
にして式を展開している。評価値sum_L(−1)は
次のように得られる。
Sum_L (0) ≒ -α Then, similarly, the evaluation value sum_L (−1) for the shift amount of −1 is similarly obtained. Note that, in the following, the expression is developed by taking as an example a case where the shift amount z affects the x component of the image. The evaluation value sum_L (-1) is obtained as follows.

【0141】 sum_L(−1)=Σ{M(y,x−1)×diff_L} =Σ{M(y,x−1)×YL} +Σ{M(y,x−1)×M(y,x−1)} −Σ{M(y,x−1)×M(y,x)} ここで、上式の第1項は、画像との内積なので、ほぼ0
となる。また、第2項は、同位相の系列の内積なので、
ほぼαとなる。そして、第3項は、同位相ではない系列
との内積なので、ほぼ0となる。以上をまとめると、次
のような値が導き出せる。
Sum_L (−1) = {M (y, x−1) × diff_L} = {M (y, x−1) × YL} + {M (y, x−1) × M (y , X−1)} − {M (y, x−1) × M (y, x)} Here, since the first term of the above equation is an inner product with the image, almost 0
Becomes Also, the second term is the inner product of the in-phase series, so
It is almost α. Since the third term is an inner product with a series that is not in phase, it is almost zero. Summarizing the above, the following values can be derived.

【0142】sum_L(−1)≒α さらに、ずらし量0,−1以外の場合についても上述し
たような手法により算出した評価値は、どれもほぼ0と
なる。すなわち、次のような値が導き出せる。
Sum_L (-1) ≒ α Further, even in cases other than the shift amounts 0 and -1, all the evaluation values calculated by the above-described method are almost zero. That is, the following values can be derived.

【0143】 sum_L(z)≒0 (z≠0 and z≠−1) 次に、一つ後との差分を用いた場合について、上述した
一つ前との差分について行ったと同様な手法により評価
値を求める。例えば、注目する画素X(x,y)と、そ
の右隣の画素XR(y,x+1)との差分値を差分値d
iff_Rとしよう。画素X,XRは、どちらもウォー
タマークパターンを付加する前の画像Pに対して、ウォ
ータマークパターンMを付加したものである。例えば、
差分値diff_Rを次のように算出する。
Sum_L (z) ≒ 0 (z ≠ 0 and z ≠ −1) Next, in the case of using the difference from the immediately preceding one, evaluation is performed by the same method as that performed on the difference from the immediately preceding one. Find the value. For example, a difference value between a pixel of interest X (x, y) and a pixel XR (y, x + 1) adjacent to the pixel XR (y, x + 1) is represented by a difference value d.
Let it be if_R. Each of the pixels X and XR is obtained by adding a watermark pattern M to the image P before adding the watermark pattern. For example,
The difference value diff_R is calculated as follows.

【0144】 diff_R=X(y,x)−XR(y,x+1) ={P(y,x)+M(y,x)} −{P(y,x+1)+M(y,x+1)} =YR+M(y,x)−M(y,x+1) なお、ここで、 YR=P(y,x)−P(y,x+1) である。Diff_R = X (y, x) −XR (y, x + 1) = {P (y, x) + M (y, x)} − {P (y, x + 1) + M (y, x + 1)} = YR + M (Y, x) -M (y, x + 1) Here, YR = P (y, x) -P (y, x + 1).

【0145】差分値diff_Rを用いて評価値sum
_Rを算出する。ずらし量0の時の評価値sum_R
(0)は、画像に渡ってM(y,x)とdiff_Rと
の内積を求めることにより次のように得られる。
The evaluation value sum is calculated using the difference value diff_R.
_R is calculated. Evaluation value sum_R when shift amount is 0
(0) is obtained as follows by calculating the inner product of M (y, x) and diff_R over the image.

【0146】 sum_R(0)=Σ{M(y,x)×diff_R} =Σ{M(y,x)×YR} +Σ{M(y,x)×M(y,x)} −Σ{M(y,x)×M(y,x+1)} ここで、上式の第1項は、画像との内積なので、ほぼ0
となる。また、第2項は、同位相の系列の内積なので、
ほぼαとなる。そして、第3項は、同位相ではない系列
との内積なので、ほぼ0となる。以上をまとめると、次
のような値が導き出せる。
Sum_R (0) = {{M (y, x) × diff_R} = {M (y, x) × YR} + {M (y, x) × M (y, x)} − Σ { M (y, x) × M (y, x + 1)} Here, the first term in the above equation is an inner product with the image, so that almost 0
Becomes Also, the second term is the inner product of the in-phase series, so
It is almost α. Since the third term is an inner product with a series that is not in phase, it is almost zero. Summarizing the above, the following values can be derived.

【0147】sum_R(0)≒α そして、ずらし量1の場合の評価値sum_R(1)に
ついては、次のようななる。なお以下では、ずらし量z
が画像のx成分に対して影響を与える場合を例に、式を
展開している。
Sum_R (0) ≒ α Then, the evaluation value sum_R (1) when the shift amount is 1 is as follows. In the following, the shift amount z
Has an effect on the x component of the image.

【0148】 sum_R(1)=Σ{M(y,x+1)×diff_R} =Σ{M(y,x+1)×YR} +Σ{M(y,x+1)×M(y,x)} −Σ{M(y,x+1)×M(y,x+1)} ここで、上式の第1項は、画像との内積なので、ほぼ0
となる。また、第2項は、同位相ではない系列との内積
なので、ほぼ0となる。そして、第3項は、同位相の系
列の内積なので、ほぼ−αとなる。以上をまとめると、
次のような値が導き出せる。
Sum_R (1) = {M (y, x + 1) × diff_R} = {M (y, x + 1) × YR} + {M (y, x + 1) × M (y, x)} − Σ { M (y, x + 1) × M (y, x + 1)} Here, the first term of the above equation is an inner product with the image, so that almost 0
Becomes Since the second term is an inner product with a series that is not in phase, it is almost zero. Since the third term is the inner product of the series having the same phase, it is substantially -α. To summarize the above,
The following values can be derived.

【0149】sum_R(1)≒−α そして、同様にずらし量0,1以外の時の評価値を求め
ると、どれもほぼ0となる。
Sum_R (1) ≒ -α Then, similarly, when the evaluation values other than the shift amounts 0 and 1 are obtained, all of them become almost 0.

【0150】 sum_R(z)≒0 (z≠0 and z≠1) 上述した結果をまとめると次のようになる。すなわち、
一つ前の差分を用いて求めた評価値sum_L(z)に
ついては、ずらし量zにより変化し、次のようにまとめ
ることができる。
Sum_R (z) ≒ 0 (z ≠ 0 and z ≠ 1) The above results are summarized as follows. That is,
The evaluation value sum_L (z) obtained using the immediately preceding difference changes depending on the shift amount z, and can be summarized as follows.

【0151】sum_L(z)≒−α (z=0) sum_L(z)≒α (z=−1) sum_L(z)≒0 (z≠0 and z≠−1) ここで、評価値sum_L(z)とずらし量zとの関係
は、図3中(A)に示すようになる。
Sum_L (z) ≒ -α (z = 0) sum_L (z) ≒ α (z = -1) sum_L (z) ≒ 0 (z ≠ 0 and z ≠ -1) Here, the evaluation value sum_L ( The relationship between z) and the shift amount z is as shown in FIG.

【0152】また、一つ後の差分を用いて求めた評価値
sum_R(z)については、ずらし量zにより変化
し、次のようにまとめることができる。
The evaluation value sum_R (z) obtained by using the succeeding difference changes depending on the shift amount z, and can be summarized as follows.

【0153】sum_L(z)≒α (z=0) sum_L(z)≒−α (z=1) sum_L(z)≒0 (z≠0 and z≠−1) ここで、この評価値sum_R(z)とずらし量zとの
関係は、図3中(B)に示すようになる。
Sum_L (z) ≒ α (z = 0) sum_L (z) ≒ -α (z = 1) sum_L (z) ≒ 0 (z ≠ 0 and z ≠ -1) Here, the evaluation value sum_R ( The relationship between z) and the shift amount z is as shown in FIG.

【0154】これら値により付加量の増幅(或いは強
調)できる。次に、この付加量の増幅(強調)について
説明する。
With these values, the additional amount can be amplified (or emphasized). Next, the amplification (emphasis) of this additional amount will be described.

【0155】例えば、次のような式により評価値sum
を算出する。
For example, the evaluation value sum is calculated by the following equation.
Is calculated.

【0156】 sum(z)=sum_R(z)−sum_L(z) この式により、ずらし量z=0の場合には、評価値su
m=2αとなり、また、ずらし量z=−1,1の場合に
は、いずれも評価値sum=−αとなり、そして、それ
以外のずらし量の場合には、評価値sumがほぼ0とな
る。ここで、評価値sumとずらし量zとの関係は、図
3中(C)に示すようになる。
Sum (z) = sum_R (z) −sum_L (z) According to this equation, when the shift amount z = 0, the evaluation value su
m = 2α, and when the shift amount z = −1, 1, the evaluation value sum = −α, and for other shift amounts, the evaluation value sum becomes almost 0. . Here, the relationship between the evaluation value sum and the shift amount z is as shown in FIG.

【0157】よって、上述したように、評価値sum=
sum_R−sum_Lを算出し、ずらし量z=−1,
1の場合の評価値を平均して標準的な評価値sum_a
veを求め、ずらし量0の場合の実際の評価値とを比較
した場合、付加量αは3倍に増幅(或いは強調)される
ことになる。すなわち、 sum_ave≒−α sum_n ≒2α から、 sum=sum_n−sum_ave =2α−(−α) =3α となり、3倍の増幅量として付加量を得ることができ
る。
Therefore, as described above, the evaluation value sum =
Sum_R−sum_L is calculated, and a shift amount z = −1,
The evaluation values in the case of 1 are averaged to obtain a standard evaluation value sum_a
When ve is obtained and compared with an actual evaluation value when the shift amount is 0, the additional amount α is amplified (or emphasized) three times. That is, from sum_ave ≒ -αsum_n ≒ 2α, sum = sum_n-sum_ave = 2α-(− α) = 3α, and the additional amount can be obtained as a triple amplification amount.

【0158】以上のように、差分値を用いてずらし検出
を行うと、付加量がこのように増幅されるため、従来よ
りも高い検出精度で確実に付随情報を検出することがで
きる。
As described above, when the shift detection is performed by using the difference value, the additional amount is amplified in this manner, so that it is possible to reliably detect the accompanying information with higher detection accuracy than in the related art.

【0159】なお上述の例では、評価値sum_L又は
評価値sum_Rのどちらかの評価値を求めるだけで
も、増幅(或いは強調)の効果は得られる。例えば、s
um_Lについてみると、上記図3中(A)に示すよう
に、ずらし量−1とずらし量0の場合の評価値の差は2
αである。よって、この2つのずらし量の時の評価値を
用いるだけで、2倍の増幅(或いは強調)効果を得られ
ることになる。もちろん、そのような構成にしても良
い。
In the example described above, the effect of amplification (or emphasis) can be obtained only by calculating either the evaluation value sum_L or the evaluation value sum_R. For example, s
Regarding um_L, as shown in FIG. 3A, the difference between the evaluation values when the shift amount is −1 and the shift amount is 0 is 2
α. Therefore, a double amplification (or enhancement) effect can be obtained only by using the evaluation values at the time of these two shift amounts. Of course, such a configuration may be adopted.

【0160】次に、上述した処理を実施可能にする第2
の実施の形態のウォータマーク検出器の構成について説
明する。
Next, the second processing which makes the above-described processing executable
The configuration of the watermark detector according to the embodiment will be described.

【0161】ウォータマーク検出器は、図4に示すよう
に、ウォータマークのパターンを記憶する記憶手段であ
るウォータマークパターン保持メモリ12と、ウォータ
マークパターン保持メモリ12に記憶されているウォー
タマークのパターンを、異なる位相に設定する位相設定
手段であるウォータマークパターンずらし器131,1
2と、入力された画像データにおいて近傍の画素との
画素値の差分値を算出する差分値算出手段である差分算
出器141,142と、上記ウォータマークパターンずら
し器131,132から出力された位相の異なる複数のウ
ォータマークのパターンと上記差分値とに基づいて、評
価値を演算する演算手段である評価値算出器151,1
2,153,161,162,163と、評価値算出器1
1,152,153,161,162,163により得た複
数の評価値を比較することにより、付随情報の検出を行
う付随情報検出手段である評価値比較器17とを備えて
いる。また、ウォータマーク検出器11は、ウォータマ
ークの照合の結果に基づいて入力された画像に処理を施
す画像変換器18を備えている。なお、このウォータマ
ーク検出器11については、以後、第2の実施の形態に
おける「構成例1」のウォータマーク検出器と称する。
As shown in FIG. 4, the watermark detector includes a watermark pattern holding memory 12 as storage means for storing a watermark pattern and a watermark pattern holding memory 12 stored in the watermark pattern holding memory 12. Pattern shifter 13 1 , 1 which is a phase setting means for setting a different phase to
3 2, and the difference calculator 14 1, 14 2, which is a difference value calculating means for calculating a difference value between pixel values of the neighboring pixels in the input image data, the watermark pattern shifting unit 13 1, 13 2 Evaluation value calculators 15 1 , 1, which are operation means for calculating an evaluation value based on the plurality of watermark patterns having different phases output from the above and the difference value.
5 2 , 15 3 , 16 1 , 16 2 , 16 3 and the evaluation value calculator 1
5 1, 15 2, 15 3, 16 1, 16 2, 16 by comparing a plurality of evaluation values obtained by the 3, and a is an accompanying information detection means for detecting an accompanying information evaluation value comparator 17 ing. In addition, the watermark detector 11 includes an image converter 18 that processes an input image based on the result of the watermark collation. Note that the watermark detector 11 is hereinafter referred to as a “watermark detector of“ Configuration Example 1 ”in the second embodiment.

【0162】次にウォータマーク検出器11を構成する
各部について説明する。
Next, each component of the watermark detector 11 will be described.

【0163】上記差分算出器141,142は、 入力さ
れた画像データについてそれぞれの画素に対する差分値
を算出する。ここで差分算出器141において算出され
た差分値は、評価値算出器151,152,153にそれ
ぞれ入力され、差分算出器142において算出された差
分値は、評価値算出器161,162,163に入力され
る。なお、差分算出器141及び差分算出器142におけ
る差分値の算出は、互いに同様の方法により行ってもよ
いが、異なる方法でもよい。例えば、差分値の算出方法
が異なる方法を採用した場合、差分算出器141では一
つ前との差分、差分算出器142では一つ後との差分に
より差分値を算出する。
The difference calculators 14 1 and 14 2 calculate a difference value for each pixel of the input image data. Here calculated in the difference calculator 14 1 difference value is input to the evaluation value calculator 15 1, 15 2, 15 3, the difference calculated in the difference calculating unit 14 2, the evaluation value calculator 16 is input to the 1, 16 2, 16 3. The calculation of the difference value in the difference calculator 14 1 and the difference calculator 14 2, may be carried out in a similar manner to each other or in different ways. For example, if the method of calculating the difference value is adopted different methods, the difference between the previous one in the difference calculator 14 1, the difference between the difference calculator 14 2, after one to calculate the difference value.

【0164】上記ウォータマークパターン保持メモリ1
2は、予めウォータマークを記憶しておく記憶手段であ
って、上記ウォータマークパターンずらし器131,1
2は、このウォータマーク保持メモリ12に記録され
ているウォータマークパターンを、必要に応じてずら
す。なお、ウォータマークずらし器131,132と、ウ
ォータマーク保持メモリ12とにより付随情報出力手段
が構成される。
The watermark pattern holding memory 1
Numeral 2 is a storage means for storing a watermark in advance, and the watermark pattern shifter 13 1 , 1
3 2, a watermark pattern that is recorded in the watermark holding memory 12 is shifted as required. Note that the watermark shifters 13 1 and 13 2 and the watermark holding memory 12 constitute additional information output means.

【0165】具体的には、ウォータマークパターンずら
し器131がずらし量iによりウォータマークパターン
をずらし、ここでずらし量iによりずらされたウォータ
マークパターンは、評価値算出器151,161に入力さ
れ、また、ウォータマークパターンずらし器132がず
らし量jによりウォータマークパターンをずらし、ここ
でずらし量jによりずらされたウォータマークパターン
は、評価値算出器153,163に入力される。
More specifically, the watermark pattern shifter 13 1 shifts the watermark pattern by the shift amount i, and the watermark pattern shifted by the shift amount i is sent to the evaluation value calculators 15 1 and 16 1 . is input, also shifting the watermark pattern by the watermark pattern shifting unit 13 2 is the shift amount j, the watermark pattern shifted by where shift amount j is input to the evaluation value calculator 15 3, 16 3 .

【0166】上記評価値算出器151,152,153
161,162,163は、必要に応じてずらされたウォ
ータマークパターンを用いて、それぞれ評価値を算出す
る。ここで算出された全ての評価値は、評価値比較器1
7に入力される。
The evaluation value calculators 15 1 , 15 2 , 15 3 ,
16 1 , 16 2 , and 16 3 calculate evaluation values using watermark patterns shifted as necessary. All the evaluation values calculated here are compared with the evaluation value comparator 1
7 is input.

【0167】上記評価値比較器17は、入力された評価
値により付加量を増幅(或いは強調)させる処理を行っ
た後、閾値処理して、付随情報fを出力する。
The evaluation value comparator 17 performs a process of amplifying (or emphasizing) the additional amount based on the input evaluation value, performs a threshold process, and outputs the accompanying information f.

【0168】なお、付加量の増幅(或いは強調)処理を
行う部分を外部に出し、評価値比較器17の前に設けて
も良い。また、入力された画像データ自体も、そのまま
出力される。
A portion for performing the amplification (or emphasis) processing of the additional amount may be provided outside and provided before the evaluation value comparator 17. Further, the input image data itself is output as it is.

【0169】上記画像変換器18は、必要に応じて入力
された画像データを加工又は処理する機能を有してい
る。
The image converter 18 has a function of processing or processing input image data as needed.

【0170】このような構成を有するウォータマーク検
出器11は、付随情報の検出処理を、図5及び図6に示
すようなに、一連の処理により実行している。
The watermark detector 11 having such a configuration executes the detection processing of the accompanying information by a series of processing as shown in FIG. 5 and FIG.

【0171】ウォータマーク検出器11は、ステップS
21において、閾値thの設定を行い、続くステップS
22において、一つ前との差分を用いて評価値sum_
Lを求める準備を行う。この準備の具体例として、例え
ば評価値算出部151,152,153(後述する「差分
値用評価値算出処理」を行う部分)で評価値を算出する
場合において、対象の画素Xの差分値xdを算出すると
きに、図6を用いて説明する後述する差分値xd(z)
=X(z−1)−X(z)を用いるような設定を行うこ
となどが挙げられる。
The watermark detector 11 determines in step S
In step 21, the threshold value th is set, and the subsequent step S
At 22, the evaluation value sum_ is calculated using the difference from the immediately preceding one.
Prepare to find L. As a specific example of this preparation, for example, when the evaluation value is calculated by the evaluation value calculation units 15 1 , 15 2 , and 15 3 (the part performing the “difference value evaluation value calculation process” described later), the target pixel X When calculating the difference value xd, a difference value xd (z) described later with reference to FIG.
= X (z-1) -X (z).

【0172】そして、ウォータマーク検出器11は、ス
テップS23〜ステップS28において、ずらし量i,
0,jのウォータマークパターンを用いたときの、現フ
レームの画像に対するそれぞれの評価値sum_L
(i),sum_L(0),sum_L(j)を求めて
いる。このために、ウォータマーク検出器11は、ステ
ップS24,26,28の各ステップにおいての評価値
を算出するための処理(図6に示す処理であって、以
下、これを「差分値用評価値算出処理」と称す。)を行
っている。
Then, in steps S23 to S28, the watermark detector 11 sets the shift amount i,
Each evaluation value sum_L for the image of the current frame when the watermark pattern of 0, j is used
(I), sum_L (0), and sum_L (j) are obtained. For this reason, the watermark detector 11 uses the processing for calculating the evaluation value in each of the steps S24, S26, and S28 (the processing shown in FIG. Calculation process ”).

【0173】上記評価値算出処理は、図6に示すよう
に、ステップS51において、評価値sumの初期化を
行い、それからステップS52において、ウォータマー
クパターンをずらし量zだけずらす。そして、ウォータ
マーク検出器11は、続くステップS53以降の処理
を、上記図2を用いて説明したステップS3〜ステップ
S7と同様な処理を行う。
In the evaluation value calculation process, as shown in FIG. 6, the evaluation value sum is initialized in step S51, and then the watermark pattern is shifted by the shift amount z in step S52. Then, the watermark detector 11 performs the subsequent processing in step S53 and subsequent steps in the same manner as in steps S3 to S7 described with reference to FIG.

【0174】すなわち、ウォータマーク検出器11は、
ステップS52において、ウォータマークパターンの領
域と等しい大きさの領域を設定し、その領域内の各画素
について上記ずらし量z分ずらしたウォータマークパタ
ーンとの照合を行い、ステップS53において、現在対
象とされている画素Xの差分値xdを算出する。そし
て、ウォータマーク検出器11は、ステップS54にお
いて、ウォータマークのシンボルの判別を行う。ここ
で、ウォータマーク検出器11は、その画素のウォータ
マークのシンボルがプラスである場合には、ステップS
55に進み、評価値sumにその差分値xdを足し、ま
た、その画素のウォータマークのシンボルがマイナスで
ある場合には、ステップS56に進み、評価値sumか
らその差分値xdを引く。そして、ウォータマーク検出
器11は、ステップS57において、対象領域の全画素
について処理を行ったか否かの判別処理を行い、ここ
で、全画素について処理を行っていないことを確認した
場合には、上記ステップS52に戻り再び上記照合等の
処理を行い、対象領域の全画素について処理を繰り返
す。このようにウォータマーク検出器11は、この評価
値算出処理により算出している。
That is, the watermark detector 11
In step S52, an area having the same size as the area of the watermark pattern is set, and each pixel in the area is collated with the watermark pattern shifted by the shift amount z. The difference value xd of the pixel X is calculated. Then, in step S54, the watermark detector 11 determines the symbol of the watermark. Here, when the watermark symbol of the pixel is plus, the watermark detector 11 determines in step S
The process proceeds to 55, where the difference value xd is added to the evaluation value sum. If the watermark symbol of the pixel is negative, the process proceeds to step S56, where the difference value xd is subtracted from the evaluation value sum. Then, in step S57, the watermark detector 11 performs a determination process as to whether or not processing has been performed for all pixels in the target area. If it is confirmed that processing has not been performed for all pixels, Returning to step S52, the above-described processing such as the collation is performed again, and the processing is repeated for all the pixels in the target area. As described above, the watermark detector 11 calculates by this evaluation value calculation process.

【0175】よって、これにより、ウォータマーク検出
器11は、上記図5に示すステップS23及びステップ
S24において、上記差分値用評価値算出処理によりず
らし量iにおける評価値sum_L(i)を求め、続い
て、ステップS25及びステップS26において、ずら
し量z=0のウォータマークパターンを用いたときの評
価値sum_L(0)を求める。そして、上記ずらし量
z=0における評価値sum_L(0)を求めたウォー
タマーク検出器11は、最後に、ステップS27及びス
テップS28において、ずらし量z=jのウォータマー
クパターンを用いたときの評価値sum_L(j)を求
める。
Accordingly, the watermark detector 11 obtains the evaluation value sum_L (i) at the shift amount i by the difference value evaluation value calculation processing in steps S23 and S24 shown in FIG. Then, in steps S25 and S26, an evaluation value sum_L (0) when a watermark pattern having a shift amount z = 0 is used is obtained. Then, the watermark detector 11 that has obtained the evaluation value sum_L (0) at the shift amount z = 0 finally evaluates when the watermark pattern of the shift amount z = j is used in steps S27 and S28. Find the value sum_L (j).

【0176】そして、ウォータマーク検出器11は、続
くステップS29において、一つ後との差分を用いて評
価値sum_Rを求める準備を行う。この準備の具体例
として、例えば、差分値用評価値算出処理で評価値を算
出する場合において、対象の画素Xの差分値xdを算出
するときに、差分値xd(z)=X(z)−X(z+
1)を用いるよう設定を行うことなどが挙げられる。
Then, in the following step S29, the watermark detector 11 makes preparations for obtaining the evaluation value sum_R using the difference from the immediately succeeding one. As a specific example of this preparation, for example, in a case where an evaluation value is calculated by a difference value evaluation value calculation process, when calculating a difference value xd of a target pixel X, a difference value xd (z) = X (z) −X (z +
Setting to use 1) can be mentioned.

【0177】そして、上述したように差分値用評価値処
理により、ずらし量z=i,0,jについて評価値su
m_R(z)を算出する。
As described above, the evaluation value su for the shift amount z = i, 0, j is obtained by the difference value evaluation value processing.
Calculate m_R (z).

【0178】すなわち、ウォータマーク検出器11は、
ステップS30及びステップS31において、上記図6
に示した差分値用評価値算出処理によりずらし量iにお
ける評価値sum_R(i)を求め、続いて、ステップ
S32及びステップS33において、ずらし量z=0の
ウォータマークパターンを用いたときの評価値sum_
R(0)を求める。そして、最後に、ステップS34及
びステップS35において、ずらし量z=jのウォータ
マークパターンを用いたときの評価値sum_R(j)
を求める。なお、ウォータマークパターンをずらす方法
は、従来例において述べた方法と同様で構わない。
That is, the watermark detector 11
In step S30 and step S31, FIG.
The evaluation value sum_R (i) at the shift amount i is obtained by the difference value evaluation value calculation process shown in (1). Subsequently, in step S32 and step S33, the evaluation value when the watermark pattern with the shift amount z = 0 is used sum_
Find R (0). Finally, in steps S34 and S35, the evaluation value sum_R (j) when using the watermark pattern with the shift amount z = j
Ask for. The method of shifting the watermark pattern may be the same as the method described in the conventional example.

【0179】ウォータマーク検出器11は、ステップS
36において、上述のようにして求めた上記6つの評価
値sum_L(i),sum_L(0),sum_L
(j),sum_R(i),sum_R(0),sum
_R(j)から、相対的評価を行うために用いるsum
_i,sum_n,sum_jを算出する(評価値の変
換を行う)。ここで行う算出方法は、概略的に説明する
と、同じずらし量に対して求めたsum_L,sum_
Rの評価値を用いて、sum=sum_R−sum_L
を求めていることになる。このような評価値の変換によ
って、付随情報を検出する際の付加量が増幅(或いは強
調)されるため、この処理は付加量を増幅(或いは強
調)させるための処理と考えることができる。
The watermark detector 11 performs step S
At 36, the six evaluation values sum_L (i), sum_L (0), and sum_L obtained as described above are obtained.
(J), sum_R (i), sum_R (0), sum
From _R (j), sum used for performing relative evaluation
_I, sum_n, and sum_j are calculated (conversion of the evaluation value is performed). The calculation method performed here will be briefly described. Sum_L and sum_L obtained for the same shift amount
Using the evaluation value of R, sum = sum_R-sum_L
That you are looking for. Such conversion of the evaluation value amplifies (or emphasizes) the additional amount when the accompanying information is detected. Therefore, this process can be considered as a process for amplifying (or enhancing) the additional amount.

【0180】その後、ウォータマーク検出器11は、ス
テップS37において、評価値sum_i,sum_j
から標準的な評価値sum_ave=(sum_i+s
um_j)/2を求め、続くステップS38において、
この値sum_aveを標準的な評価値として実際の評
価値(ずらし量0の評価値)sum_nとの差分の絶対
値|sum_n−sum_ave|を求める。ここで、
ウォータマーク検出器11は、その差が閾値thよりも
大きい場合には、ステップS39に進み、ずらし位相r
では付随情報が付加されているとみなして付随情報fを
onにして、そうでない場合には、ステップS40に進
み、付随情報fをoffにする。
Thereafter, the watermark detector 11 determines in step S37 that the evaluation values sum_i, sum_j
From the standard evaluation value sum_ave = (sum_i + s
um_j) / 2, and in a succeeding step S38,
Using this value sum_ave as a standard evaluation value, the absolute value | sum_n-sum_ave | of the difference from the actual evaluation value (evaluation value of shift amount 0) sum_n is obtained. here,
If the difference is greater than the threshold th, the watermark detector 11 proceeds to step S39 and shifts the phase r
Then, it is assumed that the additional information is added, and the additional information f is turned on. Otherwise, the process proceeds to step S40, and the additional information f is turned off.

【0181】上述した構成例1のウォータマーク検出器
11は、差分算出器を2つ、評価値算出器を6つ備えて
いる。しかし、同様の機能、効果を有したまま、これら
の数を減らす(演算量を削減する)別形態をとることが
可能であり、次にそのウォータマーク検出器について説
明する。
The watermark detector 11 of the above configuration example 1 has two difference calculators and six evaluation value calculators. However, it is possible to take another form of reducing these numbers (reducing the amount of calculation) while having the same functions and effects. Next, the watermark detector will be described.

【0182】ここで、演算量を削減するための基本的な
考え方についてまず説明する。
Here, the basic concept for reducing the calculation amount will be described first.

【0183】先の構成例1のウォータマーク検出器11
では、上記図3を用いて説明したように、評価値sum
_L,sum_Rの双方の評価値を求めて付随情報を検
出している。
The watermark detector 11 of the first configuration example
Then, as described with reference to FIG. 3, the evaluation value sum
_L and sum_R are evaluated to find associated information and detect accompanying information.

【0184】一方で、評価値sum_Lと評価値sum
_Rとの関係においては、図7に示すように、ずらし量
zに対する評価値sum_Rの変化は、ずらし量zに対
する評価値sum_Lの変化を当該ずらし量zのプラス
方向にシフトしたものと同等とみなすことができる。
On the other hand, the evaluation value sum_L and the evaluation value sum
In relation to _R, as shown in FIG. 7, a change in the evaluation value sum_R with respect to the shift amount z is regarded as equivalent to a change in the evaluation value sum_L with respect to the shift amount z shifted in the positive direction of the shift amount z. be able to.

【0185】このようなことから、評価値sum_Rを
求める処理を省略し、その代わり評価値sum_Lをず
らし量のずらす方向にずらし量1だけシフトしたものを
評価値sum_Rとして代用することにする。このよう
にすると、例えば4つのずらし量−2,−1,0,1の
場合の評価値sum_Lを求めるだけで、上述した構成
例1のウォータマーク検出器11と同様の増幅(或いは
強調)効果が得られることになる。
For this reason, the process of obtaining the evaluation value sum_R is omitted, and instead, a value obtained by shifting the evaluation value sum_L by the shift amount 1 in the shifting direction is used as the evaluation value sum_R. In this way, for example, the amplification (or enhancement) effect similar to that of the watermark detector 11 of the above-described configuration example 1 can be obtained only by calculating the evaluation value sum_L in the case of the four shift amounts −2, −1, 0, and 1. Is obtained.

【0186】上述のように、求めた評価値の位相をシフ
トすることによって、評価値の代用を行うことを可能に
する構成が、図8に示すようなウォータマーク検出器3
1である。このウォータマーク検出器31は、ウォータ
マークパターン保持メモリ32、ウォータマークパター
ンずらし器331,332,333、差分算出器34、評
価値算出器351,352,353,354、評価値比較器
37、画像変換器38から構成されている。なお、この
ウォータマーク検出器31については、以後、第2の実
施の形態における「構成例2」のウォータマーク検出器
と称する。
As described above, the structure that enables the substitution of the evaluation value by shifting the phase of the obtained evaluation value is similar to that of the watermark detector 3 shown in FIG.
It is one. The watermark detector 31 includes a watermark pattern holding memory 32, watermark pattern shifters 33 1 , 33 2 , 33 3 , a difference calculator 34, evaluation value calculators 35 1 , 35 2 , 35 3 , 35 4 , It comprises an evaluation value comparator 37 and an image converter 38. This watermark detector 31 is hereinafter referred to as a “watermark detector of“ Configuration Example 2 ”in the second embodiment.

【0187】以下、ウォータマーク検出器31の構成部
について説明する。
[0187] The components of the watermark detector 31 will be described below.

【0188】差分算出器34は、入力された画像データ
のそれぞれの画素に対する差分値を算出する。ここで算
出された差分値は、各評価値算出器351,352,35
3,354に入力される。
The difference calculator 34 calculates a difference value for each pixel of the input image data. The difference values calculated here are used as evaluation value calculators 35 1 , 35 2 , 35
3, it is input to the 35 4.

【0189】上記ウォータマークパターン保持メモリ3
2は、予めウォータマークを記憶しておく記憶手段であ
って、上記ウォータマークパターンずらし器331,3
2,333は、このウォータマークパターン保持メモリ
に記憶されているウォータマークパターンを、必要に応
じてずらす。
The watermark pattern holding memory 3
Numeral 2 is a storage means for storing the watermark in advance, and the watermark pattern shifters 33 1 , 3
3 2, 33 3, the watermark patterns stored in the watermark pattern holding memory, shifted if necessary.

【0190】具体的には、ウォータマークパターンずら
し器331がずらし量iによりウォータマークパターン
をずらし、ここでずらし量iによりずらされたウォータ
マークは、評価値算出器352に入力され、また、ウォ
ータマークパターンずらし器332がずらし量jにより
ウォータマークパターンをずらし、ここでずらし量jに
よりずらされたウォータマークは、評価値算出器354
に入力され、さらに、ウォータマークパターンずらし器
333がずらし量hによりウォータマークパターンをず
らし、ここでずらし量hによりずらされたウォータマー
クは、評価値算出器351に入力される。
[0190] Specifically, shifting the watermark pattern by the watermark pattern shifting unit 33 1 is offset amount i, the watermark that is shifted by where shift amount i, is input to the evaluation value calculator 35 2, also , shifting the watermark pattern by the watermark pattern shifted 33 2 shift amount j, the watermark that is shifted by where shift amount j, evaluation value calculator 35 4
Is input to the further shifting the watermark pattern by the watermark pattern shifted 33 3 shift amount h, water marks offset by where shift amount h is input to the evaluation value calculator 35 1.

【0191】上記評価値算出器351,352,353
354は、必要に応じてずらされたウォータマークパタ
ーンを用いて、それぞれ評価値を算出する。ここで算出
された全ての評価値は、評価値比較器37に入力され
る。
The evaluation value calculators 35 1 , 35 2 , 35 3 ,
35 4, using the watermark pattern are offset as necessary, calculates the respective evaluation values. All the calculated evaluation values are input to the evaluation value comparator 37.

【0192】上記評価値比較器37は、入力された評価
値により付加量を増幅(或いは強調)させる処理を行っ
た後、閾値処理して、付随情報fを出力する。
The evaluation value comparator 37 performs a process of amplifying (or emphasizing) the additional amount based on the input evaluation value, performs threshold processing, and outputs the accompanying information f.

【0193】なお、付加量の増幅(或いは強調)処理を
行う部分を外部に出し、評価値比較器37の前に設けて
も良い。また、入力された画像データ自体も、そのまま
出力される。
A portion for performing the amplification (or emphasis) processing of the additional amount may be provided outside and provided before the evaluation value comparator 37. Further, the input image data itself is output as it is.

【0194】上記画像変換器38は、必要に応じて入力
された画像データを加工又は処理する機能を有してい
る。
The image converter 38 has a function of processing or processing input image data as needed.

【0195】以上のような構成部を有する構成例2であ
るウォータマーク検出器31により、上記構成例1のウ
ォータマーク検出器11より、差分算出器及び評価値算
出器を減らしてもなお、同様の機能、効果を保持するこ
とができる。
The watermark detector 31 of the second configuration example having the above-described components has the difference calculator and the evaluation value calculator reduced from the watermark detector 11 of the first configuration example. Function and effect can be maintained.

【0196】なお、本例では、従来例と同様のずらし量
(例えば、i,o,jの3つ)だけを用いても良い。し
かし、差分値を用いることによる付加量の増幅(或いは
強調)効果を高めるために、ウォータマーク検出器31
の評価値算出器351及び ウォータマークパターンずら
し器333(複数あっても構わない)を設け、それ以外
のずらし量(例えば、h )に対して評価値を算出しても
良い。
In this embodiment, only the same shift amount (for example, three of i, o, and j) as in the conventional example may be used. However, in order to enhance the effect of amplifying (or enhancing) the additional amount by using the difference value, the watermark detector 31 is used.
Of the evaluation value calculator 35 1 and the watermark pattern shifted 33 3 (may be more a) provided, the shift amount other than it (for example, h) may be calculated evaluation value with respect.

【0197】このような構成を有するウォータマーク検
出器31は、付随情報の検出処理を、図9に示すような
に、一連の処理により実行している。
The watermark detector 31 having such a configuration executes the detection processing of the accompanying information by a series of processing as shown in FIG.

【0198】ウォータマーク検出器31は、ステップS
71において、閾値thの設定を行い、続くステップS
72において、一つ前との差分を用いて評価値sum_
Lを求める準備を行う。この準備の具体例として、例え
ば差分値用評価値算出処理で評価値を算出する場合にお
いて、対象の画素Xの差分値xdを算出するときに、差
分値xd(z)=X(z−1)−X(z)を用いるよう
な設定を行うことなどが挙げられる。
The watermark detector 31 determines in step S
In step 71, a threshold value th is set, and the subsequent step S
At 72, the evaluation value sum_
Prepare to find L. As a specific example of this preparation, for example, in a case where an evaluation value is calculated by a difference value evaluation value calculation process, when calculating the difference value xd of the target pixel X, the difference value xd (z) = X (z−1) ) -X (z).

【0199】そして、ウォータマーク検出器31は、ス
テップS73〜ステップS80において、ずらし量i,
0,jのウォータマークパターンを用いたときの、現フ
レームの画像に対するそれぞれの評価値sum_L
(h),sum_L(i),sum_L(0),sum
_L(j)を求めている。このために、ウォータマーク
検出器31は、ステップS74,76,78,80の各
ステップにおいての評価値を算出するための上述した差
分値用評価値算出処理(図6に示す処理)を行ってい
る。
Then, in steps S73 to S80, the watermark detector 31 sets the shift amount i,
Each evaluation value sum_L for the image of the current frame when the watermark pattern of 0, j is used
(H), sum_L (i), sum_L (0), sum
_L (j). For this purpose, the watermark detector 31 performs the above-described difference value evaluation value calculation processing (processing shown in FIG. 6) for calculating the evaluation value in each of steps S74, 76, 78, and 80. I have.

【0200】すなわち、ウォータマーク検出器31は、
ステップS73及びステップS74により、上記差分値
用評価値算出処理によりずらし量hにおける評価値su
m_L(h)を求める。そして、ずらし量z=hにおけ
る評価値sum_L(h)を求めたウォータマーク検出
器31は、続くステップS75及びステップS76にお
いて、ずらし量z=iのウォータマークパターンを用い
たときの評価値sum_L(i)を求め、さらに、ステ
ップS77及びステップS78において、ずらし量z=
0のウォータマークパターンを用いたときの評価値su
m_L(0)を求め、そして、ステップS79及びステ
ップS80において、ずらし量z=jのウォータマーク
パターンを用いたときの評価値sum_L(j)を求め
る。
That is, the watermark detector 31
In steps S73 and S74, the evaluation value su at the shift amount h is obtained by the difference value evaluation value calculation processing.
Find m_L (h). Then, in the subsequent steps S75 and S76, the watermark detector 31 that has obtained the evaluation value sum_L (h) at the shift amount z = h uses the evaluation value sum_L ( i), and in steps S77 and S78, the shift amount z =
Evaluation value su when a watermark pattern of 0 is used
m_L (0) is obtained, and in steps S79 and S80, an evaluation value sum_L (j) when a watermark pattern having a shift amount z = j is used is obtained.

【0201】なお、例えば、ずらし量z=hのウォータ
マークパターンを用いた評価値sum_L(h)は求め
ないこととしても良いが、その場合には、付加量の増幅
(或いは強調)効果は少なくなる。また、ウォータマー
クパターンをずらす方法は、例えば、従来例において述
べた方法と同様で構わない。
Note that, for example, the evaluation value sum_L (h) using the watermark pattern with the shift amount z = h may not be obtained, but in this case, the effect of amplifying (or enhancing) the additional amount is small. Become. The method of shifting the watermark pattern may be the same as, for example, the method described in the conventional example.

【0202】ウォータマーク検出器31は、ステップS
81において、上述のようにして求めた上記4つの評価
値sum_L(h),sum_L(i),sum_L
(0),sum_L(j)から、相対的評価を行うため
に用いるsum_i,sum_n,sum_jを算出す
る(評価値の変換を行う)。
The watermark detector 31 determines in step S
At 81, the four evaluation values sum_L (h), sum_L (i), and sum_L obtained as described above are obtained.
From (0), sum_L (j), sum_i, sum_n, and sum_j used for performing relative evaluation are calculated (evaluation value conversion is performed).

【0203】ここで行う算出方法について概略的に説明
すると、評価値sum_Lをずらし量のプラス方向(図
7中(A)において右方向)にシフトしたものを評価値
sum_R(同図7中(B))とみなして算出する。す
なわち、図8に示すように、評価値sum_L(z)
(同図10中(A))についてずらし量zのプラス方向
にシフトした評価値sum_L(z+1)(同図10中
(B))を一つ後の差分を示す評価値である上記評価値
sum_Rとみなして算出する。
The calculation method performed here will be described in brief. The evaluation value sum_L obtained by shifting the evaluation value sum_L in the positive direction (the right direction in FIG. 7A) of the shift amount is the evaluation value sum_R (FIG. )). That is, as shown in FIG. 8, the evaluation value sum_L (z)
The above evaluation value sum_R, which is an evaluation value indicating a difference after the evaluation value sum_L (z + 1) ((B) in FIG. 10) obtained by shifting the shift amount z in the plus direction with respect to ((A) in FIG. 10). It is calculated assuming that

【0204】具体的には、評価値sum_L(z)につ
いてずらし量1だけシフトした評価値sum_L(z+
1)を評価値sum_R(z)とみなし、評価値sum
(z)=sum_R(z)−sum_L(z)=sum
_L(z+1)−sum_L(z)を求める(図10中
(C))。
Specifically, the evaluation value sum_L (z + z) obtained by shifting the evaluation value sum_L (z) by a shift amount 1
1) is regarded as the evaluation value sum_R (z), and the evaluation value sum
(Z) = sum_R (z) −sum_L (z) = sum
_L (z + 1) -sum_L (z) is obtained ((C) in FIG. 10).

【0205】この評価値の変換によって、付随情報を検
出する際の付加量が増幅(或いは強調)されるため、こ
の処理は付加量を増幅(或いは強調)させるための処理
と考えることができる。
The conversion of the evaluation value amplifies (or emphasizes) the additional amount when detecting the accompanying information. Therefore, this process can be considered as a process for amplifying (or enhancing) the additional amount.

【0206】その後、ウォータマーク検出器31は、ス
テップS82において、評価値sum_i,sum_j
から標準的な評価値sum_ave=(sum_i+s
um_j)/2を求め、続くステップS83において、
この値sum_aveを標準的な評価値として実際の評
価値(ずらし量0の評価値)sum_nとの差分の絶対
値|sum_n−sum_ave|を求める。ここで、
ウォータマーク検出器321は、その差が閾値thより
も大きい場合には、ステップS84に進み、ずらし位相
rでは付随情報が付加されているとみなして付随情報f
をonにして、そうでない場合には、ステップS85に
進み、付随情報fをoffにする。
Thereafter, the watermark detector 31 determines in step S82 that the evaluation values sum_i, sum_j
From the standard evaluation value sum_ave = (sum_i + s
um_j) / 2, and in a succeeding step S83,
Using this value sum_ave as a standard evaluation value, the absolute value | sum_n-sum_ave | of the difference from the actual evaluation value (evaluation value of shift amount 0) sum_n is obtained. here,
If the difference is larger than the threshold th, the watermark detector 321 proceeds to step S84, and considers that the accompanying information is added at the shift phase r, and the accompanying information f
Is turned on, otherwise, the process proceeds to step S85, and the accompanying information f is turned off.

【0207】なお、例えばずらし量z=hに対する評価
値sum_L(h)を求めない場合には、評価値sum
_L(h)として任意の値を代用しても良い。或いは、
その評価値sum_L(h)が必要となる処理は省略す
ることにし、判定の際にその影響を考慮した構成をとっ
ても良い。いずれの場合も、付加量の増幅(或いは強
調)効果は少なくなる。
For example, when the evaluation value sum_L (h) for the shift amount z = h is not obtained, the evaluation value sum
Any value may be substituted for _L (h). Or,
Processing that requires the evaluation value sum_L (h) may be omitted, and a configuration may be adopted in which the influence is taken into account at the time of determination. In either case, the effect of amplifying (or enhancing) the additional amount is reduced.

【0208】上述した構成例2のウォータマーク検出器
31は、先の構成例1のウォータマーク検出器11と比
べて、差分算出器を1つ、評価値算出器を2つ削減した
構成とされている。次に、これよりも演算量を削減する
ことを可能にするウォータマーク検出器について説明す
る。
The watermark detector 31 of the above configuration example 2 has a configuration in which one difference calculator and two evaluation value calculators are reduced compared to the watermark detector 11 of the above configuration example 1. ing. Next, a description will be given of a watermark detector capable of further reducing the amount of calculation.

【0209】先ず、演算量を削減するための基本的な考
え方の一例を示す。上述した構成例1及び構成例2のウ
ォータマーク検出器では、各ずらし量に対して求めた評
価値を用いて相対的評価を行う際に、評価値sum
(z)=sum_R(z)−sum_L(z)により評
価値の変換を行っている(ただし、z=i,n,jの3
点のみで、n=0)。
First, an example of a basic concept for reducing the calculation amount will be described. In the watermark detectors of Configuration Example 1 and Configuration Example 2 described above, when the relative evaluation is performed using the evaluation value obtained for each shift amount, the evaluation value sum is calculated.
(Z) = sum_R (z) -sum_L (z) is used to convert the evaluation value (where z = i, n, j = 3)
Only points, n = 0).

【0210】この式を展開し、ウォータマークパターン
を付加する前の画像PとウォータマークパターンMとで
表現すると、次のような式が導き出せる。なお以下で
は、ずらし量zが画像のx成分に対して影響を与える場
合を例に、式を展開している。
By developing this equation and expressing it with the image P before adding a watermark pattern and the watermark pattern M, the following equation can be derived. Note that, in the following, the formula is developed taking as an example a case where the shift amount z affects the x component of the image.

【0211】 sum(z)=sum_R(z)−sum_L(z) =Σ{M(y,x+z)×diff_L(z)} −Σ{M(y,x+z)×diff_L(z)} =Σ[M(y,x+z )×{YR(z)+M(y,x+z) −M(y,x+z+1)}] −Σ[M(y,x+z)×{YL(z) +M(y,x+z−1)−M(y,x+z)}] =M(y,x+z)×Σ{YR(z)−YL(z) −M(y,x+z−1)+2M(y,x+z) −M(y,x+z+1)} ここで、 YL(z)=P(y,x+z−1)−P(y,x+z) YR(z)=P(y,x+z)−P(y,x+z+1) である。よって、 sum(z)=M(y,x+z)×Σ[{−P(y,x+z−1) +2P(y,x+z)−P(y,x+z+1)} +{−M(y,x+z−1)+2M(y,x+z) −M(y,x+z+1)}] さらに、注目する画素については、 X(z)=P(y,x+z)+M(y,x+z) その一つ前の画素については、 XL(z−1)=P(y,x+z−1)+M(y,x+
z−1) その一つ後の画素については、 XR(z+1)=P(y,x+z+1)+M(y,x+
z+1) となる。よって、 sum(z)=M(y,x+z)×Σ{−XL(z−
1)+2X(z)−XR(z+1)} 以上のような関係から上述した構成例1及び構成例2の
ウォータマーク検出器が相対的に評価を行う際に用いた
変換後の評価値は、最初から差分値xdとして差分値x
d=−X(z−1)+2X(z)−X(z+1)を用い
て算出した場合の評価値と、最終的には一致することが
わかる。
Sum (z) = sum_R (z) −sum_L (z) = {M (y, x + z) × diff_L (z)} − {M (y, x + z) × diff_L (z)} = {[ M (y, x + z) × {YR (z) + M (y, x + z) −M (y, x + z + 1)}] − {[M (y, x + z) × {YL (z) + M (y, x + z−1) −M (y, x + z)}] = M (y, x + z) × {YR (z) −YL (z) −M (y, x + z−1) + 2M (y, x + z) −M (y, x + z + 1) } Here, YL (z) = P (y, x + z−1) −P (y, x + z) YR (z) = P (y, x + z) −P (y, x + z + 1) Therefore, sum (z) = M (y, x + z) × {[{− P (y, x + z−1) + 2P (y, x + z) −P (y, x + z + 1)} + {− M (y, x + z−1 ) + 2M (y, x + z) −M (y, x + z + 1)}] Further, for the pixel of interest, X (z) = P (y, x + z) + M (y, x + z) For the immediately preceding pixel, XL (z-1) = P (y, x + z-1) + M (y, x +
z-1) For the next pixel, XR (z + 1) = P (y, x + z + 1) + M (y, x +
z + 1). Therefore, sum (z) = M (y, x + z) × Σ {−XL (z−
1) + 2X (z) −XR (z + 1)} From the above relationship, the converted evaluation values used when the watermark detectors of the above-described configuration examples 1 and 2 relatively perform the evaluation are: From the beginning, the difference value x is used as the difference value xd
It can be seen that the evaluation value obtained by using d = −X (z−1) + 2X (z) −X (z + 1) finally matches the evaluation value.

【0212】一つ前との差分や一つ後との差分を用いる
代わりに、最初から前後との差分値xd=−X(z−
1)+2X(z)−X(z+1)を用いれば、z=i,
n,jの3つ(ただし、n=0)のずらし量に対する評
価値を求めるだけで、上記構成例1及び構成例2のウォ
ータマーク検出器と同様の増幅(或いは強調)効果が得
られることになる。
Instead of using the difference before and after and the difference after one, the difference value xd = −X (z−z
1) By using + 2X (z) -X (z + 1), z = i,
Amplifying (or enhancing) effects similar to those of the watermark detectors of the above configuration examples 1 and 2 can be obtained only by obtaining evaluation values for three shift amounts of n and j (where n = 0). become.

【0213】このように、前後との差分値を最初から用
いることによって、評価値を求める際の演算量の削減だ
けでなく、付加量を増幅(或いは強調)させるための評
価値の変換処理も省略できる構成が、ここで説明するウ
ォータマーク検出器である。
As described above, by using the difference value between before and after, from the beginning, not only the reduction in the amount of calculation when obtaining the evaluation value, but also the conversion processing of the evaluation value for amplifying (or enhancing) the additional amount. A configuration that can be omitted is the watermark detector described here.

【0214】なお、ここで説明するウォータマーク検出
器については、以後、第2の実施の形態における「構成
例3」のウォータマーク検出器と称する。
Note that the watermark detector described here is hereinafter referred to as a “watermark detector of“ Configuration Example 3 ”in the second embodiment.

【0215】この構成例3のウォータマーク検出器の構
成については、上記図8に示す構成例2のウォータマー
ク検出器11と略同様に構成されている。
The configuration of the watermark detector of Configuration Example 3 is substantially the same as that of the watermark detector 11 of Configuration Example 2 shown in FIG.

【0216】すなわち、入力された画像データは、差分
算出器34においてそれぞれの画素に対する差分値が算
出され、複数の評価値算出器351,352,353,3
4に入力される。
That is, in the input image data, a difference value for each pixel is calculated in a difference calculator 34, and a plurality of evaluation value calculators 35 1 , 35 2 , 35 3 , 3 are calculated.
Is input to the 5 4.

【0217】ウォータマークパターン保持メモリ32に
記録されているウォータマークパターンは、必要に応じ
てウォータマークパターンずらし器331,332,33
3でずらされる。
The watermark patterns recorded in the watermark pattern holding memory 32 can be replaced with watermark pattern shifters 33 1 , 33 2 , 33 as necessary.
Staggered by 3 .

【0218】評価値算出器351,352,353,354
では、必要に応じてずらされたウォータマークパターン
を用いて、それぞれ評価値が算出される。
Evaluation value calculators 35 1 , 35 2 , 35 3 , 35 4
Then, evaluation values are calculated using watermark patterns shifted as necessary.

【0219】算出された評価値は評価値比較器38に入
力され、閾値処理され、付随情報fが出力される。な
お、入力された画像データ自体も、そのまま出力され
る。
[0219] The calculated evaluation value is input to the evaluation value comparator 38, subjected to threshold processing, and the accompanying information f is output. The input image data itself is output as it is.

【0220】なお、評価値算出器351及びウォータマ
ークパターンずらし器333(同図8中点線で示す部
分)は、基本的に必要ではないが、それらを設けて利用
しても一向に構わない。
[0220] Incidentally, (a portion indicated by a dotted line in FIG. 8) the evaluation value calculator 35 1 and the watermark pattern shifted 33 3 is not essentially necessary, may at all be used them provided .

【0221】そして、構成例3とされるウォータマーク
検出器は、付随情報の検出処理を、図11に示すような
一連の処理により実行している。
The watermark detector according to the third configuration example performs the detection process of the accompanying information by a series of processes as shown in FIG.

【0222】構成例3のウォータマーク検出器は、ステ
ップS91において、閾値thの設定を行い、続くステ
ップS92において、一つ前との差分を用いて評価値s
umを求める準備を行う。この準備の具体例として、例
えば上述した差分値用評価値算出処理(図6に示す処
理)で評価値を算出する場合において、対象の画素Xの
差分値xdを算出するときに、差分値xd(z)=−X
(z−1)+2X(z)−X(z+1)を用いるような
設定を行うことなどが挙げられる。
The watermark detector of Configuration Example 3 sets the threshold value th in step S91, and in the subsequent step S92, uses the difference from the immediately preceding value to evaluate the value s.
Prepare for um. As a specific example of this preparation, for example, in the case where the evaluation value is calculated by the above-described evaluation value calculation processing for a difference value (the processing shown in FIG. 6), when calculating the difference value xd of the target pixel X, the difference value xd (Z) =-X
Setting that uses (z-1) + 2X (z) -X (z + 1) may be performed.

【0223】そして、ステップS93〜ステップS98
において、ずらし量i,0,jのウォータマークパター
ンを用いたときの、現フレームの画像に対するそれぞれ
の評価値sum_i,sum_n,sum_jを求めて
いる。ここで、ステップS94,96,98の各ステッ
プにおいては、評価値を算出するための上述した差分値
用評価値算出処理を行っている。
Then, steps S93 to S98 are performed.
, The respective evaluation values sum_i, sum_n, and sum_j for the image of the current frame when the watermark pattern having the shift amounts i, 0, and j are used. Here, in each of the steps S94, 96, and 98, the above-described difference value evaluation value calculation processing for calculating the evaluation value is performed.

【0224】すなわち、ウォータマーク検出器は、ステ
ップS93及びステップS94により、上記評価値算出
処理によりずらし量iにおける評価値sum_iを求
め、続くステップS95及びステップS96において、
ずらし量z=0のウォータマークパターンを用いたとき
の評価値sum_nを求め、そして、ステップ97及び
ステップS98において、ずらし量z=jのウォータマ
ークパターンを用いたときの評価値sum_jを求め
る。なお、ウォータマークパターンをずらす方法は、例
えば、従来例において述べた方法と同様で構わない。
That is, the watermark detector obtains the evaluation value sum_i at the shift amount i by the above-described evaluation value calculation processing in steps S93 and S94, and in subsequent steps S95 and S96,
The evaluation value sum_n when using the watermark pattern with the shift amount z = 0 is obtained, and in step 97 and step S98, the evaluation value sum_j when using the watermark pattern with the shift amount z = j is obtained. The method of shifting the watermark pattern may be the same as, for example, the method described in the conventional example.

【0225】ウォータマーク検出器は、ステップS99
において、上述のようにして求めた上記3つの評価値s
um_i,sum_n,sum_jから、相対的に評価
し、付随情報を求める。
The watermark detector operates in step S99.
In the above, the above three evaluation values s obtained as described above
From um_i, sum_n, and sum_j, relative evaluation is performed to obtain accompanying information.

【0226】その後、ウォータマーク検出器は、ステッ
プS100において、評価値sum_i,sum_jか
ら標準的な評価値sum_ave=(sum_i+su
m_j)/2を求め、続くステップS101において、
この値sum_aveを標準的な評価値として実際の評
価値(ずらし量0の評価値)sum_nとの差分の絶対
値|sum_n−sum_ave|を求める。ここで、
ウォータマーク検出器は、その差が閾値thよりも大き
い場合には、ステップS101に進み、ずらし位相rで
は付随情報が付加されているとみなして付随情報fをo
nにして、そうでない場合には、ステップS102に進
み、付随情報fをoffにする。
Thereafter, in step S100, the watermark detector uses the standard evaluation value sum_ave = (sum_i + su) from the evaluation values sum_i and sum_j.
m_j) / 2, and in a succeeding step S101,
Using this value sum_ave as a standard evaluation value, the absolute value | sum_n-sum_ave | of the difference from the actual evaluation value (evaluation value of shift amount 0) sum_n is obtained. here,
If the difference is greater than the threshold th, the watermark detector proceeds to step S101, and considers that the accompanying information f has been added at the shift phase r and sets the accompanying information f to o.
n, otherwise, the process proceeds to step S102, and the accompanying information f is turned off.

【0227】以上のように、構成例1、構成例2、及び
構成例3のように構成された第2の実施の形態のウォー
タマーク検出器は、ずらし検出して付随情報を検出して
いる。
As described above, the watermark detector according to the second embodiment configured as in the first, second, and third configuration examples detects displacement and detects accompanying information. .

【0228】この第2の実施の形態であるウォータマー
ク検出器は、付随情報を付加する際に利用したウォータ
マークパターンが、M系列等の特殊な性質を有するパタ
ーンである場合には、差分値を用いて評価値を求めるこ
とによって、付加量を増幅させることができる。すなわ
ち、例えば、M系列では、その系列と同位相の系列の内
積を取ると相関が高くなり、同位相ではない系列の内積
を取ると相関は低くなる性質がある。差分をとることに
よって、同位相以外で相関が高くなる位相を設けること
ができ、それらの位相を利用して付加量を増幅(或いは
強調)させることができる。
In the watermark detector according to the second embodiment, when the watermark pattern used for adding the accompanying information is a pattern having a special property such as an M-sequence, the difference value The additional amount can be amplified by obtaining the evaluation value by using. That is, for example, in an M-sequence, if the inner product of a sequence in phase with the sequence is taken, the correlation becomes high, and if the inner product of a sequence not in phase is taken, the correlation becomes low. By taking the difference, it is possible to provide a phase having a high correlation other than the same phase, and it is possible to amplify (or enhance) the additional amount by using those phases.

【0229】ここで、上述した構成例1、構成例2、及
び構成例3のように構成された第2の実施の形態におけ
るウォータマーク検出器については、次のような変形例
が可能になっている。
Here, with respect to the watermark detector according to the second embodiment configured as in the above-described configuration example 1, configuration example 2, and configuration example 3, the following modifications are possible. ing.

【0230】例えば、構成例1、構成例2、及び構成例
3のように構成したウォータマーク検出器については、
一つ前との差分値xd(z)=X(z−1)−X
(z)、一つ後との差分値xd(z)=X(z)−X
(z+1)、前後との差分値xd(z)=−X(z−
1)+2X(z)−X(z+1)を用いる場合を例に、
して説明した。
For example, with respect to the watermark detector configured as in Configuration Example 1, Configuration Example 2, and Configuration Example 3,
Difference value xd (z) = X (z−1) −X
(Z), difference value xd (z) = X (z) −X
(Z + 1), a difference value xd (z) = − X (z−
1) Taking the case of using + 2X (z) -X (z + 1) as an example,
And explained.

【0231】しかし、このような差分値に限定される必
要はなく、画素Xに対する差分値xdの計算方法はいろ
いろと考えられる。その方法は、例えば図1のように構
成されるウォータマーク検出器2においていろいろと述
べた方法と同様で構わない。もちろん、一つ前や一つ後
との差分値ではなく、2つ前や9つ後との差分値を用い
る構成にしても良い。
However, there is no need to be limited to such a difference value, and various methods of calculating the difference value xd for the pixel X can be considered. The method may be the same as the method described variously in the watermark detector 2 configured as shown in FIG. 1, for example. Of course, a configuration may be used in which a difference value between two before and nine after is used instead of a difference value between one before and one after.

【0232】また、ずらし量z(或いは、h,i,0,
j )が画像のx成分に対して影響を与える場合を例に
説明した。しかし、このようなずらし方に限定される必
要はなく、ウォータマークパターンのずらし方はいろい
ろと考えられる。その方法は、例えば従来例において図
34を用いて説明したように、画像の走査順に従ってず
らす方法でも良いし、それ以外の方法でも構わない。ま
たずらす単位は、1画素単位に限らず、任意の領域の単
位でずらして良い。ずらし量はi>0,j<0,|i|
=|j|のように、ずらし量0を中心に前後に同じ量だ
けずらす方が良いが、任意のずらし量で構わない。
The shift amount z (or h, i, 0,
The case where j) affects the x component of the image has been described as an example. However, there is no need to be limited to such a shifting method, and various methods of shifting the watermark pattern can be considered. The method may be, for example, as described with reference to FIG. 34 in the conventional example, a method of shifting in accordance with the scanning order of images, or any other method. The unit of shifting is not limited to one pixel unit, but may be shifted in units of an arbitrary area. The shift amount is i> 0, j <0, | i |
= | J |, it is better to shift the same amount back and forth with the shift amount 0 as the center, but any shift amount is acceptable.

【0233】また、一般的に画像内では近隣の画素値の
相関が高いため、画素Xの差分値は平均的に0になる。
しかし、その画素位置がエッジの境界などにある場合、
その差分値の絶対値は大きな値となってしまうことが多
く、評価値はその差分値によって大きな影響を受けてし
まう。このことを避けるために、差分値の絶対値がある
範囲を超える場合には、その差分値を評価値に反映させ
なくても良い。または、その値をクリッピングしても良
い。具体例には、差分の絶対値|xd|>rangeの場合
には、差分値xdを次のように設定する。
In general, since the correlation between neighboring pixel values is high in an image, the difference value of the pixel X is 0 on average.
However, if the pixel position is on the boundary of the edge,
The absolute value of the difference value often becomes a large value, and the evaluation value is greatly affected by the difference value. In order to avoid this, when the absolute value of the difference value exceeds a certain range, the difference value need not be reflected in the evaluation value. Alternatively, the value may be clipped. As a specific example, when the absolute value of the difference | xd |> range, the difference value xd is set as follows.

【0234】xd=0 または、次のように設定する。Xd = 0 Or set as follows.

【0235】xd=range (xd≧0) xd=-range (xd<0) また、前後1つずつのずらし量だけでなく、それぞれ複
数のずらし量を用い、それらについて求めた全て或いは
一部の評価値に対して、フィルタ等を用いて標準的な評
価値を構成しても構わない。それとは逆に、例えば前の
ずらし量だけを用いるというように、どちらか一方のず
らし量だけを用いて、標準的な評価値を構成しても良
い。
Xd = range (xd ≧ 0) xd = −range (xd <0) Further, not only one shift amount before and after, but a plurality of shift amounts are used, and all or some of the shift amounts obtained for them are used. For the evaluation value, a standard evaluation value may be configured using a filter or the like. Conversely, a standard evaluation value may be configured using only one of the shift amounts, for example, using only the previous shift amount.

【0236】また、小数精度のずらし量についても反復
処理を行うことにし、そのような場合はウォータマーク
パターン或いは対象領域の画素を補間して評価値を求め
ることにしても良い。
In addition, iterative processing is performed for the shift amount of decimal precision, and in such a case, the evaluation value may be obtained by interpolating the watermark pattern or the pixel of the target area.

【0237】また、現フレームの画像に対する標準的な
評価値を求める際には、どのような処理方法を用いても
良い。例えばメディアンフィルタのようなフィルタを掛
け、3つの評価値sum_n,sum_i,sum_j
に対し、現フレームの画像に対する標準的な評価値su
m_medを求めても良い。ここで、メディアンフィル
タとは、入力した数値列を大きい順或いは小さい順に並
べ直した後で、真中の位置の値を返すフィルタである。
例えば、71,8,−345,68,−2という5つの
数値が入力された場合、メディアンフィルタは−34
5,−2,8,68,71等のように並べ換えを行い、
8を返す。このようにして求めた標準的な評価値sum
_medと実際の評価値sum_nとの差分の絶対値を
求め、その差が閾値thよりも大きい場合には、付随情
報が付加されているとみなして付随情報fをonにす
る。そうでない場合には、付随情報fをoffにする。
When a standard evaluation value for the image of the current frame is obtained, any processing method may be used. For example, a filter such as a median filter is applied, and three evaluation values sum_n, sum_i, and sum_j
With respect to the standard evaluation value su for the image of the current frame.
m_med may be obtained. Here, the median filter is a filter that returns the value at the center position after rearranging the input numerical value sequence in ascending or descending order.
For example, when five numerical values of 71, 8, -345, 68, and -2 are input, the median filter is set to -34.
Sort them like 5, -2, 8, 68, 71 etc.
Returns 8. The standard evaluation value sum obtained in this way
The absolute value of the difference between _med and the actual evaluation value sum_n is obtained, and if the difference is greater than the threshold th, it is determined that the accompanying information has been added, and the accompanying information f is turned on. Otherwise, the associated information f is turned off.

【0238】この他にも、任意の単一の位相の評価値を
そのまま利用しても良いし、複数の評価値のうち全部或
いは一部に対する平均値、最大値、最小値などを求めて
利用するというように、どのような処理方法を用いて標
準的な評価値を求めても構わない。これには、例えば−
2及び−1ずらした時の評価値の推移から、ずらし量0
の時の評価値を予測或いは外挿するというような、より
複雑な処理方法も含まれる。
In addition, an evaluation value of an arbitrary single phase may be used as it is, or an average value, a maximum value, a minimum value, etc., of all or some of a plurality of evaluation values may be obtained and used. The standard evaluation value may be obtained using any processing method. This includes, for example,-
From the transition of the evaluation value when shifted by 2 and −1, the shift amount is 0
A more complicated processing method, such as predicting or extrapolating the evaluation value at the time, is also included.

【0239】また、標準的な評価値及び実際の評価値を
用いて閾値との比較を行う際には、先に示した比較方法
以外のどのような比較方法を用いても良い。例えば、評
価値のバイアス成分B(図22乃至図24を用いて説明
した例の(4n)^2)に相当)が一定であることを利
用して、どの程度バイアス成分が保持されているとみな
すか示すバイアス信頼係数c(0≦c≦1)と共に比較
を行っても良い。これについて具体例を挙げて説明す
る。
When comparing with a threshold value using a standard evaluation value and an actual evaluation value, any comparison method other than the above-described comparison method may be used. For example, by using the fact that the bias component B of the evaluation value (corresponding to (4n) / 2 in the example described with reference to FIGS. 22 to 24) is constant, it is determined how much the bias component is held. The comparison may be performed with a bias reliability coefficient c (0 ≦ c ≦ 1) indicating whether or not to be considered. This will be described with a specific example.

【0240】前にずらし量iずらした場合の評価値より
もずらし量0の場合の評価値がB×cだけ大きく、しか
も後にずらし量jだけずらした場合の評価値よりもずら
し量0の場合の評価値もB×cだけ大きいときに、付随
情報が付加されているとみなす。或いは、ずらし量i,
jのいずれかにずらした場合の評価値よりも、ずらし量
0の時の評価値がB×cだけ大きい場合に、付随情報が
付加されているとみなす。
In the case where the evaluation value when the shift amount is 0 is larger than the evaluation value when the shift amount i is shifted earlier by B × c, and the shift amount is 0 than the evaluation value when the shift amount is shifted by the shift amount j later When the evaluation value is larger by B × c, it is considered that the accompanying information is added. Alternatively, the shift amount i,
If the evaluation value at the time of the shift amount 0 is larger than the evaluation value at the time of shifting to any one of j by B × c, it is regarded that the accompanying information is added.

【0241】以上のように、評価値のバイアス成分Bが
一定であることを利用して、どの程度バイアス成分が保
持されているとみなすか示すバイアス信頼係数c(0≦
c≦1)と共に比較を行い付随情報を検出することがで
きる。
As described above, utilizing the fact that the bias component B of the evaluation value is constant, the bias reliability coefficient c (0 ≦
By comparing with c ≦ 1), it is possible to detect accompanying information.

【0242】また、ウォータマークのシンボルは、プラ
ス、マイナス以外のどのようなシンボルを用いても良
い。また、2種類ではなく、3種類以上のどのようなシ
ンボルを用いても良い。例えば、プラス、ゼロ、マイナ
スの3種類のシンボルを用意しておき、ウォータマーク
パターンとの照合を行った際にシンボルがゼロである画
素については、評価値sumに影響を与えない(その画
素値を評価値sumに足しも引きもしない)ようにする
など、各シンボルにどのような意味を与えても良い。
The watermark symbol may be any symbol other than plus and minus. In addition, any two or more types of symbols may be used instead of the two types. For example, three types of symbols, plus, zero, and minus, are prepared, and a pixel whose symbol is zero when matching with a watermark pattern does not affect the evaluation value sum (the pixel value May not be added to or subtracted from the evaluation value sum).

【0243】また、ウォータマークパターンを画像上に
付加する領域は、任意の形状及び範囲で構わない。さら
に、付加したウォータマークパターンとの整合が取れて
いる限り、検出時に評価値を求める領域の形状及び範囲
は任意で構わない。そして、ウォータマークパターン
は、時間的或いは空間的に渡るより広い領域を用いて、
付加或いは検出を行うことにしても良い。例えば動画像
シーケンスにおいては、時間的な基準を用い、現フレー
ムの時間的位置だけでなく、過去や未来のフレームも利
用して良い。例えば非常に大きな画像サイズを持つ静止
画像においては、1枚の画像をある単位で複数の画像領
域に分割して扱うことにし、空間的な基準を用い、現在
対象としている画像領域に対して、例えば走査順で前や
後に位置する画像領域も利用して良い。
The area where the watermark pattern is added on the image may have any shape and range. Furthermore, the shape and range of the area for which the evaluation value is to be obtained at the time of detection may be arbitrarily set as long as the matching with the added watermark pattern is achieved. Then, the watermark pattern uses a wider area that extends over time or space,
Addition or detection may be performed. For example, in a moving image sequence, a temporal reference is used, and not only the temporal position of the current frame but also past and future frames may be used. For example, in a still image having a very large image size, one image is divided into a plurality of image areas in a certain unit and handled. For example, image areas located before and after in the scanning order may be used.

【0244】以上が第2の実施の形態におけるウォータ
マーク検出器の説明である。次に第3の実施の形態のウ
ォータマーク検出器について説明する。
The above is the description of the watermark detector according to the second embodiment. Next, a watermark detector according to a third embodiment will be described.

【0245】第3の実施の形態となるウォータマーク検
出器は、評価値を相対的に評価して付随情報を検出する
場合において、標準的な評価値と実際の評価値を用いて
閾値との比較を行う際に、複数のずらし量の位相を参照
しそれらを総合的に判断するように構成されている。こ
のように、差分値の計算方法を工夫すると、複数の位相
を対象にこの比較を行うことができ、検出の信頼性を上
げることができる。
The watermark detector according to the third embodiment uses a standard evaluation value and an actual evaluation value to determine a threshold value when relatively evaluating an evaluation value and detecting accompanying information. When the comparison is performed, the phase of the plurality of shift amounts is referred to and the phases are comprehensively determined. In this way, by devising a method of calculating the difference value, the comparison can be performed for a plurality of phases, and the reliability of detection can be increased.

【0246】ここで、第1の実施の実施の形態において
説明した画素Xに対する差分値xdのいくつかの計算方
法の中から、複数の画素を用いて差分値を求める方法を
一例として説明する。
Here, a method of obtaining a difference value using a plurality of pixels from among several methods of calculating the difference value xd for the pixel X described in the first embodiment will be described as an example.

【0247】例えば横差分なら、画素X0に対する差分
値xdを求める際に、右隣に連続する4つの画素X0
(y,x),X1(y,x+1),X2(y,x+
2),X3(y,x+3)を用いることにしても良い。
これから、次のように、差分値xd1,xd2,xd3
を求める。
For example, in the case of a horizontal difference, when calculating the difference value xd for the pixel X0, four pixels X0 adjacent to the right are used.
(Y, x), X1 (y, x + 1), X2 (y, x +
2), X3 (y, x + 3) may be used.
From this, the difference values xd1, xd2, xd3 are obtained as follows.
Ask for.

【0248】xd1=X0−X1+X2−X3 xd2=X0−X1−X2+X3 xd3=X0+X1−X2−X3 ここで、X0,X1,X2,X3 は、どれもウォータ
マークパターンを付加する前の画像Pに対して、ウォー
タマークパターンMを付加したものである。すなわち、
次のように示す値である。
Xd1 = X0-X1 + X2-X3 xd2 = X0-X1-X2 + X3 xd3 = X0 + X1-X2-X3 where X0, X1, X2 and X3 are all relative to the image P before the watermark pattern is added. And a watermark pattern M is added. That is,
The value is as shown below.

【0249】 X0=P(y,x)+M(y,x) X1=P(y,x+1)+M(y,x+1) X2=P(y,x+2)+M(y,x+2) X3=P(y,x+3)+M(y,x+3) ここで、差分値xd1を用いて評価値sum_1を算出
する。ずらし量0の時の評価値sum_1(0)は、画
像に渡ってM(y,x)と差分値xd1との内積を求め
ることにより得られる。すなわち、次のような式で表す
ことができる。 sum_1(0)=Σ{M(y,x)×xd1}=Σ
{M(y,x)×Y1}+Σ{M(y,x)×M(y,
x )}−Σ{M(y,x)×M(y,x+1)}+Σ
{M(y,x)×M(y,x+2)}−Σ{M(y,
x)×M(y,x+3)} ただし、Y1=P(y,x)−P(y,x+1)+P
(y,x+2)−P(y,x+3)である。
X0 = P (y, x) + M (y, x) X1 = P (y, x + 1) + M (y, x + 1) X2 = P (y, x + 2) + M (y, x + 2) X3 = P (y , X + 3) + M (y, x + 3) Here, the evaluation value sum_1 is calculated using the difference value xd1. The evaluation value sum_1 (0) when the shift amount is 0 is obtained by calculating the inner product of M (y, x) and the difference value xd1 over the image. That is, it can be represented by the following equation. sum_1 (0) = {M (y, x) × xd1} = Σ
{M (y, x) × Y1} + {M (y, x) × M (y,
x)} − {M (y, x) × M (y, x + 1)} + Σ
{M (y, x) × M (y, x + 2)} − {M (y,
x) × M (y, x + 3)} where Y1 = P (y, x) −P (y, x + 1) + P
(Y, x + 2) -P (y, x + 3).

【0250】ここで、上記式sum_1(0)の第2項
の+Σ{M(y,x)×M(y,x)}は、同位相の系
列の内積なのでほぼαとなるが、それ以外の項はほぼ0
となる。よって、 sum_1(0)≒α となる。同様に、ずらし量1,2,3の場合の評価値
は、 sum_1(1)≒−α sum_1(2)≒α sum_1(3)≒−α となる。また、同様にずらし量0,1,2,3以外の場
合の評価値を求めると、どれもほぼ0となる。すなわ
ち、 sum_1(z)≒0 (z≠0 and z≠1 and z≠
2 and z≠3) となる。
Here, + {M (y, x) × M (y, x)} in the second term of the above expression sum — 1 (0) is substantially the same as α because it is an inner product of in-phase series. Term is almost 0
Becomes Therefore, sum_1 (0) ≒ α. Similarly, the evaluation value in the case of the shift amounts 1, 2, 3 is sum_1 (1) ≒ -αsum_1 (2) ≒ αsum_1 (3) ≒ -α. Similarly, when the evaluation values other than the shift amounts of 0, 1, 2, and 3 are obtained, all of them become almost zero. That is, sum_1 (z) ≒ 0 (z ≠ 0 and z ≠ 1 and z ≠
2 and z ≠ 3).

【0251】このように導かれる差分値xd1の場合の
評価値sum_1は、ずらし量zとの関係において、図
12中(A)に示すようになる。
The evaluation value sum_1 in the case of the difference value xd1 thus derived is as shown in FIG. 12A in relation to the shift amount z.

【0252】次に、差分値xd2を用いて評価値sum
_2を算出する。ずらし量0の場合の評価値sum_2
(0)は、画像に渡ってM(y,x)と差分値xd2と
の内積を求めることにより、得られる。すなわち、次の
ような式で表すことができる。
Next, the evaluation value sum is calculated using the difference value xd2.
_2 is calculated. Evaluation value sum_2 when shift amount is 0
(0) is obtained by calculating the inner product of M (y, x) and the difference value xd2 over the image. That is, it can be represented by the following equation.

【0253】sum_2(0)=Σ{M(y,x)×x
d2}=Σ{M(y,x)×Y2}+Σ{M(y,x)
×M(y,x)}−Σ{M(y,x)×M(y,x+
1)}−Σ{M(y,x)×M(y,x+2)}+Σ
{M(y,x)×M(y,x+3)} ただし、Y2=P(y,x)−P(y,x+1)−P
(y,x+2)+P(y,x+3)である。
Sum_2 (0) = {M (y, x) × x
d2} = {M (y, x) × Y2} + {M (y, x)
× M (y, x)} − Σ {M (y, x) × M (y, x +
1) {− {M (y, x) × M (y, x + 2)} +}
{M (y, x) × M (y, x + 3)} where Y2 = P (y, x) -P (y, x + 1) -P
(Y, x + 2) + P (y, x + 3).

【0254】ここで、上記式sum_2(0)の第2項
の+Σ{M(y,x)×M(y,x)}は、同位相の系
列の内積なのでほぼαとなるが、それ以外の項はほぼ0
となる。よって、 sum_2(0)≒α となる。同様に、ずらし量1,2,3の場合の評価値
は、 sum_2(1)≒−α sum_2(2)≒−α sum_2(3)≒α となる。また、同様にずらし量0,1,2,3以外の場
合の評価値を求めると、どれもほぼ0となる。すなわ
ち、 sum_2(z)≒0 (z≠0 and z≠1 and z≠
2 and z≠3) となる。
Here, + {M (y, x) × M (y, x)} of the second term of the above expression sum_2 (0) is substantially an α because it is an inner product of a series having the same phase. Term is almost 0
Becomes Therefore, sum_2 (0) ≒ α. Similarly, the evaluation value in the case of the shift amounts 1, 2, and 3 is sum_2 (1) ≒ -αsum_2 (2) ≒ -αsum_2 (3) ≒ α. Similarly, when the evaluation values other than the shift amounts of 0, 1, 2, and 3 are obtained, all of them become almost zero. That is, sum_2 (z) ≒ 0 (z ≠ 0 and z ≠ 1 and z ≠
2 and z ≠ 3).

【0255】このように導かれる差分値xd2の場合の
評価値sum_2は、ずらし量zとの関係において、図
12中(B)に示すようになる。
The evaluation value sum_2 in the case of the difference value xd2 derived in this way is as shown in FIG. 12B in relation to the shift amount z.

【0256】次に、差分値xd3を用いて評価値sum
_3を算出する。ずらし量0の場合の評価値sum_3
(0)は、画像に渡ってM(y,x)と差分値xd3と
の内積を求めることにより、得られる。すなわち、次の
ような式で表すことができる。
Next, the evaluation value sum is calculated using the difference value xd3.
_3 is calculated. Evaluation value sum_3 when shift amount is 0
(0) is obtained by calculating the inner product of M (y, x) and the difference value xd3 over the image. That is, it can be represented by the following equation.

【0257】sum_3(0)=Σ{M(y,x)×x
d3}=Σ{M(y,x)×Y3 }+Σ{M(y,
x)×M(y,x)}+Σ{M(y,x)×M(y,x
+1)}−Σ{M(y,x)×M(y,x+2)}−Σ
{M(y,x)×M(y,x+3)} ただし、Y3=P(y,x)+P(y,x+1)−P
(y,x+2)−P(y,x+3)である。
Sum — 3 (0) = Σ {M (y, x) × x
d3} = {M (y, x) × Y3} + {M (y,
x) × M (y, x)} + Σ {M (y, x) × M (y, x
+1)} − {M (y, x) × M (y, x + 2)} − Σ
{M (y, x) × M (y, x + 3)} where Y3 = P (y, x) + P (y, x + 1) -P
(Y, x + 2) -P (y, x + 3).

【0258】ここで、上記式sum_3(0)の第2項
の+Σ{M(y,x)×M(y,x)}は、同位相の系
列の内積なのでほぼαとなるが、それ以外の項はほぼ0
となる。よって、 sum_3(0)≒α となる。同様に、ずらし量1,2,3の場合の評価値
は、 sum_3(1)≒α sum_3(2)≒−α sum_3(3)≒−α となる。また、同様にずらし量0,1,2,3以外の場
合の評価値を求めると、どれもほぼ0となる。すなわ
ち、 sum_3(z)≒0 (z≠0 and z≠1 and z≠
2 and z≠3) となる。
Here, + {M (y, x) × M (y, x)} of the second term of the above expression sum — 3 (0) is substantially the same as α because it is an inner product of a series having the same phase. Term is almost 0
Becomes Therefore, sum_3 (0) ≒ α. Similarly, the evaluation value in the case of the shift amounts 1, 2, 3 is sum_3 (1) {αsum_3 (2)} − αsum_3 (3) ≒ −α. Similarly, when the evaluation values other than the shift amounts of 0, 1, 2, and 3 are obtained, all of them become almost zero. That is, sum_3 (z) ≒ 0 (z ≠ 0 and z ≠ 1 and z ≠
2 and z ≠ 3).

【0259】このように導かれる差分値xd3の場合の
評価値sum_3は、ずらし量zとの関係において、図
12中(C)に示すようになる。
The evaluation value sum_3 in the case of the difference value xd3 derived in this way is as shown in FIG. 12C in relation to the shift amount z.

【0260】以上のように各差分値から評価値sum_
1,sum_2,sum_3を求めたが、例えば次のよ
うな評価値sum_p0,sum_p1,sum_p
2,sum_p3 への変換を行うと、第2の実施の形
態において説明した付加量増幅効果を複数のずらし位相
で得ることができる。すなわち、 sum_p0=sum_1+sum_2+sum_3 により、図13中(A)に示すように、ずらし位相0に
おいてピーク値として得ることができる。また、 sum_p1=−sum_1−sum_2+sum_3 により、図13中(B)に示すように、ずらし位相1に
おいてピーク値として得ることができる。さらに、 sum_p2=sum_1−sum_2−sum_3 により、図13中(C)に示すように、ずらし位相2に
おいてピーク値として得ることができる。そして、 sum_p3=−sum_1+sum_2−sum_3 により、図13中(D)に示すように、ずらし位相3に
おいてピーク値として得ることができる。
As described above, the evaluation value sum_
1, sum_2, and sum_3 were obtained. For example, the following evaluation values sum_p0, sum_p1, sum_p
By performing the conversion to 2, sum_p3, the additional amount amplification effect described in the second embodiment can be obtained with a plurality of shifted phases. That is, by sum_p0 = sum_1 + sum_2 + sum_3, a peak value can be obtained at a shifted phase 0 as shown in FIG. In addition, by sum_p1 = −sum_1−sum_2 + sum_3, a peak value can be obtained in the shift phase 1 as shown in FIG. Further, by sum_p2 = sum_1-sum_2-sum_3, a peak value can be obtained in the shifted phase 2 as shown in FIG. Then, by sum_p3 = −sum_1 + sum_2−sum_3, a peak value can be obtained at the shift phase 3 as shown in FIG.

【0261】よって、例えばsum_p0(0),su
m_p1(1),sum_p2(2),sum_p3
(3)の全てでピーク値になった場合に、付随情報が付
加されていると判定することができる。このようにする
と、基本的にずらし量の一つの位相(ずらし量0)しか
対象にできなかった付随情報の有無の判定が、複数の位
相を対象にすることができるため、検出の信頼性を上げ
ることができる。
Therefore, for example, sum_p0 (0), su
m_p1 (1), sum_p2 (2), sum_p3
When the peak value is reached in all of (3), it can be determined that the accompanying information has been added. With this configuration, the determination of presence / absence of the accompanying information, which can basically target only one phase of the shift amount (shift amount 0), can be performed for a plurality of phases. Can be raised.

【0262】次に、この処理を可能にする第3の実施の
形態とされるウォータマーク検出器の構成について、図
14を用いて説明する。
Next, the configuration of a watermark detector according to a third embodiment which enables this processing will be described with reference to FIG.

【0263】第3の実施の形態であるウォータマーク検
出器は、ウォータマークパターン保持メモリ52、ウォ
ータマークパターンずらし器53、差分算出器541
・・・,54n、評価値算出器551,・・・,55m
評価値比較器57、画像変換器58を備えている。なお
本実施例では、評価値比較器の構成に特徴があるため、
それ以外の部分は概念的に説明する。
The watermark detector according to the third embodiment includes a watermark pattern holding memory 52, a watermark pattern shifter 53, a difference calculator 54 1 ,
· · ·, 54 n, the evaluation value calculator 55 1, ···, 55 m,
An evaluation value comparator 57 and an image converter 58 are provided. In this embodiment, since the configuration of the evaluation value comparator is characteristic,
Other parts will be described conceptually.

【0264】このような構成されたウォータマーク検出
器51においては、入力された画像データは、n個の各
差分算出器541,・・・,54nにおいてそれぞれの画
素に対する差分値が算出される。そして、算出された差
分値は、m個の複数の評価値算出器551,・・・,5
mに入力される。なお、各差分算出器541,・・・,
54nで差分値を算出する方法は、互いが同様の方法を
採っても良いし、異なる方法を採っても構わない。
In the watermark detector 51 configured as described above, the difference value for each pixel is calculated by n difference calculators 54 1 ,..., 54 n of the input image data. You. Then, the calculated difference value is calculated by using a plurality of m evaluation value calculators 55 1 ,.
Input to 5 m . Note that each difference calculator 54 1 ,.
The method of calculating the difference value by 54 n may use the same method as each other or a different method.

【0265】また、ウォータマークパターン保持メモリ
52に記録されているウォータマークパターンは、必要
に応じてウォータマークパターンずらし器53でずらさ
れる。
The watermark pattern recorded in the watermark pattern holding memory 52 is shifted by the watermark pattern shifter 53 as needed.

【0266】各評価値算出器551,・・・,55m
は、必要に応じてずらされたウォータマークパターンを
用いて、それぞれ評価値が算出される。ここで算出され
た評価値は評価値比較器57に入力され、付加量を増幅
(或いは強調)させる処理が行われた後、閾値処理さ
れ、付随情報fが出力される。
Each of the evaluation value calculators 55 1 ,..., 55 m calculates an evaluation value by using a watermark pattern shifted as necessary. The calculated evaluation value is input to the evaluation value comparator 57, and after a process of amplifying (or emphasizing) the additional amount is performed, a threshold process is performed, and the accompanying information f is output.

【0267】なお、付加量の増幅(或いは強調)処理を
行う部分を外部に出し、評価値比較器57の前に設けて
も良い。また、入力された画像データ自体も、そのまま
出力される。
A portion for performing the amplification (or emphasis) processing of the additional amount may be provided outside and provided before the evaluation value comparator 57. Further, the input image data itself is output as it is.

【0268】画像変換器58は必須ではないが、置かれ
ることもあり、この画像変換器58により画像データが
加工処理等される。
The image converter 58 is not indispensable, but may be placed, and the image converter 58 processes the image data.

【0269】上述した評価値比較器57は、第3の実施
の形態であるウォータマーク検出器51において特徴的
なところであり、詳しくは、図15に示すように構成さ
れている。なお、特徴を明確にするために、図16に
は、従来の評価値比較器の構成例を示している。例えば
従来のウォータマーク検出器321においては、上述し
た図33に示すように、評価値比較器324に、各評価
値算出器3231,3232,3233で算出された評価
値が入力される。そして、これに対応して従来の評価値
比較器324では、例えば、図16に示すように、3つ
の評価値が入力される場合を示している。
The above-described evaluation value comparator 57 is a feature of the watermark detector 51 according to the third embodiment, and is specifically configured as shown in FIG. FIG. 16 shows a configuration example of a conventional evaluation value comparator in order to clarify the characteristics. For example, in the conventional watermark detector 321, as shown in FIG. 33 described above, the evaluation values calculated by the evaluation value calculators 323 1 , 323 2 , and 323 3 are input to the evaluation value comparator 324. . Correspondingly, the conventional evaluation value comparator 324 shows a case where three evaluation values are input as shown in FIG. 16, for example.

【0270】なお、図16と図33とにおいて示すずら
し量(と評価値)の対応関係は、表1のようになる。ま
た、図が繁雑になるのを防ぐため、本来は「ずらし量z
1の場合の評価値」と記すべきを「ずらし量z1」と省
略している。
The correspondence between the shift amounts (and the evaluation values) shown in FIGS. 16 and 33 is as shown in Table 1. In addition, in order to prevent the figure from becoming complicated, the “shift amount z
What should be described as “evaluation value in case of 1” is abbreviated as “shift amount z1”.

【0271】[0271]

【表1】 [Table 1]

【0272】従来の評価値比較器324は、例えば、ず
らし量z1,z2の評価値から足し算器401及び1/
2乗算器402により導き出した平均値を標準的な評価
値とみなし、この値とずらし量0の場合の評価値から引
き算器403によって差分を算出している。そして、こ
の差分の絶対値を絶対値変換器404においてとり、そ
の値と閾値とを比較器405において比較する。そし
て、従来の評価値比較器324は、値が閾値よりも大き
い場合には、付随情報が付加されていると評価して付随
情報fをonにする。そうでない場合には、付随情報f
をoffにしている。
The conventional evaluation value comparator 324 calculates the addition values of the adders 401 and 1/1 from the evaluation values of the shift amounts z1 and z2, for example.
The average value derived by the squarer 402 is regarded as a standard evaluation value, and a difference is calculated by the subtracter 403 from this value and the evaluation value when the shift amount is 0. Then, the absolute value of the difference is taken by the absolute value converter 404, and the value is compared with the threshold value by the comparator 405. When the value is larger than the threshold, the conventional evaluation value comparator 324 evaluates that the accompanying information is added, and turns on the accompanying information f. Otherwise, the accompanying information f
Is turned off.

【0273】本実施の形態における評価値比較器57
は、図15に示すように、足し算器711,712,71
3,714、1/2乗算器721,722,723,724
引き算器731,732,733,734、絶対値変換器7
1,742,743,744、比較器751,752,75
3,754、及び総合判定器76から構成されている。
Evaluation value comparator 57 in the present embodiment
Are the adders 71 1 , 71 2 , 71 as shown in FIG.
3, 71 4, 1/2 multipliers 72 1, 72 2, 72 3, 72 4,
Subtractors 73 1 , 73 2 , 73 3 , 73 4 , absolute value converter 7
4 1, 74 2, 74 3, 74 4, comparators 75 1, 75 2, 75
3 , 75 4 , and a total judgment unit 76.

【0274】この評価値比較器57の構成については、
図16に示した従来の評価値比較器324と比べるとわ
かるように、付随情報の評価を行う部分が複数段設け、
それらの評価結果を総合的に判定する総合判定器76を
設けていることが特徴である。この評価値比較器57の
構成は、この第3の実施の形態の説明において先に説明
した差分値(差分値xd1,xd2,xd3)を用いた
場合の一例であり、すなわち、付随情報の評価を行う部
分を2段以上取ることが可能であれば、どのような差分
値又は構成を用いても良い。
The construction of the evaluation value comparator 57 is as follows.
As can be seen from the comparison with the conventional evaluation value comparator 324 shown in FIG.
It is characterized in that a total judgment unit 76 for judging these evaluation results comprehensively is provided. The configuration of the evaluation value comparator 57 is an example when the difference values (difference values xd1, xd2, xd3) described earlier in the description of the third embodiment are used, that is, the evaluation of the accompanying information. Any difference value or configuration may be used as long as two or more steps can be taken.

【0275】評価値比較器57には、上記図14に示し
た各評価値算出器551,・・・,55mで算出された評
価値が入力される。なお、これらの評価値を算出する際
には、差分値を用いる。例えばこの第3の実施の形態に
おいて先に説明した差分値(差分値xd1,xd2,x
d3)を用いた場合、評価値とずらし量と関係は、図1
3に示すようになる。なお、図13と図15とにおいて
示すずらし量の対応関係は、表2のようになる。
The evaluation values calculated by the evaluation value calculators 55 1 ,..., 55 m shown in FIG. 14 are input to the evaluation value comparator 57. When calculating these evaluation values, difference values are used. For example, the difference values (difference values xd1, xd2, x
When d3) is used, the relationship between the evaluation value and the shift amount is shown in FIG.
As shown in FIG. The correspondence between the shift amounts shown in FIGS. 13 and 15 is as shown in Table 2.

【0276】[0276]

【表2】 [Table 2]

【0277】評価値比較器57が行う処理について、評
価値z1,z2,z3の場合の処理について説明する。
評価値比較器57は、入力された評価値z1,z2から
足し算器711及び1/2乗算器721により導き出した
平均値を標準的な評価値とみなし、この値とずらし量0
の場合の評価値から引き算器731によって差分を算出
する。そして、この差分の絶対値を絶対値変換器741
においてとり、その値と閾値とを比較器751において
比較する。そして、評価値比較器57は、値が閾値より
も大きい場合には、付随情報が付加されていると評価し
て付随情報fをonにする。そうでない場合には、付随
情報fをoffにしている。
The processing performed by the evaluation value comparator 57 in the case of evaluation values z1, z2, z3 will be described.
Evaluation value comparator 57, regarded as a standard evaluation values an average value derived by the adder 71 1 and 1/2 multiplier 72 1 from the evaluation value z1, z2 input, shift amount and the value 0
The difference is calculated by the subtractor 731 from the evaluation value in the case of ( 1) . Then, the absolute value of this difference is converted to an absolute value converter 74 1.
Taken in are compared in the comparator 75 1 and its value with a threshold value. Then, when the value is larger than the threshold value, the evaluation value comparator 57 evaluates that the accompanying information is added, and turns on the accompanying information f. If not, the associated information f is turned off.

【0278】これと同様に、評価値z4〜評価値z12
について、対応する各部分において演算して、付随情報
の有無を検出する。
Similarly, evaluation values z4 to z12
Is calculated in each corresponding part to detect the presence or absence of accompanying information.

【0279】そして、最後に、評価値比較器57は、各
段で検出された付随情報を総合判定器76において総合
的に判定する。ここでの判定基準は、どのようなもので
あっても良いが、例えば、全ての段の付随情報fがon
である場合に限って、最終的な付随情報fをonと判定
し、そうでない場合には、最終的な付随情報fをoff
と判定する。或いは、判定基準は、どれかの段の付随情
報fがonである場合には、最終的な付随情報fをon
と判定し、そうでない場合(全ての段の付随情報fがo
ffの場合)には、最終的な付随情報fをoffと判定
する。なお、もちろん、これ以外の方法であっても構わ
ない。
[0279] Finally, the evaluation value comparator 57 comprehensively judges the accompanying information detected in each stage by the overall judgment unit 76. The determination criterion may be any criterion, for example, if the accompanying information f of all stages is on
Only when is the final incidental information f is determined to be on, otherwise, the final incidental information f is turned off.
Is determined. Alternatively, the judgment criterion is that if the incidental information f of any stage is on, the final incidental information f is turned on.
Otherwise (if the associated information f of all stages is o
ff), the final accompanying information f is determined to be off. Of course, other methods may be used.

【0280】なお、本実施の形態では、右隣に連続する
4つの画素を用いた差分値の場合を説明したが、付随情
報の評価を行う部分を2段以上取ることが可能であれ
ば、この差分値以外であっても構わない。また、差分値
を算出するために用いる画素は、連続している必要はな
く、例えば2つ前や9つ後との差分値を用いる構成にし
ても良い。
In the present embodiment, the case of a difference value using four pixels adjacent to the right has been described. However, if it is possible to take two or more stages for evaluating the accompanying information, Other than this difference value may be used. The pixels used for calculating the difference value need not be continuous, and may be configured to use, for example, a difference value between two pixels before and nine pixels after.

【0281】また、ウォータマークパターンのずらし方
はいろいろと考えられる。その方法は、例えば上記図3
4に示したように、画像の走査順に従ってずらす方法で
も良いし、それ以外の方法でも構わない。またずらす単
位は、1画素単位に限らず、任意の領域の単位でずらし
て良い。ずらし量はi>0,j<0,|i|=|j|の
ように、ずらし量0を中心に前後に同じ量だけずらす方
が良いが、任意のずらし量で構わない。
There are various ways of shifting the watermark pattern. The method is described in, for example, FIG.
As shown in FIG. 4, a method of shifting in accordance with the scanning order of the image may be used, or another method may be used. The unit of shifting is not limited to one pixel unit, but may be shifted in units of an arbitrary area. It is better to shift the shift amount by the same amount before and after the shift amount 0, such as i> 0, j <0, | i | = | j |, but any shift amount may be used.

【0282】また、一般的には、画像内において近隣の
画素値の相関が高いため、画素Xの差分値は平均的に0
になる。しかし、その画素位置がエッジの境界などにあ
る場合、その差分値の絶対値は大きな値となってしまう
ことが多く、評価値はその差分値によって大きな影響を
受けてしまう。このことを避けるために、差分値の絶対
値がある範囲を超える場合には、その差分値を評価値に
反映させなくても良い。或いは、その値をクリッピング
しても良い。
Generally, since the correlation between neighboring pixel values in an image is high, the difference value of pixel X is 0 on average.
become. However, when the pixel position is at an edge boundary or the like, the absolute value of the difference value is often large, and the evaluation value is greatly affected by the difference value. In order to avoid this, when the absolute value of the difference value exceeds a certain range, the difference value need not be reflected in the evaluation value. Alternatively, the value may be clipped.

【0283】具体的には、差分値の絶対値が所定の値ra
ngeとの関係において、|xd|>rangeとなる場合に
は、評価値xdを評価値xd=0に設定する。または、
次のように設定する。
Specifically, when the absolute value of the difference value is a predetermined value ra
If | xd |> range in relation to nge, the evaluation value xd is set to the evaluation value xd = 0. Or
Set as follows.

【0284】xd=range (xd≧0) xd=−range (xd<0) なお、前後1つずつのずらし量だけでなく、それぞれ複
数のずらし量を用い、それらについて求めた全て或いは
一部の評価値に対して、フィルタ等を用いて標準的な評
価値を構成しても構わない。それとは逆に、例えば前の
ずらし量だけを用いるというように、どちらか一方のず
らし量だけを用いて、標準的な評価値を構成しても良
い。
Xd = range (xd ≧ 0) xd = −range (xd <0) It is to be noted that not only one shift amount before and after each but also a plurality of shift amounts are used, and all or some of the shift amounts obtained for these are used. For the evaluation value, a standard evaluation value may be configured using a filter or the like. Conversely, a standard evaluation value may be configured using only one of the shift amounts, for example, using only the previous shift amount.

【0285】また、小数精度のずらし量についても反復
処理を行うことにし、そのような場合はウォータマーク
パターン或いは対象領域の画素を補間して評価値を求め
ることにしても良い。
Also, iterative processing is performed for the shift amount of decimal precision, and in such a case, the evaluation value may be obtained by interpolating the watermark pattern or the pixels of the target area.

【0286】また、現フレームの画像に対する標準的な
評価値を求める際には、どのような処理方法を用いても
良い。例えばメディアンフィルタのようなフィルタを掛
け、例えば3つのずらし量z1,z2,z3の場合の評
価値に対し、現フレームの画像に対する標準的な評価値
sum_medを求めても良い。このようにして求めた
標準的な評価値sum_medと実際の評価値(例え
ば、ずらし量z3の場合の評価値)との差分の絶対値を
求め、その差が閾値thよりも大きい場合には、付随情
報が付加されているとみなして付随情報fをonにす
る。そうでない場合には、付随情報fをoffにする。
When a standard evaluation value for the image of the current frame is obtained, any processing method may be used. For example, a filter such as a median filter may be applied to obtain a standard evaluation value sum_med for the image of the current frame with respect to the evaluation values in the case of, for example, three shift amounts z1, z2, and z3. The absolute value of the difference between the standard evaluation value sum_med thus obtained and the actual evaluation value (e.g., the evaluation value in the case of the shift amount z3) is obtained, and when the difference is larger than the threshold th, It is assumed that the accompanying information is added, and the accompanying information f is turned on. Otherwise, the associated information f is turned off.

【0287】この他にも、任意の単一の位相の評価値を
そのまま利用しても良いし、複数の評価値のうち全部或
いは一部に対する平均値、最大値、最小値などを求めて
利用するというように、どのような処理方法を用いて標
準的な評価値を求めても構わない。これには、例えば−
2及び−1ずらした時の評価値の推移から、ずらし量0
の時の評価値を予測或いは外挿するというような、より
複雑な処理方法も含まれる。
In addition, an evaluation value of an arbitrary single phase may be used as it is, or an average value, a maximum value, a minimum value, etc., of all or some of a plurality of evaluation values may be obtained and used. The standard evaluation value may be obtained using any processing method. This includes, for example,-
From the transition of the evaluation value when shifted by 2 and −1, the shift amount is 0
A more complicated processing method, such as predicting or extrapolating the evaluation value at the time, is also included.

【0288】また、標準的な評価値及び実際の評価値を
用いて閾値との比較を行う際には、先に示した比較方法
以外のどのような比較方法を用いても良い。例えば、評
価値のバイアス成分B(図22乃至図24を用いて説明
した例の(4n)^2)に相当)が一定であることを利
用して、どの程度バイアス成分が保持されているとみな
すか示すバイアス信頼係数c(0≦c≦1)と共に比較
を行っても良い。これについて具体例を挙げて説明す
る。
When comparing the threshold value using the standard evaluation value and the actual evaluation value, any comparison method other than the comparison method described above may be used. For example, by using the fact that the bias component B of the evaluation value (corresponding to (4n) / 2 in the example described with reference to FIGS. 22 to 24) is constant, it is determined how much the bias component is held. The comparison may be performed with a bias reliability coefficient c (0 ≦ c ≦ 1) indicating whether or not to be considered. This will be described with a specific example.

【0289】前にずらし量iずらした場合の評価値より
もずらし量0の場合の評価値がB×cだけ大きく、しか
も後にずらし量jだけずらした場合の評価値よりもずら
し量0の場合の評価値もB×cだけ大きいときに、付随
情報が付加されているとみなす。或いは、ずらし量i,
jのいずれかにずらした場合の評価値よりも、ずらし量
0の時の評価値がB×cだけ大きい場合に、付随情報が
付加されているとみなす。
In the case where the evaluation value when the shift amount is 0 is larger than the evaluation value when the shift amount i is shifted before, and the shift amount is larger than the evaluation value when the shift amount is shifted by j after the shift amount j, When the evaluation value is larger by B × c, it is considered that the accompanying information is added. Alternatively, the shift amount i,
If the evaluation value at the time of the shift amount 0 is larger than the evaluation value at the time of shifting to any one of j by B × c, it is regarded that the accompanying information is added.

【0290】以上のように、評価値のバイアス成分Bが
一定であることを利用して、どの程度バイアス成分が保
持されているとみなすか示すバイアス信頼係数c(0≦
c≦1)と共に比較を行い付随情報を検出することがで
きる。
As described above, using the fact that the bias component B of the evaluation value is constant, the bias reliability coefficient c (0 ≦ 0) indicating how much the bias component is considered to be held.
By comparing with c ≦ 1), it is possible to detect accompanying information.

【0291】また、ウォータマークのシンボルは、プラ
ス、マイナス以外のどのようなシンボルを用いても良
い。また、2種類ではなく、3種類以上のどのようなシ
ンボルを用いても良い。例えば、プラス、ゼロ、マイナ
スの3種類のシンボルを用意しておき、ウォータマーク
パターンとの照合を行った際にシンボルがゼロである画
素については、評価値sumに影響を与えない(その画
素値を評価値sumに足しも引きもしない)ようにする
など、各シンボルにどのような意味を与えても良い。
Further, any symbol other than plus and minus may be used as the watermark symbol. In addition, any two or more types of symbols may be used instead of the two types. For example, three types of symbols, plus, zero, and minus, are prepared, and a pixel whose symbol is zero when matching with a watermark pattern does not affect the evaluation value sum (the pixel value May not be added to or subtracted from the evaluation value sum).

【0292】さらに、ウォータマークパターンを画像上
に付加する領域は、任意の形状及び範囲で構わない。ま
た、付加したウォータマークパターンとの整合が取れて
いる限り、検出時に評価値を求める領域の形状及び範囲
は任意で構わない。そして、ウォータマークパターン
は、時間的或いは空間的に渡るより広い領域を用いて、
付加或いは検出を行うことにしても良い。例えば動画像
シーケンスにおいては、時間的な基準を用い、現フレー
ムの時間的位置だけでなく、過去や未来のフレームも利
用して良い。例えば非常に大きな画像サイズを持つ静止
画像においては、1枚の画像をある単位で複数の画像領
域に分割して扱うことにし、空間的な基準を用い、現在
対象としている画像領域に対して、例えば走査順で前や
後に位置する画像領域も利用して良い。
Furthermore, the area where the watermark pattern is added on the image may have any shape and range. Further, as long as the matching with the added watermark pattern is achieved, the shape and range of the area for which the evaluation value is obtained at the time of detection may be arbitrary. Then, the watermark pattern uses a wider area that extends over time or space,
Addition or detection may be performed. For example, in a moving image sequence, a temporal reference is used, and not only the temporal position of the current frame but also past and future frames may be used. For example, in a still image having a very large image size, one image is divided into a plurality of image areas in a certain unit and handled. For example, image areas located before and after in the scanning order may be used.

【0293】なお、第1の実施の形態などで、差分値に
対してウォータマークパターンとの照合を行なう際に
は、ウォータマークパターン自体を差分値にしても良
い。
When the difference value is compared with the watermark pattern in the first embodiment, the watermark pattern itself may be used as the difference value.

【0294】例えば、上記図2に示したような処理によ
りウォータマークを検出する場合に、ウォータマークパ
ターンのシンボルが切り替わる(パターンが反転する)
画素だけを対象に、評価値sumの計算を行なっても良
い。さらに、例えば、上述した図30のような処理によ
りウォータマークを付加する時に、何らかの処理を行な
っておくことにしても良い。
For example, when a watermark is detected by the processing shown in FIG. 2, the symbol of the watermark pattern is switched (the pattern is inverted).
The evaluation value sum may be calculated only for the pixel. Further, for example, some processing may be performed when a watermark is added by the processing as shown in FIG. 30 described above.

【0295】また、第1の実施の形態などで、評価値s
umと閾値thとを比較する際には、ウォータマークの
パターンが反転した画素の割合を閾値thに反映させて
も良い。
In the first embodiment, etc., the evaluation value s
When comparing um with the threshold th, the threshold th may reflect the proportion of pixels in which the watermark pattern is inverted.

【0296】すなわち、例えば、パターンが反転する画
素の割合が全体の50%であった場合、閾値thとして
th×50/100の値を用いても良い。あるいは、評
価値sumの方を100/50倍してから閾値thと比
較しても良い。
That is, for example, when the ratio of pixels in which the pattern is inverted is 50% of the whole, a value of th × 50/100 may be used as the threshold th. Alternatively, the evaluation value sum may be multiplied by 100/50 and then compared with the threshold value th.

【0297】また、本発明の第1の実施の形態の説明中
において、差分値がある範囲を越える場合に、その差分
値を評価値に反映させない処理としてクリッピング処理
を説明した。さらに、クリッピングについての例を挙
げ、図17乃至図19を用いて説明する。なお、クリッ
ピングによる変換後の差分値については、差分値xd’
と示す。
In the description of the first embodiment of the present invention, the clipping process has been described as a process for not reflecting the difference value on the evaluation value when the difference value exceeds a certain range. Further, an example of clipping will be described with reference to FIGS. Note that the difference value after conversion by clipping is a difference value xd ′
Is shown.

【0298】クリッピングについての第1の例は、上記
第1の実施の形態中において説明したものであって、図
17に示すように、差分値xdの絶対値|xd|>a
(a≧0)の場合に、変換後の差分値xd’を以下のよ
うに変換する。
The first example of the clipping has been described in the first embodiment. As shown in FIG. 17, the absolute value | xd |
When (a ≧ 0), the converted difference value xd ′ is converted as follows.

【0299】xd’=xd (|xd|≦a) xd’=0 (|xd|>a) また、クリッピングについての第2の例は、図18に示
すように、以下のようなに変換する。
Xd ′ = xd (| xd | ≦ a) xd ′ = 0 (| xd |> a) As shown in FIG. 18, the second example of clipping is converted as follows. .

【0300】xd’=xd (|xd|≦a) xd’=a (|xd|>a,xd≧0) xd’=−a (|xd|>a,xd≧0) さらに、クリッピングについての第3の例は、図19に
示すように、算出された差分値xdの平方根をとり、以
下のように変換する。なお、ここで関数sqrt(B)
は、値Bの平方根をとることを示す。
Xd ′ = xd (| xd | ≦ a) xd ′ = a (| xd |> a, xd ≧ 0) xd ′ = − a (| xd |> a, xd ≧ 0) In the third example, as shown in FIG. 19, the square root of the calculated difference value xd is calculated and converted as follows. Here, the function sqrt (B)
Indicates that the square root of the value B is taken.

【0301】 xd’=sqrt(xd) (xd≧0) xd’=−sqrt(−xd) (xd<0) また、この他に、次のような例も挙げることができる。
例えば、次に示すように、差分値xdの4乗根を取る。
Xd ′ = sqrt (xd) (xd ≧ 0) xd ′ = − sqrt (−xd) (xd <0) In addition, the following example can also be given.
For example, as shown below, the fourth root of the difference value xd is taken.

【0302】 xd’=sqrt(sqrt(xd)) (xd≧0) xd’=−sqrt(sqrt(−xd)) (xd<0) また、次に示すように、折れ線的な関数により差分値x
dを変換する。
Xd ′ = sqrt (sqrt (xd)) (xd ≧ 0) xd ′ = − sqrt (sqrt (−xd)) (xd <0) Further, as shown below, the difference value is calculated by a polygonal function. x
Convert d.

【0303】 xd’=−8 (xd<−16) xd’=(xd+8)/4−6 (−16≦xd<−8) xd’=(xd+4)/2− 4 (−8≦xd≦−4) xd’=xd (|xd|≦4) xd’=(xd−4)/2+4 (4<xd≦8) xd’=(xd−8)/4+6 (8<xd≦16) xd’=8 (16<xd) 以上、クリッピングの例であるが、本例に限定されるこ
となく、これ以外のどのような変換を行っても構わな
い。
Xd ′ = − 8 (xd <−16) xd ′ = (xd + 8) / 4−6 (−16 ≦ xd <−8) xd ′ = (xd + 4) / 2−4 (−8 ≦ xd ≦ − 4) xd ′ = xd (| xd | ≦ 4) xd ′ = (xd−4) / 2 + 4 (4 <xd ≦ 8) xd ′ = (xd−8) / 4 + 6 (8 <xd ≦ 16) xd ′ = 8 (16 <xd) Although the above is an example of clipping, the present invention is not limited to this example, and any other conversion may be performed.

【0304】また、本発明の実施の形態として示したウ
ォータマーク検出器において、差分値を算出するための
ウォータマークは、予め上記ウォータマークパターン保
持メモリに保持されるものとして説明しているがこれに
限定されることはない。例えば、ウォータマークのパタ
ーンを読み出し信号などによりウォータマークパターン
を発生させる付随情報発生器を付随情報出力手段として
備えることもできる。例えば、本発明の実施の形態に適
用するのであれば、M系列発生器となる。
In the watermark detector shown as the embodiment of the present invention, the watermark for calculating the difference value has been described as being held in the watermark pattern holding memory in advance. It is not limited to. For example, an additional information generator that generates a watermark pattern from a watermark pattern by a read signal or the like can be provided as additional information output means. For example, when applied to the embodiment of the present invention, an M-sequence generator is used.

【0305】また、画像に付加されている付随情報とさ
れたウォータマークは、予め画像の時間方向に差分がと
られるように画像に付加することもできる。
[0305] The watermark added to the image as additional information can be added to the image such that a difference is obtained in the time direction of the image in advance.

【0306】また、上述した第1乃至第3の実施の形態
は、本発明に係る記録装置及び方法を適用して構成する
こともできる。すなわち、この場合、記録装置は、ウォ
ータマーク検出器により付随情報の検出が行われれた画
像データを、記録媒体に記録処理する記録処理部を備え
て、当該記録媒体に対する画像データの記録を行う。そ
して、例えばこの場合、記録装置は、第1乃至第3の実
施の形態において示したウォータマーク検出器の備える
上記評価値比較器が検出した付随情報の検出結果に応じ
て、記録媒体への画像データの記録を行う記録制御手段
を備える。ここで、記録制御手段は、例えば、第1乃至
第3の実施の形態のウォータマーク検出器の備える画像
変換器の機能を有し、すなわち、例えば、付随情報の検
出された場合には、画像を表示しない、画像データの主
領域を表示しない、又は画像にスクランブル処理する等
のように画像に対する処理又は加工を施すようにする。
Further, the above-described first to third embodiments can be configured by applying the recording apparatus and method according to the present invention. That is, in this case, the recording apparatus includes a recording processing unit that records the image data for which the accompanying information has been detected by the watermark detector on a recording medium, and records the image data on the recording medium. Then, for example, in this case, the recording device performs the image recording on the recording medium in accordance with the detection result of the accompanying information detected by the evaluation value comparator included in the watermark detector described in the first to third embodiments. A recording control unit for recording data is provided. Here, the recording control means has, for example, the function of an image converter provided in the watermark detector of the first to third embodiments. That is, for example, when the accompanying information is detected, , The main area of the image data is not displayed, or the image is subjected to processing or processing such as scrambling.

【0307】[0307]

【発明の効果】本発明に係る画像データ処理装置は、付
随情報のパターンを出力する付随情報出力手段と、入力
された画像データにおいて近傍の画素との間の画素値の
差分値を算出する差分値算出手段と、付随情報出力手段
より出力された付随情報のパターンと差分値とに基づい
て、評価値を演算する評価値演算手段と、評価値に基づ
いて付随情報の検出を行う付随情報検出手段とを備える
ことにより、付随情報出力手段より出力された付随情報
のパターンと、差分値算出手段により算出した差分値と
に基づいて、評価値演算手段により評価値を得ることが
でき、付随情報検出手段により、この評価値に基づいて
付随情報を検出することができる。
According to the present invention, there is provided an image data processing apparatus comprising: a supplementary information output unit for outputting a pattern of supplementary information; and a difference for calculating a difference value of a pixel value between neighboring pixels in input image data. Value calculating means, evaluation value calculating means for calculating an evaluation value based on the pattern and difference value of the accompanying information output from the accompanying information output means, and accompanying information detection for detecting the accompanying information based on the evaluation value Means, an evaluation value can be obtained by the evaluation value calculating means based on the pattern of the accompanying information output from the accompanying information output means and the difference value calculated by the difference value calculating means. The detecting means can detect the accompanying information based on the evaluation value.

【0308】ここで、画像データ処理装置は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っており、これにより、画像データ
の個々の値が評価値に与える影響を小さくすることがで
きるため、従来よりも高い検出精度が得られ、確実に付
随情報を検出することができる。
Here, the image data processing device detects the accompanying information based on the evaluation value obtained from the difference value between the neighboring pixel having a high correlation and the image data processing device. Can reduce the influence on the evaluation value, so that higher detection accuracy can be obtained than in the past, and the accompanying information can be reliably detected.

【0309】また、本発明に係る画像データ処理方法
は、付随情報のパターンを出力する付随情報出力工程
と、入力された画像データにおいて近傍の画素との間の
画素値の差分値を算出する差分値算出工程と、付随情報
出力工程において出力された付随情報のパターンと差分
値とに基づいて、評価値を演算する評価値演算工程と、
評価値に基づいて付随情報の検出を行う付随情報検出工
程とを有することにより、付随情報出力工程において出
力された付随情報のパターンと、差分値算出工程におい
て算出した差分値とに基づいて、評価値演算工程により
評価値を得ることができ、付随情報検出工程により、こ
の評価値に基づいて付随情報を検出することができる。
In the image data processing method according to the present invention, an additional information output step of outputting a pattern of additional information, and a difference of calculating a pixel value difference between neighboring pixels in the input image data are provided. A value calculating step, an evaluation value calculating step of calculating an evaluation value based on the pattern and the difference value of the accompanying information output in the accompanying information output step,
An additional information detecting step of detecting additional information based on the evaluation value, whereby an evaluation is performed based on the pattern of the additional information output in the additional information output step and the difference value calculated in the difference value calculating step. An evaluation value can be obtained by the value calculation step, and the accompanying information can be detected based on the evaluation value by the accompanying information detection step.

【0310】ここで、画像データ処理方法は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っており、これにより、画像データ
の個々の値が評価値に与える影響を小さくすることがで
きるため、従来よりも高い検出精度が得られ、確実に付
随情報を検出することができる。
Here, in the image data processing method, the accompanying information is detected based on the evaluation value obtained from the difference value between a neighboring pixel having a high correlation and the individual values of the image data. Can reduce the influence on the evaluation value, so that higher detection accuracy can be obtained than in the past, and the accompanying information can be reliably detected.

【0311】また、本発明に係る記録装置は、付随情報
のパターンを出力する付随情報出力手段と、入力された
画像データにおいて近傍の画素との間の画素値の差分値
を算出する差分値算出手段と、付随情報出力手段より出
力された付随情報のパターンと差分値とに基づいて、評
価値を演算する評価値演算手段と、評価値に基づいて付
随情報の検出を行う付随情報検出手段と、付随情報検出
手段の検出結果に応じて記録媒体への入力された画像デ
ータの記録制御を行う記録制御手段と備えることによ
り、付随情報出力手段より出力された付随情報のパター
ンと、差分値算出手段により算出した差分値とに基づい
て、評価値演算手段により評価値を得ることができる。
そして、記録装置は、この評価値に基づいて付随情報検
出手段が検出した付随情報の検出結果に応じて、記録制
御手段により、入力された画像データの記録媒体への記
録制御を行うことができる。
[0311] The recording apparatus according to the present invention further comprises: a supplementary information output unit that outputs a pattern of the supplementary information; and a difference value calculation unit that calculates a difference value of a pixel value between neighboring pixels in the input image data. Means, an evaluation value calculating means for calculating an evaluation value based on the pattern and difference value of the accompanying information output from the accompanying information output means, and an accompanying information detecting means for detecting the accompanying information based on the evaluation value. A recording control unit that controls recording of image data input to a recording medium in accordance with a detection result of the incidental information detecting unit, thereby calculating a difference value pattern and an incidental information pattern output from the incidental information output unit. The evaluation value can be obtained by the evaluation value calculating means based on the difference value calculated by the means.
Then, the recording apparatus can perform recording control of the input image data on the recording medium by the recording control unit according to the detection result of the incidental information detected by the incidental information detection unit based on the evaluation value. .

【0312】ここで、記録装置は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っており、これにより、画像データの個々の値
が評価値に与える影響を小さくすることができるため、
従来よりも高い検出精度が得られ、確実に付随情報を検
出することができる。
Here, the recording apparatus detects the accompanying information based on the evaluation value obtained from the difference value between a neighboring pixel having a high correlation and thereby, the individual values of the image data are evaluated. Value can be reduced,
Higher detection accuracy than before can be obtained, and the accompanying information can be reliably detected.

【0313】また、本発明に係る記録方法は、付随情報
のパターンを出力する付随情報出力工程と、入力された
画像データにおいて近傍の画素との間の画素値の差分値
を算出する差分値算出工程と、付随情報出力工程におい
て出力された付随情報のパターンと差分値とに基づい
て、評価値を演算する評価値演算工程と、評価値に基づ
いて付随情報の検出を行う付随情報検出工程と、付随情
報検出工程の検出結果に応じて記録媒体への入力された
画像データの記録制御を行う記録制御工程とを有するこ
とにより、付随情報出力工程において出力された付随情
報のパターンと、差分値算出工程において算出した差分
値とに基づいて、評価値演算工程により評価値を得るこ
とができる。そして、記録方法は、この評価値に基づい
て付随情報検出工程において検出した付随情報の検出結
果に応じて、記録制御工程により、入力された画像デー
タの記録媒体への記録制御を行うことができる。
[0313] The recording method according to the present invention includes a step of outputting a pattern of accompanying information, and a step of calculating a difference value of a pixel value between neighboring pixels in the input image data. A step, an evaluation value calculating step of calculating an evaluation value based on the pattern and difference value of the accompanying information output in the accompanying information output step, and an accompanying information detecting step of detecting the accompanying information based on the evaluation value. A recording control step of performing recording control of image data input to a recording medium in accordance with a detection result of the incidental information detecting step, whereby a pattern of the incidental information output in the incidental information output step and a difference value An evaluation value can be obtained in the evaluation value calculation step based on the difference value calculated in the calculation step. Then, in the recording method, according to the detection result of the incidental information detected in the incidental information detecting step based on the evaluation value, the recording control step can control the recording of the input image data on the recording medium. .

【0314】ここで、記録方法は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っており、これにより、画像データの個々の値
が評価値に与える影響を小さくすることができるため、
従来よりも高い検出精度が得られ、確実に付随情報を検
出することができる。
Here, in the recording method, detection of incidental information is performed based on an evaluation value obtained from a difference value between a neighboring pixel having a high correlation and an individual value of image data is evaluated. Value can be reduced,
Higher detection accuracy than before can be obtained, and the accompanying information can be reliably detected.

【0315】また、本発明に係る画像データ処理装置
は、付随情報の互いに位相の異なる複数のパターンを出
力する付随情報出力手段と、入力された画像データにお
いて近傍の画素との間の画素値の差分値を算出する差分
値算出手段と、付随情報出力手段から出力された位相の
異なる複数の付随情報のパターンと差分値とに基づい
て、評価値を演算する評価値演算手段と、評価値演算手
段により得た複数の評価値を比較することにより、付随
情報の検出を行う付随情報検出手段とを備えることによ
り、付随情報出力手段から出力された位相の異なる複数
の付随情報のパターンと、差分値算出手段により算出し
た差分値に基づいて、評価値演算手段により評価値を得
ることができ、付随情報検出手段により、複数の評価値
に基づいて付随情報を検出することができる。
Further, the image data processing apparatus according to the present invention comprises: an auxiliary information output means for outputting a plurality of patterns of auxiliary information having different phases; and a pixel value between adjacent pixels in the input image data. Difference value calculation means for calculating a difference value; evaluation value calculation means for calculating an evaluation value based on a pattern of a plurality of pieces of accompanying information having different phases output from the accompanying information output means; and evaluation value calculation. Means for detecting incidental information by comparing a plurality of evaluation values obtained by the means, and a pattern of a plurality of incidental information having different phases output from the incidental information output means, The evaluation value can be obtained by the evaluation value calculating means based on the difference value calculated by the value calculating means, and the accompanying information can be obtained by the accompanying information detecting means based on the plurality of evaluation values. It can be out.

【0316】ここで、画像データ処理装置は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っており、これにより、画像データ
の個々の値が評価値に与える影響を小さくすることがで
きるため、従来よりも高い検出精度が得られ、確実に付
随情報を検出することができる。
Here, the image data processing device detects the accompanying information based on the evaluation value obtained from the difference value between the neighboring pixel having a high correlation and the individual data of the image data. Can reduce the influence on the evaluation value, so that higher detection accuracy can be obtained than in the past, and the accompanying information can be reliably detected.

【0317】さらに、M系列等の特殊な性質を有するパ
ターンを用いて付随情報を付加した場合、差分値を用い
て検出することにより、付加量を増幅させて確実に付随
情報を検出することができる。
Further, when the additional information is added using a pattern having a special property such as an M-sequence, the additional information is amplified using the difference value, whereby the additional information can be reliably detected. it can.

【0318】また、本発明に係る画像データ処理方法
は、付随情報の互いに位相の異なる複数のパターンを出
力する付随情報出力工程と、入力された画像データにお
いて近傍の画素との間の画素値の差分値を算出する差分
値算出工程と、付随情報出力工程において出力された位
相の異なる複数の付随情報のパターンと差分値とに基づ
いて、評価値を演算する評価値演算工程と、評価値演算
工程により得た複数の評価値を比較することにより、付
随情報の検出を行う付随情報検出工程とを有することに
より、付随情報出力工程において出力された位相の異な
る複数の付随情報のパターンと、差分値算出工程におい
て算出した差分値に基づいて、評価値演算工程により評
価値を得ることができ、付随情報検出工程により、複数
の評価値に基づいて付随情報を検出することができる。
Further, according to the image data processing method of the present invention, there is provided an accompanying information output step of outputting a plurality of patterns of accompanying information having different phases, and a method of outputting a pixel value between neighboring pixels in input image data. A difference value calculation step of calculating a difference value, an evaluation value calculation step of calculating an evaluation value based on a pattern of a plurality of pieces of accompanying information having different phases output in the accompanying information output step, and an evaluation value calculation By comparing a plurality of evaluation values obtained in the process, an accompanying information detecting step of detecting accompanying information is performed. Based on the difference value calculated in the value calculation step, an evaluation value can be obtained in the evaluation value calculation step, and in the accompanying information detection step, based on the plurality of evaluation values, It is possible to detect the incidental information.

【0319】ここで、画像データ処理方法は、相関が高
い近隣の画素との間の差分値から得た評価値に基づいて
付随情報の検出を行っており、これにより、画像データ
の個々の値が評価値に与える影響を小さくすることがで
きるため、従来よりも高い検出精度が得られ、確実に付
随情報を検出することができる。
Here, in the image data processing method, detection of incidental information is performed based on an evaluation value obtained from a difference value between a neighboring pixel having a high correlation and, thereby, individual values of the image data are obtained. Can reduce the influence on the evaluation value, so that higher detection accuracy can be obtained than in the past, and the accompanying information can be reliably detected.

【0320】さらに、M系列等の特殊な性質を有するパ
ターンを用いて付随情報を付加した場合、差分値を用い
て検出することにより、付加量を増幅させて確実に付随
情報を検出することができる。
Further, when the additional information is added using a pattern having a special property such as an M-sequence, the additional information is detected by using the difference value, so that the additional information can be amplified to reliably detect the additional information. it can.

【0321】また、本発明に係る記録装置は、付随情報
の互いに位相の異なる複数のパターンを出力する付随情
報出力手段と、入力された画像データにおいて近傍の画
素との間の画素値の差分値を算出する差分値算出手段
と、付随情報出力手段から出力された位相の異なる複数
の付随情報のパターンと差分値とに基づいて、評価値を
演算する評価値演算手段と、評価値演算手段により得た
複数の評価値を比較することにより、付随情報の検出を
行う付随情報検出手段と、付随情報検出手段の検出結果
に応じて上記記録媒体への上記入力された画像データの
記録制御を行う記録制御手段と備えることにより、付随
情報出力手段より出力された位相の異なる複数の付随情
報のパターンと、差分値算出手段により算出した差分値
とに基づいて、評価値演算手段により、複数の評価値の
得ることができる。そして、記録装置は、この複数の評
価値に基づいて付随情報検出手段が検出した付随情報の
検出結果に応じて、記録制御手段により、入力された画
像データの記録媒体への記録制御を行うことができる。
Further, the recording apparatus according to the present invention comprises: a supplementary information output means for outputting a plurality of patterns of the supplementary information having different phases; and a difference value of a pixel value between neighboring pixels in the input image data. Value calculation means for calculating an evaluation value, based on a pattern and a difference value of a plurality of pieces of incidental information having different phases output from the incidental information output means, and an evaluation value calculating means. By comparing a plurality of obtained evaluation values, an accompanying information detecting means for detecting accompanying information, and controlling the recording of the input image data on the recording medium in accordance with a detection result of the accompanying information detecting means. With the recording control unit, the evaluation is performed based on the plurality of patterns of the accompanying information having different phases output from the accompanying information output unit and the difference value calculated by the difference value calculating unit. By calculation means, it is possible to obtain a plurality of evaluation values. The recording device controls the recording of the input image data on the recording medium by the recording control unit in accordance with the detection result of the incidental information detected by the incidental information detection unit based on the plurality of evaluation values. Can be.

【0322】ここで、記録装置は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っており、これにより、画像データの個々の値
が評価値に与える影響を小さくすることができるため、
従来よりも高い検出精度が得られ、確実に付随情報を検
出することができる。
Here, the recording apparatus detects the accompanying information based on the evaluation value obtained from the difference value between a neighboring pixel having a high correlation and thereby the individual values of the image data are evaluated. Value can be reduced,
Higher detection accuracy than before can be obtained, and the accompanying information can be reliably detected.

【0323】さらに、M系列等の特殊な性質を有するパ
ターンを用いて付随情報を付加した場合、差分値を用い
て検出することにより、付加量を増幅させて確実に付随
情報を検出することができる。
Further, when the additional information is added by using a pattern having a special property such as an M-sequence, the additional information is detected by using the difference value, so that the additional information can be amplified to reliably detect the additional information. it can.

【0324】また、本発明に係る記録方法は、付随情報
の互いに位相の異なる複数のパターンを出力する付随情
報出力工程と、入力された画像データにおいて近傍の画
素との間の画素値の差分値を算出する差分値算出工程
と、付随情報出力工程において出力された位相の異なる
複数の付随情報のパターンと差分値とに基づいて、評価
値を演算する評価値演算工程と、評価値演算工程により
得た複数の評価値を比較することにより、付随情報の検
出を行う付随情報検出工程と、付随情報検出工程の検出
結果に応じて上記記録媒体への上記入力された画像デー
タの記録制御を行う記録制御工程と有することにより、
付随情報出力工程において出力された位相の異なる複数
の付随情報のパターンと、差分値算出工程において算出
した差分値とに基づいて、評価値演算工程により、複数
の評価値の得ることができる。そして、記録方法は、こ
の複数の評価値に基づいて付随情報検出工程において検
出した付随情報の検出結果に応じて、記録制御手段によ
り、入力された画像データの記録媒体への記録制御を行
うことができる。
Further, according to the recording method of the present invention, there is provided an additional information output step of outputting a plurality of patterns of auxiliary information having different phases, and a difference value of a pixel value between neighboring pixels in input image data. A difference value calculating step of calculating a plurality of accompanying information patterns having different phases output in the accompanying information output step and a difference value, and an evaluation value calculating step of calculating an evaluation value. By comparing the plurality of obtained evaluation values, an incidental information detection step of detecting incidental information and recording control of the input image data on the recording medium according to a detection result of the incidental information detection step are performed. By having a recording control step,
A plurality of evaluation values can be obtained by the evaluation value calculation step based on the plurality of patterns of the auxiliary information having different phases output in the incidental information output step and the difference values calculated in the difference value calculation step. Then, the recording method controls recording of the input image data on the recording medium by the recording control means in accordance with a detection result of the incidental information detected in the incidental information detecting step based on the plurality of evaluation values. Can be.

【0325】ここで、記録方法は、相関が高い近隣の画
素との間の差分値から得た評価値に基づいて付随情報の
検出を行っており、これにより、画像データの個々の値
が評価値に与える影響を小さくすることができるため、
従来よりも高い検出精度が得られ、確実に付随情報を検
出することができる。
Here, in the recording method, detection of incidental information is performed based on an evaluation value obtained from a difference value between a neighboring pixel having a high correlation and an individual value of image data is evaluated. Value can be reduced,
Higher detection accuracy than before can be obtained, and the accompanying information can be reliably detected.

【0326】さらに、M系列等の特殊な性質を有するパ
ターンを用いて付随情報を付加した場合、差分値を用い
て検出することにより、付加量を増幅させて確実に付随
情報を検出することができる。
Further, when the additional information is added using a pattern having a special property such as an M-sequence, the additional information is amplified by detecting using the difference value, so that the additional information can be reliably detected. it can.

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

【図1】本発明が適用される第1の実施の形態であるウ
ォータマーク検出器の構成を示すブロック回路図であ
る。
FIG. 1 is a block circuit diagram showing a configuration of a watermark detector according to a first embodiment to which the present invention is applied.

【図2】上記第1の実施の形態のウォータマーク検出器
による付随情報の検出のための一連の処理を示すフロー
チャートである。
FIG. 2 is a flowchart showing a series of processes for detecting accompanying information by the watermark detector according to the first embodiment.

【図3】ずらし検出に基づいて得られる評価値とずらし
量との関係を示す特性図である。
FIG. 3 is a characteristic diagram showing a relationship between an evaluation value obtained based on shift detection and a shift amount.

【図4】本発明が適用される第2の実施の形態であっ
て、構成例1のウォータマーク検出器の構成を示すブロ
ック回路図である。
FIG. 4 is a block circuit diagram illustrating a configuration of a watermark detector according to a second embodiment to which the present invention is applied, which is a configuration example 1;

【図5】上記構成例1のウォータマーク検出器による付
随情報の検出のための一連の処理を示すフローチャート
である。
FIG. 5 is a flowchart showing a series of processes for detecting accompanying information by the watermark detector of the configuration example 1;

【図6】第2の実施の形態のウォータマーク検出器が行
う差分値により評価値を算出する差分値用評価値算出処
理の一連の処理を示すフローチャートである。
FIG. 6 is a flowchart illustrating a series of processing for calculating an evaluation value for a difference value performed by the watermark detector according to the second embodiment to calculate an evaluation value based on a difference value.

【図7】付加量が増幅される場合の評価値とずらし量の
関係を示す特性図である。
FIG. 7 is a characteristic diagram showing a relationship between an evaluation value and a shift amount when an additional amount is amplified.

【図8】本発明が適用される第2の実施の形態であっ
て、構成例2及び構成例3のウォータマーク検出器の構
成を示すブロック回路図である。
FIG. 8 is a block circuit diagram illustrating a configuration of a watermark detector according to a second embodiment to which the present invention is applied, which is a configuration example 2 and a configuration example 3;

【図9】上記構成例2のウォータマーク検出器による付
随情報の検出のための一連の処理を示すフローチャート
である。
FIG. 9 is a flowchart showing a series of processes for detecting accompanying information by the watermark detector of the configuration example 2;

【図10】付加量が増幅される場合の評価値とずらし量
の関係を示す特性図である。
FIG. 10 is a characteristic diagram illustrating a relationship between an evaluation value and a shift amount when an additional amount is amplified.

【図11】上記構成例3のウォータマーク検出器による
付随情報の検出のための一連の処理を示すフローチャー
トである。
FIG. 11 is a flowchart showing a series of processes for detecting accompanying information by the watermark detector of Configuration Example 3;

【図12】差分値xd1,xd2,xd3の場合の評価
値とずらし量の関係を示す特性図である。
FIG. 12 is a characteristic diagram illustrating a relationship between an evaluation value and a shift amount in the case of difference values xd1, xd2, and xd3.

【図13】上記差分値xd1,xd2,xd3の場合の
評価値とずらし量との関係式から導かれてる評価値とず
らし量との関係を示す特性図である。
FIG. 13 is a characteristic diagram showing a relationship between an evaluation value and a shift amount derived from a relational expression between the evaluation value and the shift amount in the case of the difference values xd1, xd2, and xd3.

【図14】本発明が適用される第3の実施の形態のウォ
ータマーク検出器の構成を示す図である。
FIG. 14 is a diagram illustrating a configuration of a watermark detector according to a third embodiment to which the present invention is applied.

【図15】上記第3の実施の形態のウォータマーク検出
器の備える評価値比較器の構成を示すブロック回路図で
ある。
FIG. 15 is a block circuit diagram illustrating a configuration of an evaluation value comparator included in the watermark detector according to the third embodiment.

【図16】上記第3の実施の形態のウォータマーク検出
器の備える評価値比較器の構成を説明するために表す従
来のウォータマーク検出器の構成を示すブロック回路図
である。
FIG. 16 is a block circuit diagram showing a configuration of a conventional watermark detector shown for explaining a configuration of an evaluation value comparator provided in the watermark detector of the third embodiment.

【図17】上記差分値の変換操作のための変換関数の例
を示す図である。
FIG. 17 is a diagram illustrating an example of a conversion function for the conversion operation of the difference value.

【図18】上記差分値の変換操作のための変換関数の他
の例を示す図である。
FIG. 18 is a diagram illustrating another example of the conversion function for the conversion operation of the difference value.

【図19】上記差分値の変換操作のための変換関数の他
の例を示す図である。
FIG. 19 is a diagram illustrating another example of a conversion function for the conversion operation of the difference value.

【図20】ビデオテープにおける補助的情報の画像上で
の位置を示す図である。
FIG. 20 is a diagram showing positions of auxiliary information on an image on a video tape.

【図21】画像上に特定のパターンを埋め込んでいる例
を示す図である。
FIG. 21 is a diagram illustrating an example in which a specific pattern is embedded in an image.

【図22】ウォータマークのパターンの例を示す図であ
る。
FIG. 22 is a diagram illustrating an example of a watermark pattern.

【図23】画像へのウォータマークの付加操作を示す図
である。
FIG. 23 is a diagram illustrating an operation of adding a watermark to an image.

【図24】ウォータマークを用いた付随情報の付加及び
検出を示す図である。
FIG. 24 is a diagram showing addition and detection of accompanying information using a watermark.

【図25】エンコーダの構成を示すブロック回路図であ
る。
FIG. 25 is a block circuit diagram showing a configuration of an encoder.

【図26】デコーダの構成を示すブロック回路図であ
る。
FIG. 26 is a block circuit diagram showing a configuration of a decoder.

【図27】ウォータマーク付加器の構成を示すブロック
回路図である。
FIG. 27 is a block circuit diagram showing a configuration of a watermark adding device.

【図28】従来のウォータマーク検出器の構成を示すブ
ロック回路図である。
FIG. 28 is a block circuit diagram showing a configuration of a conventional watermark detector.

【図29】上記ウォータマーク付加器による画像へのウ
ォータマークの付加の一連の処理を示すフローチャート
である。
FIG. 29 is a flowchart showing a series of processes for adding a watermark to an image by the watermark adding device.

【図30】従来のウォータマーク検出器による付随情報
の検出のための一連の処理を示すフローチャートであ
る。
FIG. 30 is a flowchart showing a series of processes for detecting accompanying information by a conventional watermark detector.

【図31】従来のウォータマーク検出器によるずらし検
出に基づいた付随情報の検出の一連の処理を示すフロー
チャートである。
FIG. 31 is a flowchart showing a series of processes for detecting accompanying information based on displacement detection by a conventional watermark detector.

【図32】従来のウォータマーク検出器によるずらし検
出において差分値を算出するため差分値算出処理の一連
の処理を示すフローチャートである。
FIG. 32 is a flowchart showing a series of processes of a difference value calculation process for calculating a difference value in shift detection by a conventional watermark detector.

【図33】ずらし検出を行う従来のウォータマーク検出
器の構成を示すフローチャートである。
FIG. 33 is a flowchart showing a configuration of a conventional watermark detector that performs shift detection.

【図34】ウォータマークパターンのずらしの一例を示
す図である。
FIG. 34 is a diagram illustrating an example of shifting a watermark pattern.

【図35】ずらし検出による付随情報の抽出の一例を示
す図である。
FIG. 35 is a diagram illustrating an example of extraction of accompanying information by shift detection.

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

2 ウォータマーク検出器、3 ウォータマークパター
ン保持メモリ、4 差分算出器、5 評価値算出器、6
評価値比較器、11 ウォータマーク検出器、12
ウォータマークパターン保持メモリ、131,132
ォータマークパターンずらし器、141,142 差分算
出器、151,152,153,161,162,163
価値算出器、17 評価値比較器
2 watermark detector, 3 watermark pattern holding memory, 4 difference calculator, 5 evaluation value calculator, 6
Evaluation value comparator, 11 Watermark detector, 12
Watermark pattern holding memory, 13 1, 13 2 watermark pattern shifting unit, 14 1, 14 2 difference calculator, 15 1, 15 2, 15 3, 16 1, 16 2, 16 3 evaluation value calculator 17 Rating Value comparator

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/40 Fターム(参考) 5B057 CB06 CB18 CE08 CG07 DA20 DC36 5C063 AB03 AB05 CA23 CA40 DA13 DA20 5C076 AA14 5C077 LL14 MP04 NP02 PP80 RR02Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (reference) H04N 1/40 F term (reference) 5B057 CB06 CB18 CE08 CG07 DA20 DC36 5C063 AB03 AB05 CA23 CA40 DA13 DA20 5C076 AA14 5C077 LL14 MP04 NP02 PP80 RR02

Claims (36)

【特許請求の範囲】[Claims] 【請求項1】 付随情報が埋め込まれている画像データ
を処理する画像データ処理装置において、 上記付随情報のパターンを出力する付随情報出力手段
と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出手段と、 上記付随情報出力手段より出力された上記付随情報のパ
ターンと上記差分値とに基づいて、評価値を演算する評
価値演算手段と、 上記評価値に基づいて上記付随情報の検出を行う付随情
報検出手段とを備えることを特徴とする画像データ処理
装置。
1. An image data processing apparatus for processing image data in which incidental information is embedded, comprising: an incidental information output unit that outputs a pattern of the incidental information; Difference value calculating means for calculating a difference value between pixel values; evaluation value calculating means for calculating an evaluation value based on the pattern of the accompanying information output from the accompanying information output means and the difference value; An image data processing device, comprising: an incidental information detecting means for detecting the incidental information based on a value.
【請求項2】 上記付随情報は、パターンが2値データ
からなるウォータマークであり、 上記評価値演算手段は、上記ウォータマークのパターン
の値に応じて上記差分値を加算又は減算して上記評価値
を算出することを特徴とする請求項1記載の画像データ
処理装置。
2. The method according to claim 1, wherein the associated information is a watermark whose pattern is binary data, and wherein the evaluation value calculating means adds or subtracts the difference value according to a value of the pattern of the watermark. The image data processing device according to claim 1, wherein the value is calculated.
【請求項3】 上記差分値演算手段は、近傍の複数の画
素間の画素値から上記差分値を演算することを特徴とす
る請求項1記載の画像データ処理装置。
3. The image data processing device according to claim 1, wherein said difference value calculating means calculates said difference value from a pixel value between a plurality of neighboring pixels.
【請求項4】 付随情報が埋め込まれている画像データ
を処理する画像データ処理方法において、 上記付随情報のパターンを出力する付随情報出力工程
と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出工程と、 上記付随情報出力工程において出力された上記付随情報
のパターンと上記差分値とに基づいて、評価値を演算す
る評価値演算工程と、 上記評価値に基づいて上記付随情報の検出を行う付随情
報検出工程とを有することを特徴とする画像データ処理
方法。
4. An image data processing method for processing image data in which ancillary information is embedded, wherein an ancillary information output step of outputting a pattern of the ancillary information; A difference value calculating step of calculating a difference value between pixel values; an evaluation value calculating step of calculating an evaluation value based on the pattern of the accompanying information output in the accompanying information output step and the difference value; And an incidental information detecting step of detecting the incidental information based on a value.
【請求項5】 上記付随情報は、パターンが2値データ
からなるウォータマークであり、 上記評価値演算工程では、上記ウォータマークのパター
ンの値に応じて上記差分値を加算又は減算して上記評価
値を算出することを特徴とする請求項4記載の画像デー
タ処理方法。
5. The evaluation method according to claim 5, wherein the associated information is a watermark whose pattern is binary data. In the evaluation value calculating step, the difference value is added or subtracted according to the value of the watermark pattern. 5. The image data processing method according to claim 4, wherein a value is calculated.
【請求項6】 上記差分値演算工程では、近傍の複数の
画素間の画素値から上記差分値を演算することを特徴と
する請求項4記載の画像データ処理方法。
6. The image data processing method according to claim 4, wherein in the difference value calculating step, the difference value is calculated from pixel values between a plurality of neighboring pixels.
【請求項7】 付随情報が埋め込まれている画像データ
を記録媒体に記録する記録装置において、 上記付随情報のパターンを出力する付随情報出力手段
と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出手段と、 上記付随情報出力手段より出力された上記付随情報のパ
ターンと上記差分値とに基づいて、評価値を演算する評
価値演算手段と、 上記評価値に基づいて上記付随情報の検出を行う付随情
報検出手段と、 上記付随情報検出手段の検出結果に応じて上記記録媒体
への上記入力された画像データの記録制御を行う記録制
御手段とを備えることを特徴とする記録装置。
7. A recording apparatus for recording image data in which incidental information is embedded on a recording medium, comprising: an incidental information output unit that outputs a pattern of the incidental information; and a neighboring pixel in the input image data. Difference value calculating means for calculating a difference value between the pixel values of the above, evaluation value calculating means for calculating an evaluation value based on the pattern of the accompanying information output from the accompanying information output means and the difference value, An incidental information detecting unit that detects the incidental information based on the evaluation value; and a recording control unit that performs recording control of the input image data on the recording medium according to a detection result of the incidental information detecting unit. A recording device, comprising:
【請求項8】 上記付随情報は、パターンが2値データ
からなるウォータマークであり、 上記評価値演算手段は、上記ウォータマークのパターン
の値に応じて上記差分値を加算又は減算して上記評価値
を算出することを特徴とする請求項7記載の記録装置。
8. The associated information is a watermark whose pattern is composed of binary data, and the evaluation value calculating means adds or subtracts the difference value according to the value of the pattern of the watermark to perform the evaluation. The recording apparatus according to claim 7, wherein the value is calculated.
【請求項9】 上記差分値演算手段は、近傍の複数の画
素間の画素値から上記差分値を演算することを特徴とす
る請求項7記載の記録装置。
9. The recording apparatus according to claim 7, wherein said difference value calculating means calculates said difference value from a pixel value between a plurality of neighboring pixels.
【請求項10】 付随情報が埋め込まれている画像デー
タを記録媒体に記録する記録方法において、 上記付随情報のパターンを出力する付随情報出力工程
と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出工程と、 上記付随情報出力工程において出力された上記付随情報
のパターンと上記差分値とに基づいて、評価値を演算す
る評価値演算工程と、 上記評価値に基づいて上記付随情報の検出を行う付随情
報検出工程と、 上記付随情報検出工程の検出結果に応じて上記記録媒体
への上記入力された画像データの記録制御を行う記録制
御工程とを有することを特徴とする記録方法。
10. A recording method for recording image data in which incidental information is embedded on a recording medium, comprising: a step of outputting a pattern of the incidental information; A difference value calculating step of calculating a difference value between the pixel values of the above; an evaluation value calculating step of calculating an evaluation value based on the pattern of the accompanying information output in the accompanying information output step and the difference value; An incidental information detecting step of detecting the incidental information based on the evaluation value; and a recording control step of controlling recording of the input image data on the recording medium according to a detection result of the incidental information detecting step. A recording method comprising:
【請求項11】 上記付随情報は、パターンが2値デー
タからなるウォータマークであり、 上記評価値演算工程では、上記ウォータマークのパター
ンの値に応じて上記差分値を加算又は減算して上記評価
値を算出することを特徴とする請求項10記載の記録方
法。
11. The associated information is a watermark whose pattern is binary data. In the evaluation value calculation step, the difference value is added or subtracted in accordance with the value of the watermark pattern, and the evaluation value is calculated. The recording method according to claim 10, wherein a value is calculated.
【請求項12】 上記差分値演算工程では、近傍の複数
の画素間の画素値から上記差分値を演算することを特徴
とする請求項10記載の記録方法。
12. The recording method according to claim 10, wherein in the difference value calculating step, the difference value is calculated from pixel values between a plurality of neighboring pixels.
【請求項13】 付随情報が埋め込まれている画像デー
タを処理する画像データ処理装置において、 上記付随情報の互いに位相の異なる複数のパターンを出
力する付随情報出力手段と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出手段と、 上記付随情報出力手段から出力された位相の異なる複数
の付随情報のパターンと上記差分値とに基づいて、評価
値を演算する評価値演算手段と、 上記評価値演算手段により得た複数の評価値を比較する
ことにより、上記付随情報の検出を行う付随情報検出手
段とを備えることを特徴とする画像データ処理装置。
13. An image data processing apparatus for processing image data in which incidental information is embedded, an incidental information output means for outputting a plurality of patterns of the incidental information having different phases from each other; A difference value calculating means for calculating a difference value of a pixel value between the pixel and a plurality of incidental information patterns having different phases output from the incidental information output means, and an evaluation value based on the differential value. An image data processing apparatus comprising: an evaluation value calculating means for calculating; and an associated information detecting means for detecting the associated information by comparing a plurality of evaluation values obtained by the evaluation value calculating means.
【請求項14】 上記付随情報出力手段は、上記付随情
報のパターンを第1乃至第3の位相に設定し、 上記評価値演算手段は、上記第1乃至第3の位相に対応
する第1の乃至第3の評価値を演算し、当該第1乃至第
3の評価値から基準となる標準評価値を対応する値とす
ることを特徴とする請求項13記載の画像データ処理装
置。
14. The incidental information output means sets the pattern of the incidental information to first to third phases, and the evaluation value calculation means sets a first phase corresponding to the first to third phases. 14. The image data processing apparatus according to claim 13, wherein the first to third evaluation values are calculated, and a standard evaluation value serving as a reference is set as a corresponding value from the first to third evaluation values.
【請求項15】 上記付随情報出力手段は、上記付随情
報を記憶する記憶手段と、前記記憶手段に記憶されてい
る付随情報のパターンを異なる位相に設定する位相設定
手段とを有することを特徴とする請求項13記載の画像
データ処理装置。
15. The incidental information output means includes a storage means for storing the incidental information, and a phase setting means for setting a pattern of the incidental information stored in the storage means to a different phase. 14. The image data processing device according to claim 13, wherein:
【請求項16】 上記付随情報検出手段により得られる
複数の検出結果を総合的に判定する総合判定手段を備え
ていることを特徴とする請求項13記載の画像データ処
理装置。
16. The image data processing apparatus according to claim 13, further comprising comprehensive determination means for comprehensively determining a plurality of detection results obtained by said incidental information detection means.
【請求項17】 上記付随情報は、パターンが2値デー
タからなるウォータマークであり、 上記評価値演算手段は、上記ウォータマークのパターン
の値に応じて上記差分値を加算又は減算して上記評価値
を算出することを特徴とする請求項13記載の画像デー
タ処理装置。
17. The method according to claim 17, wherein the associated information is a watermark whose pattern is binary data, and wherein the evaluation value calculating means adds or subtracts the difference value according to the value of the pattern of the watermark to perform the evaluation. 14. The image data processing device according to claim 13, wherein a value is calculated.
【請求項18】 上記差分値演算手段は、近傍の複数の
画素間の画素値から上記差分値を演算することを特徴と
する請求項13記載の画像データ処理装置。
18. The image data processing apparatus according to claim 13, wherein said difference value calculating means calculates said difference value from a pixel value between a plurality of neighboring pixels.
【請求項19】 付随情報が埋め込まれている画像デー
タを処理する画像データ処理方法において、 上記付随情報の互いに位相の異なる複数のパターンを出
力する付随情報出力工程と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出工程と、 上記付随情報出力工程において出力された位相の異なる
複数の付随情報のパターンと上記差分値とに基づいて、
評価値を演算する評価値演算工程と、 上記評価値演算工程により得た複数の評価値を比較する
ことにより、上記付随情報の検出を行う付随情報検出工
程とを有することを特徴とする画像データ処理方法。
19. An image data processing method for processing image data in which incidental information is embedded, wherein: an incidental information output step of outputting a plurality of patterns of the incidental information having different phases from each other; A difference value calculation step of calculating a difference value of a pixel value between the pixel and the pixel, based on the pattern of a plurality of incidental information having different phases output in the incidental information output step and the differential value,
Image data, comprising: an evaluation value calculating step of calculating an evaluation value; and an associated information detecting step of detecting the associated information by comparing a plurality of evaluation values obtained in the evaluation value calculating step. Processing method.
【請求項20】 上記付随情報出力工程では、上記付随
情報のパターンを第1乃至第3の位相に設定し、 上記評価値演算工程では、上記第1乃至第3の位相に対
応する第1の乃至第3の評価値を演算し、当該第1乃至
第3の評価値から基準となる標準評価値を対応する値と
することを特徴とする請求項19記載の画像データ処理
方法。
20. A step of outputting the accompanying information in the accompanying information output step, wherein the pattern of the accompanying information is set to first to third phases, and in the evaluation value calculating step, a first phase corresponding to the first to third phases is set. 20. The image data processing method according to claim 19, wherein the first to third evaluation values are calculated, and a standard evaluation value serving as a reference is set as a corresponding value from the first to third evaluation values.
【請求項21】 上記付随情報出力工程では、記憶手段
に記憶されている付随情報のパターンを異なる位相に設
定することを特徴とする請求項19記載の画像データ処
理方法。
21. The image data processing method according to claim 19, wherein, in said incidental information output step, patterns of the incidental information stored in the storage means are set to different phases.
【請求項22】 上記付随情報検出工程により得られる
複数の検出結果を総合的に判定する総合判定工程を有す
ることを特徴とする請求項19記載の画像データ処理方
法。
22. The image data processing method according to claim 19, further comprising a comprehensive determination step of comprehensively determining a plurality of detection results obtained in said incidental information detection step.
【請求項23】 上記付随情報は、パターンが2値デー
タからなるウォータマークであり、 上記評価値演算工程では、上記ウォータマークのパター
ンの値に応じて上記差分値を加算又は減算して上記評価
値を算出することを特徴とする請求項19記載の画像デ
ータ処理方法。
23. The associated information is a watermark in which a pattern is composed of binary data. In the evaluation value calculation step, the evaluation value is calculated by adding or subtracting the difference value according to the value of the pattern of the watermark. 20. The image data processing method according to claim 19, wherein a value is calculated.
【請求項24】 上記差分値演算工程では、近傍の複数
の画素間の画素値から上記差分値を演算することを特徴
とする請求項19記載の画像データ処理方法。
24. The image data processing method according to claim 19, wherein in the difference value calculating step, the difference value is calculated from a pixel value between a plurality of neighboring pixels.
【請求項25】 付随情報が埋め込まれている画像デー
タを記録媒体に記録する記録装置において、 上記付随情報の互いに位相の異なる複数のパターンを出
力する付随情報出力手段と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出手段と、 上記付随情報出力手段から出力された位相の異なる複数
の付随情報のパターンと上記差分値とに基づいて、評価
値を演算する評価値演算手段と、 上記評価値演算手段により得た複数の評価値を比較する
ことにより、上記付随情報の検出を行う付随情報検出手
段と、 上記付随情報検出手段の検出結果に応じて上記記録媒体
への上記入力された画像データの記録制御を行う記録制
御手段とを備えることを特徴とする記録装置。
25. A recording apparatus for recording image data in which incidental information is embedded on a recording medium, comprising: an incidental information output means for outputting a plurality of patterns of the incidental information having mutually different phases; A difference value calculating means for calculating a difference value of a pixel value between adjacent pixels, and an evaluation value based on a pattern of a plurality of incidental information having different phases output from the incidental information output means and the differential value. Evaluation value calculation means for calculating the evaluation value calculation means; a plurality of evaluation values obtained by the evaluation value calculation means; and an incidental information detection means for detecting the incidental information; A recording control means for controlling recording of the input image data on the recording medium.
【請求項26】 上記付随情報出力手段は、上記付随情
報のパターンを第1乃至第3の位相に設定し、 上記評価値演算手段は、上記第1乃至第3の位相に対応
する第1の乃至第3の評価値を演算し、当該第1乃至第
3の評価値から基準となる標準評価値を対応する値とす
ることを特徴とする請求項25記載の記録装置。
26. The incidental information output means sets the pattern of the incidental information to first to third phases, and the evaluation value calculating means sets a first phase corresponding to the first to third phases. 26. The recording apparatus according to claim 25, wherein the first to third evaluation values are calculated, and a standard evaluation value serving as a reference is set as a corresponding value from the first to third evaluation values.
【請求項27】 上記付随情報出力手段は、上記付随情
報を記憶する記憶手段と、前記記憶手段に記憶されてい
る付随情報のパターンを異なる位相に設定する位相設定
手段とを有することを特徴とする請求項25記載の記録
装置。
27. The incidental information output means includes a storage means for storing the incidental information and a phase setting means for setting a pattern of the incidental information stored in the storage means to a different phase. 26. The recording device according to claim 25, wherein:
【請求項28】 上記付随情報検出手段により得られる
複数の検出結果を総合的に判定する総合判定手段を備え
ていることを特徴とする請求項25記載の記録装置。
28. The recording apparatus according to claim 25, further comprising comprehensive judgment means for comprehensively judging a plurality of detection results obtained by said incidental information detection means.
【請求項29】 上記付随情報は、パターンが2値デー
タからなるウォータマークであり、 上記評価値演算手段は、上記ウォータマークのパターン
の値に応じて上記差分値を加算又は減算して上記評価値
を算出することを特徴とする請求項25記載の記録装
置。
29. The ancillary information is a watermark in which a pattern is composed of binary data, and the evaluation value calculating means adds or subtracts the difference value according to the value of the watermark pattern to perform the evaluation. 26. The recording apparatus according to claim 25, wherein the value is calculated.
【請求項30】 上記差分値演算手段は、近傍の複数の
画素間の画素値から上記差分値を演算することを特徴と
する請求項25記載の記録装置。
30. The recording apparatus according to claim 25, wherein said difference value calculation means calculates said difference value from a pixel value between a plurality of neighboring pixels.
【請求項31】 付随情報が埋め込まれている画像デー
タを記録媒体に記録する記録方法において、 上記付随情報の互いに位相の異なる複数のパターンを出
力する付随情報出力工程と、 入力された画像データにおいて近傍の画素との間の画素
値の差分値を算出する差分値算出工程と、 上記付随情報出力工程において出力された位相の異なる
複数の付随情報のパターンと上記差分値とに基づいて、
評価値を演算する評価値演算工程と、 上記評価値演算工程により得た複数の評価値を比較する
ことにより、上記付随情報の検出を行う付随情報検出工
程と、 上記付随情報検出工程の検出結果に応じて上記記録媒体
への上記入力された画像データの記録制御を行う記録制
御工程とを有することを特徴とする記録方法。
31. A recording method for recording image data in which incidental information is embedded on a recording medium, comprising: outputting a plurality of patterns of the incidental information having different phases from each other; A difference value calculating step of calculating a difference value of a pixel value between the neighboring pixels, and a pattern of a plurality of accompanying information having different phases output in the accompanying information output step and the difference value,
An evaluation value calculating step of calculating an evaluation value; an incidental information detecting step of detecting the incidental information by comparing a plurality of evaluation values obtained in the evaluation value calculating step; and a detection result of the incidental information detecting step A recording control step of performing recording control of the input image data on the recording medium in accordance with the following.
【請求項32】 上記付随情報出力工程では、上記付随
情報のパターンを第1乃至第3の位相に設定し、 上記評価値演算工程では、上記第1乃至第3の位相に対
応する第1の乃至第3の評価値を演算し、当該第1乃至
第3の評価値から基準となる標準評価値を対応する値と
することを特徴とする請求項31記載の記録方法。
32. In the accompanying information output step, a pattern of the accompanying information is set to first to third phases, and in the evaluation value calculating step, a first phase corresponding to the first to third phases is set. 32. The recording method according to claim 31, wherein the first to third evaluation values are calculated, and a standard evaluation value as a reference is set as a corresponding value from the first to third evaluation values.
【請求項33】 上記付随情報出力工程では、記憶手段
に記憶されている付随情報のパターンを異なる位相に設
定することを特徴とする請求項31記載の記録方法。
33. The recording method according to claim 31, wherein in the accompanying information output step, the patterns of the accompanying information stored in the storage means are set to different phases.
【請求項34】 上記付随情報検出工程により得られる
複数の検出結果を総合的に判定する総合判定工程を備え
ていることを特徴とする請求項31記載の記録方法。
34. The recording method according to claim 31, further comprising a comprehensive determination step of comprehensively determining a plurality of detection results obtained in said incidental information detection step.
【請求項35】 上記付随情報は、パターンが2値デー
タからなるウォータマークであり、 上記評価値演算工程では、上記ウォータマークのパター
ンの値に応じて上記差分値を加算又は減算して上記評価
値を算出することを特徴とする請求項31記載の記録方
法。
35. The associated information is a watermark whose pattern is binary data. In the evaluation value calculating step, the evaluation value is calculated by adding or subtracting the difference value according to the value of the pattern of the watermark. The recording method according to claim 31, wherein a value is calculated.
【請求項36】 上記差分値演算工程では、近傍の複数
の画素間の画素値から上記差分値を演算することを特徴
とする請求項31記載の記録方法。
36. The recording method according to claim 31, wherein in the difference value calculating step, the difference value is calculated from a pixel value between a plurality of neighboring pixels.
JP17520198A 1998-06-22 1998-06-22 Image data processing apparatus and method, and recording apparatus and method Expired - Fee Related JP3642956B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP17520198A JP3642956B2 (en) 1998-06-22 1998-06-22 Image data processing apparatus and method, and recording apparatus and method
KR1019990023504A KR20000006352A (en) 1998-06-22 1999-06-22 Image data processing apparatus and method, and recording apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17520198A JP3642956B2 (en) 1998-06-22 1998-06-22 Image data processing apparatus and method, and recording apparatus and method

Publications (2)

Publication Number Publication Date
JP2000013763A true JP2000013763A (en) 2000-01-14
JP3642956B2 JP3642956B2 (en) 2005-04-27

Family

ID=15992071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17520198A Expired - Fee Related JP3642956B2 (en) 1998-06-22 1998-06-22 Image data processing apparatus and method, and recording apparatus and method

Country Status (2)

Country Link
JP (1) JP3642956B2 (en)
KR (1) KR20000006352A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051207B2 (en) 2000-04-05 2006-05-23 Nec Corporation Apparatus and methods for inserting and detecting electronic watermark
US7970164B2 (en) 2005-08-04 2011-06-28 Nippon Telegraph And Telephone Corporation Digital watermark padding method, digital watermark padding device, digital watermark detecting method, digital watermark detecting device, and program
KR101669854B1 (en) * 2016-04-11 2016-10-27 동국대학교 산학협력단 Data concealment apparatus and method based on continuous integer transform

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051207B2 (en) 2000-04-05 2006-05-23 Nec Corporation Apparatus and methods for inserting and detecting electronic watermark
US7469342B2 (en) 2000-04-05 2008-12-23 Nec Corporation Apparatus and methods for inserting and detecting electronic watermark
US7970164B2 (en) 2005-08-04 2011-06-28 Nippon Telegraph And Telephone Corporation Digital watermark padding method, digital watermark padding device, digital watermark detecting method, digital watermark detecting device, and program
US8126202B2 (en) 2005-08-04 2012-02-28 Nippon Telegraph And Telephone Corporation Digital watermark padding method, digital watermark padding device, digital watermark detecting method, digital watermark detecting device, and program
KR101669854B1 (en) * 2016-04-11 2016-10-27 동국대학교 산학협력단 Data concealment apparatus and method based on continuous integer transform

Also Published As

Publication number Publication date
JP3642956B2 (en) 2005-04-27
KR20000006352A (en) 2000-01-25

Similar Documents

Publication Publication Date Title
JP3201347B2 (en) Image attribute change device and digital watermark device
US6404926B1 (en) Apparatus and method of processing image data, transmission medium, and recording medium
JP3106985B2 (en) Electronic watermark insertion device and detection device
US6795565B2 (en) Method to detect watermark resistant to resizing and translation
JP3696723B2 (en) Image data processing apparatus and method
KR101361591B1 (en) Covert and robust mark for media identification
EP0901102B1 (en) Watermark embedding method and system
JPH1198341A (en) Electronic watermark superimposing device and electronic watermark detecting device
KR19980071869A (en) Digital data encoding system
WO1999012331A2 (en) Watermarking an information signal
US7564973B2 (en) Digital watermark embedding device and digital watermark embedding method
CA2226719C (en) Image data illegal use prevention system
JPH1155639A (en) Encode system for digital data, electronic watermark insertion method and storage medium storing control program
JP2000013763A (en) Device and method for processing picture data and device and method for recording
JP2003134329A (en) Electronic watermark burying processor, electronic watermark burying processing method and computer program
JP3606425B2 (en) Image data processing apparatus and method, and recording medium
JPH10240626A (en) Method and system for hiding data using statistical property
JP2000013765A (en) Device and method for detecting subordinate information, and device and method for processing picture data
JPH1169134A (en) Information adding device, information adding method, additional information identifying device and additional information identifying method
JP3476121B2 (en) Information detection device and information detection method
JP2003348553A (en) Digital watermark-embedding apparatus, method thereof, and recording medium having recorded therein program for performing the method
JP4239998B2 (en) Image data processing apparatus and method
JP3306971B2 (en) Decoding device for block transform code
Dittmann et al. Customer identification for MPEG video based on digital fingerprinting
JP2001094759A (en) Information processing unit, method and recording medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020528

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050126

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

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees