JP2000067210A - Device and method for processing image and providing medium - Google Patents

Device and method for processing image and providing medium

Info

Publication number
JP2000067210A
JP2000067210A JP10231381A JP23138198A JP2000067210A JP 2000067210 A JP2000067210 A JP 2000067210A JP 10231381 A JP10231381 A JP 10231381A JP 23138198 A JP23138198 A JP 23138198A JP 2000067210 A JP2000067210 A JP 2000067210A
Authority
JP
Japan
Prior art keywords
image
block
watermark
watermark pattern
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10231381A
Other languages
Japanese (ja)
Other versions
JP3476121B2 (en
Inventor
Kazuhisa Hosaka
和寿 保坂
Nobusada Miyahara
信禎 宮原
Yoichi Yagasaki
陽一 矢ヶ崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to 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

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

Abstract

PROBLEM TO BE SOLVED: To detect a watermark pattern without the reduction of detection accuracy, prolongation of detection time, degradation of picture quality and increase of detection throughput. SOLUTION: This image processor is provided with a detecting means (step S54) for detecting the number of pixels to be correlated with a watermark symbol included in pixels within the range of encoding and a correcting means (step S55) for correcting additional information corresponding to the detected number of pixel values to be correlated with the watermark symbol.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置、画
像処理方法、および提供媒体に関し、特に、画像に埋め
込まれた付加情報を有する画像を処理する画像処理装
置、画像処理方法、および提供媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and a providing medium, and more particularly, to an image processing apparatus, an image processing method, and a providing medium for processing an image having additional information embedded in the image. About.

【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 specific image data, a person who has a copyright to the image must first copy the copyright information to the image in order to claim the right. It must be added to the data. By adding the copyright information, if the copyright information that should render 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 countermeasures such as the absence.

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

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

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

【0007】画像データに付加する情報をその画像デー
タ中に付加する方法は、主に2通りある。
There are two main 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 image data to an auxiliary part. For example, in a video tape, as shown in FIG. 11, the auxiliary information of the image data is displayed on the upper part (auxiliary part) 2 of the screen which is not substantially displayed on the display screen 1.
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 the image data to a main part (part that is substantially displayed). This is because, as shown in FIG. 12, a certain pattern (watermark pattern) (in FIG. 12, the image WM of the personal computer) is not visually perceivable, but the entire image or one of Part. As a specific example, there is a spread spectrum for adding or detecting information by using a key pattern generated by using a random number, an M sequence, or the like.

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

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

【0012】付加情報を付加する際には、付加を行う対
象となる画像上で、ウォータマークパターンの領域と等
しい大きさの領域を設定する。設定された領域とウォー
タマークパターンを重ねて照らし合わせ、プラスのシン
ボルが対応する画素には値aを加算し、マイナスのシン
ボルが対応する画素からは値bを減算する。a,b共
に、任意の値で構わないが、そのウォータマークパター
ンを通じて一定にするべきである。
When the additional information is added, 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 overlapped and illuminated, and a value a is added to a pixel corresponding to a plus symbol, and a value b is subtracted from a pixel corresponding to a minus symbol. Both a and b may be arbitrary values, but should be constant throughout the watermark pattern.

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

【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 value obtained by summing all the pixel values in this area is used as the evaluation value. When all the pixel values are summed, the set area and the watermark pattern are superimposed and illuminated, and addition is performed for a pixel corresponding to a plus symbol and subtraction is performed for a pixel corresponding to a minus symbol. In the example of FIG. 15, the pixel having the pixel value 101 is added, and the value 101 × 2n × 4n
Is obtained, and a pixel having a pixel value of 99 is subtracted to obtain a value (−99).
.Times.2n.times.4n) are obtained, and their operation results are added to obtain a value of 2.times.2n.times.4n. At this time, unless the same pattern as the watermark pattern used when adding the additional information is used, the additional information cannot be correctly detected. By such a detection operation, for example, as shown in FIG. 15, the evaluation value when additional information is added becomes (4n) ^ 2 (the same as the number of pixels included in the area), and FIG. As shown, the evaluation value when no additional information is 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 large and the watermark pattern is sufficiently random, the evaluation value when no additional information is added is almost zero. Therefore, when the evaluation value exceeds a certain threshold value, it can be determined that additional information has been added. According to the above procedure, 1-bit additional information can be added. When it is desired to add more information, 2 ^ k kinds (k bits) of information can be added by dividing the entire image into k regions and performing the above-described operations. .

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

【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, the amount of information is very large as it is,
Images are typically compressed. As a method for compressing an image, JPEG (Joi
nt Photographic Experts Group) or MPEG (Moving Picture Experts Grou
High-efficiency coding schemes such as p) have been standardized internationally and have been put to practical use. Data compressed by these high-efficiency coding methods is referred to as bit stream data or simply bit stream. In contrast, an image before compression and an image after decoding are referred to as a baseband image or simply a baseband.

【0018】ウォータマークパターンが付加されたベー
スバンド画像が、そのままベースバンドで配布されて
も、またはJPEG,MPEGなどの高能率符号化を行なった後
のビットストリームとして配布されても、どちらの場合
でも、簡単にウォータマークパターンが検出できれば好
都合である。
In either case, the baseband image to which the watermark pattern is added is distributed as it is at the baseband or as a bit stream after high-efficiency encoding such as JPEG or MPEG. However, it would be advantageous 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, a watermark pattern is converted to DC (Direct Current) in a bit stream.
A method is proposed in which components are added so that they can be detected from the components. In this method, 8 × 8 pixel DCT (Discrete Cosine)
A watermark pattern is added to the baseband image so as to be reflected on the DC component of a coding block such as a Transformation (discrete cosine transform) block. By replacing “pixel”, which is an additional unit in the above description of adding a watermark pattern, with “DC component of the encoded block”, the encoded block of the watermark pattern can be replaced.
Addition to the DC component becomes possible.

【0020】このようなウォータマークパターンが付加
された画像は、ベースバンド画像のまま配布されても、
MPEGなどで高能率符号化されたビットストリームとして
配布されても、容易にウォータマークパターンが検出さ
れる。すなわち、ベースバンドの画像からの検出の場
合、その符号化ブロックに相当する領域毎に画素値の平
均値を求め、求められた平均値とウォータマークパター
ンの相関をとればウォータマークパターンが検出され
る。ビットストリームからの検出の場合、ビットストリ
ームを走査してその符号化ブロック毎のDC成分の値を復
号し、DC成分の値とウォータマークパターンとの相関を
とればウォータマークパターンが検出される。
An image to which such a watermark pattern is added can be distributed as a baseband image.
Even if the watermark is distributed as a bit stream that has been highly coded by MPEG or the like, the watermark pattern can be easily detected. That is, in the case of detection from a baseband image, an average value of pixel values is obtained for each region corresponding to the coding block, and a watermark pattern is detected by correlating the obtained average value with the watermark pattern. You. In the case of detection from a bit stream, a watermark pattern is detected by scanning the bit stream, decoding the DC component value of each encoded block, and correlating the DC component value 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 an encoding system such as MPEG2, two modes of DCT, a frame mode and a field mode, are used.
Is used adaptively. FIG. 17 shows a block for performing frame DCT. When performing frame DCT, FIG.
A macroblock 11 of 16 × 16 pixels shown in FIG.
Is divided into 8 × 8 pixel frame mode blocks 12 to 15 in which top fields and bottom fields shown in FIG. 17B are alternately arranged. On the other hand, when field DCT is performed, 1 shown in FIG.
The macroblock 11 of 6 × 16 pixels is divided into 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. 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 using a pixel area as one unit. With this, regardless of whether the DCT is performed in either the frame mode or the field mode,
By decoding and averaging the DC components of the two blocks, the DC component of the area of 8 × 16 pixels 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 of the image (the ratio of the width to the length of the image) is usually set to the NTSC (National Television Systems Committee) video image 26 (FIG. 19 ( A)) is 4: 3, but an image 27 such as a movie (FIG. 19B) is 1
6: 9. As described above, since the aspect ratio differs between a video and a movie, the following two methods are mainly used as a method for recording an image of a movie on a video.

【0024】第1の方法は、図20(A)に示される映
画などの画像27を、図20(C)に示されるように、
ビデオの画像の上下を余らせ、中央部分の16:9の領
域に画像27を表示する方法である。上下に余った部分
は、通常、黒で埋められる。この表示方法は、レターボ
ックス(letter box)表示と称され、その画像はレター
ボックス画像29と称される。
In a first method, an image 27 such as a movie shown in FIG. 20A is converted into an image 27 as shown in FIG.
This is a method in which the image 27 is displayed in a 16: 9 area in the center portion, leaving the top and bottom of the video image. The portions that are left above and below 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と称される。
In the second method, as shown in FIG. 20B, the image 27 is reduced to 3/4 times in the horizontal direction and displayed over the entire video image (4: 3 area). It is. The video image 27 is shrunk in the horizontal direction, and this display method is called a squeeze display, and the image is called a 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 in the vertical direction by a factor of 3/4 as shown in FIGS. 20 (A) and 20 (B). The squeeze image 28 is contracted in the horizontal direction, and the object represented on the image is represented finer than it actually is. Therefore, when the image is viewed, the squeeze image 28 is subjected to the letterbox conversion. The letterbox image 29 has an advantage that it can be viewed if it is displayed 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 has inferior pixels in the upper and lower parts, so that the image quality is inferior to the squeeze image 28.

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

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

【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 using a watermark pattern shown in FIG.
Has been realized. The encoding device 31 receives a baseband image as the letterbox image 29. When there is no need to add a 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 added to the watermark pattern adding unit 41.
And a watermark pattern is added. When the letter-box conversion is not performed, the baseband image to which the watermark pattern is added is sent to the encoding unit 44 via the switching unit 43 as it is. When letter-box conversion is performed, the baseband image to which the watermark pattern is added is letter-box converted by a letter-box conversion unit 42, which is a vertical reduction filter, and supplied to an encoding unit 44 via a switching unit 43. Is done. The encoding unit 44 encodes the input baseband image and outputs the obtained bit stream. 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 detecting section 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. Is output to the output control unit 51. The output control unit 51 sends the encoding device 3 to the decoding unit 53 based on the signal from the watermark pattern detection unit 52.
1 controls the supply of the bit stream supplied from 1.
The decoding unit 53 decodes the input bit stream,
Output a baseband image.

【0031】以下では、図21に表されるウォータマー
クパターンを利用した、符号化装置31および復号装置
32からなる、不正利用防止システムにおいて行なわれ
る処理についてより詳細に説明する。
In the following, the processing performed in the unauthorized use prevention system including 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 in the squeeze image 28, as shown in FIG. , In the letterbox image 29 after the letterbox conversion,
Areas 62-1 to 62 -n. for that reason,
The additional blocks of the letterbox image 29 are shifted 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 shifted.
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, when encoding is performed before performing the letterbox conversion, a watermark pattern for the squeeze image 28 that can detect a watermark pattern from the bit stream, and when encoding is performed after performing the letterbox conversion, It has been conceived to add both a watermark pattern for a letterbox image from which a watermark pattern can be detected to a 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 additional blocks 61-1 to 61-n of the watermark pattern for the squeeze image 28 are shown in FIG.
As shown in (A), this 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.
/ 3) Consists of pixels. Additional blocks 71-1 to 7
1-n after letterbox conversion is performed as shown in FIG.
8 × 16 pixel blocks 72-1 to 72-n.

【0034】図21の従来の不正利用防止システムで行
なわれる処理は、この2つのウォータマークパターンを
付加する処理であり、図24および24の両方の処理を
逐次に行なったものである。なお、付加の処理の順番
は、どちらが先であっても構わない。
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 in which both processes of FIGS. 24 and 24 are sequentially performed. In addition, the order of the additional processing may be either one.

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

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

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

【0038】ステップS17において、全てのブロック
の処理を終了したと判定された場合、ウォータマークパ
ターン付加部41は、処理を終了する。
If it is determined in step S17 that processing of all blocks has been completed, the watermark pattern adding unit 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 flowchart for explaining a process for adding a watermark pattern for the letterbox image 29. In step S21, the watermark pattern adding unit 41 sets a watermark pattern for a letter box and sets the added amounts a and b.
Make the settings for In step S22, the watermark pattern adding unit 41 sets the 8 × 21.33 corresponding to the watermark pattern adding block for the letter box.
3. Read one block of pixels. The following step S
The procedure from step S23 to step S27 is the same as that from step S13 to step S17, and a description thereof will be omitted.

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

【0041】第1の方法は、2つのウォータマークパタ
ーンを空間的または時間的に別の符号化ブロックのDC成
分に付加する方法である。例えば、空間的に別の符号化
ブロックのDC成分に付加する方法として、画像の右半分
にスクイズ画像28用のウォータマークパターンを、左
半分にレターボックス画像29用のウォータマークパタ
ーンを、それぞれ付加する方法がある。時間的に別の符
号化ブロックのDC成分に付加する方法として、偶数番目
のフレームにスクイズ画像28用のウォータマークパタ
ーンを、奇数番目のフレームにレターボックス画像29
用のウォータマークパターンを、それぞれ付加する方法
がある。
The first method is to add two watermark patterns spatially or temporally to the DC component of another encoded block. For example, as a method of spatially adding a DC component of another encoded block, a watermark pattern for a squeeze image 28 is added to the right half of the image, and a watermark pattern for a letterbox image 29 is added to the left half of the image. There is a way to do that. As a method of temporally adding the DC component of another encoded block, a watermark pattern for the squeeze image 28 is provided in the even-numbered frames, and a letterbox image 29 is provided in the 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 whole 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 flowchart for explaining the detection process. First, in step S31, the watermark pattern detection unit 52 sets a watermark pattern for the squeeze image 28 in W [x, y], and sets a watermark pattern for the letterbox image 29 in WL [x, y]. The evaluation value sum for setting the watermark pattern detection of the squeeze image 28 and the letterbox image 2
Evaluation value sumL for detecting watermark pattern No. 9
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.
Set. In step S32, the watermark pattern detection unit 52 simply decodes the bit stream and substitutes the DC component of the block of 8 × 16 pixels into 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
In the watermark pattern detection unit 52,
And add I [x, y] × W [x, y] to sumL and add I [x, y] × WL [x, y] to sumL
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 proceeds to step S
Returning to step 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 processing has been executed for all I [x, y], step S3
5, the watermark pattern detection unit 52 determines that the sum
Is determined to be greater than th, and if it is determined that sum is not greater than th, the process proceeds to step S36. In step S36, the watermark pattern detection unit 52
It is determined whether or not sumL is greater than thL. If it is determined that sumL is not greater than thL, the procedure proceeds to step S37, where the watermark pattern detection unit 52 determines whether the watermark pattern has not been added. Execute the process and end the process.

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

【0046】各ブロックにどちらのウォータマークパタ
ーンが入っているかは、ウォータマークパターンを検出
する前は分からないので、どちらのウォータマークパタ
ーンについてもすべてのブロックと相関をとる必要があ
る。
Since it is not known which watermark pattern is included in each block before detecting the watermark pattern, 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.
An encoding block for extracting a DC component used for detecting a watermark pattern is divided into two uses: an encoding block for detection from the letterbox image 29 and an encoding block for detection from the squeeze image 28. Therefore, in order to make the detection time the same as the detection time for only the letterbox image 29 (or the squeeze image 28), the number of DC components usable for the detection is reduced by half, and the detection accuracy is deteriorated. Conversely, in order to make the detection accuracy the same as that for only the letterbox image 29 (or the squeeze image 28), the number of DC components that can be used for detection in the letterbox image 29 and the squeeze image 28 is separately secured. Requires twice the detection time.

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

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

【0050】[0050]

【課題を解決するための手段】請求項1に記載の画像処
理装置は、符号化ブロックの少なくとも一部に含まれ
る、ウォータマークシンボルを検出する検出手段と、検
出されたウォータマークシンボルと、符号化ブロックの
係数に応じて、ウォーターブロックの評価値を演算する
演算手段とを備えることを特徴とする。
An image processing apparatus according to a first aspect of the present invention includes a detecting means for detecting a watermark symbol included in at least a part of an encoded block, a detected watermark symbol, and a code. Calculating means for calculating the evaluation value of the water block according to the coefficient of the conversion block.

【0051】請求項5に記載の画像処理方法は、符号化
ブロックの少なくとも一部に含まれる、ウォータマーク
シンボルを検出する検出ステップと、検出されたウォー
タマークシンボルと、符号化ブロックの係数に応じて、
ウォーターブロックの評価値を演算する演算ステップと
を含むことを特徴とする。
According to a fifth aspect of the present invention, there is provided an image processing method comprising the steps of: detecting a watermark symbol included in at least a part of an encoded block; and detecting the watermark symbol and a coefficient of the encoded block. hand,
A calculating step of calculating an evaluation value of the water block.

【0052】請求項6に記載の提供媒体は、符号化ブロ
ックの少なくとも一部に含まれる、ウォータマークシン
ボルを検出する検出ステップと、検出されたウォータマ
ークシンボルと、符号化ブロックの係数に応じて、ウォ
ーターブロックの評価値を演算する演算ステップとを含
む処理を実行させるコンピュータが読み取り可能なプロ
グラムを提供することを特徴とする。
According to a sixth aspect of the present invention, there is provided the providing medium, comprising: a detecting step of detecting a watermark symbol included in at least a part of the encoded block; and the detected watermark symbol and a coefficient of the encoded block. And a computer readable program for executing a process including a calculating step of calculating an evaluation value of the water block.

【0053】請求項1に記載の画像処理装置、請求項5
に記載の画像処理方法、および請求項6に記載の提供媒
体においては、符号化ブロックの少なくとも一部に含ま
れる、ウォータマークシンボルを検出し、検出されたウ
ォータマークシンボルと、符号化ブロックの係数に応じ
て、ウォーターブロックの評価値を演算する。
The image processing apparatus according to claim 1,
In the image processing method described in (1) and the providing medium described in (6), a watermark symbol included in at least a part of the coding block is detected, and the detected watermark symbol and a coefficient of the coding block are detected. , The evaluation value of the water block is calculated.

【0054】[0054]

【発明の実施の形態】以下に本発明の実施の形態を説明
するが、特許請求の範囲に記載の発明の各手段と以下の
実施の形態との対応関係を明らかにするために、各手段
の後の括弧内に、対応する実施の形態(但し一例)を付
加して本発明の特徴を記述すると、次のようになる。但
し勿論この記載は、各手段を記載したものに限定するこ
とを意味するものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below. In order to clarify the correspondence between each means of the invention described in the claims and the following embodiments, each means is described. When the features of the present invention are described by adding the corresponding embodiment (however, an example) in parentheses after the parentheses, the result is as follows. However, of course, this description does not mean that each means is limited to those described.

【0055】すなわち、請求項1に記載の画像処理装置
は、符号化ブロックの少なくとも一部に含まれる、ウォ
ータマークシンボルを検出する検出手段(例えば、図6
の処理のステップS54)と、検出されたウォータマー
クシンボルと、符号化ブロックの係数に応じて、ウォー
ターブロックの評価値を演算する演算手段(例えば、図
6の処理のステップS55)とを備えることを特徴とす
る。
That is, the image processing apparatus according to the first aspect of the present invention provides a detecting means for detecting a watermark symbol included in at least a part of an encoded block (for example, FIG. 6).
(Step S54 of the processing of FIG. 6) and calculating means (for example, step S55 of the processing of FIG. 6) for calculating the evaluation value of the water block according to the detected watermark symbol and the coefficient of the coding block. It is characterized by.

【0056】以下、フレームとフィールドのDCTを適応
的に使うMPEG2を想定し、ウォータマークパターンの付
加または検出を行なうブロックとして8×16画素のブ
ロックを用いて記述する。
Hereinafter, assuming MPEG2 which adaptively uses DCT of a frame and a field, 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.
This is the same as the configuration 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 the letterbox conversion, and the upper part of the screen is filled so that only the lower part is left. FIG. 1 (A)
Represents an additional block 81 of 8 × 16 pixels (x in the horizontal direction) for adding a watermark pattern in the squeeze image 28.
FIG. 21 is a diagram showing a (th, y-th block in the vertical direction).
When the squeeze image 28 including the additional block 81 is subjected to the letterbox conversion (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 FIG.
(C) shows encoding blocks 83-1 to 83- of 8 × 16 pixels when encoding the letterbox image 29.
FIG. Note that y ′ in the drawing 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 showing a case where the squeeze image 28 is reduced in the vertical direction and the margins are set 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 additional block 82 of 8 × 12 pixels on the letterbox image 29 shown in FIG. 2B. FIG. 2C is a diagram showing encoding blocks 83-1 to 83-3 of 8 × 16 pixels when the letterbox image 29 is encoded.

【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]である。
Hereinafter, a method of detecting a watermark pattern in the case of FIG. 1 will be described with reference to FIG. FIG.
5 shows a row of one vertical additional block 81 extracted from the image shown in FIG. FIG.
(A) shows the additional blocks 81-1 to 81-4 to which the watermark pattern is added in the squeeze image 28, and the additional blocks 81-1 divided every 8 × 16 pixels.
Symbols of a watermark pattern are assigned to the DC components 81 through 81-4, respectively. W [x, y] is the coordinates x, y of the watermark pattern (the coordinates of the block, the x coordinate is an integer part when divided by the x coordinate of the pixel, and the y coordinate is the y value of the pixel The integer part when the coordinates are divided by 16 is represented by a symbol). The coordinates have the origin at the upper left of the screen and start from 0 in both the vertical and horizontal directions. For example, the symbol of the watermark pattern corresponding to the block of 8 × 16 pixels at 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 subjected to letterbox conversion, the vertical resolution becomes 3. Therefore, FIG.
2 (A) or the watermark addition block 81 in the squeeze image 28 in FIG. 2 (A) is the watermark addition block 8 of 8 × 12 pixels shown in FIG. 3 (B).
The conversion is made to 2-1 to 82-4 (the y coordinate of the block is an 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,
The DCT in the frame mode is performed twice or the DCT in the field mode is performed twice every 8 × 16 pixels of the letter box image 29.
(The DCT is performed for each 8.times.8 pixel). Now, 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 value represents the DC value of the DCT coefficient of the portion at the coordinates x, y of each block of 8 × 16 pixels.

【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. The sum of the parts corresponding to each other is calculated, and the watermark pattern is detected. That is, the component of the watermark pattern is 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 a product-sum 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 encoding block 83-1, 12/16 of the total pixels are watermark symbols W
As a result of being affected by [x, 0] and a total of 4/16 pixels being affected by the watermark symbol W [x, 1],
Assuming that the DC component value I0 [x, y] of the squeeze image 28 has changed to I [x, y], I [x, 0] becomes I [x, 0] = I0 [x, 0] +12 / 16 × W [x, 0] + 4/16 × W [x,
1]. Therefore, the first term of the equation (1) is expressed by the equation (2)
Can be transformed as follows.

【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 that ΣI0 [x, 0] × W [x, 0] 0 holds,
That is, the DC component of the image and the watermark are generally based on a lack of correlation. Also, Σ (12/16 × W
The transformation to [x, 0] × W [x, 0]) is ΣW [x, 1] × W [x, 0] 0,
That is, the watermark is based on the fact that there is no correlation with the watermark shifted in phase.

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

【0069】 [0069]

【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 calculated for 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 product with the watermark pattern symbol added to at least a part of at least one of them and performing a summation (by performing a product-sum operation). The reason why the evaluation value of the watermark is reduced to 3/4 is that the evaluation value is reduced to 3/4 vertically by the letterbox conversion.

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

【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 the pixels 91 in one vertical column 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 illustrating pixels in the encoding blocks 83-1 to 83-3 when encoding as the letterbox image 29. In the pixels 91 in one vertical column, the encoding blocks 83-1 to 83-3 are composed of 8 × 16 pixels.
3 included. Therefore, for example, the y coordinate (pixel coordinate)
Is a pixel whose y coordinate (block coordinate) is (y0 + 12y).
12y) // 16. Further, the pixel whose y coordinate is y0 + 12y + 11 has a y coordinate of (y0 + 12y + 11) //
It is included in 16 coding blocks 83. here,
Represents division that rounds down the decimal point.

【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.
Since the additional block to which the watermark symbol W [x, y] having the same value is added has only 12 pixels in the vertical direction while having a spread of 6 pixels, y
The pixels of the additional block whose coordinates are between y0 + 12y and y0 + 12y + 11 are the coding blocks 83 whose y coordinate is (y0 + 12y) // 16 or the y coordinate is (y0 + 12y + 11) / / 16 encoding block 83. Therefore, the DC component of the coding block 83 to be correlated with W [x, y] is (y0 + 12y) // 16 = (y0 + 12y + 11) //
If 16 (one additional block corresponds to one coded block), then only I [x, (y0 + 12y) // 16],
If (y0 + 12y) // 16 ≠ (y0 + 12y + 11) // 16 (one additional block corresponds to two encoded blocks), then I
[x, (y0 + 12y) // 16] and I [x, (y0 + 12y + 11) // 16].

【0074】次に、ウォータマークパターンの付加の処
理、および検出の処理を説明する。図24および図25
のフローチャートに示される従来例では、スクイズ画像
28用とレターボックス画像29用の2つの異なるウォ
ータマークを付加したのに対し、本発明は、ただ1つの
ウォータマークを付加する点で簡略化されており、どち
らのウォータマークを付加するかの判断をする必要がな
い点も、簡略化されている。
Next, the process of adding a watermark pattern and the process of detection will be described. 24 and 25
In the conventional example shown in the flowchart of FIG. 2, 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. Also, it is simplified that there is no need to determine which watermark is to be added.

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

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

【0077】ステップS46において、全てのブロック
の処理を終了したと判定された場合、ウォータマークパ
ターン付加部41は、処理を終了する。
If it is determined in step S46 that all blocks have been processed, the watermark pattern adding unit 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 flowchart for explaining the process of detecting a watermark. First, in step S51, the watermark pattern detection unit 52 sets the watermark pattern to W [x, y], evaluates the evaluation value sum for detecting the watermark pattern of the squeeze image 28, and the While initializing the evaluation value sumL for detecting the watermark pattern 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. Step S52
In, the watermark pattern detection unit 52 simply decodes the bit stream and outputs a block of 8 × 16 pixels.
Substitute the DC component into I [x, y]. In step S53, the watermark pattern detection unit 52 sets the first (x,
(0,0) is selected as a set of (y), I [x, y] × W [x, y] is added to sum, and I [x, (y0 + 12y) // 16] × W is added 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 determines that (y0 + 12y) // 16 is (y0 + 12y + 11) // 1.
Judge whether it is equal to 6 and (y0 + 12y) // 16 is (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 I [x, (y0 + 12y + 11) is added to sumL. ) /
/ 16] × W [x, y], 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 is
If it is determined that it is equal to (y0 + 12y + 11) // 16 (that is, if 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 detecting section 52 determines whether or not processing has been executed for all sets. If it is determined that there is a set that has not been processed, the procedure proceeds to step S53. And the subsequent processing is repeated. In the case of the example of FIG. 3, step S5
In step 4, since the values of the left and right terms of the equation are both 0, a determination of YES is made, and in step S56, y = 1 is set (the process of incrementing x is omitted here).
In step S53, I [x, 0] × W [x, 1] is added to sumL (the processing of sum is also omitted here). In step S54, the value of the left term of the equation is 0 and the value of the right term is 1, so a NO determination is made. 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 (x, y) pairs, the process proceeds to step S57, where the watermark pattern detection unit 52
It is determined whether sum is greater than th. If it is determined that sum is not greater 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 proceeds to step S5.
Proceeding to step S9, the watermark pattern detection unit 52 executes a process when no watermark pattern is 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,
If it is determined that sumL is greater than thL, the watermark pattern detection unit 52 executes the processing when the watermark pattern is added, and ends the processing.

【0084】以上のように、本発明では、スクイズ画像
28に1個のウォータマークを付加するだけで、スクイ
ズ画像からも、レターボックス画像からもウォーターマ
ークを検出することができる。従って、2つのウォータ
マークを空間的または時間的に別の符号化ブロックのDC
成分に付加する必要がない。また、本発明では、ウォー
タマークを検出するのに用いるDC成分を取り出す符号化
ブロック83を、レターボックス画像29からの検出用
の符号化ブロック83、およびスクイズ画像28からの
検出用の符号化ブロック83の2つに分ける必要が無
く、検出精度の低下、および検出時間の増加がほとんど
ない。さらに、2つのウォータマークを同一のDC成分に
付加する必要がないので、画質が劣化しない。
As described above, in the present invention, a watermark can be detected from a squeeze image and a letterbox image only by adding one watermark to the squeeze image 28. Therefore, the two watermarks are spatially or temporally separated by the DC of another coding block.
There is no need to add to the components. Further, in the present invention, the encoding block 83 for extracting the DC component used for detecting the watermark is defined as an encoding block 83 for detection from the letterbox image 29 and an encoding block for detection from the squeeze image 28. There is no need to divide the data into 83, and there is almost no decrease in detection accuracy and almost no increase in detection time. Further, 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 the 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 steps of the processing in FIG.
Except for step S63, step S64, and step S65, the steps in the flowchart of FIG. 6 are the same as the steps having the same last digit of the same number, and the description thereof is omitted. Will be described only. In step S61, the watermark pattern detection unit 52 adds k in addition to the processing in step S51.
Set parameters. In step S63, the watermark pattern detection unit 52 adds I [x, y] × W [x,
y], 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-
j) is determined as equal to (y0 + 12y + k) // 16 is (y0 +
12y + 11-k) // 16 (that is, one additional block 82 is divided into two encoded blocks 8
3), the process proceeds to step S65, and I is added to sumL.
[x, (y0 + 12y + 11-k) // 16] × W [x, y] are 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
Is determined to be equal to (y0 + 12y + 11-k) // 16 (ie, when one additional block 82 corresponds to one encoded 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 belongs.
Is calculated by Expressions (4) and (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.
In order to correlate with the additional block whose coordinate is y, the DC component of the coding block 83 whose y coordinate is i indicated by the obliquely upwardly sloping line in FIG. The y coordinate indicated by the diagonally downward slanted line in C) is the DC component of the i + 1 encoding block 83.

【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)
If k = 3, 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, the correlation used with the additional block whose y coordinate is y is shown in FIG.
Is the only DC component of the coding block of i + 1, and the
The component is not 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 coding block 83-1 when k = 3 is set.
It is a figure explaining product-sum operation between 83-4. In this example, coding blocks 83-1 to 83-4 are:
One additional pixel is shifted upward from the additional blocks 82-1 to 82-4. Product-sum operation I [x, 0] × W [x, for a portion where the additional block 82-2 and the encoding block 83-1 overlap.
1] is omitted. Similarly, a product-sum operation is performed on a 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 any other value, an additional block 82 (y additional block in FIG. 8B) whose y coordinate is y and an encoding block 83 (FIG. 8B) whose y coordinate is i.
The correlation with the DC component of the coding block to which the pixels 16i + 12 to 16i + 15 (C) belong is obtained when k is 2 or less. In the example of FIG. 8, the additional block 8 whose y coordinate is y
The number of pixels corresponding (overlapping) to 2 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 coding block 83 is equal to or smaller than the value of the parameter k, the pixels are determined to be non-corresponding (non-overlapping), and the correlation is calculated. It is made not to be used.

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

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

【0097】このように、kパラメータを利用した処理
は、ウォータマークの成分を検出する可能性の少ない部
分について、相関を計算する処理を省き、算出される相
関値をほとんど変化させずに処理量を減らすことができ
る。
As described above, the process using the k parameter eliminates the process of calculating the correlation for the portion where the watermark component is unlikely to be detected, and the processing amount is hardly changed without substantially 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 flowchart for explaining a process of detecting a watermark component obtained by adding a normalization process to the process shown in the flowchart of FIG. This processing is to multiply the detection value by k / 16 when the watermark component is included only in the pixels at the rate of k / 16 in the encoding block 83. The steps of the process in FIG. 10 are the same as those in the flowchart of FIG. 6 except for steps S73 and S75, where the last digit of the number is the same, and the description thereof is omitted.
Hereinafter, only the parts different from the processing in FIG. 6 will be described.

【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 detecting section 52 adds I [x, y] × W [x, y] to sum and I [x, (y0 + 12y) // 16] × sumL. W [x, y] × NOTMAX (12,16-
Add (y0 + 12y)% 16) / 16. In step S75, the watermark pattern detection unit 52 adds 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 smaller one of A and B, and% represents the remainder after division.

【0100】以上のように、図10の処理は、ウォータ
マークとDC成分の相関を計算して得られるウォータマー
クの評価値を、符号化ブロック83の付加ブロックとの
重なりの割合によって補正することにより、より信頼度
の高い検出を可能にする。また、レターボックス画像2
9用の評価値sumLを求めるときに加える各値は、必ず1
6で除されているので、あらかじめ閾値を16倍に設定
しておけば、16で割るという操作は不要である。
As described above, the processing in FIG. 10 is to correct the watermark evaluation value obtained by calculating the correlation between the watermark and the DC component by the ratio of the overlap of the coding block 83 with the additional block. Thereby, detection with higher reliability is enabled. 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 value 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 apparent from FIG. 4, the ratio of the pixels 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. 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, the watermark component that can be extracted when the correlation is obtained. Are 12 times different. Therefore, the ratio of the pixels of the coding block 83 corresponding to the additional block 82 is
When the ratio is 1/16, the influence of noise increases, making determination difficult. Therefore, in this processing example, the additional block 82
Is multiplied by a value of the pixel ratio of the coding block 83 corresponding to the value obtained by correlation with the coding block 83.
This makes it possible to correct that the reliability of the watermark component differs depending on the ratio of the pixels of the coding 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 coded block and the size of the additional block 83 in the squeeze image are set to 8 × 16 pixels. However, other numbers of pixels may be used.
For example, to make the block size 4 × 16 pixels,
When a watermark is added to an image, the addition process is performed for each area of 4 × 16 pixels instead of 8 × 16 pixels. When a watermark of an image is detected, in addition to DC, the minimum order is added only in the horizontal direction. AC (Alternating Cu
rrent: AC coefficient (coefficient on the right side of DC component, 8 ×
(Corresponding to the difference between the average value of the right half and the left half of the 16-pixel block), the watermark can be detected.

【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, a watermark is added for each 8 × 8 pixel area. At the time of detection, for the DCT block in the field mode, in addition to DC, the lowest AC coefficient 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) to obtain a DC value in a range of 8 × 8 pixels. For DCT block in frame mode, 8
Since there is a DC value for each area of × 8 pixels, no special processing is required.

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

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

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

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

【0108】なお、本明細書において、システムとは、
複数の装置により構成される装置全体を表すものとす
る。
In this specification, a system is
It is assumed that the device as a whole is constituted by a plurality of devices.

【0109】また、上記したような処理を行うコンピュ
ータプログラムをユーザに提供する提供媒体としては、
磁気ディスク、CD-ROM、固体メモリなどの記録媒体の
他、ネットワーク、衛星などの通信媒体を利用すること
ができる。
Further, as a providing medium for providing a user with a computer program for performing the above 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に記載の画像処理装置、請求項
5に記載の画像処理方法、および請求項6に記載の提供
媒体によれば、符号化ブロックの少なくとも一部に含ま
れる、ウォータマークシンボルを検出し、検出されたウ
ォータマークシンボルと、符号化ブロックの係数に応じ
て、ウォーターブロックの評価値を演算するようにした
ので、検出精度の低下、検出時間の増加、画質の劣化、
または検出の処理量の増加なしにウォータマークパター
ンを検出することができる。
According to the image processing apparatus described in claim 1, the image processing method described in claim 5, and the providing medium described in claim 6, the water included in at least a part of the encoded block. Since the mark symbol is detected and the evaluation value of the water block is calculated according to the detected watermark symbol and the coefficient of the coding block, the detection accuracy decreases, the detection time increases, the image quality deteriorates,
Alternatively, the watermark pattern can be detected without increasing the amount of detection processing.

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

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

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

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

【図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 process of detecting a watermark.

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

【図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 a relationship between an additional block and an encoded block.

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

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

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

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

【図14】ウォータマークパターンの付加を説明する図
である。
FIG. 14 is a diagram illustrating the 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 a range of image encoding.

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

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

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

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

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

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

【図24】従来のウォータマークパターンの付加の処理
を説明するフローチャートである。
FIG. 24 is a flowchart illustrating processing for adding a conventional 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 image, 29 letterbox image,
41 watermark pattern adding section, 52 watermark pattern detecting section, 81 additional block, 8
2 additional blocks, 83 encoded blocks

フロントページの続き (72)発明者 矢ヶ崎 陽一 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5B050 BA06 CA04 EA04 EA10 EA12 EA19 GA07 5B057 CD05 CE08 CG02 CG05 CG07 CH09 DA08 DA17 5C063 AC10 CA01 CA40 5C076 AA14 AA40 BA06 Continued on the front page (72) Inventor Yoichi Yagasaki 6-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation F-term (reference) 5B050 BA06 CA04 EA04 EA10 EA12 EA19 GA07 5B057 CD05 CE08 CG02 CG05 CG07 CH09 DA08 DA17 5C063 AC10 CA01 CA40 5C076 AA14 AA40 BA06

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ウォータマークとして埋め込まれた付加
情報を有する画像を処理する画像処理装置において、 符号化ブロックの少なくとも一部に含まれる、ウォータ
マークシンボルを検出する検出手段と、 検出された前記ウォータマークシンボルと、前記符号化
ブロックの係数に応じて、前記ウォーターブロックの評
価値を演算する演算手段とを備えることを特徴とする画
像処理装置。
1. An image processing apparatus for processing an image having additional information embedded as a watermark, comprising: detecting means for detecting a watermark symbol included in at least a part of an encoded block; An image processing apparatus comprising: a mark symbol; and a calculating unit that calculates an evaluation value of the water block according to a coefficient of the encoded block.
【請求項2】 前記演算手段は、前記ウォータマークシ
ンボルの画素に対するずれが、所定の画素の数以下の前
記符号化ブロックの画素については、評価値の演算を省
略することを特徴とする請求項1に記載の画像処理装
置。
2. The method according to claim 1, wherein the calculating unit omits the calculation of the evaluation value for the pixels of the coding block in which the deviation of the watermark symbol from the pixel is equal to or less than a predetermined number of pixels. 2. The image processing device according to 1.
【請求項3】 前記演算手段は、前記ウォータマークシ
ンボルの成分の影響を受けた前記符号化ブロックに含ま
れる画素の割合を前記評価値に乗じることを特徴とする
請求項1に記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the calculation unit multiplies the evaluation value by a ratio of pixels included in the coded block affected by the watermark symbol component. apparatus.
【請求項4】 前記画像は、レターボックス変換された
画像であることを特徴とする請求項1に記載の画像処理
装置。
4. The image processing apparatus according to claim 1, wherein the image is a letter-box converted image.
【請求項5】 ウォータマークとして埋め込まれた付加
情報を有する画像を処理する画像処理方法において、 符号化ブロックの少なくとも一部に含まれる、ウォータ
マークシンボルを検出する検出ステップと、 検出された前記ウォータマークシンボルと、前記符号化
ブロックの係数に応じて、前記ウォーターブロックの評
価値を演算する演算ステップとを含むことを特徴とする
画像処理方法。
5. An image processing method for processing an image having additional information embedded as a watermark, a detecting step of detecting a watermark symbol included in at least a part of an encoded block, and detecting the detected watermark. An image processing method, comprising: a mark symbol; and a calculating step of calculating an evaluation value of the water block according to a coefficient of the coded block.
【請求項6】 ウォータマークとして埋め込まれた付加
情報を有する画像を処理する画像処理装置に、 符号化ブロックの少なくとも一部に含まれる、ウォータ
マークシンボルを検出する検出ステップと、 検出された前記ウォータマークシンボルと、前記符号化
ブロックの係数に応じて、前記ウォーターブロックの評
価値を演算する演算ステップとを含む処理を実行させる
コンピュータが読み取り可能なプログラムを提供するこ
とを特徴とする提供媒体。
6. An image processing apparatus for processing an image having additional information embedded as a watermark, a detecting step of detecting a watermark symbol included in at least a part of an encoded block, and a step of detecting the watermark detected. A providing medium for providing a computer-readable program for executing a process including a mark symbol and a calculating step of calculating an evaluation value of the water block according to a coefficient of the coding block.
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 true JP2000067210A (en) 2000-03-03
JP3476121B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330633B (en) * 2007-06-21 2010-06-02 英业达股份有限公司 Equipment and method for detecting image viewfinding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330633B (en) * 2007-06-21 2010-06-02 英业达股份有限公司 Equipment and method for detecting image viewfinding device

Also Published As

Publication number Publication date
JP3476121B2 (en) 2003-12-10

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
JP3596590B2 (en) Apparatus and method for appending accompanying information, apparatus and method for detecting accompanying information
US7860167B2 (en) Apparatus and method for adaptive 3D artifact reducing for encoded image signal
US7173971B2 (en) Trailing artifact avoidance system and method
JP3137022B2 (en) Video encoding device
Sherly et al. A compressed video steganography using TPVD
JP4035257B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
US6771795B1 (en) Spatio-temporal channel for image watermarks or data
JPH1198341A (en) Electronic watermark superimposing device and electronic watermark detecting device
JPH10191330A (en) System for inserting identification data to digital data and detection system
JP2001061052A (en) Method for inserting electronic watermark data, its device and electronic watermark data detector
CN100370484C (en) System for and method of sharpness enhancement for coded digital video
CN1695381A (en) Sharpness enhancement in post-processing of digital video signals using coding information and local spatial features
JP2002176550A (en) Inserting and detecting device for digital watermark data
EP1091317B1 (en) System and apparatus for inserting electronic watermark data
EP2011075B1 (en) Digital watermarking method
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
JP2004336529A (en) Motion picture data processing apparatus, method and program
US7095870B2 (en) Electronic watermark embedding apparatus and method and a format conversion device having a watermark embedding function
JP4165752B2 (en) Secret data insertion method and secret data detection method for image data
JP3903445B2 (en) Optimal grid determination method and apparatus
JP2002152726A (en) Data inserting device and its method
JP2000067210A (en) Device and method for processing image and providing medium

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