Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3476121B2 - Information detection device and information detection method - Google Patents
[go: Go Back, main page]

JP3476121B2 - Information detection device and information detection method - Google Patents

Information detection device and information detection method

Info

Publication number
JP3476121B2
JP3476121B2 JP23138198A JP23138198A JP3476121B2 JP 3476121 B2 JP3476121 B2 JP 3476121B2 JP 23138198 A JP23138198 A JP 23138198A JP 23138198 A JP23138198 A JP 23138198A JP 3476121 B2 JP3476121 B2 JP 3476121B2
Authority
JP
Japan
Prior art keywords
image
watermark pattern
watermark
converted
block
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.)
Expired - Fee Related
Application number
JP23138198A
Other languages
Japanese (ja)
Other versions
JP2000067210A (en
Inventor
和寿 保坂
信禎 宮原
陽一 矢ヶ崎
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 JP23138198A priority Critical patent/JP3476121B2/en
Publication of JP2000067210A publication Critical patent/JP2000067210A/en
Application granted granted Critical
Publication of JP3476121B2 publication Critical patent/JP3476121B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Television Systems (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、情報検出装置およ
び情報検出方法に関し、特に、画像に埋め込まれた付加
情報を有する画像を処理する情報検出装置および情報検
出方法に関する。
TECHNICAL FIELD The present invention relates to an information detection device and an information detection device.
And an information detection method , and more particularly, to an information detection apparatus and an information detection apparatus for processing an image having additional information embedded in the image.
Regarding how to get out .

【0002】[0002]

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

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

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

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

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

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

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

【0009】第2の方法は、画像データの主要部分(実
質的に表示される部分)に付加する方法である。これ
は、図12に示したように、ある特定のパターン(ウォ
ータマーク(Water Mark)パターン)(図12では、パ
ーソナルコンピュータの画像WM)を、視覚的に感知で
きない程度に、画像の全体あるいは一部に付加するもの
である。この具体例として、乱数やM系列等を用いて発
生させた鍵パターンを利用して、情報の付加あるいは検
出を行うスペクトラム拡散等がある。
The second method is a method of adding to the main part (substantially displayed part) of the image data. This is because, as shown in FIG. 12, a specific pattern (Water Mark pattern) (in FIG. 12, the image WM of the personal computer), the entire image or one of the images is not visually perceptible. It is added to the section. As a specific example of this, there is spread spectrum that adds or detects information by using a key pattern generated by using a random number or an M sequence.

【0010】以下では、ウォータマークパターンを用い
た場合の画像データの主要部分への付加情報の付加ある
いは検出の一例を述べる。図13乃至図16にこの具体
例を示した。
An example of adding or detecting the additional information to the main part of the image data when the watermark pattern is used will be described below. This specific example is shown in FIGS.

【0011】各画素について、プラスまたはマイナスの
2つのシンボルのいずれかを取る、図13に示されるよ
うな、4n×4n個の画素に対応するウォータマークパ
ターンを用いると仮定する。ウォータマークパターン
は、2つのシンボルのいずれかをランダムに取る方が望
ましく、その領域の形状、大きさは任意で構わない。
It is assumed that for each pixel a watermark pattern corresponding to 4n × 4n pixels is used, as shown in FIG. 13, which takes either plus or minus two symbols. The watermark pattern preferably takes one of the two symbols at random, and its shape and size may be arbitrary.

【0012】付加情報を付加する際には、付加を行う対
象となる画像上で、ウォータマークパターンの領域と等
しい大きさの領域を設定する。設定された領域とウォー
タマークパターンを重ねて照らし合わせ、プラスのシン
ボルが対応する画素には値aを加算し、マイナスのシン
ボルが対応する画素からは値bを減算する。a,b共
に、任意の値で構わないが、そのウォータマークパター
ンを通じて一定にするべきである。
When adding the additional information, an area having the same size as the area of the watermark pattern is set on the image to be added. The set area and the watermark pattern are compared with each other, and the value a is added to the pixel corresponding to the plus symbol, and the value b is subtracted from the pixel corresponding to the minus symbol. Both a and b may be arbitrary values, but they should be constant through the watermark pattern.

【0013】図14乃至図16の例では、a=1,b=
1に設定しており、図14に示すように、付加を行う対
象となる領域の画素値が全て100の場合には、ウォー
タマークパターンに対応する埋め込み操作により、プラ
スの領域では画素値が101とされ、マイナス領域では
画素値がとされる。
In the example of FIGS. 14 to 16, a = 1, b =
14, when all the pixel values of the area to be added are 100 as shown in FIG. 14, the pixel value is 101 in the positive area due to the embedding operation corresponding to the watermark pattern. And the pixel value in the negative region is.

【0014】付加情報を検出する際には、検出を行う対
象となる画像上で、ウォータマークパターンの領域と等
しい大きさの領域を設定する。この領域の画素値の全て
を合計した値が評価値として用いられる。画素値の全て
を合計する際には、設定された領域とウォータマークパ
ターンを重ねて照らし合わせ、プラスのシンボルが対応
する画素については加算、マイナスのシンボルが対応す
る画素については減算を適用する。図15の例では、画
素値101の画素が加算されて、値101×2n×4n
が得られ、画素値99の画素が減算されて、値(−99
×2n×4n)が得られ、それらの演算結果が加算され
て、値2×2n×4nが得られる。この時、付加情報を
付加する際に用いたウォータマークパターンと同じパタ
ーンを用いなければ、付加情報を正しく検出することは
できない。このような検出操作により、例えば図15に
示すように、付加情報が付加されている場合の評価値は
(4n)^2(領域に含まれる画素数の数と同じ)にな
り、図16に示すように、付加情報が付加されていない
場合の評価値は0(=100×4n×2n−100×4
n×2n)となる。
When detecting the additional information, an area having the same size as the area of the watermark pattern is set on the image to be detected. The sum of all the pixel values in this area is used as the evaluation value. When summing all the pixel values, the set area and the watermark pattern are overlapped and collated, and addition is performed on pixels corresponding to a plus symbol and subtraction is applied to pixels corresponding to a minus symbol. In the example of FIG. 15, the pixel having the pixel value 101 is added to obtain the value 101 × 2n × 4n.
Is obtained, the pixel with the pixel value 99 is subtracted, and the value (−99
X2nx4n) is obtained, and the operation results thereof are added to obtain the value 2x2nx4n. At this time, the additional information cannot be correctly detected unless the same pattern as the watermark pattern used when adding the additional information is used. With such a detection operation, for example, as shown in FIG. 15, when the additional information is added, the evaluation value becomes (4n) ^ 2 (the same as the number of pixels included in the area), and FIG. As shown, the evaluation value when the additional information is not added is 0 (= 100 × 4n × 2n-100 × 4).
n × 2n).

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

【0016】ウォータマークパターンは、例えばM系列
を用いて生成したものを利用することができる。M系列
(最長符号系列)は、0と1の2値のシンボルからなる
数列で、0と1の統計的分布は一定であり、符号相関は
原点で1、その他では符号長に反比例するものである。
もちろん、M系列以外の方法でウォータマークパターン
を生成しても構わない。
As the watermark pattern, for example, one generated by using the M series can be used. The M sequence (longest code sequence) is a sequence consisting 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 is inversely proportional to the code length in other cases. is there.
Of course, the watermark pattern may be generated by a method other than the M series.

【0017】ところで、画像をデジタル信号で記録し、
再生する場合、そのままでは非常に情報量が多いため、
画像は、圧縮されるのが一般的である。画像を圧縮する
方法として、カラー静止画像符号化方式であるJPEG(Joi
nt Photographic Experts Group)、あるいはカラー動画
像符号化方式であるMPEG(Moving Picture Experts Grou
p)等の高能率符号化方式が、国際的に標準化され、実用
化に至っている。これらの高能率符号化方式によって圧
縮されたデータは、ビットストリームデータ、あるいは
単にビットストリームと称される。また、対比する表現
として、圧縮する前の画像、および復号した後の画像
は、ベースバンド画像、あるいは単にベースバンドと称
される。
By the way, an image is recorded as a digital signal,
When playing back, there is a lot of information as it is, so
Images are typically compressed. As a method for compressing images, JPEG (Joi
nt Photographic Experts Group), or MPEG (Moving Picture Experts Grou)
High-efficiency coding methods such as p) have been internationally standardized and have been put to practical use. Data compressed by these high-efficiency coding methods is called bitstream data, or simply bitstream. Further, as a contrasting expression, the image before compression and the image after decoding are referred to as a baseband image or simply baseband.

【0018】ウォータマークパターンが付加されたベー
スバンド画像が、そのままベースバンドで配布されて
も、またはJPEG,MPEGなどの高能率符号化を行なった後
のビットストリームとして配布されても、どちらの場合
でも、簡単にウォータマークパターンが検出できれば好
都合である。
In either case, whether the baseband image to which the watermark pattern is added is distributed in the baseband as it is or is distributed as a bitstream after high efficiency encoding such as JPEG or MPEG. However, it would be convenient if the watermark pattern could be easily detected.

【0019】これを実現する方法として、本出願人は、
特願平9−252819号にて、ウォータマークパター
ンをビットストリーム中のDC(Direct Current:直流)
成分から検出できるように付加する方式を提案してい
る。この方式では、8×8画素のDCT(Discrete Cosine
Transformation:離散コサイン変換)ブロックなどの
符号化ブロックのDC成分に反映されるようにウォータマ
ークパターンがベースバンド画像に付加される。前述の
ウォータマークパターンの付加の説明における付加単位
である「画素」を、「符号化ブロックのDC成分」に置き
換えれば、ウォータマークパターンの符号化ブロックの
DC成分への付加が可能になる。
As a method of realizing this, the present applicant has
In Japanese Patent Application No. 9-252819, the watermark pattern DC (Direct Current) in the bit stream
We have proposed a method of adding so that it can be detected from the components. In this method, 8 × 8 pixel DCT (Discrete Cosine)
Transformation: Discrete cosine transform) A watermark pattern is added to a baseband image so that it is reflected in the DC component of a coded block such as a block. If the “pixel”, which is the unit of addition in the description of adding the watermark pattern above, is replaced with the “DC component of the encoded block”, the encoded block of the watermark pattern
It becomes possible to add to the DC component.

【0020】このようなウォータマークパターンが付加
された画像は、ベースバンド画像のまま配布されても、
MPEGなどで高能率符号化されたビットストリームとして
配布されても、容易にウォータマークパターンが検出さ
れる。すなわち、ベースバンドの画像からの検出の場
合、その符号化ブロックに相当する領域毎に画素値の平
均値を求め、求められた平均値とウォータマークパター
ンの相関をとればウォータマークパターンが検出され
る。ビットストリームからの検出の場合、ビットストリ
ームを走査してその符号化ブロック毎のDC成分の値を復
号し、DC成分の値とウォータマークパターンとの相関を
とればウォータマークパターンが検出される。
An image to which such a watermark pattern is added is distributed as it is as a baseband image,
The watermark pattern can be easily detected even when distributed as a bit stream that is highly efficient coded by MPEG or the like. That is, in the case of detection from a baseband image, the average value of pixel values is calculated for each area corresponding to the coded block, and the watermark pattern is detected by correlating the calculated average value and the watermark pattern. It In the case of detection from a bitstream, the bitstream is scanned, the value of the DC component for each coded block is decoded, and the watermark pattern is detected by correlating the value of the DC component with the watermark pattern.

【0021】また、MPEG2のような符号化方式では、フ
レームモードとフィールドモードの2つのモードのDCT
が適応的に使用される。図17は、フレームDCTを行な
うブロックを示す。フレームDCTを行なうとき、図17
(A)に示される16×16画素のマクロブロック11
は、図17(B)に示されるトップフィールドおよびボ
トムフィールドが交互に配置される8×8画素のフレー
ムモードブロック12乃至15に分割される。他方、フ
ィールドDCTを行なうとき、図18(A)に示される1
6×16画素のマクロブロック11は、図18(B)に
示されるトップフィールドから構成されるフィールドモ
ードブロック21および22、並びにボトムフィールド
から構成される8×8画素のフィールドモードブロック
23および24に分割される。
In addition, in an encoding method such as MPEG2, there are two modes of DCT, frame mode and field mode.
Is used adaptively. FIG. 17 shows a block for performing frame DCT. When performing the frame DCT, FIG.
16 × 16 pixel macroblock 11 shown in FIG.
Is divided into 8 × 8 pixel frame mode blocks 12 to 15 in which the top fields and bottom fields shown in FIG. 17B are alternately arranged. On the other hand, when performing the field DCT, 1 shown in FIG.
The macroblock 11 of 6 × 16 pixels has field mode blocks 21 and 22 composed of a top field and field mode blocks 23 and 24 of 8 × 8 pixels composed of a bottom field shown in FIG. 18B. Will be divided.

【0022】図17および図18で表されるように、フ
レームモードブロック12乃至15、またはフィールド
モードブロック21乃至24の占める画素の範囲は異な
る。そこで縦に2つのDCTブロックを合わせた8×16
画素の領域を1つの単位としてそのDC成分にウォータマ
ークパターンを付加する。これにより、フレームとフィ
ールドのどちらのモードでDCTが行なわれた場合でも、
その2つのブロックのDC成分を復号して平均することに
より8×16画素の領域のDC成分を計算し、ウォータマ
ークパターンの検出ができる。
As shown in FIGS. 17 and 18, the range of pixels occupied by the frame mode blocks 12 to 15 or the field mode blocks 21 to 24 is different. Therefore, 8 × 16, which is a combination of two DCT blocks vertically
A watermark pattern is added to the DC component of the pixel area as one unit. As a result, whether the DCT is performed in frame or field mode,
By decoding and averaging the DC components of the two blocks, the DC component of the 8 × 16 pixel area is calculated, and the watermark pattern can be detected.

【0023】ところで、図19に示されるように、画像
のアスペクト比(画像の大きさの横と縦の比)は、通
常、NTSC(National Television Systems Committee)方
式のビデオの画像26(図19(A))は4:3である
が、映画などの画像27(図19(B))は、横長で1
6:9となっている。このようにビデオと映画によって
アスペクト比が異なるため、映画の画像をビデオに記録
する方法として、主に次の2つの方法が使用されてい
る。
By the way, as shown in FIG. 19, the aspect ratio (horizontal-to-vertical ratio of the image size) of an image is usually an image 26 of a video of the NTSC (National Television Systems Committee) system (see FIG. A)) is 4: 3, but the image 27 (Fig. 19 (B)) such as a movie is 1 horizontally long.
It is 6: 9. Since the aspect ratio differs between video and movies in this way, the following two methods are mainly used to record movie images on video.

【0024】第1の方法は、図20(A)に示される映
画などの画像27を、図20(C)に示されるように、
ビデオの画像の上下を余らせ、中央部分の16:9の領
域に画像27を表示する方法である。上下に余った部分
は、通常、黒で埋められる。この表示方法は、レターボ
ックス(letter box)表示と称され、その画像はレター
ボックス画像29と称される。
In the first method, an image 27 such as a movie shown in FIG. 20 (A) is converted into an image 27 as shown in FIG. 20 (C).
In this method, the top and bottom of the video image are left and the image 27 is displayed in the central area 16: 9. The upper and lower parts are usually filled with black. This display method is called a letter box display, and the image is called a letter box image 29.

【0025】第2の方法は、図20(B)に示されるよ
うに、画像27を、横方向に3/4倍に縮小してビデオ
画像の全域(4:3の領域)に表示する方法である。ビ
デオ画像27は横方向に縮められ、この表示方法はスク
イズ(squeeze)表示と称され、その画像はスクイズ画
像28と称される。
As a second method, as shown in FIG. 20 (B), the image 27 is reduced laterally by a factor of 3/4 and displayed on the entire area (4: 3 area) of the video image. Is. The video image 27 is laterally shrunk, this display method is referred to as squeeze display, and that image is referred to as the squeeze image 28.

【0026】スクイズ画像28からレターボックス画像
29への変換は、レターボックス変換と称される。レタ
ーボックス変換は、図20(A)および図20(B)で
示されるように、スクイズ画像28を縦方向に3/4倍
に縮小する変換である。スクイズ画像28は、横方向に
縮められており、画像上に表現される物体は、実際より
も細く表現される。このため、画像を観賞するとき、ス
クイズ画像28は、このレターボックス変換される。レ
ターボックス画像29は、そのまま表示すれば観賞でき
る利点を有する。一方、スクイズ画像28は、ビデオの
画枠の縦方向の解像度が有効に使われている分、画質が
よいという利点を有する。これに対し、レターボックス
画像29は、上下に有効に使われていない画素がある
為、スクイズ画像28に比較し、画質は劣る。
The conversion from the squeeze image 28 to the letterbox image 29 is called letterbox conversion. The letterbox conversion is a conversion for reducing the squeeze image 28 by 3/4 in the vertical direction, as shown in FIGS. 20 (A) and 20 (B). The squeeze image 28 is contracted in the lateral direction, and the object represented on the image is represented thinner than it actually is. Therefore, when the image is viewed, the squeeze image 28 is subjected to this letterbox conversion. The letterbox image 29 has an advantage that it can be viewed as it is. On the other hand, the squeeze image 28 has an advantage that the image quality is good because the vertical resolution of the video image frame is effectively used. On the other hand, the letterbox image 29 is inferior in image quality to the squeeze image 28 because there are pixels that are not effectively used in the upper and lower portions.

【0027】映画の画像は、ビデオに記録するとき、画
質のよいスクイズ画像28で記録することが多い。MPEG
などで符号化するとき、映画の画像から作成されたスク
イズ画像28は、そのままスクイズ画像28として符号
化することも、復号後にそのまま表示して観賞できるよ
うにレターボックス変換を行なってレターボックス画像
29として符号化することもある。
The image of a movie is often recorded as a squeeze image 28 having a high image quality when recorded on a video. MPEG
When encoded with, for example, a squeeze image 28 created from a movie image can be encoded as it is as a squeeze image 28, or can be subjected to letterbox conversion so that it can be displayed and viewed as it is after decoding and the letterbox image 29. May be encoded as.

【0028】ここで、ウォータマークパターンが付加さ
れて、記録されたスクイズ画像28は、スクイズ画像2
8として符号化されたときも、レターボックス変換が行
なわれた後で、レターボックス画像29として符号化さ
れたときも、ビットストリームからウォータマークパタ
ーンを検出できれば取り扱いが容易である。
Here, the squeeze image 28 to which the watermark pattern is added and recorded is the squeeze image 2
It is easy to handle if the watermark pattern can be detected from the bit stream, whether it is encoded as 8, or after being subjected to letterbox conversion and then encoded as the letterbox image 29.

【0029】従来、図21に表されるウォータマークパ
ターンを利用した、符号化装置31および復号装置32
からなる、不正利用防止システムが実現されている。符
号化装置31は、レターボックス画像29であるベース
バンド画像が入力される。ウォータマークパターンを付
加する必要がないとき、入力されたベースバンド画像
は、切替部43を介して、符号化部44に供給される。
ウォータマークパターンを付加する必要があるとき、ベ
ースバンド画像は、ウォータマークパターン付加部41
に入力されてウォータマークパターンが付加される。レ
ターボックス変換されないとき、ウォータマークパター
ンが付加されたベースバンド画像は、切替部43を介し
て、そのまま符号化部44に送られる。レターボックス
変換されるとき、ウォータマークパターンが付加された
ベースバンド画像は、縦方向の縮小フィルタであるレタ
ーボックス変換部42でレターボックス変換され、切替
部43を介して、符号化部44に供給される。符号化部
44は、入力されたベースバンド画像を符号化し、得ら
れたビットストリームを出力する。符号化装置31から
出力されたビットストリームは、所定の伝送経路を介し
て、復号装置32に供給される。
Conventionally, an encoding device 31 and a decoding device 32 utilizing the watermark pattern shown in FIG.
An unauthorized use prevention system has been realized. The baseband image, which is the letterbox image 29, is input to the encoding device 31. When it is not necessary to add the watermark pattern, the input baseband image is supplied to the encoding unit 44 via the switching unit 43.
When it is necessary to add a watermark pattern, the baseband image is displayed in the watermark pattern adding unit 41.
And the watermark pattern is added. When the letterbox conversion is not performed, the baseband image to which the watermark pattern is added is sent to the encoding unit 44 as it is via the switching unit 43. When letterbox-converted, the baseband image to which the watermark pattern is added is letterbox-converted by the letterbox converter 42, which is a vertical reduction filter, and supplied to the encoder 44 via the switcher 43. To be done. The encoding unit 44 encodes the input baseband image and outputs the obtained bitstream. The bit stream output from the encoding device 31 is supplied to the decoding device 32 via a predetermined transmission path.

【0030】復号装置32のウォータマークパターン検
出部52は、符号化装置31から出力されたビットスト
リームを受けとり、ビットストリームの画像に付加され
ているウォータマークパターンから情報を検出し、検出
された情報に基づいた信号を出力制御部51に出力す
る。出力制御部51は、ウォータマークパターン検出部
52からの信号に基づき、復号部53への符号化装置3
1から供給されたビットストリームの供給を制御する。
復号部53は、入力されたビットストリームを復号し、
ベースバンド画像を出力する。
The watermark pattern detector 52 of the decoding device 32 receives the bit stream output from the encoding device 31, detects information from the watermark pattern added to the image of the bit stream, and detects the detected information. The signal based on the above is output to the output control unit 51. The output control unit 51 supplies the encoding device 3 to the decoding unit 53 based on the signal from the watermark pattern detection unit 52.
Controls the supply of the bit stream supplied from 1.
The decoding unit 53 decodes the input bitstream,
Output a baseband image.

【0031】以下では、図21に表されるウォータマー
クパターンを利用した、符号化装置31および復号装置
32からなる、不正利用防止システムにおいて行なわれ
る処理についてより詳細に説明する。
In the following, the processing performed in the unauthorized use prevention system, which is composed of the encoding device 31 and the decoding device 32, using the watermark pattern shown in FIG. 21 will be described in more detail.

【0032】図22(A)に示されるように、スクイズ
画像28においてウォータマークパターンがそのDC係数
に付加される付加ブロック61−1乃至61−nは、図
22(B)に示されるように、レターボックス変換され
た後のレターボックス画像29において縦方向に3/4
に潰れた領域62−1乃至62−nになる。そのため、
レターボックス画像29の付加ブロックは、スクイズ画
像28の付加ブロック61−1乃至61−nとずれ、ス
クイズ画像28の付加ブロック61−1乃至61−nの
DC係数に付加したウォータマークパターンは、レターボ
ックス画像29の付加ブロックのDC係数に直接反映さ
れない。そこでレターボックス変換を行なう前に符号化
を行なった場合、ビットストリームからウォータマーク
パターンを検出できるスクイズ画像28用のウォータマ
ークパターンと、レターボックス変換を行なった後に符
号化を行なった場合、ビットストリームからウォータマ
ークパターンを検出できるレターボックス画像用のウォ
ータマークパターンの双方を、ベースバンドの画像に付
加することが考えられていた。
As shown in FIG. 22A, the additional blocks 61-1 to 61-n in which the watermark pattern is added to the DC coefficient of the squeeze image 28 as shown in FIG. , 3/4 in the vertical direction in the letterbox image 29 after the letterbox conversion
Regions 62-1 to 62-n that are crushed in the area. for that reason,
The additional blocks of the letterbox image 29 are different from the additional blocks 61-1 to 61-n of the squeeze image 28, and the additional blocks 61-1 to 61-n of the squeeze image 28 are different.
The watermark pattern added to the DC coefficient is not directly reflected on the DC coefficient of the additional block of the letterbox image 29. Therefore, if the encoding is performed before the letterbox conversion, the watermark pattern for the squeeze image 28 capable of detecting the watermark pattern from the bitstream and the encoding after the letterbox conversion are performed. It has been considered to add both the watermark pattern for the letterbox image capable of detecting the watermark pattern to the baseband image.

【0033】スクイズ画像28用のウォータマークパタ
ーンの付加ブロック61−1乃至61−nは、図22
(A)に示されるように、通常のウォータマークパター
ンの付加ブロックと同じ8×16画素の領域である。こ
れに対して、図23(A)に示されるように、レターボ
ックス画像29用のウォータマークパターンの付加ブロ
ック71−1乃至71−nは、8×21.333...(=16×4
/3)画素から構成される。付加ブロック71−1乃至7
1−nは、レターボックス変換された後、図23(B)
の8×16画素のブロック72−1乃至72−nとな
る。
The watermark pattern addition blocks 61-1 to 61-n for the squeeze image 28 are shown in FIG.
As shown in (A), it is an area of 8 × 16 pixels which is the same as the additional block of the normal watermark pattern. On the other hand, as shown in FIG. 23A, the additional blocks 71-1 to 71-n of the watermark pattern for the letterbox image 29 are 8 × 21.333 ... (= 16 × 4).
/ 3) Composed of pixels. Additional blocks 71-1 to 7
After 1-n is letterbox-converted, FIG.
8 × 16 pixel blocks 72-1 to 72-n.

【0034】 図21の従来の不正利用防止システムで
行なわれる処理は、この2つのウォータマークパターン
を付加する処理であり、図24および25の両方の処理
を逐次に行なったものである。なお、付加の処理の順番
は、どちらが先であっても構わない。
The process performed by the conventional unauthorized use prevention system of FIG. 21 is a process of adding these two watermark patterns, and is a process of sequentially performing both the processes of FIGS. 24 and 25 . It should be noted that the order of addition processing may be either first.

【0035】図24は、通常の(スクイズ画像28用
の)ウォータマークパターンを付加する処理を説明する
フローチャートである。まず、ステップS11におい
て、ウォータマークパターン付加部41は、ウォータマ
ークパターンを設定するとともに、付加量a,bの設定を
行なう。ステップS12において、ウォータマークパタ
ーン付加部41は、通常のウォータマークパターン付加
ブロックに対応する8×16画素のブロックを1つ読み
込む。ステップS13において、ウォータマークパター
ン付加部41は、そのブロックがウォータマークパター
ンを付加すべきブロックであるか否かを判定し、そのブ
ロックがウォータマークパターンを付加すべきブロック
であると判定された場合、ステップS14に進む。
FIG. 24 is a flow chart for explaining the process of adding a normal watermark pattern (for the squeeze image 28). First, in step S11, the watermark pattern adding section 41 sets a watermark pattern and sets addition amounts a and b. In step S12, the watermark pattern adding unit 41 reads one block of 8 × 16 pixels corresponding to a normal watermark pattern adding block. In step S13, the watermark pattern adding unit 41 determines whether the block is a block to which the watermark pattern should be added, and when it is determined that the block is a block to which the watermark pattern is to be added , And proceeds to step S14.

【0036】ステップS14において、ウォータマーク
パターン付加部41は、読み込んだブロックが加算する
ブロックであるか否かを判定し、読み込んだブロックが
加算するブロックであると判定された場合、ステップS
15に進み、ブロックのDC値にaを加算し、ステップ
S17に進む。ステップS14において、読み込んだブ
ロックがウォータマークを減算するブロックであると判
定された場合、ステップS16に進み、ウォータマーク
パターン付加部41は、読み込んだブロックのDC値か
らbだけ減算し、ステップS17に進む。ステップS1
7において、ウォータマークパターン付加部41は、全
てのブロックの処理を終了したか否かを判定し、全ての
ブロックの処理をまだ終了していないと判定された場
合、ステップS12に戻り、処理を継続する。
In step S14, the watermark pattern adding section 41 determines whether or not the read block is a block to be added, and when it is determined that the read block is a block to be added, step S14
In step 15, a is added to the DC value of the block, and the process proceeds to step S17. When it is determined in step S14 that the read block is a block from which the watermark is to be subtracted, the process proceeds to step S16, where the watermark pattern adding unit 41 subtracts b from the DC value of the read block, and then to step S17. move on. Step S1
In 7, the watermark pattern adding unit 41 determines whether or not the processing of all blocks has been completed. If it is determined that the processing of all blocks has not yet been completed, the process returns to step S12 and the processing is performed. continue.

【0037】ステップS13において、そのブロックが
ウォータマークパターンを付加するブロックではないと
判定された場合、ステップS17に進む。
If it is determined in step S13 that the block is not the block to which the watermark pattern is added, the process proceeds to step S17.

【0038】ステップS17において、全てのブロック
の処理を終了したと判定された場合、ウォータマークパ
ターン付加部41は、処理を終了する。
When it is determined in step S17 that all blocks have been processed, the watermark pattern adding section 41 ends the processing.

【0039】図25は、レターボックス画像29用のウ
ォータマークパターンを付加する処理を説明するフロー
チャートである。ステップS21において、ウォータマ
ークパターン付加部41は、レターボックス用のウォー
タマークパターンを設定するとともに、付加量aおよびb
の設定を行なう。ステップS22において、ウォータマ
ークパターン付加部41は、レターボックス用のウォー
タマークパターン付加ブロックに対応する8×21.33
3...画素のブロックを1つ読み込む。以下のステップS
23乃至ステップS27の手続は、ステップS13乃至
ステップS17と、同様であり、その説明は省略する。
FIG. 25 is a flow chart for explaining the process of adding the watermark pattern for the letterbox image 29. In step S21, the watermark pattern adding unit 41 sets the watermark pattern for letterbox and adds the addition amounts a and b.
Set. In step S22, the watermark pattern addition unit 41 corresponds to the watermark pattern addition block for letterbox 8 × 21.33.
3 ... Read one block of pixels. Step S below
The procedure from 23 to step S27 is similar to that from step S13 to step S17, and the description thereof is omitted.

【0040】図24および図25に示された手続におい
て、通常のウォータマークパターンを付加すべきブロッ
クとレターボックス用のウォータマークパターンを付加
すべきブロックの選択方法には、以下の2つの方法があ
る。
In the procedure shown in FIGS. 24 and 25, there are the following two methods for selecting a block to which a normal watermark pattern should be added and a block to which a watermark pattern for letterbox should be added. is there.

【0041】第1の方法は、2つのウォータマークパタ
ーンを空間的または時間的に別の符号化ブロックのDC成
分に付加する方法である。例えば、空間的に別の符号化
ブロックのDC成分に付加する方法として、画像の右半分
にスクイズ画像28用のウォータマークパターンを、左
半分にレターボックス画像29用のウォータマークパタ
ーンを、それぞれ付加する方法がある。時間的に別の符
号化ブロックのDC成分に付加する方法として、偶数番目
のフレームにスクイズ画像28用のウォータマークパタ
ーンを、奇数番目のフレームにレターボックス画像29
用のウォータマークパターンを、それぞれ付加する方法
がある。
The first method is to add two watermark patterns to the DC component of another coded block spatially or temporally. For example, as a method of spatially adding to the DC component of another encoded block, a watermark pattern for the squeeze image 28 is added to the right half of the image and a watermark pattern for the letterbox image 29 is added to the left half of the image. There is a way to do it. As a method of adding to the DC component of another encoded block in terms of time, a watermark pattern for the squeeze image 28 is added to even-numbered frames and a letterbox image 29 is added to odd-numbered frames.
There is a method of adding a watermark pattern for each.

【0042】第2の方法は、2つのウォータマークパタ
ーンを空間的にも時間的にも同一のDC成分に付加する方
法である。この方法は、どちらのウォータマークパター
ンも画像の全域に付加するが、スクイズ画像28用とレ
ターボックス画像29用とで、別々のウォータマークパ
ターンを用いる必要がある。
The second method is to add two watermark patterns to the same DC component both spatially and temporally. In this method, both watermark patterns are added to the entire area of the image, but it is necessary to use different watermark patterns for the squeeze image 28 and the letterbox image 29.

【0043】図26は、検出の処理を説明するフローチ
ャートである。まず、ステップS31において、ウォー
タマークパターン検出部52は、W[x,y]にスクイズ画像
28用のウォータマークパターンを設定し、 WL[x,y]に
レターボックス画像29用のウォータマークパターンを
設定し、スクイズ画像28のウォータマークパターンの
検出のための評価値sum、およびレターボックス画像2
9のウォータマークパターンの検出のための評価値sumL
を0に初期化するとともに、スクイズ画像28のウォー
タマークパターンの検出の閾値th、およびレターボック
ス画像29のウォータマークパターンの検出の閾値thL
を設定する。ステップS32において、ウォータマーク
パターン検出部52は、ビットストリームを簡易復号
し、8×16画素のブロックのDC成分を I[x,y]に代入
する。ここで、I[x,y]は画像中で上から y 番目、左か
ら x 番目のブロックのDC成分である。ステップS33
において、ウォータマークパターン検出部52は、sum
に I[x,y]×W[x,y]を加算し、sumL に I[x,y]×WL[x,y]
を加算する。ステップS34おいて、ウォータマークパ
ターン検出部52は、すべてのI[x,y]について処理を実
行したか否かを判定し、すべてのI[x,y]について処理を
実行していないと判定された場合、手続は、ステップS
33に戻り、処理を繰り返す。
FIG. 26 is a flow chart for explaining the detection process. First, in step S31, the watermark pattern detection unit 52 sets the watermark pattern for the squeeze image 28 in W [x, y] and sets the watermark pattern for the letterbox image 29 in WL [x, y]. Set, evaluation value sum for detecting watermark pattern of squeeze image 28, and letterbox image 2
Evaluation value sumL for detecting 9 watermark patterns
Is initialized to 0, the threshold th for detecting the watermark pattern of the squeeze image 28 and the threshold thL for detecting the watermark pattern of the letterbox image 29 are set to thL.
To set. In step S32, the watermark pattern detection unit 52 simply decodes the bitstream and substitutes the DC component of the block of 8 × 16 pixels for I [x, y]. Here, I [x, y] is the DC component of the y-th block from the top and the x-th block from the left in the image. Step S33
At the watermark pattern detection unit 52,
I [x, y] × W [x, y] is added to sumL and I [x, y] × WL [x, y]
Is added. In step S34, the watermark pattern detection unit 52 determines whether or not processing has been performed for all I [x, y], and determines that processing has not been performed for all I [x, y]. If so, the procedure is step S
Returning to 33, the process is repeated.

【0044】ステップS34おいて、すべてのI[x,y]に
ついて処理を実行したと判定された場合、ステップS3
5に進み、ウォータマークパターン検出部52は、sum
がthより大きいか否かを判定し、sumがthより大きくな
いと判定された場合、ステップS36に進む。ステップ
S36おいて、ウォータマークパターン検出部52は、
sumLがthLより大きいか否かを判定し、sumLがthLより大
きくないと判定された場合、手続は、ステップS37に
進み、ウォータマークパターン検出部52は、ウォータ
マークパターンが付加されていないときの処理を実行
し、処理を終了する。
If it is determined in step S34 that the process has been executed for all I [x, y], step S3
5, the watermark pattern detection unit 52
Is greater than th, and if sum is not greater than th, the process proceeds to step S36. In step S36, the watermark pattern detection unit 52
If it is determined whether or not sumL is larger than thL, and if it is determined that sumL is not larger than thL, the procedure proceeds to step S37, and the watermark pattern detection unit 52 determines that the watermark pattern is not added. The process is executed and the process ends.

【0045】ステップS35において、sumがthより大
きいと判定された場合、およびステップS36おいて、
sumLがthLより大きいと判定された場合、ウォータマー
クパターン検出部52は、ステップS38においてウォ
ータマークパターンが付加されているときの処理を実行
し、処理を終了する。
If it is determined in step S35 that sum is greater than th, and in step S36,
When it is determined that sumL is larger than thL, the watermark pattern detection unit 52 executes the process when the watermark pattern is added in step S38, and ends the process.

【0046】各ブロックにどちらのウォータマークパタ
ーンが入っているかは、ウォータマークパターンを検出
する前は分からないので、どちらのウォータマークパタ
ーンについてもすべてのブロックと相関をとる必要があ
る。
It is not known which watermark pattern is contained in each block before the watermark pattern is detected. Therefore, it is necessary to correlate both watermark patterns with all blocks.

【0047】[0047]

【発明が解決しようとする課題】従来の第1の方法は、
ウォータマークパターンを検出するのに用いるDC成分を
取り出す符号化ブロックを、レターボックス画像29か
らの検出用の符号化ブロックおよびスクイズ画像28か
らの検出用の符号化ブロックの2つの用途に分けて用い
るため、レターボックス画像29(またはスクイズ画像
28)のみを対象にしての検出と検出時間を同じにする
には、検出に使えるDC成分の数が半分になり、検出精度
が悪くなる。逆に、レターボックス画像29(またはス
クイズ画像28)のみを対象にしての検出と検出精度を
同じにするには、レターボックス画像29およびスクイ
ズ画像28で検出に使えるDC成分の数を別々に確保す
るために検出時間が2倍必要になる。
The first conventional method is as follows.
The coding block for extracting the DC component used for detecting the watermark pattern is divided into two uses, that is, the coding block for detection from the letterbox image 29 and the coding block for detection from the squeeze image 28. Therefore, in order to make the detection and the detection time the same for only the letterbox image 29 (or the squeeze image 28), the number of DC components that can be used for the detection becomes half, and the detection accuracy deteriorates. On the contrary, in order to make the detection and the detection accuracy the same for only the letterbox image 29 (or the squeeze image 28), the number of DC components that can be used for the detection is separately secured in the letterbox image 29 and the squeeze image 28. This requires twice the detection time.

【0048】また、従来の第2の方法は、2つのウォー
タマークパターンの信号が画像に重ねて加えられるた
め、ウォータマークパターンのパターンが本来の画像に
加えられたノイズとして見えやすくなり、画質が劣化す
る。
Further, in the second conventional method, since the two watermark pattern signals are added to the image in an overlapping manner, the watermark pattern pattern is likely to be seen as noise added to the original image, and the image quality is improved. to degrade.

【0049】本発明はこのような状況に鑑みてなされた
ものであり、検出精度の低下、検出時間の増加、画質の
劣化、または検出の処理量の増加なしにウォータマーク
パターンを検出することを目的とする。
The present invention has been made in view of such a situation, and it is possible to detect a watermark pattern without lowering the detection accuracy, increasing the detection time, degrading the image quality, or increasing the detection processing amount. To aim.

【0050】[0050]

【課題を解決するための手段】請求項1に記載の情報検
出装置は、解像度変換もしくは画枠変換に対応して、ウ
ォータマークパターンを変換し、解像度変換または画枠
変換された画像における符号化ブロックと解像度変換も
しくは画枠変換されたウォータマークパターンとの間で
相互に対応する部分の積和演算を行うことにより、評価
値を生成する演算手段と、評価値と所定の閾値とを比較
してウォータマークが付加されているか否かを判定する
判定手段とを備え、演算手段は、変換されたウォータマ
ークパターンと、解像度変換もしくは画枠変換された画
像における符号化ブロックとの対応付けられる画素数
ある所定の割合より小さい場合には、評価値に対応しな
い部分のウォータマークパターンの演算を省略すること
を特徴とする。
An information detecting apparatus according to claim 1 converts a watermark pattern in correspondence with resolution conversion or image frame conversion, and encodes in an image subjected to resolution conversion or image frame conversion. Block and resolution conversion
Or between the watermark pattern that has been converted into a picture frame
An arithmetic means for generating an evaluation value by performing a product-sum operation of mutually corresponding parts, and a determination means for comparing the evaluation value with a predetermined threshold value and determining whether or not a watermark is added are provided. The arithmetic means corresponds to the evaluation value when the number of pixels associated with the converted watermark pattern and the coded block in the image subjected to the resolution conversion or the image frame conversion is smaller than a predetermined ratio. Na
It is characterized in that the calculation of the watermark pattern of the other part is omitted.

【0051】 請求項3に記載の情報検出方法は、解像
度変換もしくは画枠変換に対応して、ウォータマークパ
ターンを変換し、解像度変換または画枠変換された画像
における符号化ブロックと解像度変換もしくは画枠変換
されたウォータマークパターンとの間で相互に対応する
部分の積和演算を行うことにより、評価値を生成し、評
価値と所定の閾値とを比較してウォータマークが付加さ
れているか否かを判定し、評価値を演算する場合、変換
されたウォータマークパターンと、解像度変換もしくは
画枠変換された画像における符号化ブロックとの対応付
られる画素数がある所定の割合より小さいときには、
評価値に対応しない部分のウォータマークパターンの演
算を省略することを特徴とする。
In the information detecting method according to the third aspect, the watermark pattern is converted in correspondence with the resolution conversion or the image frame conversion, and the encoding block and the resolution conversion or the image in the image subjected to the resolution conversion or the image frame conversion are converted. Frame conversion
Correspondence with the watermark pattern
An evaluation value is generated by performing a product-sum operation of the parts, and the evaluation value is compared with a predetermined threshold value to determine whether or not a watermark is added, and when the evaluation value is calculated, it is converted. When the number of pixels associated with the watermark pattern and the coded block in the resolution-converted or frame-converted image is smaller than a predetermined ratio,
It is characterized in that the calculation of the watermark pattern of the portion not corresponding to the evaluation value is omitted.

【0052】[0052]

【0053】 請求項1に記載の情報検出装置および請
求項3に記載の情報検出方法においては、解像度変換も
しくは画枠変換に対応して、ウォータマークパターンを
変換し、解像度変換または画枠変換された画像における
符号化ブロックと解像度変換もしくは画枠変換された
ォータマークパターンとの間で相互に対応する部分の積
和演算を行うことにより、評価値が生成され、評価値と
所定の閾値とを比較してウォータマークが付加されてい
るか否かが判定され、評価値を演算する場合、変換され
たウォータマークパターンと、解像度変換もしくは画枠
変換された画像における符号化ブロックとの対応付け
れる画素数がある所定の割合より小さいときには、評価
値に対応しない部分のウォータマークパターンの演算が
省略される。
In the information detecting device according to the first aspect and the information detecting method according to the third aspect, the watermark pattern is converted in accordance with the resolution conversion or the image frame conversion, and the resolution conversion or the image frame conversion is performed. Of the parts corresponding to each other between the encoded block and the water mark pattern whose resolution has been converted or whose frame has been converted in the captured image.
An evaluation value is generated by performing a sum operation, and it is determined whether or not a watermark is added by comparing the evaluation value with a predetermined threshold value. When the evaluation value is calculated, the converted watermark pattern And the coding block in the image whose resolution has been converted or whose frame has been converted .
When the number of pixels to be displayed is smaller than a predetermined ratio, the calculation of the watermark pattern of the portion that does not correspond to the evaluation value is omitted.

【0054】[0054]

【0055】[0055]

【0056】[0056]

【発明の実施の形態】 以下、フレームとフィールドのDC
Tを適応的に使うMPEG2を想定し、ウォータマークパター
ンの付加または検出を行なうブロックとして8×16画
素のブロックを用いて記述する。
BEST MODE FOR CARRYING OUT THE INVENTION Below, DC of frames and fields
Assuming MPEG2 in which T is adaptively used, description will be made using a block of 8 × 16 pixels as a block for adding or detecting a watermark pattern.

【0057】本発明の不正利用防止システムの構成は、
図21に示した不正利用防止システムの構成と同様であ
る。
The configuration of the unauthorized use prevention system of the present invention is as follows:
The configuration is similar to that of the unauthorized use prevention system shown in FIG.

【0058】図1は、レターボックス変換のとき、スク
イズ画像28を縦方向に縮小した後、画面の上部をつめ
て余白を下部のみにとった場合の図である。図1(A)
は、スクイズ画像28でウォータマークパターンを付加
する、8×16画素の付加ブロック81(水平方向にx
番目、垂直方向にy番目のブロック)を示す図である。
付加ブロック81を含むスクイズ画像28をレターボッ
クス変換すると(縦方向に3/4倍すると)、付加ブロッ
ク81は、図1(B)に示すレターボックス画像29上
の8×12画素の付加ブロック82となる。また、図1
(C)は、レターボックス画像29を符号化するとき
の、8×16画素の符号化ブロック83−1乃至83−
3を示す図である。なお、図中のy'は、整数を表してい
る。
FIG. 1 is a diagram showing a case where the squeeze image 28 is reduced in the vertical direction during letterbox conversion, and then the upper portion of the screen is clogged and the margin is left only at the lower portion. Figure 1 (A)
Is an additional block 81 of 8 × 16 pixels (x in the horizontal direction) for adding a watermark pattern in the squeeze image 28.
And the y-th block in the vertical direction).
When the squeeze image 28 including the additional block 81 is letterbox converted (multiplied by 3/4 in the vertical direction), the additional block 81 is an additional block 82 of 8 × 12 pixels on the letterbox image 29 shown in FIG. Becomes Also, FIG.
(C) is a coding block 83-1 to 83-of 8 × 16 pixels when the letterbox image 29 is coded.
It is a figure which shows 3. Note that y'in the figure represents an integer.

【0059】図2は、レターボックス変換のとき、スク
イズ画像28を縦方向に縮小した後、余白を画面の上下
にとったときの図である。図2(A)は、スクイズ画像
28でウォータマークパターンを付加する、8×16画
素の付加ブロック81を示す図である。ブロック81を
含むスクイズ画像28をレターボックス変換すると、付
加ブロック81は、図2(B)に示すレターボックス画
像29上の8×12画素の付加ブロック82となる。ま
た、図2(C)は、レターボックス画像29を符号化す
るときの、8×16画素の符号化ブロック83−1乃至
83−3を示す図である。
FIG. 2 is a diagram when the squeeze image 28 is vertically reduced and the margins are taken at the top and bottom of the screen during letterbox conversion. FIG. 2A is a diagram showing an additional block 81 of 8 × 16 pixels for adding a watermark pattern in the squeeze image 28. When the squeeze image 28 including the block 81 is subjected to letterbox conversion, the additional block 81 becomes an 8 × 12 pixel additional block 82 on the letterbox image 29 shown in FIG. 2B. Also, FIG. 2C is a diagram showing coding blocks 83-1 to 83-3 of 8 × 16 pixels when the letterbox image 29 is coded.

【0060】以下、図1の場合について、ウォータマー
クパターンの検出方法を図3を用いて説明する。図3
は、図1に示された画像から、1つの縦方向の付加ブロ
ック81の列を取り出して示したものである。図3
(A)は、スクイズ画像28でのウォータマークパター
ンが付加される付加ブロック81−1乃至81−4を示
し、8×16画素毎に区切られた付加ブロック81−1
乃至81−4のDC成分には、それぞれにウォータマーク
パターンのシンボルが割り当てられる。W[x,y]は、ウォ
ータマークパターンの座標x,y(ブロックの座標であ
り、そのx座標は画素のx座標で割ったときの整数部
で、また、そのy座標は、画素のy座標を16で割った
ときの整数部で、それぞれ表される)の部分のシンボル
を表す。座標は画面の左上を原点とし、縦横とも0から
はじまる。例えば、画面の左上の8×16画素のブロッ
クに対応するウォータマークパターンのシンボルは、W
[0,0]であり、その下のブロックに対応するウォータマ
ークパターンのシンボルは、W[0,1]である。
The method of detecting the watermark pattern in the case of FIG. 1 will be described below with reference to FIG. Figure 3
Shows a row of one vertical additional block 81 extracted from the image shown in FIG. Figure 3
(A) shows additional blocks 81-1 to 81-4 to which the watermark pattern in the squeeze image 28 is added, and the additional blocks 81-1 are divided every 8 × 16 pixels.
Symbols of the watermark pattern are assigned to the DC components 81 to 81-4, respectively. W [x, y] is the coordinate x, y of the watermark pattern (the coordinate of the block, the x coordinate is the integer part when divided by the x coordinate of the pixel, and its y coordinate is the y of the pixel). These are represented by the integer part when the coordinate is divided by 16, and each symbol represents the symbol. Coordinates start from 0 in both the vertical and horizontal directions, with the origin at the upper left of the screen. For example, the symbol of the watermark pattern corresponding to the 8 × 16 pixel block on the upper left of the screen is W
[0,0], and the symbol of the watermark pattern corresponding to the block below it is W [0,1].

【0061】スクイズ画像28がレターボックス変換さ
れると、縦の解像度は3/4になる。そのため、図1
(A)または図2(A)におけるスクイズ画像28での
ウォータマークの付加ブロック81は、図3(B)で表
される8×12画素のウォータマークの付加ブロック8
2−1乃至82−4に変換される(ブロックのy座標
は、画素のy座標を12で割ったときの整数部とな
る)。
When the squeeze image 28 is letterbox converted, the vertical resolution becomes 3/4. Therefore,
The watermark addition block 81 in the squeeze image 28 in (A) or FIG. 2A is the 8 × 12 pixel watermark addition block 8 shown in FIG. 3B.
2-1 to 82-4 (the y coordinate of the block is the integer part when the y coordinate of the pixel is divided by 12).

【0062】レターボックス画像29を符号化すると、
レターボックス画像29の8×16画素毎にフレームモ
ードのDCTが2回か、またはフィールドモードのDCTが2
回行なわれる(それぞれ、8×8画素毎にDCTが行われ
るので)。いま、図3(C)に示された、符号化ブロッ
ク83−1乃至83−3の2回のDCTのDC係数の平均値
を、I[x,y] で表すものとする。すなわち、I[x,y]は、
8×16画素毎のブロックの、座標 x,y の部分のDCT係
数のDCの値を表すものとする。
When the letterbox image 29 is encoded,
Two DCTs in the frame mode or two DCTs in the field mode for every 8 × 16 pixels of the letterbox image 29.
It is performed once (since DCT is performed every 8 × 8 pixels, respectively). Now, let us say that the average value of the DC coefficients of the two DCTs of the coding blocks 83-1 to 83-3 shown in FIG. 3C is represented by I [x, y]. That is, I [x, y] is
It is assumed that the DC value of the DCT coefficient at the coordinate x, y portion of the block of every 8 × 16 pixels is represented.

【0063】この例では、図3(B)に示された付加ブ
ロック82−1乃至82−4と、図3(C)に示された
符号化ブロック83−1乃至83−3の間で、相互に対
応する部分を積和演算し、ウォータマークパターンの検
出が行なわれる。すなわち、ウォータマークパターンの
成分は、次の式(1)で算出される。
In this example, between the additional blocks 82-1 to 82-4 shown in FIG. 3B and the coding blocks 83-1 to 83-3 shown in FIG. 3C, The parts corresponding to each other are subjected to sum-of-products operation to detect the watermark pattern. That is, the components of the watermark pattern are calculated by the following equation (1).

【0064】 sum=Σ(I[x,0]×W[x,0])+Σ(I[x,0]×W[x,1]) +Σ(I[x,1]×W[x,1])+Σ(I[x,1]×W[x,2]) +Σ(I[x,2]×W[x,2])+Σ(I[x,2]×W[x,3]) (1) 上記式において、Σは、すべてのxについての積和演算
を意味する。
Sum = Σ (I [x, 0] × W [x, 0]) + Σ (I [x, 0] × W [x, 1]) + Σ (I [x, 1] × W [x, 1]) + Σ (I [x, 1] × W [x, 2]) + Σ (I [x, 2] × W [x, 2]) + Σ (I [x, 2] × W [x, 3] ) (1) In the above equation, Σ means the sum of products operation for all x.

【0065】符号化ブロック83−1に含まれる画素の
うち全体の12/16の画素が、ウォータマークシンボルW
[x,0]によって影響を受け、全体の4/16の画素がウォー
タマークシンボルW[x,1] によって影響を受けた結果、
スクイズ画像28のDC成分の値I0[x,y]がI[x,y]に変化
したものとすると、I[x,0]は、 I[x,0] = I0[x,0]+12/16×W[x,0]+4/16×W[x,
1] と表現できる。従って、式(1)の第1項は、式(2)
のように変形できる。
Of the pixels included in the coding block 83-1, 12/16 of all pixels are the watermark symbol W.
As a result of being affected by [x, 0] and affecting all 4/16 pixels by the watermark symbol W [x, 1],
If the DC component value I0 [x, y] of the squeeze image 28 is changed to I [x, y], I [x, 0] is I [x, 0] = I0 [x, 0] +12 / 16 x W [x, 0] + 4/16 x W [x,
1] can be expressed. Therefore, the first term in equation (1) is
It can be transformed like.

【0066】 Σ(I[x,0]×W[x,0]) =Σ((I0[x,0]+12/16×W[x,0]+4/16×W[x,1])×W[x,0]) Σ((12/16×W[x,0]+4/16×W[x,1])×W[x,0]) Σ(12/16×W[x,0]×W[x,0]) =3/4 Σ (W[x,0]×W[x,0]) (2)Σ (I [x, 0] × W [x, 0]) = Σ ((I0 [x, 0] + 12/16 × W [x, 0] + 4/16 × W [x, 1]) × W [x, 0]) Σ ((12/16 × W [x, 0] + 4/16 × W [x, 1]) × W [x, 0]) Σ (12/16 × W [ x, 0] × W [x, 0]) = 3/4 Σ (W [x, 0] × W [x, 0]) (2)

【0067】Σ((12/16×W[x,0]+4/16×W[x,1])×W[x,
0])への変形は、ΣI0[x,0]×W[x,0]0が成立するこ
と、すなわち、画像のDC成分とウォータマークは一般的
に相関がないことに基ずくものである。また、Σ(12/16
×W[x,0]×W[x,0])への変形は、ΣW[x,1]×W[x,0]0、
つまり、ウォータマークは位相をずらしたウォータマー
クと相関がないことに基ずくものである。
Σ ((12/16 × W [x, 0] + 4/16 × W [x, 1]) × W [x,
0]) is based on the fact that ΣI0 [x, 0] × W [x, 0] 0 holds, that is, the DC component of the image and the watermark generally have no correlation. is there. Also, Σ (12/16
× W [x, 0] × W [x, 0]) is transformed into ΣW [x, 1] × W [x, 0] 0,
That is, the watermark is based on the fact that the watermark does not correlate with the watermark whose phase is shifted.

【0068】同様に、式(1)の他の項も、変形する
と、式(3)が得られる。
Similarly, the other terms of the equation (1) can be transformed into the equation (3).

【0069】 sum = Σ(I[x,0]*W[x,0]) +Σ(I[x,0]*W[x,1]) +Σ(I[x,1]*W[x,1]) +Σ(I[x,1]*W[x,2]) +Σ(I[x,2]*W[x,2]) +Σ(I[x,2]*W[x,3]) 3/4Σ(W[x,0]*W[x,0]) +1/4Σ(W[x,1]*W[x,1]) +1/2Σ(W[x,1]*W[x,1]) +1/2Σ(W[x,2]*W[x,2]) +1/4Σ(W[x,2]*W[x,2]) +3/4Σ(W[x,3]*W[x,3]) = 3/4Σ(W[x,0]*W[x,0]) +3/4Σ(W[x,1]*W[x,1]) +3/4Σ(W[x,2]*W[x,2]) +3/4Σ(W[x,3]*W[x,3]) (3)Sum = Σ (I [x, 0] * W [x, 0]) + Σ (I [x, 0] * W [x, 1]) + Σ (I [x, 1] * W [x, 1]) + Σ (I [x, 1] * W [x, 2]) + Σ (I [x, 2] * W [x, 2]) + Σ (I [x, 2] * W [x, 3] ) 3 / 4Σ (W [x, 0] * W [x, 0]) + 1 / 4Σ (W [x, 1] * W [x, 1]) + 1 / 2Σ (W [x, 1] * W [x, 1]) + 1 / 2Σ (W [x, 2] * W [x, 2]) + 1 / 4Σ (W [x, 2] * W [x, 2]) + 3 / 4Σ (W [x, 3] * W [x, 3]) = 3 / 4Σ (W [x, 0] * W [x, 0]) + 3 / 4Σ (W [x, 1] * W [x, 1]) + 3 / 4Σ (W [x, 2] * W [x, 2]) + 3 / 4Σ (W [x, 3] * W [x, 3]) (3)

【0070】以上のように、付加したウォータマークパ
ターンの評価値は、各符号化ブロック83−1乃至83
−3について、そのDC成分と、その符号化ブロック83
−1乃至83−3の少なくとも一部分に付加がなされて
いるウォータマークパターンのシンボルとの積をとって
総和する(積和演算を行う)ことにより得られる。ウォ
ータマークの評価値が3/4に減少しているのは、レタ
ーボックス変換により縦に 3/4に縮小されているた
めである。
As described above, the evaluation value of the added watermark pattern is determined by each of the coding blocks 83-1 to 83-3.
-3, its DC component and its coding block 83
-1 to 83-3 are obtained by taking the products of the symbols of the watermark pattern added to at least a part of -1 to 83-3 and summing them (performing the sum of products operation). The evaluation value of the watermark is reduced to 3/4 because it is vertically reduced to 3/4 by the letterbox conversion.

【0071】続いて、図2の場合、すなわち、レターボ
ックス変換のときに縦方向に3/4に縮小した後、画面
の上下に余白をとった場合のウォータマークの評価値の
算出について説明する。図2(B)に示されるように、
画面上部の余白の画素数はy0であるとする。図4(A)
は、レターボックス画像29でのウォータマークの付加
ブロック82である。図4(B)は、この付加ブロック
82の縦1列の画素91を取り出したものを示す図であ
る。
Next, the calculation of the watermark evaluation value in the case of FIG. 2, that is, when the letterbox conversion is performed to vertically reduce the size to 3/4 and then margins are provided above and below the screen will be described. . As shown in FIG. 2 (B),
The number of pixels in the margin at the top of the screen is y0. Figure 4 (A)
Is a watermark addition block 82 in the letterbox image 29. FIG. 4B is a diagram showing the pixels 91 of one vertical column extracted from the additional block 82.

【0072】レターボックス画像29の1つの付加ブロ
ック82に含まれる、縦1列の画素91のy座標は、y0
+12y から y0+12y+11 の範囲である。図4(C)は、レ
ターボックス画像29として符号化するときの符号化ブ
ロック83−1乃至83−3の範囲の画素を表す図であ
る。縦1列の画素91は、符号化ブロック83−1乃至
83−3が8×16画素から構成されるため、縦方向に
16画素毎に異なる符号化ブロック83−1乃至83−
3に含まれる。そのため、例えば、y座標(画素座標)
がy0+12yである画素は、y座標(ブロック座標)が(y0+
12y)//16の符号化ブロック83に含まれる。また、y座
標が、y0+12y+11である画素は、y座標が(y0+12y+11)//
16 の符号化ブロック83に含まれる。ここで // は、
小数点以下を切り捨てる除算を表す。
The y-coordinate of one vertical column of pixels 91 included in one additional block 82 of the letterbox image 29 is y0.
The range is from + 12y to y0 + 12y + 11. FIG. 4C is a diagram showing pixels in the range of the coding blocks 83-1 to 83-3 when coding as the letterbox image 29. In the pixel 91 of one column in the vertical direction, since the encoding blocks 83-1 to 83-3 are composed of 8 × 16 pixels, the encoding blocks 83-1 to 83-which differ every 16 pixels in the vertical direction.
Included in 3. Therefore, for example, y coordinate (pixel coordinate)
Is y0 + 12y, the y coordinate (block coordinate) is (y0 +
12y) // 16 included in the coding block 83. Also, for a pixel whose y coordinate is y0 + 12y + 11, the y coordinate is (y0 + 12y + 11) //
It is included in 16 coding blocks 83. here,
Represents division with fractions truncated.

【0073】符号化ブロック83の大きさが縦方向に1
6画素の広がりを持つのに対して、同一の値のウォータ
マークシンボル W[x,y] が付加されている付加ブロック
の画素は縦方向に12画素しか連続していないため、y
座標がy0+12yからy0+12y+11の間の付加ブロックの画素
は、y座標が(y0+12y)//16の符号化ブロック83か、ま
たはy座標が(y0+12y+11)//16の符号化ブロック83に
含まれる。したがって、W[x,y]と相関をとるべき符号化
ブロック83のDC成分は、(y0+12y)//16=(y0+12y+11)//
16である(1個の付加ブロックが1個の符号化ブロック
に対応する)ならば、I[x,(y0+12y)//16]のみであり、
(y0+12y)//16≠(y0+12y+11)//16である(1個の付加ブ
ロックが2個の符号化ブロックに対応する)ならば、I
[x,(y0+12y)//16]とI[x,(y0+12y+11)//16]の2つであ
る。
The size of the coding block 83 is 1 in the vertical direction.
Although it has a spread of 6 pixels, the pixels of the additional block to which the watermark symbol W [x, y] of the same value is added are only 12 pixels in the vertical direction, so y
The pixels of the additional block whose coordinates are between y0 + 12y and y0 + 12y + 11 are the coding blocks 83 whose y coordinates are (y0 + 12y) // 16, or whose y coordinates are (y0 + 12y + 11) / / 16 in the coding block 83. Therefore, the DC component of the coding block 83 which should be correlated with W [x, y] is (y0 + 12y) // 16 = (y0 + 12y + 11) //
If 16 (1 additional block corresponds to 1 coded block), then I [x, (y0 + 12y) // 16] only,
If (y0 + 12y) // 16 ≠ (y0 + 12y + 11) // 16 (one additional block corresponds to two coded blocks), then I
They are [x, (y0 + 12y) // 16] and I [x, (y0 + 12y + 11) // 16].

【0074】次に、ウォータマークパターンの付加の処
理、および検出の処理を説明する。図24および図25
のフローチャートに示される従来例では、スクイズ画像
28用とレターボックス画像29用の2つの異なるウォ
ータマークを付加したのに対し、本発明は、ただ1つの
ウォータマークを付加する点で簡略化されており、どち
らのウォータマークを付加するかの判断をする必要がな
い点も、簡略化されている。
Next, the process of adding the watermark pattern and the process of detection will be described. 24 and 25
In the conventional example shown in the flowchart of FIG. 1, two different watermarks for the squeeze image 28 and the letterbox image 29 are added, whereas the present invention is simplified in that only one watermark is added. However, it is also simplified that it is not necessary to determine which watermark is added.

【0075】図5は、ウォータマークパターンの付加の
処理を説明するフローチャートである。ステップS41
において、ウォータマークパターン付加部41は、ウォ
ータマークパターンを設定するとともに、付加量a,bの
設定を行なう。ステップS42において、ウォータマー
クパターン付加部41は、通常のウォータマークパター
ン付加ブロックに対応する8×16画素のブロックを1
つ読み込む。ステップS43において、ウォータマーク
パターン付加部41は、読み込んだブロックがウォータ
マークを加算するブロックであるか否かを判定し、読み
込んだブロックがウォータマークを加算するブロックで
あると判定された場合、ステップS44に進み、ブロッ
クのDC値にaを加算し、ステップS46に進む。
FIG. 5 is a flow chart for explaining the process of adding the watermark pattern. Step S41
At, the watermark pattern adding section 41 sets the watermark pattern and also sets the addition amounts a and b. In step S42, the watermark pattern adding unit 41 sets a block of 8 × 16 pixels corresponding to a normal watermark pattern adding block to 1 block.
Read one. In step S43, the watermark pattern adding unit 41 determines that the read block is the watermark.
It is determined whether or not the block is a block to which a mark is added. If it is determined that the read block is a block to which a watermark is added, the process proceeds to step S44, a is added to the DC value of the block, and the process proceeds to step S46. move on.

【0076】ステップS43において、読み込んだブロ
ックがウォータマークを減算するブロックであると判定
された場合、ステップS45に進み、ウォータマークパ
ターン付加部41は、読み込んだブロックのDC値をbだ
け減算し、ステップS46に進む。ステップS46にお
いて、ウォータマークパターン付加部41は、全てのブ
ロックの処理を終了したか否かを判定し、全てのブロッ
クの処理をまだ終了していないと判定された場合、ステ
ップS42に戻り、処理を継続する。
When it is determined in step S43 that the read block is a block for which the watermark is to be subtracted, the process proceeds to step S45, in which the watermark pattern adding section 41 subtracts b from the DC value of the read block, It proceeds to step S46. In step S46, the watermark pattern adding unit 41 determines whether or not the processing of all blocks has been completed. If it is determined that the processing of all blocks has not yet been completed, the process returns to step S42 to perform the processing. To continue.

【0077】ステップS46において、全てのブロック
の処理を終了したと判定された場合、ウォータマークパ
ターン付加部41は、処理を終了する。
When it is determined in step S46 that all blocks have been processed, the watermark pattern adding section 41 ends the processing.

【0078】図6は、ウォータマーク検出の処理を説明
するフローチャートである。まず、ステップS51にお
いて、ウォータマークパターン検出部52は、ウォータ
マークパターンをW[x,y]に設定し、スクイズ画像28の
ウォータマークパターンの検出のための評価値sum、お
よびレターボックス画像29のウォータマークパターン
の検出のための評価値sumLを0に初期化するとともに、
スクイズ画像28のウォータマークパターンの検出の閾
値th、およびレターボックス画像29のウォータマーク
パターンの検出の閾値thLを設定する。ステップS52
において、ウォータマークパターン検出部52は、ビッ
トストリームを簡易復号し、8×16画素のブロックの
DC成分を I[x,y]に代入する。ステップS53におい
て、ウォータマークパターン検出部52は、最初の(x,
y)の組として(0,0)を選択し、sumにI[x,y]×W[x,y]を加
算し、sumLにI[x,(y0+12y)//16]×W[x,y]を加算する。
いま、y0=0であるとすれば、これにより、図3のI[x,0]
×W[x,0]が演算される。
FIG. 6 is a flow chart for explaining the watermark detection processing. First, in step S51, the watermark pattern detection unit 52 sets the watermark pattern to W [x, y], and evaluates sum for detecting the watermark pattern of the squeeze image 28 and the letterbox image 29. The evaluation value sumL for detecting the watermark pattern is initialized to 0 and
A threshold th for detecting the watermark pattern of the squeeze image 28 and a threshold thL for detecting the watermark pattern of the letterbox image 29 are set. Step S52
At, the watermark pattern detection unit 52 simply decodes the bit stream to obtain a block of 8 × 16 pixels.
Substitute the DC component into I [x, y]. In step S53, the watermark pattern detection unit 52 detects the first (x,
Select (0,0) as a set of y), add I [x, y] × W [x, y] to sum, and add I [x, (y0 + 12y) // 16] × W to sumL. Add [x, y].
Now, assuming that y0 = 0, this results in I [x, 0] in FIG.
× W [x, 0] is calculated.

【0079】ステップS54において、ウォータマーク
パターン検出部52は、(y0+12y)//16が(y0+12y+11)//1
6と等しいか否かを判定し、(y0+12y)//16が(y0+12y+11)
//16と等しくないと判定された場合(すなわち、1個の
付加ブロック82が2個の符号化ブロックに対応する場
合)、ステップS55に進み、sumLにI[x,(y0+12y+11)/
/16]×W[x,y]を加算し、ステップS56に進む。
In step S54, the watermark pattern detection unit 52 changes (y0 + 12y) // 16 from (y0 + 12y + 11) // 1.
It is judged whether it is equal to 6 and (y0 + 12y) // 16 becomes (y0 + 12y + 11)
If it is determined that it is not equal to // 16 (that is, if one additional block 82 corresponds to two encoded blocks), the process proceeds to step S55, and sumL is set to I [x, (y0 + 12y + 11 ) /
/ 16] × W [x, y] is added, and the process proceeds to step S56.

【0080】ステップS54において、(y0+12y)//16が
(y0+12y+11)//16と等しいと判定された場合(すなわ
ち、1個の付加ブロック82が1個の符号化ブロックに
対応する場合)、ステップS56に進む。
In step S54, (y0 + 12y) // 16 becomes
If it is determined to be equal to (y0 + 12y + 11) // 16 (that is, one additional block 82 corresponds to one encoded block), the process proceeds to step S56.

【0081】ステップS56おいて、ウォータマークパ
ターン検出部52は、すべての組について処理を実行し
たか否かを判定し、まだ処理していない組が存在すると
判定された場合、手続は、ステップS53に戻り、それ
以降の処理を繰り返す。図3の例の場合、ステップS5
4で、式の左右の項の値がいずれも0であるのでYESの判
定が行われ、ステップS56において、y=1とされ(xの
インクリメントの処理についてはここでは省略する)、
ステップS53で、I[x,0]×W[x,1]が、sumLに加算され
る(sumの処理の説明もここでは省略する)。ステップ
S54で、式の左の項の値が0、かつ、右の項の値が1な
るので、NOの判定が行われ、ステップS55で、I[x,1]
×W[x,1]が、sumLに加算される
In step S56, the watermark pattern detection unit 52 determines whether or not the processing has been executed for all the sets, and if it is determined that there is an unprocessed set, the procedure is step S53. Return to and repeat the subsequent processing. In the case of the example in FIG. 3, step S5
In step 4, since the values of the left and right terms of the equation are both 0, a YES determination is made, and y = 1 is set in step S56 (the increment processing of x is omitted here),
In step S53, I [x, 0] × W [x, 1] is added to sumL (the description of the process of sum is also omitted here). In step S54, the value of the left term of the equation becomes 0 and the value of the right term becomes 1, so that a NO determination is made, and in step S55, I [x, 1]
× W [x, 1] is added to sumL

【0082】ステップS56おいて、すべての(x,y)の
組について処理を実行したと判定された場合、ステップ
S57に進み、ウォータマークパターン検出部52は、
sumがthより大きいか否かを判定し、sumがthより大きく
ないと判定された場合、ステップS58に進む。ステッ
プS58おいて、ウォータマークパターン検出部52
は、sumLがthLより大きいか否かを判定し、sumLがthLよ
り大きくないと判定された場合、手続は、ステップS5
9に進み、ウォータマークパターン検出部52は、ウォ
ータマークパターンが付加されていないときの処理を実
行し、処理を終了する。
If it is determined in step S56 that the processing has been executed for all the (x, y) pairs, the process proceeds to step S57, in which the watermark pattern detecting section 52
It is determined whether sum is larger than th, and if it is determined that sum is not larger than th, the process proceeds to step S58. In step S58, the watermark pattern detection unit 52
Determines whether sumL is greater than thL. If it is determined that sumL is not greater than thL, the procedure is step S5.
9, the watermark pattern detection unit 52 executes the process when the watermark pattern is not added, and ends the process.

【0083】ステップS57において、sumがthより大
きいと判定された場合、およびステップS58おいて、
sumLがthLより大きいと判定された場合、ウォータマー
クパターン検出部52は、ウォータマークパターンが付
加されているときの処理を実行し、処理を終了する。
If it is determined in step S57 that sum is greater than th, and in step S58,
When it is determined that sumL is larger than thL, the watermark pattern detection unit 52 executes the process when the watermark pattern is added, and ends the process.

【0084】以上のように、本発明では、スクイズ画像
28に1個のウォータマークを付加するだけで、スクイ
ズ画像からも、レターボックス画像からもウォータマー
を検出することができる。従って、2つのウォータマ
ークを空間的または時間的に別の符号化ブロックのDC成
分に付加する必要がない。また、本発明では、ウォータ
マークを検出するのに用いるDC成分を取り出す符号化ブ
ロック83を、レターボックス画像29からの検出用の
符号化ブロック83、およびスクイズ画像28からの検
出用の符号化ブロック83の2つに分ける必要が無く、
検出精度の低下、および検出時間の増加がほとんどな
い。さらに、2つのウォータマークを同一のDC成分に付
加する必要がないので、画質が劣化しない。
As described above, according to the present invention, only one watermark is added to the squeeze image 28 so that the squeeze image and the letterbox image can be used as the water marker.
It is possible to detect the click. Therefore, it is not necessary to add two watermarks to the DC component of another coded block spatially or temporally. In the present invention, the coding block 83 for extracting the DC component used to detect the watermark is the coding block 83 for detection from the letterbox image 29 and the coding block 83 for detection from the squeeze image 28. It is not necessary to divide it into two of 83,
There is almost no decrease in detection accuracy and increase in detection time. Furthermore, since it is not necessary to add two watermarks to the same DC component, the image quality does not deteriorate.

【0085】図6の、アルゴリズムにパラメータkを付
加することで、より処理を簡略することができる。 図
7を用いて、このパラメータkを利用したアルゴリズム
について説明する。
The processing can be further simplified by adding the parameter k to the algorithm shown in FIG. An algorithm using this parameter k will be described with reference to FIG.

【0086】図7の処理のステップは、ステップS6
1、ステップS63、ステップS64、およびステップ
S65を除き、図6のフローチャートにおける番号の下
一桁が同じステップと処理内容が同じであり、その説明
は省略し、以下に図6の処理と異なる部分についてのみ
説明する。ステップS61において、ウォータマークパ
ターン検出部52は、ステップS51の処理に加え、k
パラメータを設定する。ステップS63において、ウォ
ータマークパターン検出部52は、sumにI[x,y]×W[x,
y]を加算し、sumLにI[x,(y0+12y+k)//16]×W[x,y]を加
算する。
The processing step of FIG. 7 is step S6.
Except for step 1, step S63, step S64, and step S65, the processing content is the same as the step having the same last digit of the number in the flowchart of FIG. 6, and the description thereof will be omitted. Will be described only. In step S61, the watermark pattern detection unit 52 adds k in addition to the process of step S51.
Set the parameters. In step S63, the watermark pattern detection unit 52 adds I [x, y] × W [x, to sum.
y] is added, and I [x, (y0 + 12y + k) // 16] × W [x, y] is added to sumL.

【0087】ステップS64において、ウォータマーク
パターン検出部52は、(y0+12y+k)//16が(y0+12y+11-
k)//16と等しいか否かを判定し、(y0+12y+k)//16が(y0+
12y+11-k)//16と等しくないと判定された場合(すなわ
ち、1個の付加ブロック82が2個の符号化ブロック8
3と対応する場合)、ステップS65に進み、sumLにI
[x,(y0+12y+11-k)//16]×W[x,y]を加算し、ステップS
66に進む。
In step S64, the watermark pattern detection unit 52 determines that (y0 + 12y + k) // 16 is (y0 + 12y + 11-).
(y0 + 12y + k) // 16 is (y0 + 12y + k) // 16
12y + 11-k) // 16 is determined not to be equal (that is, one additional block 82 corresponds to two coding blocks 8
(If it corresponds to 3), the process proceeds to step S65, and I is added to sumL.
[x, (y0 + 12y + 11-k) // 16] × W [x, y] is added, and step S
Proceed to 66.

【0088】ステップS64において、(y0+12y+k)//16
が(y0+12y+11-k)//16と等しいと判定された場合(すな
わち、1個の付加ブロック82が1個の符号化ブロック
と対応する場合)、ステップS66に進む。
In step S64, (y0 + 12y + k) // 16
When it is determined that is equal to (y0 + 12y + 11-k) // 16 (that is, one additional block 82 corresponds to one coding block), the process proceeds to step S66.

【0089】このアルゴリズムでは、例えばk=2と設定
した場合、比較される画素の属する符号化ブロック83
は、式(4)、および式(5)で算出される。 (y0+12y+k)//16=(16i+15)//16=i (4) (y0+12y+11-k)//16=(16(i+1)+6)//16=i+1 (5)
In this algorithm, for example, when k = 2 is set, the coding block 83 to which the pixel to be compared belongs
Is calculated by equation (4) and equation (5). (y0 + 12y + k) // 16 = (16i + 15) // 16 = i (4) (y0 + 12y + 11-k) // 16 = ( 16 (i + 1) +6) // 16 = i + 1 (5)

【0090】この場合、図8(B)に図示されているy
座標がyである付加ブロックと相関をとるのに使われる
のは、図8(C)の右上がりの斜線で示されているy座
標がi の符号化ブロック83のDC成分と、図8(C)の
右下がりの斜線で示されているy座標がi+1 の符号化ブ
ロック83のDC成分となる。
In this case, y shown in FIG.
What is used to correlate with the additional block whose coordinate is y is the DC component of the coding block 83 whose y coordinate is i, which is shown by the diagonal line rising to the right in FIG. The y-coordinate indicated by the diagonal line to the lower right of C) becomes the DC component of the encoding block 83 of i + 1.

【0091】また、k=3 と設定した場合、比較される画
素の属する符号化ブロック83は、式(6)、および式
(7)で算出される。 (y0+12y+k)//16=16(i+1)//16=i+1 (6) (y0+12y+11-k)//16=(16(i+1)+5)//16=i+1 (7)
When k = 3 is set, the coding block 83 to which the pixel to be compared belongs is calculated by the equations (6) and (7). (y0 + 12y + k) // 16 = 16 (i + 1) // 16 = i + 1 (6) (y0 + 12y + 11-k) // 16 = (16 (i + 1) +5) // 16 = i + 1 (7)

【0092】すなわち、この場合、y座標がyである付
加ブロックと相関をとるのに使われるのは、図8(C)
の右上がりの斜線で示されているy座標がi+1の符号化
ブロックのDC成分のみとなり、この符号化ブロックのDC
成分は相関値の演算に用いられなくなる。
That is, in this case, what is used to correlate with the additional block whose y coordinate is y is shown in FIG.
The y-coordinate indicated by the diagonal line rising to the right of is only the DC component of the coded block of i + 1.
The component is no longer used for calculating the correlation value.

【0093】図9は、k=3 と設定したときの、付加ブロ
ック82−1乃至82−4と、符号化ブロック83−1
乃至83−4の間の積和演算を説明する図である。この
例において、符号化ブロック83−1乃至83−4は、
付加ブロック82−1乃至82−4に対して、上に1画
素ずれている。付加ブロック82−2と符号化ブロック
83−1が重なる部分についての積和演算I[x,0]×W[x,
1]は、省略される。同様に、付加ブロック82−4と符
号化ブロック83−4が重なる部分についての積和演算
I[x,3]×W[x,3]も、省略される。
FIG. 9 shows additional blocks 82-1 to 82-4 and an encoding block 83-1 when k = 3 is set.
It is a figure explaining the sum-of-products calculation between 83-4. In this example, the coding blocks 83-1 to 83-4 are
One pixel is shifted upward with respect to the additional blocks 82-1 to 82-4. Sum-of-products operation I [x, 0] × W [x, for the portion where the additional block 82-2 and the encoding block 83-1 overlap
1] is omitted. Similarly, the sum of products operation for the portion where the additional block 82-4 and the encoding block 83-4 overlap
I [x, 3] × W [x, 3] is also omitted.

【0094】kが他の値の場合についても同様に、y座
標がyである付加ブロック82(図8(B)の付加ブロ
ック)と、y座標がiである符号化ブロック83(図8
(C)の画素16i+12乃至16i+15が属する符号化ブロッ
ク)のDC成分との相関を求めるのは、kが2以下のとき
である。図8の例で、y座標がyである付加ブロック8
2と、y座標がiである符号化ブロック83で対応する
(重なる)画素の数は、3画素(16i+13,16i+14,16i+1
5)である。換言すると、付加ブロック82の画素と符
号化ブロック83の画素で対応する画素の数がパラメー
タkの値以下であるとき、その画素は対応していない
(重なっていない)ものとされ、相関を求めるのに使用
されないようになされる。
Similarly, when k is another value, the additional block 82 whose y coordinate is y (the additional block in FIG. 8B) and the coding block 83 whose y coordinate is i (FIG. 8).
The correlation with the DC component of the (C) encoding block to which the pixels 16i + 12 to 16i + 15 belong) is obtained when k is 2 or less. In the example of FIG. 8, the additional block 8 whose y coordinate is y
2 and the number of corresponding (overlapping) pixels in the encoding block 83 whose y coordinate is i is 3 pixels (16i + 13,16i + 14,16i + 1).
5). In other words, when the number of pixels corresponding to the pixels of the additional block 82 and the pixels of the encoding block 83 is less than or equal to the value of the parameter k, the pixels are regarded as not corresponding (not overlapping), and the correlation is obtained. Made not to be used for.

【0095】ウォータマークの成分は、符号化ブロック
83中の付加ブロックと重なる画素だけが有する。kパ
ラメータを利用する場合、符号化ブロック83の中でk/
16以下の画素にしかウォータマークの成分を持たない場
合、相関の計算を実行しないようにすることで、ウォー
タマークの成分を検出する可能性の少ない部分につい
て、相関を計算する処理を省くことができ、算出される
相関値をほとんど変化させずに処理量を減らすことがで
きる。
The watermark component is included only in the pixels of the coding block 83 which overlap with the additional block. When the k parameter is used, k /
If only 16 or less pixels have a watermark component, by not performing the correlation calculation, the process of calculating the correlation can be omitted for the part where the watermark component is less likely to be detected. Therefore, it is possible to reduce the amount of processing without changing the calculated correlation value.

【0096】例えば、k=6と設定すれば、付加ブロック
82の半分以上の部分が符号化ブロック83と対応して
いるときにのみ、相関の計算が行なわれることになる。
For example, if k = 6 is set, the correlation is calculated only when more than half of the additional block 82 corresponds to the coding block 83.

【0097】このように、kパラメータを利用した処理
は、ウォータマークの成分を検出する可能性の少ない部
分について、相関を計算する処理を省き、算出される相
関値をほとんど変化させずに処理量を減らすことができ
る。
As described above, the process using the k parameter omits the process of calculating the correlation with respect to the portion in which the watermark component is less likely to be detected, and reduces the amount of processing without changing the calculated correlation value. Can be reduced.

【0098】図10は、図6のフローチャートに示され
る処理に、正規化処理を加えたウォータマークの成分を
検出する処理を説明するフローチャートである。この処
理は、符号化ブロック83中のk/16の割合の画素にし
か、ウォータマークの成分が含まれない場合に、検出値
にk/16を乗じるというものである。図10の処理のステ
ップは、ステップS73、およびステップS75を除
き、図6のフローチャートにおける番号の下一桁が同じ
ステップと処理内容が同じであり、その説明は省略し、
以下に図6の処理と異なる部分についてのみ説明する。
FIG. 10 is a flow chart for explaining a process for detecting a watermark component in which the normalization process is added to the process shown in the flow chart of FIG. This processing is to multiply the detected value by k / 16 when the watermark component is included only in the pixel of the ratio of k / 16 in the encoding block 83. The processing steps of FIG. 10 have the same processing contents as the steps having the same last digit of the numbers in the flowchart of FIG. 6 except for steps S73 and S75, and the description thereof will be omitted.
Only the parts different from the processing of FIG. 6 will be described below.

【0099】ステップS73において、ウォータマーク
パターン検出部52は、sumにI[x,y]×W[x,y]を加算
し、sumLにI[x,(y0+12y)//16]×W[x,y]×NOTMAX(12,16-
(y0+12y)%16)/16を加算する。ステップS75におい
て、ウォータマークパターン検出部52は、sumLに I
[x,(y0+12y+11)//16]×W[x,y]×((y0+12y+11)%16+1)/1
6を加算する。なお、NOTMAX(A,B)は、AとBのうち、大き
くない方を表し、%は、除算したときの余りを表す。
In step S73, the watermark pattern detection unit 52 adds I [x, y] × W [x, y] to sum and I [x, (y0 + 12y) // 16] × to sumL. W [x, y] × NOTMAX (12,16-
Add (y0 + 12y)% 16) / 16. In step S75, the watermark pattern detection unit 52 sets I to sumL.
[x, (y0 + 12y + 11) // 16] × W [x, y] × ((y0 + 12y + 11)% 16 + 1) / 1
Add 6 Note that NOTMAX (A, B) represents the lesser of A and B, and% represents the remainder when division is performed.

【0100】以上のように、図10の処理は、ウォータ
マークとDC成分の相関を計算して得られるウォータマー
クの評価値を、符号化ブロック83の付加ブロックとの
重なりの割合によって補正することにより、より信頼度
の高い検出を可能にする。また、レターボックス画像2
9用の評価値sumLを求めるときに加える各値は、必ず1
6で除されているので、あらかじめ閾値を16倍に設定
しておけば、16で割るという操作は不要である。
As described above, in the processing of FIG. 10, the evaluation value of the watermark obtained by calculating the correlation between the watermark and the DC component is corrected by the ratio of the overlap between the coding block 83 and the additional block. Enables more reliable detection. Also, letterbox image 2
Each value added when obtaining the evaluation value sumL for 9 must be 1
Since it is divided by 6, if the threshold is set to 16 times in advance, the operation of dividing by 16 is unnecessary.

【0101】図4からも明らかなように、ある付加ブロ
ック82と対応している符号化ブロック83の画素の割
合は、符号化ブロック83の 1/16 から 12/16 の間の
値である。付加ブロック82と対応している符号化ブロ
ック83の画素の割合が、符号化ブロック83の1/16で
あるときと12/16であるときとでは、相関をとったとき
に取り出せるウォータマークの成分の量は12倍の差が
ある。このため、付加ブロック82と対応している符号
化ブロック83の画素の割合が、符号化ブロック83の
1/16であるとき、ノイズの影響が大きくなり、判定が困
難となる。そこで、この処理例では、付加ブロック82
に対応している符号化ブロック83の画素の割合を、そ
の符号化ブロック83との相関で得られた値に乗ずる。
これにより、付加ブロックと対応している符号化ブロッ
クの画素の割合によって、ウォータマークの成分の信頼
度が異なるのを補正することができる。
As is clear from FIG. 4, the pixel ratio of the coding block 83 corresponding to a certain additional block 82 is a value between 1/16 and 12/16 of the coding block 83. The component of the watermark that can be extracted when correlation is obtained when the ratio of the pixels of the coding block 83 corresponding to the additional block 82 is 1/16 and 12/16 of the coding block 83. There is a 12-fold difference in the amount of. Therefore, the ratio of the pixels of the coding block 83 corresponding to the additional block 82 is equal to that of the coding block 83.
When it is 1/16, the influence of noise becomes large and the judgment becomes difficult. Therefore, in this processing example, the additional block 82
The value of the pixel of the coding block 83 corresponding to is multiplied by the value obtained by the correlation with the coding block 83.
As a result, it is possible to correct that the reliability of the watermark component varies depending on the ratio of the pixels of the encoded block corresponding to the additional block.

【0102】以上の説明では、符号化ブロックの大きさ
および、スクイズ画像での付加ブロック83の大きさ
を、8×16画素としたが、他の画素数にしてもよい。
例えば、ブロックの大きさを4×16画素にするには、
画像にウォータマークを付加するときには、8×16画
素でなく4×16画素の領域毎に付加処理を行い、そし
て、画像のウォータマークを検出するときには、DCに加
えて、横方向についてのみ最低次のAC(Alternating Cu
rrent: 交流)係数(DC成分の右横の係数であり、8×
16画素のブロックの右半分と左半分の平均値の差に対
応している)を復号することで、ウォータマークの検出
をすることができる。
In the above description, the size of the coding block and the size of the additional block 83 in the squeeze image are 8 × 16 pixels, but other numbers of pixels may be used.
For example, to make the block size 4 × 16 pixels,
When adding a watermark to an image, addition processing is performed for each area of 4 × 16 pixels instead of 8 × 16 pixels, and when detecting a watermark of an image, in addition to DC, the lowest order is applied only in the horizontal direction. AC (Alternating Cu
rrent: AC coefficient (coefficient on the right side of the DC component, 8 ×
The watermark can be detected by decoding (corresponding to the difference between the average values of the right half and the left half of the block of 16 pixels).

【0103】また、ブロックの大きさを8×8画素にす
るには、ウォータマークは、8×8画素の領域毎に付加
するようにする。そして、検出時においては、フィール
ドモードのDCTのブロックについては、DCに加えて、縦
方向についてのみ最低次のAC係数(DC係数の下に位置す
る係数で、ブロックの上半分と下半分の平均値の差に対
応している)を復号し、8×8画素の範囲のDC値を求れ
ばよい。フレームモードのDCTブロックについては、8
×8画素の領域毎にDC値があるので特別な処理は必要な
い。
In order to make the block size 8 × 8 pixels, the watermark is added to each 8 × 8 pixel area. At the time of detection, for the block of the DCT in the field mode, in addition to DC, the AC coefficient of the lowest order only in the vertical direction (the coefficient located below the DC coefficient, the average of the upper half and lower half of the block) (Corresponding to the difference between the values) is decoded to obtain the DC value in the range of 8 × 8 pixels. 8 for frame mode DCT block
Since there is a DC value for each region of × 8 pixels, no special processing is required.

【0104】ウォータマークの付加を行なう単位(付加
ブロックの大きさ)は、従来のレターボックス変換が行
なわれてもウォータマークを検出できるような方式で、
スクイズ画像28用のウォータマークを付加する場合の
単位と同じである。そのため、従来のレターボックス変
換が行なわれてもウォータマークを検出できるような方
式でウォータマークの付加を行なった画像は、本発明の
画像処理装置および方法で検出ができ、互換性がある。
The unit for adding the watermark (size of additional block) is such that the watermark can be detected even if the conventional letterbox conversion is performed.
The unit is the same as when adding a watermark for the squeeze image 28. Therefore, an image to which a watermark has been added by a method in which the watermark can be detected even if the conventional letterbox conversion is performed can be detected by the image processing apparatus and method of the present invention and is compatible.

【0105】従って、従来の方式でレターボックス変換
が行なわれ、ウォータマークが付加してある画像には、
ウォータマークを再び付加し直す必要がないという利点
がある。
Therefore, in the image to which the watermark has been added by the conventional method and the letterbox conversion has been performed,
There is an advantage that it is not necessary to add the watermark again.

【0106】ウォータマークのシンボルは、+1、−1
以外にもどのようなシンボルを用いても構わない。ま
た、2種類ではなく、3種類以上のシンボルを用いても
構わない。例えば、+1、0、−1の3種類のシンボル
を用い、ウォータマークパターンとの照合を行なった際
にシンボルが0である画素については、評価値sumに影
響を与えない(その画素値を評価値 sum に足しも引き
もしない)ようにするなど、各シンボルにどのような意
味を与えても良い。
Watermark symbols are +1, -1
Any symbol other than the above may be used. Further, instead of two types, three or more types of symbols may be used. For example, when three types of symbols of +1, 0, and -1 are used and the symbol is 0 when the pattern is compared with the watermark pattern, the evaluation value sum is not affected (the pixel value is evaluated. You can give any meaning to each symbol, such as adding or subtracting to the value sum).

【0107】ウォータマークパターンを画像上に付加す
る領域は、任意の形状及び範囲で構わない。また、付加
したウォータマークパターンとの整合が取れている限
り、検出時に評価値を求める領域の形状及び範囲は任意
で構わない。更に、空間的あるいは時間的に広い範囲の
情報を用いて、付加あるいは検出を行なうことにしても
構わない。すなわち、フレーム内の前後や左右との相関
を用いても構わないし、時間的に前後のフレームを用い
ても構わない。
The area to which the watermark pattern is added on the image may have any shape and range. Further, the shape and range of the area for which the evaluation value is obtained at the time of detection may be arbitrary as long as they match the added watermark pattern. Further, addition or detection may be performed using information in a wide range spatially or temporally. That is, the correlation with the front and back or the left and right in the frame may be used, or the frames preceding and succeeding in time may be used.

【0108】なお、本明細書において、システムとは、
複数の装置により構成される装置全体を表すものとす
る。
In the present specification, the system means
It represents the entire device composed of a plurality of devices.

【0109】また、上記したような処理を行うコンピュ
ータプログラムをユーザに提供する提供媒体としては、
磁気ディスク、CD-ROM、固体メモリなどの記録媒体の
他、ネットワーク、衛星などの通信媒体を利用すること
ができる。
As a providing medium for providing the user with the computer program for performing the above-described processing,
In addition to recording media such as magnetic disks, CD-ROMs, and solid-state memories, communication media such as networks and satellites can be used.

【0110】[0110]

【発明の効果】請求項1に記載の情報検出装置および請
求項3に記載の情報検出方法によれば、解像度変換もし
くは画枠変換に対応して、ウォータマークパターンを変
換し、解像度変換または画枠変換された画像における符
号化ブロックと解像度変換もしくは画枠変換されたウォ
ータマークパターンとの間で相互に対応する部分の積和
演算を行うことにより、評価値が生成され、評価値と所
定の閾値とを比較してウォータマークが付加されている
か否かが判定され、評価値を演算する場合、変換された
ウォータマークパターンと、解像度変換もしくは画枠変
換された画像における符号化ブロックとの対応付けられ
る画素数がある所定の割合より小さいときには、評価値
対応しない部分のウォータマークパターンの演算が省
略されるようにしたので、検出精度の低下、検出時間の
増加、画質の劣化、または検出の処理量の増加なしにウ
ォータマークパターンを検出することができる。
According to the information detecting apparatus and the information detecting method of the third aspect, the watermark pattern is converted in accordance with the resolution conversion or the image frame conversion, and the resolution conversion or the image conversion is performed. Sum of products of parts corresponding to each other between the encoded block in the frame-converted image and the water mark pattern subjected to the resolution conversion or the image frame conversion.
By performing the calculation, the evaluation value is generated , it is determined whether or not the watermark is added by comparing the evaluation value with a predetermined threshold value, and when the evaluation value is calculated, the converted watermark pattern and , corresponding attached the coded blocks in the resolution conversion or image frame converted image
When the number of pixels to be processed is smaller than a predetermined ratio, the calculation of the watermark pattern of the part that does not correspond to the evaluation value is omitted, so that the detection accuracy decreases, the detection time increases, the image quality deteriorates, or the detection The watermark pattern can be detected without increasing the throughput.

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

【図1】レターボックス変換された画像を説明する図で
ある。
FIG. 1 is a diagram illustrating a letterbox-converted image.

【図2】レターボックス変換された画像を説明する図で
ある。
FIG. 2 is a diagram illustrating a letterbox-converted image.

【図3】付加ブロックと符号化ブロックの関係を説明す
る図である。
FIG. 3 is a diagram illustrating the relationship between additional blocks and coding blocks.

【図4】付加ブロックと符号化ブロックの画素の関係を
説明する図である。
FIG. 4 is a diagram illustrating a relationship between pixels of an additional block and a coding block.

【図5】ウォータマークパターンの付加の処理を説明す
るフローチャートである。
FIG. 5 is a flowchart illustrating a process of adding a watermark pattern.

【図6】ウォータマーク検出の処理を説明するフローチ
ャートである。
FIG. 6 is a flowchart illustrating a watermark detection process.

【図7】ウォータマーク検出の処理を説明するフローチ
ャートである。
FIG. 7 is a flowchart illustrating a watermark detection process.

【図8】付加ブロックと符号化ブロックの画素の関係を
説明する図である。
FIG. 8 is a diagram illustrating a relationship between pixels of an additional block and a coding block.

【図9】付加ブロックと符号化ブロックの関係を説明す
る図である。
FIG. 9 is a diagram illustrating the relationship between additional blocks and coding blocks.

【図10】ウォータマーク検出の処理を説明するフロー
チャートである。
FIG. 10 is a flowchart illustrating a watermark detection process.

【図11】画像への付加情報を説明する図である。FIG. 11 is a diagram illustrating additional information to an image.

【図12】画像への付加情報を説明する図である。FIG. 12 is a diagram illustrating additional information added to an image.

【図13】ウォータマークパターンを説明する図であ
る。
FIG. 13 is a diagram illustrating a watermark pattern.

【図14】ウォータマークパターンの付加を説明する図
である。
FIG. 14 is a diagram illustrating addition of a watermark pattern.

【図15】ウォータマークパターンの検出を説明する図
である。
FIG. 15 is a diagram illustrating detection of a watermark pattern.

【図16】ウォータマークパターンの検出を説明する図
である。
FIG. 16 is a diagram illustrating detection of a watermark pattern.

【図17】画像の符号化の範囲を説明する図である。FIG. 17 is a diagram illustrating an image coding range.

【図18】画像の符号化の範囲を説明する図である。FIG. 18 is a diagram illustrating an image coding range.

【図19】画像のアスペクト比を説明する図である。FIG. 19 is a diagram illustrating an aspect ratio of an image.

【図20】画像のアスペクト比の変換を説明する図であ
る。
FIG. 20 is a diagram illustrating conversion of an image aspect ratio.

【図21】従来の不正利用防止システムの構成例を説明
する図である。
FIG. 21 is a diagram illustrating a configuration example of a conventional unauthorized use prevention system.

【図22】ウォータマークパターンの付加ブロックを説
明する図である。
FIG. 22 is a diagram illustrating additional blocks of a watermark pattern.

【図23】ウォータマークパターンの付加ブロックを説
明する図である。
FIG. 23 is a diagram illustrating additional blocks of a watermark pattern.

【図24】従来のウォータマークパターンの付加の処理
を説明するフローチャートである。
FIG. 24 is a flowchart illustrating a conventional process of adding a watermark pattern.

【図25】従来のウォータマークパターンの検出の処理
を説明するフローチャートである。
FIG. 25 is a flowchart illustrating a conventional watermark pattern detection process.

【図26】従来のウォータマークパターンの検出の処理
を説明するフローチャートである。
FIG. 26 is a flowchart illustrating a conventional watermark pattern detection process.

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

28 スクイズ画像, 29 レターボックス画像,
41 ウォータマークパターン付加部, 52 ウォー
タマークパターン検出部, 81 付加ブロック, 8
2 付加ブロック, 83 符号化ブロック
28 squeeze images, 29 letterbox images,
41 Watermark pattern addition unit, 52 Watermark pattern detection unit, 81 Additional block, 8
2 additional blocks, 83 encoded blocks

フロントページの続き (56)参考文献 特開 平10−191017(JP,A) Walter Bender, Da niel Gruhl, 森本 典繁, Anthony Lu,電子透かしを 支えるデータ・ハイディング技術 (上),日経エレクトロニクス,日本, 1997年 2月24日,No.683,p.149 −162 (58)調査した分野(Int.Cl.7,DB名) H04N 7/00 - 7/088 H04N 1/38 - 1/393 JICSTファイル(JOIS)Continuation of front page (56) References Japanese Patent Laid-Open No. 10-191017 (JP, A) Walter Bender, Daniel Gruhl, Norishige Morimoto, Anthony Lu, Data Hiding Technology Supporting Digital Watermarks (above), Nikkei Electronics, Japan, February 24, 1997, No. 683, p. 149-162 (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 7/ 00-7/088 H04N 1/38-1/393 JISST file (JOIS)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像の一部の縦×横=M×N(M,Nは
正の整数)個の画素からなる小領域毎にウォータマーク
パターンと画像とを照合し、前記ウォータマークパター
ンに基づいて、情報をウォータマークとして埋め込んだ
画像に対して、解像度変換もしくは画枠変換を施して構
成された画像から、前記解像度変換もしくは画枠変換さ
れた情報を検出する情報検出装置において、 前記解像度変換もしくは画枠変換に対応して、前記ウォ
ータマークパターンを変換し、前記解像度変換または画
枠変換された画像における符号化ブロック前記解像度
変換もしくは画枠変換されたウォータマークパターンと
の間で相互に対応する部分の積和演算を行うことによ
り、評価値を生成する演算手段と、 前記評価値と所定の閾値とを比較してウォータマークが
付加されているか否かを判定する判定手段と を備え、 前記演算手段は、前記変換されたウォータマークパター
ンと、前記解像度変換もしくは画枠変換された画像にお
ける符号化ブロックとの対応付けられる画素数がある所
定の割合より小さい場合には、評価値に対応しない部分
ウォータマークパターンの演算を省略することを特徴
とする情報検出装置。
1. A watermark pattern is collated with an image for each small area consisting of M × N (M and N are positive integers) pixels of a part of an image, and the watermark pattern is obtained. based on relative embedded image information as a watermark, from the image constituted by applying resolution conversion or image frame conversion, the resolution conversion or image frame conversion of
In the information detecting device for detecting the converted information, the watermark pattern is converted in correspondence with the resolution conversion or the image frame conversion, and the encoding block and the resolution in the image subjected to the resolution conversion or the image frame conversion.
With the converted or image frame converted watermark pattern
By performing the product-sum operation of the parts corresponding to each other between
Ri, a calculating means for generating an evaluation value, and a determination means for determining whether it is added watermark by comparing the evaluation value with a predetermined threshold value, said calculating means is the conversion If the number of pixels associated with the watermark pattern and the coded block in the resolution-converted or frame-converted image is smaller than a predetermined ratio, the portion that does not correspond to the evaluation value
An information detecting device characterized in that the calculation of the watermark pattern is omitted.
【請求項2】 請求項1に記載の情報検出装置におい
て、 前記演算手段は、前記変換されたウォータマークパター
ンと、前記解像度変換もしくは画枠変換された画像にお
ける符号化ブロックとの対応付けられる画素の割合を前
記評価値に乗じることを特徴とする情報検出装置。
In the information detection apparatus according to claim 1, wherein the calculating means, corresponding with are pixels of said converted watermark pattern, the coded blocks in said resolution conversion or image frame converted image The ratio of
An information detection device characterized by multiplying the evaluation value .
【請求項3】 画像の一部の縦×横=M×N(M,Nは
正の整数)個の画素からなる小領域毎にウォータマーク
パターンと画像とを照合し、前記ウォータマークパター
ンに基づいて、情報をウォータマークとして埋め込んだ
画像に対して、解像度変換もしくは画枠変換を施して構
成された画像から、前記解像度変換もしくは画枠変換さ
れた情報を検出する情報検出方法において、 前記解像度変換もしくは画枠変換に対応して、前記ウォ
ータマークパターンを変換し、前記解像度変換または画
枠変換された画像における符号化ブロック前記解像度
変換もしくは画枠変換されたウォータマークパターンと
の間で相互に対応する部分の積和演算を行うことによ
り、評価値を生成し、 前記評価値と所定の閾値とを比較してウォータマークが
付加されているか否かを判定し、 前記評価値を演算する場合、前記変換されたウォータマ
ークパターンと、前記解像度変換もしくは画枠変換され
た画像における符号化ブロックとの対応付けられる画素
がある所定の割合より小さいときには、評価値に対応
しない部分のウォータマークパターンの演算を省略する
ことを特徴とする情報検出方法。
3. A watermark pattern is collated with an image for each small area consisting of a part of the image, which is M × N = M × N (M and N are positive integers), and the watermark pattern is obtained. based on relative embedded image information as a watermark, from the image constituted by applying resolution conversion or image frame conversion, the resolution conversion or image frame conversion of
In the information detecting method for detecting information that has been converted, the watermark pattern is converted in correspondence with the resolution conversion or the image frame conversion, and the encoding block and the resolution in the resolution-converted or image frame-converted image.
With the converted or image frame converted watermark pattern
By performing the product-sum operation of the parts corresponding to each other between
By generating an evaluation value, it is determined whether or not a watermark is added by comparing the evaluation value with a predetermined threshold value, and when the evaluation value is calculated, the converted watermark pattern, Pixels associated with the coding block in the resolution-converted or frame-converted image
Corresponds to the evaluation value when the number is smaller than a certain percentage
An information detecting method, characterized in that the calculation of the watermark pattern of the non- existing portion is omitted.
JP23138198A 1998-08-18 1998-08-18 Information detection device and information detection method Expired - Fee Related JP3476121B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23138198A JP3476121B2 (en) 1998-08-18 1998-08-18 Information detection device and information detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23138198A JP3476121B2 (en) 1998-08-18 1998-08-18 Information detection device and information detection method

Publications (2)

Publication Number Publication Date
JP2000067210A JP2000067210A (en) 2000-03-03
JP3476121B2 true JP3476121B2 (en) 2003-12-10

Family

ID=16922733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23138198A Expired - Fee Related JP3476121B2 (en) 1998-08-18 1998-08-18 Information detection device and information detection method

Country Status (1)

Country Link
JP (1) JP3476121B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330633B (en) * 2007-06-21 2010-06-02 英业达股份有限公司 Detection equipment and method for image acquisition device
CN100568325C (en) * 2007-07-20 2009-12-09 英业达股份有限公司 Quality detection equipment and method for image display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Walter Bender, Daniel Gruhl, 森本 典繁, Anthony Lu,電子透かしを支えるデータ・ハイディング技術(上),日経エレクトロニクス,日本,1997年 2月24日,No.683,p.149−162

Also Published As

Publication number Publication date
JP2000067210A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
JP3696723B2 (en) Image data processing apparatus and method
KR100329697B1 (en) Digital Data Encoding System and Watermark Data Insertion Method
US7159117B2 (en) Electronic watermark data insertion apparatus and electronic watermark data detection apparatus
JP3662398B2 (en) Digital watermark superimposing device and digital watermark detecting device
JP3596590B2 (en) Apparatus and method for appending accompanying information, apparatus and method for detecting accompanying information
JP3137022B2 (en) Video encoding device
KR100290330B1 (en) Identification Data Insertion and Detection System for Digital Data
JP4035257B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JP4383581B2 (en) Block noise detecting device and block noise removing device
JP2001061052A (en) Method for inserting electronic watermark data, its device and electronic watermark data detector
Sherly et al. A compressed video steganography using TPVD
JP2002176550A (en) Inserting and detecting device for digital watermark data
KR100385407B1 (en) System and apparatus for inserting electronic watermark data
JP3353691B2 (en) Digital data encoding system, digital watermark data insertion method, and storage medium storing control program
US6731774B1 (en) Associated information adding apparatus and method, and associated information detecting apparatus and method
JP2002521881A (en) Watermark detection in compressed video signals
US7095870B2 (en) Electronic watermark embedding apparatus and method and a format conversion device having a watermark embedding function
JP3476121B2 (en) Information detection device and information detection method
JP3566924B2 (en) Digital watermark embedding method, detection method, digital watermark embedding device, detection device, recording medium recording digital watermark embedding program, and recording medium recording detection program
JP3606425B2 (en) Image data processing apparatus and method, and recording medium
JP2000165805A (en) Apparatus and method for accompanying information, apparatus and method for detecting accompanying information, and unauthorized use prevention system
Jo et al. A Reversible Watermarking Algorithm in the Lossless Mode of HEVC.
JP4020302B2 (en) Information embedding device and information extracting device
JP2004015626A (en) Digital watermark embedding device, its detection device, and digital watermark embedding program
JP3933140B2 (en) Electronic watermark data insertion method and apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030829

LAPS Cancellation because of no payment of annual fees