JP2006050069A - Electronic watermark inserting method, electronic watermark inserting apparatus, and electronic watermark inserting program, and electronic watermark detecting method, electronic watermark detecting apparatus, and electronic watermark detection program - Google Patents

Electronic watermark inserting method, electronic watermark inserting apparatus, and electronic watermark inserting program, and electronic watermark detecting method, electronic watermark detecting apparatus, and electronic watermark detection program Download PDF

Info

Publication number
JP2006050069A
JP2006050069A JP2004225492A JP2004225492A JP2006050069A JP 2006050069 A JP2006050069 A JP 2006050069A JP 2004225492 A JP2004225492 A JP 2004225492A JP 2004225492 A JP2004225492 A JP 2004225492A JP 2006050069 A JP2006050069 A JP 2006050069A
Authority
JP
Japan
Prior art keywords
image
rotation angle
data
frequency component
detecting
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
JP2004225492A
Other languages
Japanese (ja)
Other versions
JP4270504B2 (en
Inventor
Isao Shinohara
勲 篠原
Ayumi Hase
歩美 長谷
Itsumi Majima
伊津美 間嶋
Eriya Maehara
恵理也 前原
Masahiro Harumoto
昌宏 春本
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.)
Kyodo Printing Co Ltd
Original Assignee
Kyodo Printing Co Ltd
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 Kyodo Printing Co Ltd filed Critical Kyodo Printing Co Ltd
Priority to JP2004225492A priority Critical patent/JP4270504B2/en
Publication of JP2006050069A publication Critical patent/JP2006050069A/en
Application granted granted Critical
Publication of JP4270504B2 publication Critical patent/JP4270504B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To increase data information amount of an electronic watermark to be embedded in an image without making the electronic watermark conspicuous. <P>SOLUTION: An electronic watermark for identifying a right image and an electronic watermark denoting first data D1 are inserted to the right image, and an electronic watermark for identifying a left image and an electronic watermark denoting second data D2 are inserted to the left image. A photographed image is divided into a photographed right image and a photographed left image, the first data are detected from a photographed half image (photographed right image or photographed left image) to which the electronic watermark for identifying the right image is inserted, and the second data are detected from a photographed half image (photographed left image or photographed right image) to which the electronic watermark for identifying the left image is inserted. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像データに電子透かしを挿入するための電子透かし挿入方法、その装置並びにそのプログラム、電子透かしが挿入された画像データから電子透かしを検出するための電子透かし検出方法、その装置及びそのプログラムに関する。   The present invention relates to a digital watermark insertion method for inserting a digital watermark into image data, its apparatus and its program, a digital watermark detection method for detecting a digital watermark from image data into which the digital watermark has been inserted, its apparatus and its Regarding the program.

近年、画像データに電子透かしを挿入する技術が開発され、著作権等を有する者等を特定する情報、著作物等の利用を許諾する場合の利用方法及び条件に関する情報等を電子透かしの形態で画像データに挿入することが実用化されてきている。   In recent years, a technique for inserting a digital watermark into image data has been developed, and information for identifying a person who has a copyright, etc., information on usage methods and conditions for permitting the use of a copyrighted work, etc. in the form of a digital watermark. Insertion into image data has been put into practical use.

通常は電子透かしは電子データの形態で挿入され、検出されるが、印刷にも対応した電子透かしも登場してきている。これは、電子透かしが挿入された画像データが印刷された場合であっても、印刷された画像データから電子透かしを検出できるようにしたものである。   Normally, a digital watermark is inserted and detected in the form of electronic data, but a digital watermark corresponding to printing has also appeared. This makes it possible to detect a digital watermark from the printed image data even when the image data into which the digital watermark is inserted is printed.

ところが、従来からの印刷にも対応した電子透かしは、スキャナを用いて印刷物を読み取ることを前提としている。このような前提のもとでは、読み取られた画像の縮尺は予め知られており、画像が回転していることはない。また、スキャナは6400dpi程度の高解像度を有するので高周波成分に埋め込まれている電子透かしを検出することができる。更に、カメラで読み取る場合と異なり手振れが生ずる場合もない。更に、スキャナにより一定の光源により画像が照射されるので、信号対雑音比、コントラストもよい。   However, conventional digital watermarking that also supports printing is premised on reading a printed matter using a scanner. Under such a premise, the scale of the read image is known in advance, and the image is never rotated. Further, since the scanner has a high resolution of about 6400 dpi, it can detect a digital watermark embedded in a high frequency component. Further, unlike the case of reading with a camera, there is no case of camera shake. Further, since the image is emitted from the scanner with a constant light source, the signal-to-noise ratio and the contrast are good.

一方、近年カメラを内蔵し、電子メール機能及びWWW(World Wide Web)ブラウザ機能を有する携帯電話が普及してきている。電子透かしが挿入された画像をこのような携帯電話のカメラで読み取り、携帯電話からそのような画像を電子メールの添付ファイル又はホームページのフォーム情報として送れば、WWWサーバ側は電子透かしを検出し、それに基づいてデータベースから情報を検索し、携帯電話はWWWサーバ、メールサーバ等からその様な情報の提供等の様々なサービスを受けることができる。   On the other hand, cellular phones with built-in cameras and electronic mail functions and WWW (World Wide Web) browser functions have recently become widespread. If an image with a digital watermark inserted is read by the camera of such a mobile phone, and the image is sent from the mobile phone as an attached file of an e-mail or form information on a homepage, the WWW server side detects the digital watermark, Based on this, information is retrieved from the database, and the mobile phone can receive various services such as provision of such information from a WWW server, a mail server, or the like.

従って、携帯電話の内蔵カメラ等で読み取った画像から電子透かしを検出することを可能とする電子透かし挿入方法、その装置及びそのプログラム並びに電子透かし検出方法、その装置及びそのプログラムの登場が望まれていた。   Therefore, the advent of a digital watermark insertion method, apparatus and program thereof, and digital watermark detection method, apparatus and program thereof that enable detection of a digital watermark from an image read by a built-in camera or the like of a mobile phone is desired. It was.

しかしながら、携帯電話の内蔵カメラ等で読み取った画像は、画像とカメラの間の距離等が変動要因となり、縮尺が不定である。また、携帯電話の内蔵カメラ等で読み取った画像は、画像とカメラの間の相対回転角等が変動要因となり、少なからず回転している場合が多い。更に、大多数の携帯電話の内蔵カメラで読み取った画像は、解像度が低い。例えば、3cm×4cmの画像を6400dpiのスキャナで読み取った場合の画素数は、約7600万であるのに対し、現在普及している大多数の携帯電話の内蔵カメラの画素数は30万程度であることより明らかである。更に、携帯電話の内蔵カメラ等で読み取った画像は、手振れが生じている場合がある。更に、携帯電話の内蔵カメラ等で読み取った画像は、一般の外光のもとで読み取られるので、信号対雑音比及びコントラストが十分でない場合が多い。   However, the scale of an image read by a built-in camera of a mobile phone is indefinite due to factors such as the distance between the image and the camera. In addition, an image read by a built-in camera of a mobile phone is often rotated not a little because of a variation factor such as a relative rotation angle between the image and the camera. Furthermore, the resolution of the images read by the built-in cameras of most mobile phones is low. For example, the number of pixels when a 3 cm × 4 cm image is read by a 6400 dpi scanner is about 76 million, whereas the number of built-in cameras of the majority of mobile phones currently popular is about 300,000. It is clearer than there is. Further, an image read by a built-in camera of a mobile phone may cause camera shake. Furthermore, since an image read with a built-in camera of a mobile phone is read under ordinary external light, the signal-to-noise ratio and contrast are often insufficient.

そこで、縮尺が不定であり、回転していて、解像度が低く、手振れが生じていて、信号対雑音比が悪く、コントラストも悪い画像であっても電子透かしの形態で埋め込まれたデータを安定して検出することを可能とするロバストな電子透かし挿入方法、その装置及びそのプログラム並びに電子透かし検出方法、その装置およびそのプログラムを提供することを目的とした発明が発明され、特許文献1で公開されている。
特開2004−15396号公報
Therefore, even if the image is unscaled, rotated, has low resolution, has camera shake, has a low signal-to-noise ratio, and has a poor contrast, the data embedded in the form of a digital watermark is stabilized. A robust digital watermark insertion method, apparatus and program thereof, and digital watermark detection method, apparatus and program thereof have been invented and disclosed in Patent Document 1. ing.
JP 2004-15396 A

しかしながら、特許文献1で公開されている発明によると、画像に埋め込むことができるデータの情報量がさほど多くない。また、多くの情報量のデータを画像に埋め込もうとすると、データを表す電子透かしの量を増やさなければならない。   However, according to the invention disclosed in Patent Document 1, the amount of data that can be embedded in an image is not so large. In addition, if a large amount of data is to be embedded in an image, the amount of digital watermark representing the data must be increased.

そこで、本発明は、視覚上電子透かしが目立つことなく画像に埋め込むことができるデータの情報量を増やすことを可能とする電子透かし挿入方法、その装置及びそのプログラム並びに電子透かし検出方法、その装置及びそのプログラムを提供することを目的とする。   Therefore, the present invention provides an electronic watermark insertion method, an apparatus and program thereof, an electronic watermark detection method, an apparatus, and an electronic watermark insertion method that can increase the amount of data that can be embedded in an image without visually conspicuous electronic watermarks. The purpose is to provide the program.

本発明によれば、周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j(j=1、2、・・・、N)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成するサブステップと、前記周波数領域において、画像の回転角度を検出し、前記画像の第j領域を識別するための非ゼロ周波数成分を生成するサブステップと、生成された前記非ゼロ周波数成分を合わせて前記周波数領域から空間領域に変換するサブステップと、原画像の第j領域の全部又は一部のブロックに前記変換により得た画像を加算又は減算するサブステップと、をN個のjについて繰り返すステップを備えることを特徴とする電子透かし挿入方法が提供される。   According to the present invention, in the frequency domain, the jth (j = 1, 2,..., N) data to be inserted among the first predetermined number of candidate positions arranged on the circle are combined with each other. A sub-step of generating a non-zero frequency component for a second predetermined number of positions less than the first predetermined number; detecting a rotation angle of the image in the frequency domain; and j-th region of the image A sub-step of generating a non-zero frequency component for identifying the non-zero frequency component, a sub-step of combining the generated non-zero frequency component from the frequency domain to the spatial domain, and all or one of the j-th region of the original image. There is provided a digital watermark insertion method comprising: a sub-step of adding or subtracting an image obtained by the conversion to a block of a part, and repeating for N j.

また、本発明によれば、周波数領域において、画像の回転角度を検出し、前記画像の第j1(j1=1、2、・・・、N1)領域を識別するための非ゼロ周波数成分を生成する第1生成サブステップと、該第1生成サブステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第1変換サブステップと、原画像の第j1領域の全部又は一部のブロックに前記第1変換サブステップで得た画像を加算又は減算するサブステップと、をN1個のj1について繰り返すステップと、前記周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j2(j2=1、2、・・・、N2)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成する第2生成サブステップと、該第2生成サブステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第2変換サブステップと、前記原画像の第j2領域の全部又は一部のブロックに前記第2変換サブステップで得た画像を加算又は減算するサブステップと、をN2個のj2について繰り返すステップと、を備えることを特徴とする電子透かし挿入方法が提供される。   According to the present invention, the rotation angle of the image is detected in the frequency domain, and a non-zero frequency component for identifying the j1 (j1 = 1, 2,..., N1) region of the image is generated. A first generation sub-step, a first conversion sub-step of converting the non-zero frequency component generated in the first generation sub-step from the frequency domain to the spatial domain, and all or one of the j1 areas of the original image A sub-step of adding or subtracting the image obtained in the first conversion sub-step to a block of a portion, a step of repeating N1 j1, and a first predetermined number of candidate positions arranged on a circle in the frequency domain Non-zero in the second predetermined number less than the first predetermined number, which are positions that are combined with each other by the j2 (j2 = 1, 2,..., N2) data to be inserted. frequency A second generation sub-step for generating a minute, a second conversion sub-step for converting the non-zero frequency component generated in the second generation sub-step from the frequency domain to a spatial domain, and the j2 region of the original image And a sub-step of adding or subtracting the image obtained in the second conversion sub-step to all or a part of the block, and a step of repeating for N2 j2s. Is done.

更に、本発明によれば、周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j(j=1、2、・・・、N)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成する第1生成サブステップと、前記第1生成サブステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第1変換サブステップと、原画像の第j領域の全部又は一部のブロックに前記第1変換サブステップで得た画像を加算又は減算するサブステップと、をN個のjについて繰り返すステップと、前記周波数領域において、画像の回転角度を検出するための非ゼロ周波数成分を生成する第2生成ステップと、前記第2生成ステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第2変換ステップと、原画像の全部又は一部のブロックに前記第2変換ステップで得た画像を加算又は減算するステップと、を備えることを特徴とする電子透かし挿入方法が提供される。   Further, according to the present invention, in the frequency domain, the jth (j = 1, 2,..., N) data to be inserted among the first predetermined number of candidate positions arranged on the circle are mutually connected. A first generation sub-step for generating a non-zero frequency component in a second predetermined number less than the first predetermined number at the combined position; and the non-zero frequency generated in the first generation sub-step A first transformation sub-step for transforming a component from the frequency domain to a spatial domain; and a sub-step for adding or subtracting the image obtained in the first transformation sub-step to all or a part of blocks of the j-th region of the original image; Are repeated for N j, a second generation step for generating a non-zero frequency component for detecting a rotation angle of an image in the frequency domain, and the generation generated in the second generation step. A second conversion step of converting the zero frequency component from the frequency domain to the spatial domain, and a step of adding or subtracting the image obtained in the second conversion step to all or a part of the blocks of the original image. A featured watermark insertion method is provided.

更に、本発明によれば、画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の回転角度を検出し、前記画像の第j領域を識別するサブステップと、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、をN個のkについて繰り返すステップと、N個の第jのデータ及び順位jを基にデータを復元するステップと、を備えることを特徴とする電子透かし検出方法が提供される。   Further, according to the present invention, the sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., N) region of the image, and the data of the one or more image blocks from the spatial region. A sub-step of converting to the frequency domain, a sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks, and an amplitude of each frequency component in the frequency domain The rotation angle of the image is detected by detecting the rotation angle of the image and detecting the position of the non-zero frequency component for identifying the jth (j = 1, 2,... N) region of the image. Sub-step for identifying the j-th region of the image, and the first of the rotation angles detected at the first predetermined number of positions on the circumference in the frequency region. Less than a predetermined number of A sub-step for detecting, for each circle of different radii, whether there is a non-zero frequency component at any one of a predetermined number of positions, and detecting that the position is at any one of the second predetermined number of positions. A sub-step of detecting the j-th data inserted in the image based on the combination of the positions of the non-zero frequency components, the step of repeating for N k, the N-th j-th data, and There is provided a digital watermark detection method comprising: restoring data based on rank j.

更に、本発明によれば、画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出し、該検出された非ゼロ周波数成分の位置及び領域番号kを基に、データ番号jを検出するサブステップと、検出された前記非ゼロ周波数成分の位置を基に画像の回転角度を検出するサブステップと、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、をN個のkについて繰り返すステップと、N個の第jのデータを基にデータを復元するステップと、を備えることを特徴とする電子透かし検出方法が提供される。   Further, according to the present invention, the sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., N) region of the image, and the data of the one or more image blocks from the spatial region. A sub-step of converting to the frequency domain, a sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks, and an amplitude of each frequency component in the frequency domain The rotation angle of the image is detected, the position of the non-zero frequency component for identifying the j-th (j = 1, 2,... N) region of the image is detected, and the detected non-zero frequency component is detected. A sub-step of detecting the data number j based on the position and the region number k; a sub-step of detecting the rotation angle of the image based on the detected position of the non-zero frequency component; First predetermined above It is different whether there is a non-zero frequency component at any of the second predetermined number smaller than the first predetermined number among the positions with the detected rotation angle as a rotation reference. Inserted into the image based on a combination of a sub-step for detecting each circle of radius and the position of the non-zero frequency component detected at any one of the second predetermined number of positions. A digital watermark detection method comprising: a sub-step of detecting j-th data; a step of repeating for N k; and a step of restoring data based on the N j-th data Provided.

更に、本発明によれば、画像の第k(k=1、2、・・・、M×N)領域より1以上の画像ブロックを得るサブステップと、前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の小回転角度を検出するサブステップと、をM×N個のkについて繰り返すステップと、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・、N)領域を識別するための非ゼロ周波数成分のM×N個のkに亘る分布に従って、jとkとの対応関係及び大回転角度を求めるステップと、前記小回転角度及び前記大回転角度を基に画像の回転角度を求めるステップと、jの値が等しいM個の領域の間で各周波数成分の振幅を足し合わせるステップと、jの値が等しいM個の領域毎に、足し合わされた各周波数成分の振幅を基に、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するステップと、jの値が等しいM個の領域毎に、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するステップと、N個の第jのデータ及び順位jを基にデータを復元するステップと、を備えることを特徴とする電子透かし検出方法が提供される。   Further, according to the present invention, the sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., M × N) region of the image, and the data of the one or more image blocks are spatialized. A sub-step of transforming from an area to a frequency domain, a sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks, and an amplitude of each frequency component in the frequency domain A small rotation angle of the image by detecting a rotation angle of the image and detecting a position of a non-zero frequency component for identifying a jth (j = 1, 2,... N) region of the image. A sub-step of detecting the image, a step of repeating for M × N k, a rotation angle of the image is detected, and a j-th (j = 1, 2,..., N) region of the image is identified. M × N k of non-zero frequency components for A step of obtaining a correspondence relationship between j and k and a large rotation angle according to a distribution over a range, a step of obtaining a rotation angle of an image based on the small rotation angle and the large rotation angle, and M regions having the same value of j. The first predetermined number on the circumference in the frequency domain based on the step of adding the amplitudes of the frequency components and the amplitudes of the frequency components added together for each of the M regions having the same value of j. It is different whether there is a non-zero frequency component at any of the second predetermined number smaller than the first predetermined number among the positions with the detected rotation angle as a rotation reference. A combination of the step of detecting for each circle of radius and the position of the non-zero frequency component detected to be in any of the second predetermined number of positions for each of M regions having the same value of j Is inserted into the image based on Detecting data of the j that, digital watermark detection method characterized by comprising the steps of restoring the data based on the data and rank j of N j-th, is provided.

更に、本発明によれば、画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第s(s=1、2、・・・N/M)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の小回転角度を検出するサブステップと、をN個のkについて繰り返すステップと、前記画像の回転角度を検出し、前記画像の第s(s=1、2、・・・、N)領域を識別するための非ゼロ周波数成分のN個のkに亘る分布に従って、kとのデータ番号jとの対応関係及び大回転角度を求めるステップと、前記小回転角度及び前記大回転角度を基に画像の回転角度を求めるステップと、各周波数成分の振幅を基に、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、をN個のkについて繰り返すステップと、N個の第jのデータ及び順位jを基にデータを復元するステップと、を備えることを特徴とする電子透かし検出方法が提供される。   Further, according to the present invention, the sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., N) region of the image, and the data of the one or more image blocks from the spatial region. A sub-step of converting to the frequency domain, a sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks, and an amplitude of each frequency component in the frequency domain A small rotation angle of the image by detecting a rotation angle of the image and detecting a position of a non-zero frequency component for identifying the sth (s = 1, 2,... N / M) region of the image. Detecting the rotation angle of the image, and identifying the sth (s = 1, 2,..., N) region of the image. Spans N k of non-zero frequency components Based on the cloth, the step of determining the correspondence between k and the data number j and the large rotation angle, the step of determining the rotation angle of the image based on the small rotation angle and the large rotation angle, and the amplitude of each frequency component, Any one of a second predetermined number smaller than the first predetermined number among the first predetermined number of positions on the circumference in the frequency domain and the rotation angle detected as a rotation reference. A sub-step for detecting whether or not there is a non-zero frequency component at each position of each circle of different radii, and the non-zero frequency component detected at any one of the second predetermined number of positions. A sub-step of detecting the j-th data inserted in the image based on a combination of positions; a step of repeating for N k; and data based on the N j-th data and the rank j Steps to restore Digital watermark detection method comprising: a is provided.

更に、本発明によれば、画像より1以上の画像ブロックを得るステップと、前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出するための非ゼロ周波数成分の位置を検出することにより前記画像の回転角度を検出するステップと、前記回転角度により前記画像の回転角度を補正するステップと、を備え、更に、回転角度が補正された画像の第j(j=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、前記周波数領域において、円周上の第1の所定数の位置のうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、をN個のjについて繰り返すステップと、N個の第jのデータ及び順位jを基にデータを復元するステップと、を備えることを特徴とする電子透かし検出方法が提供される。
Furthermore, according to the present invention, a step of obtaining one or more image blocks from an image, a step of converting data of the one or more image blocks from a spatial domain to a frequency domain, and each frequency component of the one or more image blocks And obtaining the amplitude of each frequency component, and detecting the position of the non-zero frequency component for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain. Detecting the rotation angle of the image, and correcting the rotation angle of the image based on the rotation angle, and further, jth (j = 1, 2,...) Of the image whose rotation angle is corrected. N) a sub-step of obtaining one or more image blocks from the region;
A sub-step of transforming data of the one or more image blocks from a spatial domain to a frequency domain; a sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks; Each of the circles with different radii indicates whether or not there is a non-zero frequency component at any one of the second predetermined number of positions less than the first predetermined number of the first predetermined number of positions on the circumference. J-th data inserted in the image based on a combination of a sub-step to be detected every time and the position of the non-zero frequency component detected to be at any one of the second predetermined number of positions A digital watermark detection method comprising: a sub-step of detecting N j, a step of repeating N for j, and a step of restoring data based on the N j-th data and the rank j Be done

本発明によれば、データを複数に分割し、各分割データを電子透かしの形態で各分割画像に挿入するので、各分割画像に埋め込む電子透かしを少なく維持したまま、画像に埋め込むことができるデータの情報量を増やすことが可能となる。   According to the present invention, since the data is divided into a plurality of pieces and each piece of divided data is inserted into each divided image in the form of a digital watermark, the data that can be embedded in the image while maintaining a small number of digital watermarks to be embedded in each divided image The amount of information can be increased.

また、本発明によれば、画像の回転角度を検出し、画像の各領域を識別するための電子透かしにより、どの分割画像がどのような角度でどこにあるのかを検出することができ、従って、分割データを基に元のデータを復元することができる。   In addition, according to the present invention, the rotation angle of the image can be detected, and the digital watermark for identifying each area of the image can detect which divided image is at what angle and where. The original data can be restored based on the divided data.

以下、図面を参照して本発明を実施するための最良の形態について詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the drawings.

図1は、本発明の実施形態で用いる電子透かしの周波数領域における振幅を示す。   FIG. 1 shows the amplitude in the frequency domain of a digital watermark used in an embodiment of the present invention.

図1を参照すると、電子透かしは2種類あり、第1の電子透かしが画像の左半分(以下、「左画像」という。)に挿入され、第2の電子透かしが画像の右半分(以下、「右画像」という)に挿入される。左画像に挿入する電子透かしの周波数領域における振幅を見ると、第1の電子透かしは、外円601に分布する非ゼロ周波数成分及び内円602に分布する非ゼロ周波数成分を備える。同様に、右画像に挿入する電子透かしの周波数領域における振幅を見ると、第2の電子透かしは、外円603に分布する非ゼロ周波数成分及び内円604に分布する非ゼロ周波数成分を備える。   Referring to FIG. 1, there are two types of digital watermarks, the first digital watermark is inserted into the left half of the image (hereinafter referred to as “left image”), and the second digital watermark is referred to as the right half of the image (hereinafter referred to as “left image”). It is inserted into “right image”). Looking at the amplitude in the frequency domain of the digital watermark to be inserted into the left image, the first digital watermark has a non-zero frequency component distributed in the outer circle 601 and a non-zero frequency component distributed in the inner circle 602. Similarly, when the amplitude in the frequency domain of the digital watermark inserted into the right image is viewed, the second digital watermark includes a non-zero frequency component distributed in the outer circle 603 and a non-zero frequency component distributed in the inner circle 604.

外円に分布する非ゼロ周波数成分は外円を24等分して得られる24個の等分点のうちのx軸と重なる2つの点及びy軸と重なる2つの点を除いた20個の点のうちの10個の点に配置される。非ゼロ周波数成分の振幅の分布は原点について対象であるので、20個の点から10個の点を選択する場合の数は、10個の点から5個の点を選択する場合の数と等しい。従って、左画像には、10=252通りの第1データを挿入することができる。同様に、右画像には、10=252通りの第2データを挿入することができる。従って、合わせて252^2=63504通りのデータを画像に挿入することができる。 The non-zero frequency components distributed in the outer circle are 20 points excluding two points overlapping the x-axis and two points overlapping the y-axis, out of 24 equal points obtained by dividing the outer circle into 24 equal parts. Arranged at 10 of the points. Since the distribution of the amplitudes of the non-zero frequency components is the object about the origin, the number when selecting 10 points from 20 points is equal to the number when selecting 5 points from 10 points. . Accordingly, 10 C 5 = 252 first data can be inserted into the left image. Similarly, 10 C 5 = 252 types of second data can be inserted into the right image. Therefore, a total of 252 ^ 2 = 63504 data can be inserted into the image.

内円602には、画像の回転角度を検出するための非ゼロ周波数成分が配置される。同様に、内円604にも、画像の回転角度を検出するための非ゼロ周波数成分が配置される。図1に示す例では、内円602に6個の非ゼロ周波数成分が配置され、内円604に6個の非ゼロ周波数成分が配置されていて、内円602に配置される非ゼロ周波数成分の分布と内円604に配置される非ゼロ周波数成分の分布は異なる。各内円に配置される非ゼロ周波数成分の振幅は、原点について点対称であるが、これは、必然的なものであり、如何に非ゼロ周波数成分を配置させても点対称性を崩すことはできず、従って、1つの円に分布する非ゼロ周波数成分だけでは画像が180度観点していることを検出することはできない。一般には、180度以外の角度だけ回転させた場合の非ゼロ周波数成分の分布が回転させない場合の非ゼロ周波数成分の分布と一致せず、且つ、内円602に配置される非ゼロ周波数成分の分布と内円604に配置される非ゼロ周波数成分の分布が一致しないという2つの条件を満たすように1又は2以上の非ゼロ周波数成分を内円602、604の各々に配置すれば、画像の180度の範囲の回転角度を検出できると共に、画像が逆さまであるか否か(180度回転しているか否か)を検出することができる。   In the inner circle 602, a non-zero frequency component for detecting the rotation angle of the image is arranged. Similarly, a non-zero frequency component for detecting the rotation angle of the image is also arranged in the inner circle 604. In the example shown in FIG. 1, six non-zero frequency components are arranged in the inner circle 602, and six non-zero frequency components are arranged in the inner circle 604, and the non-zero frequency components are arranged in the inner circle 602. And the distribution of non-zero frequency components arranged in the inner circle 604 are different. The amplitude of the non-zero frequency component placed in each inner circle is point-symmetric with respect to the origin, but this is inevitable, and the point symmetry is lost no matter how the non-zero frequency component is placed. Therefore, it is impossible to detect that the image is viewed at 180 degrees only by non-zero frequency components distributed in one circle. Generally, the distribution of non-zero frequency components when rotated by an angle other than 180 degrees does not match the distribution of non-zero frequency components when not rotated, and the non-zero frequency components arranged in the inner circle 602 If one or more non-zero frequency components are arranged in each of the inner circles 602 and 604 so as to satisfy the two conditions that the distribution and the distribution of the non-zero frequency components arranged in the inner circle 604 do not match, A rotation angle in the range of 180 degrees can be detected, and whether the image is upside down (whether it is rotated 180 degrees) can be detected.

符号605が付されている図は、回転角度を検出するための非ゼロ周波数成分を重心で表した図であり、符号606が付されている図は、データを記号で表した図である。以下の説明は、このような図を用いて行う。   The figure denoted by reference numeral 605 is a figure representing the non-zero frequency component for detecting the rotation angle by the center of gravity, and the figure denoted by reference numeral 606 is a figure representing data by symbols. The following description will be made using such a diagram.

図2は、図1に示すような電子透かしの印刷時における配置及び向きとカメラによる撮影時における配置及び向きを示す。   FIG. 2 shows the arrangement and orientation during printing of a digital watermark as shown in FIG. 1 and the arrangement and orientation during shooting with a camera.

図2を参照すると、印刷時には、左画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左画像には、第2データの電子透かしが挿入され、右画像には第1データの電子透かしが挿入される。   Referring to FIG. 2, at the time of printing, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the left image is at a position of 135 degrees and a position of 315 degrees. The center of gravity of the zero frequency component is at a position of 45 degrees and a position of 225 degrees. A digital watermark of the second data is inserted into the left image, and a digital watermark of the first data is inserted into the right image.

カメラにより0度付近の回転角度で撮影された時には、印刷時と同様に、左画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左画像には、第2データの電子透かしが挿入されており、右画像には第1データの電子透かしが挿入されている。   When the camera is photographed at a rotation angle near 0 degrees, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the left image is at a position of 135 degrees and a position of 315 degrees, as in printing. The center of gravity of the non-zero frequency component of the digital image for detecting the rotation angle of the right image is at a position of 45 degrees and a position of 225 degrees, and the digital watermark of the second data is inserted in the left image, Is inserted with a digital watermark of the first data.

一方、カメラにより180度付近の回転角度で撮影された時には、印刷時と異なり、左画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左画像には、第1データの電子透かしが挿入されており、右画像には第2データの電子透かしが挿入されている。   On the other hand, when the camera is photographed at a rotation angle near 180 degrees, unlike the printing, the center of gravity of the non-zero frequency component of the left image rotation angle detection digital watermark is at a position of 45 degrees and a position of 225 degrees. The center of gravity of the non-zero frequency component of the digital image for detecting the rotation angle of the right image is at a position of 135 degrees and a position of 315 degrees, and the digital watermark of the first data is inserted in the left image. Is inserted with a digital watermark of the second data.

従って、回転角度に依存しないで、第1データは、重心が45度及び225度の位置にある回転角度検出用電子透かしに対応し、第2データは、重心が135度及び225度の位置にある回転角度検出用電子透かしの非ゼロ周波数成分に対応する。従って、カメラで撮影した画像を左右に分割し、左画像及び右画像別々に処理を行い、各画像について、データ及び回転角度検出用電子透かしを検出して、第1データ又は第2データの値及び第1データであるのか第2データであるのかの別を識別することにより、最終的な全体のデータを得ることができる。具体的には、例えば、20個の位置のうちの10個の位置に非ゼロ周波数成分を配置することにより各分割画像のデータを挿入しているのであれば、第1データに252を乗じた値に第2データを加算した値が最終的な全体のデータである。   Therefore, regardless of the rotation angle, the first data corresponds to the rotation angle detection digital watermark with the centroids at 45 degrees and 225 degrees, and the second data has the centroids at the positions 135 degrees and 225 degrees. This corresponds to a non-zero frequency component of a certain rotation angle detection digital watermark. Therefore, the image captured by the camera is divided into left and right, the left image and the right image are processed separately, the data and the rotation angle detection watermark are detected for each image, and the value of the first data or the second data By identifying whether the data is the first data or the second data, the final entire data can be obtained. Specifically, for example, if the data of each divided image is inserted by arranging non-zero frequency components at 10 positions out of 20 positions, the first data is multiplied by 252. A value obtained by adding the second data to the value is the final overall data.

図2は、画像を左右に2分割する場合の電子透かし挿入及び電子透かし検出の様子を示すものであったが、図3は、画像を上下左右に4分割する場合の電子透かし挿入及び電子透かし検出の様子を示すものである。   2 shows the state of digital watermark insertion and digital watermark detection when the image is divided into left and right parts, while FIG. 3 shows digital watermark insertion and digital watermark when the image is divided into four parts vertically and horizontally. This shows the state of detection.

図3を参照すると、印刷時には、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、90度の位置及び270度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、0度の位置及び180度の位置にあり、右上画像には、第1データの電子透かしが挿入され、左上画像には第2データの電子透かしが挿入され、左下画像には、第3データの電子透かしが挿入され、右下画像には第4データの電子透かしが挿入される。   Referring to FIG. 3, at the time of printing, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at 45 degrees and 225 degrees. The centroid of the zero frequency component is at 90 degrees and 270 degrees, the centroid of the non-zero frequency component of the rotation angle detection digital watermark in the lower left image is at 135 degrees and 315 degrees, The center of gravity of the non-zero frequency component of the watermark for detecting the rotation angle of the lower image is at a position of 0 degrees and a position of 180 degrees, the digital watermark of the first data is inserted into the upper right image, and the first watermark is inserted into the upper left image. An electronic watermark of two data is inserted, an electronic watermark of the third data is inserted into the lower left image, and an electronic watermark of the fourth data is inserted into the lower right image.

図3に示す例では、例えば、20個の位置のうちの10個の位置に非ゼロ周波数成分を配置することにより各分割画像にデータを挿入しているのであれば、252^4=4,032,758,016通りのデータを表すことができる。   In the example shown in FIG. 3, for example, if data is inserted into each divided image by arranging non-zero frequency components at 10 positions out of 20 positions, 252 ^ 4 = 4 032,758,016 types of data can be represented.

カメラにより0度付近の回転角度で撮影された時には、印刷時と同様に、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、90度の位置及び270度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、0度の位置及び180度の位置にあり、右上画像には、第1データの電子透かしが挿入されており、左上画像には第2データの電子透かしが挿入されており、左下画像には、第3データの電子透かしが挿入されており、右下画像には第4データの電子透かしが挿入されている。   When the camera is photographed at a rotation angle near 0 degrees, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at a position of 45 degrees and a position of 225 degrees, as in printing. The centroid of the non-zero frequency component of the rotation angle detection digital watermark in the upper left image is at a position of 90 degrees and 270 degrees, and the centroid of the non-zero frequency component of the rotation angle detection digital watermark in the lower left image is 135 degrees. The center of gravity of the non-zero frequency component of the digital image for detecting the rotation angle of the lower right image is at the position of 0 degree and the position of 180 degrees, and the upper right image has the first data The digital watermark is inserted, the digital watermark of the second data is inserted in the upper left image, the digital watermark of the third data is inserted in the lower left image, and the fourth data of the fourth data is inserted in the lower right image. Insert watermark It has been.

一方、カメラにより90度付近の回転角度で撮影された時には、印刷時と異なり、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、90度の位置及び270度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、0度の位置及び180度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右上画像には、第4データの電子透かしが挿入されており、左上画像には第1データの電子透かしが挿入されており、左下画像には、第2データの電子透かしが挿入されており、右下画像には第3データの電子透かしが挿入されている。   On the other hand, when the camera is photographed at a rotation angle near 90 degrees, unlike the case of printing, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at the positions of 90 degrees and 270 degrees. The center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the upper left image is at the positions of 135 degrees and 315 degrees, and the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the lower left image is 0 The center of gravity of the non-zero frequency component of the digital watermark for detecting the rotation angle of the lower right image is at the position of 45 degree and the position of 225 degree. Of the first data is inserted in the upper left image, the second data digital watermark is inserted in the lower left image, and the third data is inserted in the lower right image. Electronic transparency There has been inserted.

また、カメラにより180度付近の回転角度で撮影された時には、印刷時と異なり、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、0度の位置及び180度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、90度の位置及び270度の位置にあり、右上画像には、第3データの電子透かしが挿入されており、左上画像には第4データの電子透かしが挿入されており、左下画像には、第1データの電子透かしが挿入されており、右下画像には第2データの電子透かしが挿入されている。   Also, when the image is taken at a rotation angle of about 180 degrees by the camera, the center of gravity of the non-zero frequency component of the digital image for detecting the rotation angle of the upper right image is at a position of 135 degrees and a position of 315 degrees, unlike at the time of printing. The center of gravity of the non-zero frequency component of the digital watermark for detecting the rotation angle of the upper left image is at a position of 0 degree and the position of 180 degree, and the center of gravity of the non-zero frequency component of the digital watermark for detecting the rotation angle of the lower left image is 45 The center of gravity of the non-zero frequency component of the digital watermark for detecting the rotation angle of the lower right image is at the position of 90 degrees and the position of 270 degrees. The digital watermark of the fourth data is inserted in the upper left image, the digital watermark of the first data is inserted in the lower left image, and the second data is inserted in the lower right image. Electronic transparency Teeth are inserted.

更に、カメラにより270度付近の回転角度で撮影された時には、印刷時と異なり、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、0度の位置及び180度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、90度の位置及び270度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右上画像には、第2データの電子透かしが挿入されており、左上画像には第3データの電子透かしが挿入されており、左下画像には、第4データの電子透かしが挿入されており、右下画像には第1データの電子透かしが挿入されている。   Furthermore, when the camera is photographed at a rotation angle of about 270 degrees, unlike the printing, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at a position of 0 degrees and a position of 180 degrees. The center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the upper left image is at 45 degrees and 225 degrees, and the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the lower left image is 90 The center of gravity of the non-zero frequency component of the digital image for detecting the rotation angle of the lower right image is at the position of 135 degrees and the position of 315 degrees, and the second data Is inserted in the upper left image, the fourth data watermark is inserted in the lower left image, and the first data is inserted in the lower right image. Electronic transparency Teeth are inserted.

図2に示す左右2分割の場合には、他の分割画像の回転角度検出用非ゼロ周波数成分の重心を考慮せず、当該分割画像の回転角度検出用非ゼロ周波数成分の重心のみを基に、当該分割画像のデータは第1データであるのか第2データであるのかの別を判断することができた。これに対し、図3に示す上下左右4分割の場合にはそのようは判断はできない。すなわち、例えば、回転角度が0度である場合には、45度及び225度の回転角度検出用非ゼロ周波数成分の重心に対応するデータは第1データであるのに対し、回転角度が90度である場合には、45度及び225度の回転角度検出用非ゼロ周波数成分の重心に対応するデータは第3データであり、回転角度が180度である場合には、45度及び225度の回転角度検出用非ゼロ周波数成分の重心に対応するデータは第1データであり、回転角度が270度である場合には、45度及び225度の回転角度検出用非ゼロ周波数成分の重心に対応するデータは第3データである。しかし、当該分割画像がどこの分割画像であるのかということ、及び、当該分割画像からどの重心を有する回転角度検出用電子透かしが検出されたのかを検出することにより、当該分割画像には何番目のデータが挿入されているのかを検出することができる。具体的には、右上分割画像を例に取ると、当該分割画像が右上分割画像であるということ、及び当該分割画像に45度及び225度の重心を有する観点角度検出用電子透かしが検出されたことより、当該分割画像には第1データが挿入されていることを検出することができ、当該分割画像が右上分割画像であるということ、及び当該分割画像に90度及び270度の重心を有する観点角度検出用電子透かしが検出されたことより、当該分割画像には第4データが挿入されていることを検出することができ、当該分割画像が右上分割画像であるということ、及び当該分割画像に135度及び315度の重心を有する観点角度検出用電子透かしが検出されたことより、当該分割画像には第3データが挿入されていることを検出することができ、当該分割画像が右上分割画像であるということ、及び当該分割画像に0度及び180度の重心を有する観点角度検出用電子透かしが検出されたことより、当該分割画像には第2データが挿入されていることを検出することができる。   In the case of the left and right two divisions shown in FIG. 2, the center of gravity of the non-zero frequency component for detecting the rotation angle of the other divided images is not considered, and only the center of gravity of the non-zero frequency component for detecting the rotation angle of the divided image is used. It was possible to determine whether the data of the divided image is the first data or the second data. On the other hand, such a determination cannot be made in the case of the four divisions shown in FIG. That is, for example, when the rotation angle is 0 degrees, the data corresponding to the centroids of the rotation angle detection non-zero frequency components of 45 degrees and 225 degrees is the first data, whereas the rotation angle is 90 degrees. If the rotation angle is 180 degrees, the data corresponding to the centroids of the non-zero frequency components for rotation angle detection of 45 degrees and 225 degrees is the third data, and when the rotation angle is 180 degrees, 45 degrees and 225 degrees. The data corresponding to the center of gravity of the non-zero frequency component for rotation angle detection is the first data. When the rotation angle is 270 degrees, it corresponds to the center of gravity of the non-zero frequency component for rotation angle detection of 45 degrees and 225 degrees. The data to be performed is third data. However, by detecting which divided image the divided image is and which rotation angle detection digital watermark having a center of gravity is detected from the divided image, what number is added to the divided image. Can be detected. Specifically, taking the upper right divided image as an example, the divided image is the upper right divided image, and a viewpoint angle detection digital watermark having centroids of 45 degrees and 225 degrees is detected in the divided image. Thus, it can be detected that the first data is inserted into the divided image, the divided image is the upper right divided image, and the divided image has a center of gravity of 90 degrees and 270 degrees. Since the viewpoint angle detection digital watermark is detected, it can be detected that the fourth data is inserted into the divided image, the divided image is the upper right divided image, and the divided image. Since the viewpoint angle detection digital watermark having centroids of 135 degrees and 315 degrees is detected, it can be detected that the third data is inserted into the divided image. Since the divided image is the upper right divided image and the viewpoint angle detection digital watermark having centroids of 0 degrees and 180 degrees is detected in the divided image, the second data is inserted into the divided image. Can be detected.

図3に示す方法では、画像の回転角度が0度付近であるのか、90度付近であるのか、180度付近であるのか、又は、270度付近であるのかを検出することができるのに対し、図2に示す方法では、画像の回転角度が0度付近であるのか、又は、180度付近であるのかを検出することができるが、画像の回転角度が90度付近であること及び画像の回転角度が270度付近であることを検出することができない。しかし、カメラを横にした状態で画像を撮影する場合のみならず、カメラを縦にした状態で画像を撮影する場合もあるので、画像の回転角度が90度付近であること及び画像の回転角度が270度付近であることも検出できることが好ましい。図4は、このようなことを可能とする方法を説明するための図である。   In the method shown in FIG. 3, it is possible to detect whether the rotation angle of the image is around 0 degree, around 90 degrees, around 180 degrees, or around 270 degrees. In the method shown in FIG. 2, it can be detected whether the rotation angle of the image is around 0 degree or around 180 degrees. However, the rotation angle of the image is around 90 degrees and the image It cannot be detected that the rotation angle is around 270 degrees. However, not only when taking an image with the camera lying sideways, but also when taking an image with the camera held vertically, the rotation angle of the image is around 90 degrees and the rotation angle of the image. It is preferable that it is possible to detect that is around 270 degrees. FIG. 4 is a diagram for explaining a method that enables this.

この方法は、図2に示す場合と同様に、画像を左右に2分割して、電子透かしを挿入することを前提としながらも、画像を上下左右に4分割して電子透かしを検出する。   In this method, as in the case shown in FIG. 2, the image is divided into left and right parts and a digital watermark is inserted, but the image is divided into four parts vertically and horizontally to detect the digital watermark.

カメラにより0度付近の回転角度で撮影された時には、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右上画像には、第1データの電子透かしが挿入されており、左上画像には第2データの電子透かしが挿入されており、左下画像には、第2データの電子透かしが挿入されており、右下画像には第1データの電子透かしが挿入されている。   When the camera is photographed at a rotation angle close to 0 degrees, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at a position of 45 degrees and a position of 225 degrees, and the rotation angle of the upper left image is detected. The centroid of the non-zero frequency component of the digital watermark is at the positions of 135 degrees and 315 degrees, and the centroid of the non-zero frequency component of the rotation angle detection watermark of the lower left image is at the position of 135 degrees and 315 degrees. The center of gravity of the non-zero frequency component of the digital watermark for detecting the rotation angle of the lower right image is at the position of 45 degrees and the position of 225 degrees, and the digital watermark of the first data is inserted in the upper right image. In addition, a digital watermark of the second data is inserted in the upper left image, a digital watermark of the second data is inserted in the lower left image, and a digital watermark of the first data is inserted in the lower right image. Yes.

一方、カメラにより90度付近の回転角度で撮影された時には、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右上画像には、第1データの電子透かしが挿入されており、左上画像には第1データの電子透かしが挿入されており、左下画像には、第2データの電子透かしが挿入されており、右下画像には第2データの電子透かしが挿入されている。   On the other hand, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at a position of 135 degrees and a position of 315 degrees when the image is photographed at a rotation angle of about 90 degrees by the camera. The centroid of the non-zero frequency component of the angle detection digital watermark is at a position of 135 degrees and 315 degrees, and the centroid of the non-zero frequency component of the rotation angle detection digital watermark of the lower left image is a position of 45 degrees and 225. The center of gravity of the non-zero frequency component of the digital watermark for detecting the rotation angle of the lower right image is at the position of 45 degrees and the position of 225 degrees, and the digital watermark of the first data is inserted in the upper right image The digital watermark of the first data is inserted in the upper left image, the digital watermark of the second data is inserted in the lower left image, and the digital watermark of the second data is inserted in the lower right image. Is There.

また、カメラにより180度付近の回転角度で撮影された時には、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右上画像には、第2データの電子透かしが挿入されており、左上画像には第1データの電子透かしが挿入されており、左下画像には、第1データの電子透かしが挿入されており、右下画像には第2データの電子透かしが挿入されている。   When the camera is photographed at a rotation angle of about 180 degrees, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark of the upper right image is at a position of 135 degrees and a position of 315 degrees. The center of gravity of the non-zero frequency component of the digital watermark for angle detection is at the position of 45 degrees and 225 degrees, and the center of gravity of the non-zero frequency component of the watermark for detection of the rotation angle of the lower left image is at the position of 45 degrees and 225. The center of gravity of the non-zero frequency component of the watermark for detecting the rotation angle of the lower right image is at the position of 135 degrees and 315 degrees, and the watermark of the second data is inserted in the upper right image. The digital watermark of the first data is inserted in the upper left image, the digital watermark of the first data is inserted in the lower left image, and the digital watermark of the second data is inserted in the lower right image. The To have.

更に、カメラにより270度付近の回転角度で撮影された時には、右上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左上画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、45度の位置及び225度の位置にあり、左下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右下画像の回転角度検出用電子透かしの非ゼロ周波数成分の重心は、135度の位置及び315度の位置にあり、右上画像には、第2データの電子透かしが挿入されており、左上画像には第2データの電子透かしが挿入されており、左下画像には、第1データの電子透かしが挿入されており、右下画像には第1データの電子透かしが挿入されている。   Furthermore, when the camera is photographed at a rotation angle of about 270 degrees, the center of gravity of the non-zero frequency component of the rotation angle detection digital watermark in the upper right image is at a position of 45 degrees and a position of 225 degrees. The centroids of the non-zero frequency components of the angle detection watermark are located at 45 degrees and 225 degrees, and the centroids of the non-zero frequency components of the rotation angle detection watermark of the lower left image are 135 degrees and 315 The center of gravity of the non-zero frequency component of the watermark for detecting the rotation angle of the lower right image is at the position of 135 degrees and 315 degrees, and the watermark of the second data is inserted in the upper right image. A digital watermark of the second data is inserted in the upper left image, a digital watermark of the first data is inserted in the lower left image, and a digital watermark of the first data is inserted in the lower right image The To have.

図4に示す方法の場合には、他の分割画像の回転角度検出用非ゼロ周波数成分の重心を考慮せず、当該分割画像の回転角度検出用非ゼロ周波数成分の重心のみを基に、当該分割画像のデータは第1データであるのか第2データであるのかの別を判断することはできない。すなわち、例えば、回転角度が0度である場合には、第1象限において45度及び225度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応し、第4象限において45度及び225度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応するのに対し、回転角度が90度である場合には、第1象限において135度及び315度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応し、第2象限において135度及び315度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応し、回転角度が180度である場合には、第3象限において45度及び225度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応し、第4象限において45度及び225度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応し、回転角度が270度である場合には、第3象限において135度及び315度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応し、第4象限において135度及び315度の回転角度検出用非ゼロ周波数成分の重心に第1データが対応する。   In the case of the method shown in FIG. 4, the center of gravity of the non-zero frequency component for detecting the rotation angle of the other divided image is not considered, and only the center of gravity of the non-zero frequency component for detecting the rotation angle of the divided image is used. Whether the data of the divided image is the first data or the second data cannot be determined. That is, for example, when the rotation angle is 0 degree, the first data corresponds to the centroids of the non-zero frequency components for rotation angle detection of 45 degrees and 225 degrees in the first quadrant, and 45 degrees and 45 degrees in the fourth quadrant. When the first data corresponds to the center of gravity of the non-zero frequency component for detecting the rotation angle of 225 degrees, while the rotation angle is 90 degrees, the non-detection angle for detecting the rotation angles of 135 degrees and 315 degrees in the first quadrant. The first data corresponds to the center of gravity of the zero frequency component, and the first data corresponds to the center of gravity of the non-zero frequency component for rotation angle detection of 135 degrees and 315 degrees in the second quadrant, and the rotation angle is 180 degrees. Corresponds to the center of gravity of the non-zero frequency component for rotation angle detection of 45 degrees and 225 degrees in the third quadrant, and the non-zero frequency component for rotation angle detection of 45 degrees and 225 degrees in the fourth quadrant. When the first data corresponds to the heart and the rotation angle is 270 degrees, the first data corresponds to the centroids of the non-zero frequency components for rotation angle detection of 135 degrees and 315 degrees in the third quadrant. The first data corresponds to the centroids of the non-zero frequency components for rotation angle detection of 135 degrees and 315 degrees in the quadrant.

従って、図4に示す挿入時左右2分割検出時上下左右4分割の場合には、4つの分割画像における回転角度検出用非ゼロ周波数成分の重心を総合的にみることにより、画像の回転角度が0度付近であるのか、90度付近であるのか、180度付近であるのか、又は、270度付近であるのかを判断する。   Therefore, in the case of the left / right two-division detection at the time of insertion shown in FIG. It is determined whether it is around 0 degree, around 90 degrees, around 180 degrees, or around 270 degrees.

この様にして、各分割画像における回転角度検出用非ゼロ周波数成分の重心を総合的にみることにより画像の回転角度を検出し、その回転角度を基に、各分割画像から検出されたデータが第何番目のデータであるのかを判断し、各分割画像から検出されたデータとその番号を基に最終的な全体のデータを求めることができる。具体的には、例えば、20個の位置のうちの10個の位置に非ゼロ周波数成分を配置することにより各分割画像のデータを挿入しているのであれば、第1データに252^2を乗じた値に第2データを加算することにより得た値が最終的な全体のデータである。   In this way, the rotation angle of the image is detected by comprehensively looking at the center of gravity of the non-zero frequency component for rotation angle detection in each divided image, and the data detected from each divided image is based on the rotation angle. It is possible to determine what number the data is, and to obtain final overall data based on the data detected from each divided image and its number. Specifically, for example, if the data of each divided image is inserted by arranging non-zero frequency components at 10 positions out of 20 positions, 252 ^ 2 is set as the first data. A value obtained by adding the second data to the multiplied value is the final overall data.

上記の何れの方法においても、カメラで撮影した画像を分割してから、各分割画像において回転角度検出用の電子透かしを検出した。これに対し、図5を参照して説明する方法は、カメラで撮影した画像を分割する前に、画像全体に挿入した回転角度検出用の電子透かしを検出し、これを基に画像の回転角度を検出し、この回転角度により画像の回転補正を行った後に、画像を分割し、各分割画像においてデータの電子透かしを検出するものである。   In any of the above methods, after the image taken by the camera is divided, the digital watermark for detecting the rotation angle is detected in each divided image. In contrast, the method described with reference to FIG. 5 detects the rotation angle detection digital watermark inserted into the entire image before dividing the image taken by the camera, and based on this, the rotation angle of the image is detected. After the image is detected and the rotation of the image is corrected based on the rotation angle, the image is divided, and the digital watermark of the data is detected in each divided image.

図5を参照すると、符号607で示すように、画像全体に画像の回転角度を検出するための電子透かしを挿入する。また、例えば、データを2分割して、252^2=63504通りのデータを表す場合には、符号608で示すように、画像を2分割し、第i割画像に第iデータを表す電子透かしを挿入する(i=1、2)。同様に、例えば、データを4分割して、252^4=4032758016通りのデータを表す場合には、符号609で示すように、画像を4分割し、第i割画像に第iデータを表す電子透かしを挿入する(i=1〜4)。例えば、データを6分割して、252^6=2.561×10^14通りのデータを表す場合には、符号609で示すように、画像を6分割し、第i割画像に第iデータを表す電子透かしを挿入する(i=1〜6)。例えば、データを9分割して、252^9=4.098×10^21通りのデータを表す場合には、符号609で示すように、画像を9分割し、第i割画像に第iデータを表す電子透かしを挿入する(i=1〜9)。   Referring to FIG. 5, as indicated by reference numeral 607, a digital watermark for detecting the rotation angle of the image is inserted into the entire image. Further, for example, when the data is divided into two and 252 ^ 2 = 63504 data is represented, as shown by reference numeral 608, the image is divided into two, and the digital watermark representing the i-th data in the i-th divided image Is inserted (i = 1, 2). Similarly, for example, when the data is divided into four and 252 ^ 4 = 40327558016 data is represented, as shown by reference numeral 609, the image is divided into four and the i-th divided image represents the i-th data. A watermark is inserted (i = 1 to 4). For example, when the data is divided into six to represent 252 ^ 6 = 2.561 × 10 ^ 14 kinds of data, as indicated by reference numeral 609, the image is divided into six and the i-th divided image is divided into the i-th data. Is inserted (i = 1 to 6). For example, when the data is divided into nine and 252 ^ 9 = 4.098 × 10 ^ 21 kinds of data are represented, as shown by reference numeral 609, the image is divided into nine and the i-th divided image is divided into the i-th data. Is inserted (i = 1 to 9).

次に、上述した電子透かし挿入方法及び電子透かし検出方法を行う電子透かし挿入装置及び電子透かし検出装置について説明する。   Next, a digital watermark insertion apparatus and a digital watermark detection apparatus that perform the above-described digital watermark insertion method and digital watermark detection method will be described.

図6は、本発明の実施形態による電子透かし挿入装置の構成を示すブロック図である。   FIG. 6 is a block diagram showing the configuration of the digital watermark insertion apparatus according to the embodiment of the present invention.

図6を参照すると、本発明の実施形態による電子透かし挿入装置は、回転角度検出用パターン生成部101、データ保持部102、データパターン生成部103、合成部104、逆離散フーリエ変換部105、二値化部106及び加算部(減算部)107を備える。なお、これらの部分は、ハードウェアによって実現してもよいが、コンピュータをこれらの部分として機能させるためのプログラムをコンピュータが読み込んで実行することにより実現してもよい。   Referring to FIG. 6, a digital watermark insertion apparatus according to an embodiment of the present invention includes a rotation angle detection pattern generation unit 101, a data holding unit 102, a data pattern generation unit 103, a synthesis unit 104, an inverse discrete Fourier transform unit 105, two A valuation unit 106 and an addition unit (subtraction unit) 107 are provided. These parts may be realized by hardware, but may be realized by a computer reading and executing a program for causing a computer to function as these parts.

次に、各分割画像毎に異なる回転角度検出用の電子透かし及び部分データを各分割画像毎に挿入する場合の電子透かし挿入装置により行われる電子透かし挿入方法について、図6及び7を参照して説明する。   Next, with reference to FIGS. 6 and 7, a digital watermark insertion method performed by the digital watermark insertion apparatus in the case of inserting a digital watermark for detecting a rotation angle and partial data different for each divided image for each divided image will be described. explain.

この電子透かし挿入方法においては、第1の分割画像から第Nの分割画像についてステップS152乃至S156を繰り返す(ステップS151)。各繰返しにおいては以下のことを行う。   In this digital watermark insertion method, steps S152 to S156 are repeated for the first divided image to the Nth divided image (step S151). In each iteration, do the following:

まず、回転角度検出用パターン生成部101は、第jの回転角度検出用パターンを生成する(ステップS151)。このパターンは、非ゼロ周波数成分より構成される。   First, the rotation angle detection pattern generation unit 101 generates a jth rotation angle detection pattern (step S151). This pattern is composed of non-zero frequency components.

次に、データパターン生成部103は、データ保持部102に保持されている全体データを読み込み、現在扱っているjの値に応じて第jのデータを求め、第jのデータに応じて第jのデータパターンを生成する(ステップS152)。このパターンも非ゼロ周波数成分より構成される。第jのデータパターンが図1に示すようなものである場合には、第jのデータDjは、全体データをDとすると、
Dj=mod(D,252^(N+1−j))/252^(N−j)
により表される。
Next, the data pattern generation unit 103 reads the entire data held in the data holding unit 102, obtains the j-th data according to the value of j currently handled, and the j-th data according to the j-th data. The data pattern is generated (step S152). This pattern is also composed of non-zero frequency components. In the case where the jth data pattern is as shown in FIG.
Dj = mod (D, 252 ^ (N + 1−j)) / 252 ^ (N−j)
It is represented by

次に、合成部104は、ステップS151で生成した第jの回転角度検出用パターンとステップS152で生成した第jのデータパターンを足し合わせることにより合成パターンを生成する(ステップS153)。   Next, the combining unit 104 generates a combined pattern by adding the jth rotation angle detection pattern generated in step S151 and the jth data pattern generated in step S152 (step S153).

次に、逆離散フーリエ変換部105は、ステップS153で合成したパターンに対し、逆離散フーリエ変換をかけることにより、空間領域パターンを得る(ステップS154)。   Next, the inverse discrete Fourier transform unit 105 obtains a spatial domain pattern by applying an inverse discrete Fourier transform to the pattern synthesized in step S153 (step S154).

次に、二値化部106は、ステップS154で得た空間領域パターンを二値化する(ステップS155)。すなわち、各画素について、ステップS154で得た空間領域パターンの画素値が0以上であれば、所定の値(例えば、10)とし、ステップS154で得た空間パターンの画素値が0未満であれば、所定の値(例えば−10)とする。   Next, the binarization unit 106 binarizes the space area pattern obtained in step S154 (step S155). That is, for each pixel, if the pixel value of the spatial pattern obtained in step S154 is 0 or more, a predetermined value (for example, 10) is set. If the pixel value of the spatial pattern obtained in step S154 is less than 0, , And a predetermined value (for example, −10).

次に、加算部(減算部)107は、ステップS106で二値化された空間領域パターンを原画像の黄成分の第j領域の全部又は一部のブロックに加算又は減算する(ステップS156)。なお、二値化部106が二値化を行うのは、電子透かし検出装置が電子透かしを検出することを容易にするためであり、省略してもよい。この場合には、逆離散フーリエ変換部105が出力する空間パターンを二値化せずに直接原画像の黄成分の第j領域に加算又は減算する。   Next, the adding unit (subtracting unit) 107 adds or subtracts the spatial region pattern binarized in step S106 to all or a part of blocks of the j-th region of the yellow component of the original image (step S156). Note that the binarization unit 106 performs binarization in order to facilitate detection of the digital watermark by the digital watermark detection apparatus, and may be omitted. In this case, the spatial pattern output from the inverse discrete Fourier transform unit 105 is directly added to or subtracted from the j-th region of the yellow component of the original image without being binarized.

その後、上記の方法により電子透かしが挿入された画像は印刷物に印刷される。   Thereafter, the image into which the digital watermark is inserted by the above method is printed on a printed matter.

次に、分割画像間で共通な(画像全体で共通な)回転角度検出用の電子透かしを画像全体に挿入する場合の電子透かし挿入装置により行われる電子透かし挿入方法について、図6及び8を参照して説明する。   Next, refer to FIGS. 6 and 8 for a digital watermark insertion method performed by the digital watermark insertion apparatus in the case of inserting a rotation angle detection digital watermark that is common among divided images (common to the entire image) into the entire image. To explain.

まず、まず、回転角度検出用パターン生成部101は、分割画像間で共通な回転角度検出用パターンを生成する(ステップS151)。このパターンは、非ゼロ周波数成分より構成される。   First, the rotation angle detection pattern generation unit 101 generates a rotation angle detection pattern common to the divided images (step S151). This pattern is composed of non-zero frequency components.

次に、第1の分割画像から第Nの分割画像についてステップS553乃至S557を繰り返す(ステップS552)。各繰返しにおいては以下のことを行う。   Next, steps S553 to S557 are repeated for the first divided image to the Nth divided image (step S552). In each iteration, do the following:

まず、データパターン生成部103は、データ保持部102に保持されている全体データを読み込み、現在扱っているjの値に応じて第jのデータを求め、第jのデータに応じて第jのデータパターンを生成する(ステップS553)。このパターンも非ゼロ周波数成分より構成される。第jのデータパターンが図1に示すようなものである場合には、第jのデータDjは、全体データをDとすると、
Dj=mod(D,252^(N+1−j))/252^(N−j)
により表される。
First, the data pattern generation unit 103 reads the entire data held in the data holding unit 102, obtains the j-th data according to the value of j currently handled, and the j-th data according to the j-th data. A data pattern is generated (step S553). This pattern is also composed of non-zero frequency components. In the case where the jth data pattern is as shown in FIG.
Dj = mod (D, 252 ^ (N + 1−j)) / 252 ^ (N−j)
It is represented by

次に、合成部104は、ステップS551で生成した共通回転角度検出用パターンとステップS553で生成した第jのデータパターンを足し合わせることにより合成パターンを生成する(ステップS554)。   Next, the synthesis unit 104 generates a synthesis pattern by adding the common rotation angle detection pattern generated in step S551 and the jth data pattern generated in step S553 (step S554).

次に、逆離散フーリエ変換部105は、ステップS554で合成したパターンに対し、逆離散フーリエ変換をかけることにより、空間領域パターンを得る(ステップS555)。   Next, the inverse discrete Fourier transform unit 105 obtains a spatial domain pattern by performing inverse discrete Fourier transform on the pattern synthesized in step S554 (step S555).

次に、二値化部106は、ステップS555で得た空間領域パターンを二値化する(ステップS556)。すなわち、各画素について、ステップS555で得た空間領域パターンの画素値が0以上であれば、所定の値(例えば、10)とし、ステップS555で得た空間パターンの画素値が0未満であれば、所定の値(例えば−10)とする。   Next, the binarization unit 106 binarizes the space area pattern obtained in step S555 (step S556). That is, for each pixel, if the pixel value of the spatial pattern obtained in step S555 is 0 or more, a predetermined value (for example, 10) is set. If the pixel value of the spatial pattern obtained in step S555 is less than 0, , And a predetermined value (for example, −10).

次に、加算部(減算部)107は、ステップS556で二値化された空間領域パターンを原画像の黄成分の第j領域の全部又は一部のブロックに加算又は減算する(ステップS557)。なお、二値化部106が二値化を行うのは、電子透かし検出装置が電子透かしを検出することを容易にするためであり、省略してもよい。この場合には、逆離散フーリエ変換部105が出力する空間パターンを二値化せずに直接原画像の黄成分の第j領域に加算又は減算する。   Next, the adding unit (subtracting unit) 107 adds or subtracts the spatial region pattern binarized in step S556 to all or a part of blocks of the j-th region of the yellow component of the original image (step S557). Note that the binarization unit 106 performs binarization in order to facilitate detection of the digital watermark by the digital watermark detection apparatus, and may be omitted. In this case, the spatial pattern output from the inverse discrete Fourier transform unit 105 is directly added to or subtracted from the j-th region of the yellow component of the original image without being binarized.

その後、上記の方法により電子透かしが挿入された画像は印刷物に印刷される。   Thereafter, the image into which the digital watermark is inserted by the above method is printed on a printed matter.

図9は、図2を参照して説明した検出方法(データ2分割・回転角度検出用電子透かし2分割・検出時2分割)を行うための電子透かし検出装置の構成を示すブロック図である。   FIG. 9 is a block diagram illustrating a configuration of a digital watermark detection apparatus for performing the detection method (data two-division, rotation angle detection digital watermark two-division, and detection two-division) described with reference to FIG.

図9を参照すると、この電子透かし検出装置は、空間フィルタ201、ブロック化部202、離散フーリエ変換部203、振幅計算部204、振幅積算部205、回転角度検出・領域番号識別部206、部分データ検出部207及びデータ検出部208を備える。なお、これらの部分はハードウェアによって実現してもよいが、コンピュータをこれらの部分として機能させるためのプログラムをコンピュータが読み込んで実行することによって実現してもよい。   Referring to FIG. 9, this digital watermark detection apparatus includes a spatial filter 201, a blocking unit 202, a discrete Fourier transform unit 203, an amplitude calculation unit 204, an amplitude integration unit 205, a rotation angle detection / region number identification unit 206, and partial data. A detection unit 207 and a data detection unit 208 are provided. These parts may be realized by hardware, but may be realized by a computer reading and executing a program for causing the computer to function as these parts.

次に、図9に示す電子透かし検出装置により行われる電子透かし検出方法について、図9及び10を参照して説明する。   Next, a digital watermark detection method performed by the digital watermark detection apparatus shown in FIG. 9 will be described with reference to FIGS.

この電子透かし検出方法においては、第1の分割画像から第2の分割画像についてステップS252乃至S259を繰り返す(ステップS251)。各繰返しにおいては以下のことを行う。   In this digital watermark detection method, steps S252 to S259 are repeated for the first divided image to the second divided image (step S251). In each iteration, do the following:

まず、カメラにより撮影した画像の青成分の現在の分割画像(k番目の分割画像)に対して空間フィルタ201を適用する(ステップS252)。この空間フィルタは、例えば、図11に示すようなタップ係数を有する。タップ係数から明らかなように、この空間フィルタは帯域通過の特性を有する。従って、画像にこの空間フィルタ201を適用することにより、原画像に起因する低周波数成分や高周波数成分を抑圧することができる。   First, the spatial filter 201 is applied to the current divided image (kth divided image) of the blue component of the image captured by the camera (step S252). This spatial filter has tap coefficients as shown in FIG. 11, for example. As is apparent from the tap coefficient, this spatial filter has a band-pass characteristic. Therefore, by applying this spatial filter 201 to the image, it is possible to suppress low frequency components and high frequency components resulting from the original image.

次に、ブロック化部202は、空間フィルタが適用された分割画像を離散フーリエ変換を行うためのサイズの1又は2以上のブロックに分割する(ステップS253)。   Next, the blocking unit 202 divides the divided image to which the spatial filter is applied into one or more blocks having a size for performing discrete Fourier transform (step S253).

次に、離散フーリエ変換部203は、各ブロックの画像に対して離散フーリエ変換を行い、周波数成分を得る(ステップS254)。   Next, the discrete Fourier transform unit 203 performs a discrete Fourier transform on the image of each block to obtain a frequency component (step S254).

次に、振幅計算部204は、各ブロックの各周波数成分の振幅を求める(ステップS255)。   Next, the amplitude calculation unit 204 obtains the amplitude of each frequency component of each block (step S255).

次に、振幅積算部205は、分割画像に含まれるブロックの間で同一の周波数の周波数成分を積算することにより、分割画像についての各周波数成分の積算振幅を得る(ステップS256)。   Next, the amplitude integrating unit 205 obtains an integrated amplitude of each frequency component for the divided image by integrating frequency components of the same frequency among the blocks included in the divided image (step S256).

次に、回転角度検出・領域番号識別部206は、各周波数成分の積算振幅を入力し、図1の内円602に分布する非ゼロ周波数成分の分布の様子をみることにより、現在の分割画像が、第1分割画像であるのか第2分割画像であるのかを判断する(ステップS257)。すなわち、図2を参照すると、重心が45度の位置と225度の位置にある場合には、現在の分割画像が第1分割画像であると判断し、重心が135度の位置と315度の位置にある場合には、現在の分割画像が第2分割画像であると判断する。   Next, the rotation angle detection / region number identification unit 206 inputs the integrated amplitude of each frequency component and observes the distribution of non-zero frequency components distributed in the inner circle 602 in FIG. Is a first divided image or a second divided image (step S257). That is, referring to FIG. 2, when the center of gravity is at a position of 45 degrees and a position of 225 degrees, it is determined that the current divided image is the first divided image, and the position of the center of gravity is 135 degrees and 315 degrees. If it is in the position, it is determined that the current divided image is the second divided image.

なお、回転角度を検出するための非ゼロ周波数成分の2つの重心を求めることは、例えば、任意の1つの非ゼロ周波数成分を選択し、この非ゼロ周波数成分からの距離が相対的に短い(半数−1)の数の非ゼロ周波数成分を含めて、半数の非ゼロ周波数成分を抽出し、その半数の非ゼロ周波数成分が第1グループに属するとし、残りの半数が第2グループに属するとし、各グループの重心を求めることにより可能となる。   Note that obtaining the two centroids of the non-zero frequency component for detecting the rotation angle is, for example, selecting an arbitrary one non-zero frequency component and having a relatively short distance from the non-zero frequency component ( It is assumed that half of the non-zero frequency components including the number of non-zero frequency components are extracted, and that the half of the non-zero frequency components belong to the first group and the remaining half belong to the second group. This is possible by obtaining the center of gravity of each group.

次に、回転角度検出・領域番号識別部206は、各周波数成分の積算振幅を入力し、図1の内円602に分布する非ゼロ周波数成分の分布の様子をみて、更に、ステップS257で判断した現在の分割画像の番号をみることにより、画像の回転角度を検出する(ステップS258)。すなわち、現在の分割画像が左画像であり且つ第2分割画像であると判断されたのであれば、画像が回転していない場合の重心が135度の位置にある非ゼロ周波数成分を基準として、重心が135度付近の位置にある実際の非ゼロ周波数成分の位置を基に、0度付近の回転角度を検出し、現在の分割画像が右画像であり且つ第1分割画像であると判断されたのであれば、画像が回転していない場合の重心が45度の位置にある非ゼロ周波数成分を基準として、重心が45度付近の位置にある実際の非ゼロ周波数成分の位置を基に、0度付近の回転角度を検出し、現在の分割画像が左画像であり且つ第1分割画像であると判断されたのであれば、画像が回転していない場合の重心が45度の位置にある非ゼロ周波数成分を基準として、重心が45度付近の位置にある実際の非ゼロ周波数成分の位置を基に、180度付近の回転角度を検出し、現在の分割画像が右画像であり且つ第2分割画像であると判断されたのであれば、画像が回転していない場合の重心が135度の位置にある非ゼロ周波数成分を基準として、重心が135度付近の位置にある実際の非ゼロ周波数成分の位置を基に180度付近の回転角度を検出する。   Next, the rotation angle detection / region number identification unit 206 inputs the integrated amplitude of each frequency component, sees the distribution of non-zero frequency components distributed in the inner circle 602 of FIG. 1, and further makes a determination in step S257. By looking at the number of the current divided image, the rotation angle of the image is detected (step S258). That is, if it is determined that the current divided image is the left image and the second divided image, the non-zero frequency component with the center of gravity at the position of 135 degrees when the image is not rotated is used as a reference. Based on the position of the actual non-zero frequency component whose center of gravity is near 135 degrees, a rotation angle near 0 degrees is detected, and it is determined that the current divided image is the right image and the first divided image. If the image is not rotated, the center of gravity when the image is not rotated is based on the non-zero frequency component at a position of 45 degrees. If a rotation angle near 0 degrees is detected and it is determined that the current divided image is the left image and the first divided image, the center of gravity when the image is not rotated is at a position of 45 degrees. Center of gravity based on non-zero frequency components Since the rotation angle near 180 degrees is detected based on the position of the actual non-zero frequency component at the position near 5 degrees, it is determined that the current divided image is the right image and the second divided image. If there is a non-zero frequency component with the center of gravity at a position of 135 degrees when the image is not rotated, the center of gravity is around 180 degrees based on the actual position of the non-zero frequency component at a position near 135 degrees. The rotation angle of is detected.

次に、部分データ検出部206は、各周波数成分の積算振幅を入力し、図1の外円601に分布する非ゼロ周波数成分の分布の様子をみることにより、データを検出し、これを第jデータとする(ステップS259)。ここで、番号jは、ステップS257で検出された分割画像の番号のことである。   Next, the partial data detection unit 206 receives the integrated amplitude of each frequency component, detects data by looking at the distribution of non-zero frequency components distributed in the outer circle 601 in FIG. j data (step S259). Here, the number j is the number of the divided image detected in step S257.

ステップS251の繰返しが終了したならば、ステップS259をN回行うことによって得た第1データから第Nデータを基に全体のデータを検出する(ステップS260)。   When the repetition of step S251 ends, the entire data is detected based on the Nth data from the first data obtained by performing step S259 N times (step S260).

ステップS257及びS258では、内円602に分布する回転角データを検出するための各非ゼロ周波数成分の周波数領域における極座標でみた角度を検出する必要があるが、そのためには、以下の方法を用いる。   In steps S257 and S258, it is necessary to detect the polar angle in the frequency domain of each non-zero frequency component for detecting the rotation angle data distributed in the inner circle 602. For this purpose, the following method is used. .

すなわち、図12を参照すると、まず、パラメータである半径をゼロに初期化し(ステップS901)、現在の半径の円周上にN1個(図1の例では6個)の非ゼロ周波数成分があるか否かについて判断する(ステップS902)。   That is, referring to FIG. 12, first, the radius as a parameter is initialized to zero (step S901), and there are N1 (6 in the example of FIG. 1) non-zero frequency components on the circumference of the current radius. Whether or not (step S902).

ステップS902においては、以下のようなことをする。すなわち、図1の例では、円周を16個に等分割する角度毎に現在の半径の円上にウィンドウを設け、全周波数成分をそのウィンドウを通した後にしきい値を超える振幅の非ゼロ周波数成分がN1個検出できるか否かをウィンドウの角度をずらしながらみていく。検出できた場合には、そのN1個の非ゼロ周波数成分が検出しようとしている非ゼロ周波数成分である。   In step S902, the following is performed. That is, in the example of FIG. 1, a window is provided on a circle of the current radius for each angle that equally divides the circumference into 16 parts, and the non-zero amplitude exceeding the threshold value after passing all frequency components through the window. Whether or not N1 frequency components can be detected is examined while shifting the window angle. If it can be detected, the N1 non-zero frequency components are non-zero frequency components to be detected.

無ければ(ステップS902でNO)、半径を周波数領域における単位長さΔRだけ増加させ(ステップS903)、ステップS902に戻る。   If not (NO in step S902), the radius is increased by the unit length ΔR in the frequency domain (step S903), and the process returns to step S902.

あれば(ステップS902でYES)、現在の半径の円上に分布する回転角度を検出するための各非ゼロ周波数成分の周波数領域における極座標でみた角度を検出する(ステップS904)。   If there is (YES in step S902), the angle of each non-zero frequency component for detecting the rotation angle distributed on the circle of the current radius is detected in polar coordinates in the frequency domain (step S904).

図12には示していないが、半径が最大半径になってもN1個の非ゼロ周波数成分が検出できない場合には、ウィンドウの半径方向の幅を広げてステップS902及びステップS903を繰り返す。それでもどの半径でもN1個の非ゼロ周波数成分が検出できない場合には、ウィンドウの半径方向の幅を戻した上で上記しきい値を下げて、ステップS902及びS903を繰り返す。それでもどの半径でもN1個の非ゼロ周波数成分が検出できない場合には、再度ウィンドウの半径方向の幅を広げてステップS902及びS903を繰り返す。以下同様なことを繰り返す。   Although not shown in FIG. 12, if N1 non-zero frequency components cannot be detected even when the radius reaches the maximum radius, the width of the window in the radial direction is increased and Steps S902 and S903 are repeated. If N1 non-zero frequency components cannot be detected at any radius, the threshold value is lowered after returning the radial width of the window, and steps S902 and S903 are repeated. If N1 non-zero frequency components cannot be detected at any radius, the width of the window in the radial direction is expanded again and steps S902 and S903 are repeated. The same is repeated thereafter.

また、ステップS259では、外円601に分布するデータを表す各非ゼロ周波数成分の周波数領域における極座標でみた角度を検出する必要があるが、そのためには以下の方法を用いる。   In step S259, it is necessary to detect the angle of each non-zero frequency component representing the data distributed in the outer circle 601 in the frequency domain in the frequency domain. For this purpose, the following method is used.

すなわち、図13を参照すると、まず、ステップ258で検出した回転角度により全ての周波数成分の振幅の位置を補正する(ステップS921)。   That is, referring to FIG. 13, first, the amplitude positions of all frequency components are corrected based on the rotation angle detected in step 258 (step S921).

次に、パラメータである半径をステップ257で検出した内円の半径に初期化し(ステップS922)、現在の半径の円周上にN2個(図1の例では10個)の非ゼロ周波数成分があるか否かについて判断する(ステップS923)。   Next, the parameter radius is initialized to the radius of the inner circle detected in step 257 (step S922), and N2 (10 in the example of FIG. 1) non-zero frequency components are present on the circumference of the current radius. It is determined whether or not there is (step S923).

ステップS923においては、以下のようなことをする。すなわち、図1に示す例であれば、現在の半径の円上のデータを表す非ゼロ周波数成分が存在する可能性がある20の点に所定の広さを有するウィンドウを設け、全周波数成分をそのウィンドウを通した後にしきい値を超える振幅の非ゼロ周波数成分が10個検出できるか否かをみていく。検出できた場合には、その10個の非ゼロ周波数成分が検出しようとしている非ゼロ周波数成分である。   In step S923, the following is performed. That is, in the example shown in FIG. 1, a window having a predetermined width is provided at 20 points where there may be non-zero frequency components representing data on a circle of the current radius, and all frequency components are It is checked whether 10 non-zero frequency components having an amplitude exceeding the threshold value can be detected after passing through the window. If it can be detected, the 10 non-zero frequency components are non-zero frequency components to be detected.

無ければ(ステップS923でNO)、半径を周波数領域における単位長さΔRだけ増加させ(ステップS924)、ステップS923に戻る。   If not (NO in step S923), the radius is increased by the unit length ΔR in the frequency domain (step S924), and the process returns to step S923.

あれば(ステップS923でYES)、以下の方法により第jデータを検出する(ステップS925)。すなわち、現在の半径の円上に分布するデータを表す各非ゼロ周波数成分の周波数領域における極座標でみた角度を検出する。そして、非ゼロ周波数成分の分布により非ゼロ周波数成分が表すデータの値を求める。そして、ステップS257で検出した番号jに従って、そのデータを第jデータとする。   If there is (YES in step S923), the j-th data is detected by the following method (step S925). That is, the angle of each non-zero frequency component representing the data distributed on the circle with the current radius in the frequency domain is detected. Then, the value of the data represented by the non-zero frequency component is obtained from the distribution of the non-zero frequency component. Then, according to the number j detected in step S257, the data is set as jth data.

図13には示していないが、半径が最大半径になっても10個の非ゼロ周波数成分が検出できない場合には、ウィンドウの半径方向の幅を広げてステップS923及びステップS924を繰り返す。それでもどの半径でも10個の非ゼロ周波数成分が検出できない場合には、ウィンドウの半径方向の幅を戻した上で上記しきい値を下げて、ステップS923及びS924を繰り返す。それでもどの半径でも10個の非ゼロ周波数成分が検出できない場合には、再度ウィンドウの半径方向の幅を広げてステップS923及びS924を繰り返す。以下同様なことを繰り返す。   Although not shown in FIG. 13, when ten non-zero frequency components cannot be detected even when the radius reaches the maximum radius, the width of the window in the radial direction is widened, and Steps S923 and S924 are repeated. If 10 non-zero frequency components cannot be detected at any radius, the threshold value is lowered after returning the radial width of the window, and steps S923 and S924 are repeated. If 10 non-zero frequency components cannot be detected at any radius, the width of the window in the radial direction is increased again and steps S923 and S924 are repeated. The same is repeated thereafter.

図14は、図3を参照して説明した検出方法(データ4分割・回転角度検出用電子透かし4分割・検出時4分割)を行うための電子透かし検出装置の構成を示すブロック図である。   FIG. 14 is a block diagram showing a configuration of a digital watermark detection apparatus for performing the detection method (data 4-division / rotation angle detection digital watermark 4-division / detection 4-division) described with reference to FIG.

図14を参照すると、この電子透かし検出装置は、空間フィルタ201、ブロック化部202、離散フーリエ変換部203、振幅計算部204、振幅積算部205、回転角度検出・パターン番号識別部301、部分データ番号検出部302、部分データ検出部303及びデータ検出部304を備える。なお、これらの部分はハードウェアによって実現してもよいが、コンピュータをこれらの部分として機能させるためのプログラムをコンピュータが読み込んで実行することによって実現してもよい。   Referring to FIG. 14, this digital watermark detection apparatus includes a spatial filter 201, a blocking unit 202, a discrete Fourier transform unit 203, an amplitude calculation unit 204, an amplitude integration unit 205, a rotation angle detection / pattern number identification unit 301, and partial data. A number detection unit 302, a partial data detection unit 303, and a data detection unit 304 are provided. These parts may be realized by hardware, but may be realized by a computer reading and executing a program for causing the computer to function as these parts.

次に、図14に示す電子透かし検出装置により行われる電子透かし検出方法について、図14及び15を参照して説明する。   Next, a digital watermark detection method performed by the digital watermark detection apparatus shown in FIG. 14 will be described with reference to FIGS.

この電子透かし検出方法においては、まず、第1の分割画像から第4の分割画像についてステップS352乃至S360を繰り返す(ステップS351)。各繰返しにおいては以下のことを行う。   In this digital watermark detection method, first, steps S352 to S360 are repeated for the first to fourth divided images (step S351). In each iteration, do the following:

まず、カメラにより撮影した画像の青成分の現在の分割画像(k番目の分割画像)に対して空間フィルタ201を適用する(ステップS352)。この空間フィルタは、例えば、図11に示すようなタップ係数を有する。タップ係数から明らかなように、この空間フィルタは帯域通過の特性を有する。従って、画像にこの空間フィルタ201を適用することにより、原画像に起因する低周波数成分や高周波数成分を抑圧することができる。   First, the spatial filter 201 is applied to the current divided image (kth divided image) of the blue component of the image captured by the camera (step S352). This spatial filter has tap coefficients as shown in FIG. 11, for example. As is apparent from the tap coefficient, this spatial filter has a band-pass characteristic. Therefore, by applying this spatial filter 201 to the image, it is possible to suppress low frequency components and high frequency components resulting from the original image.

次に、ブロック化部202は、空間フィルタが適用された分割画像を離散フーリエ変換を行うためのサイズの1又は2以上のブロックに分割する(ステップS353)。   Next, the blocking unit 202 divides the divided image to which the spatial filter is applied into one or more blocks having a size for performing discrete Fourier transform (step S353).

次に、離散フーリエ変換部203は、各ブロックの画像に対して離散フーリエ変換を行い、周波数成分を得る(ステップS354)。   Next, the discrete Fourier transform unit 203 performs a discrete Fourier transform on the image of each block to obtain a frequency component (step S354).

次に、振幅計算部204は、各ブロックの各周波数成分の振幅を求める(ステップS355)。   Next, the amplitude calculation unit 204 obtains the amplitude of each frequency component of each block (step S355).

次に、振幅積算部205は、分割画像に含まれるブロックの間で同一の周波数の周波数成分を積算することにより、分割画像についての各周波数成分の積算振幅を得る(ステップS356)。   Next, the amplitude integrating unit 205 obtains an integrated amplitude of each frequency component for the divided image by integrating frequency components having the same frequency among the blocks included in the divided image (step S356).

次に、回転角度検出・パターン番号識別部301は、各周波数成分の積算振幅を入力し、図1の内円602に分布する非ゼロ周波数成分の分布の様子をみることにより、パターン番号pを識別する(ステップS357)。すなわち、図3を参照すると、重心が0度の位置の近傍と180度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は1であると判断し、重心が45度の位置の近傍と225度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は2であると判断し、重心が90度の位置の近傍と270度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は3であると判断し、重心が135度の位置の近傍と315度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は4であると判断する。   Next, the rotation angle detection / pattern number identification unit 301 inputs the integrated amplitude of each frequency component and determines the pattern number p by looking at the distribution of non-zero frequency components distributed in the inner circle 602 of FIG. Identify (step S357). That is, referring to FIG. 3, when the center of gravity is in the vicinity of the position of 0 degrees and the position of 180 degrees, it is determined that the pattern number included in the current divided image is 1, and the center of gravity is If it is in the vicinity of the 45 degree position and the 225 degree position, it is determined that the pattern number included in the current divided image is 2, and the center of gravity is in the vicinity of the 90 degree position and the 270 degree position. If it is in the vicinity of the position, it is determined that the pattern number included in the current divided image is 3. If the center of gravity is in the vicinity of the position of 135 degrees and the vicinity of the position of 315 degrees, It is determined that the pattern number included in the divided image is 4.

次に、部分データ番号検出部302は、現在の繰返し番号kと一致する分割画像の番号kと第kの分割画像を処理した時に検出されたパターン番号pとの対応関係全体を基に、現在処理している分割画像に何番目の部分データが対応するのか(すなわち、撮影分割画像番号kと部分データ番号jとの対応関係)を検出する(ステップS358)。すなわち、図3を参照すると、撮影分割画像の番号kを象限の番号であるとすると、k=1の繰返しにおいては、kとpとの対応関係が、(1、2)である場合には、kとjとの対応関係が(1、1)であることを検出し、kとpとの対応関係が、(1、3)である場合には、kとjとの対応関係が(1、4)であることを検出し、kとpとの対応関係が、(1、4)である場合には、kとjとの対応関係が(1、3)であることを検出し、kとpとの対応関係が、(1、1)である場合には、kとjとの対応関係が(1、2)であることを検出する。k=2の繰返しにおいては、kとpとの対応関係が、(2、3)である場合には、kとjとの対応関係が(2、2)であることを検出し、kとpとの対応関係が、(2、4)である場合には、kとjとの対応関係が(2、1)であることを検出し、kとpとの対応関係が、(2、1)である場合には、kとjとの対応関係が(2、4)であることを検出し、kとpとの対応関係が、(2、2)である場合には、kとjとの対応関係が(2、3)であることを検出する。k=3の繰返しにおいては、kとpとの対応関係が、(3、4)である場合には、kとjとの対応関係が(3、3)であることを検出し、kとpとの対応関係が、(3、1)である場合には、kとjとの対応関係が(3、2)であることを検出し、kとpとの対応関係が、(3、2)である場合には、kとjとの対応関係が(3、1)であることを検出し、kとpとの対応関係が、(3、3)である場合には、kとjとの対応関係が(3、4)であることを検出する。k=4の繰返しにおいては、kとpとの対応関係が、(4、1)である場合には、kとjとの対応関係が(4、4)であることを検出し、kとpとの対応関係が、(4、2)である場合には、kとjとの対応関係が(4、3)であることを検出し、kとpとの対応関係が、(4、3)である場合には、kとjとの対応関係が(4、2)であることを検出し、kとpとの対応関係が、(4、4)である場合には、kとjとの対応関係が(4、1)であることを検出する。   Next, the partial data number detection unit 302 is based on the entire correspondence between the number k of the divided image that matches the current repetition number k and the pattern number p detected when the k-th divided image is processed. It is detected what number of partial data corresponds to the divided image being processed (that is, the correspondence between the captured divided image number k and the partial data number j) (step S358). That is, referring to FIG. 3, if the number k of the captured divided image is a quadrant number, when k = 1 is repeated and the correspondence between k and p is (1, 2), If the correspondence between k and j is (1, 1), and the correspondence between k and p is (1, 3), the correspondence between k and j is ( 1 and 4), and when the correspondence between k and p is (1, 4), it is detected that the correspondence between k and j is (1, 3). If the correspondence between k and p is (1, 1), it is detected that the correspondence between k and j is (1, 2). In the repetition of k = 2, when the correspondence between k and p is (2, 3), it is detected that the correspondence between k and j is (2, 2). When the correspondence between p and (2, 4) is detected, the correspondence between k and j is detected as (2, 1), and the correspondence between k and p is (2, 1), it is detected that the correspondence between k and j is (2, 4), and when the correspondence between k and p is (2, 2), k and It is detected that the correspondence relationship with j is (2, 3). In the repetition of k = 3, when the correspondence between k and p is (3, 4), it is detected that the correspondence between k and j is (3, 3). When the correspondence relationship with p is (3, 1), it is detected that the correspondence relationship between k and j is (3, 2), and the correspondence relationship between k and p is (3, 2), it is detected that the correspondence between k and j is (3, 1), and when the correspondence between k and p is (3, 3), k and It is detected that the correspondence with j is (3, 4). In the repetition of k = 4, when the correspondence between k and p is (4, 1), it is detected that the correspondence between k and j is (4, 4). When the correspondence relationship with p is (4, 2), it is detected that the correspondence relationship between k and j is (4, 3), and the correspondence relationship between k and p is (4, 3), it is detected that the correspondence between k and j is (4, 2), and when the correspondence between k and p is (4, 4), k and It is detected that the correspondence relationship with j is (4, 1).

なお、データ2分割に対応した図10を参照して説明した方法では、回転角度検出用の非ゼロ周波数成分の重心のみから直ちに部分データの番号を検出することができた。これに対し、データ4分割に対応した当該方法では、回転角度検出用の非ゼロ周波数成分の重心のみからでは部分データの番号を検出することはできず、回転角度検出用の非ゼロ周波数成分の重心と現在処理している分割画像の象限の両者との対応関係から部分データの番号を検出することができる。   In the method described with reference to FIG. 10 corresponding to the data division into two, the number of the partial data can be detected immediately only from the center of gravity of the non-zero frequency component for detecting the rotation angle. On the other hand, in the method corresponding to the data division into 4, the number of the partial data cannot be detected only from the center of gravity of the non-zero frequency component for detecting the rotation angle. The number of partial data can be detected from the correspondence between the center of gravity and the quadrant of the currently processed divided image.

ステップS358の次に、回転角度検出用の電子透かしを基に、画像の回転角度を検出する(ステップS359)。すなわち、図3を参照すると、現在の繰返しのステップS357において回転角度検出用電子透かしのパターンがパターン1乃至4のうちのどちらであるのかを検出したので、画像が回転していない場合のその番号のパターンの角度を基準として区分内回転角度を検出する。すなわち、画像が回転していない場合のその番号のパターンの角度と検出されたパターンの角度との差を小回転角度として検出する。更に、現在の分割画像の番号kとパターン番号pとの対応関係により、画像の回転角度が0度付近であるのか、90度付近であるのか、180度付近であるのか、又は、270度付近であるのかを検出し、それに応じて、0度、90度、180度又は270度を大回転角度として検出する。そして、小回転角度と大回転角度を合わせたものを回転角度とする。   After step S358, the rotation angle of the image is detected based on the digital watermark for detecting the rotation angle (step S359). That is, referring to FIG. 3, since it is detected which of the rotation angle detection digital watermark patterns is one of patterns 1 to 4 in step S357 of the current iteration, the number when the image is not rotated The rotation angle within the section is detected based on the angle of the pattern. That is, the difference between the angle of the numbered pattern and the detected pattern angle when the image is not rotated is detected as a small rotation angle. Further, depending on the correspondence between the number k of the current divided image and the pattern number p, whether the rotation angle of the image is near 0 degrees, near 90 degrees, around 180 degrees, or around 270 degrees And 0 degrees, 90 degrees, 180 degrees, or 270 degrees is detected as a large rotation angle accordingly. A combination of the small rotation angle and the large rotation angle is defined as the rotation angle.

次に、部分データ検出部303は、当該分割画像から部分データを検出する(ステップS360)。検出方法は、図13を参照して説明した方法と同様である。この際、ステップS359で検出した回転角度をステップS921で補正角度として利用する。また、ステップS358で求めた番号jを部分データの番号として利用する。   Next, the partial data detection unit 303 detects partial data from the divided image (step S360). The detection method is the same as the method described with reference to FIG. At this time, the rotation angle detected in step S359 is used as a correction angle in step S921. Further, the number j obtained in step S358 is used as the number of partial data.

ステップS351の繰返しが終了したならば、データ検出部304は、全ての繰返しにおけるステップS360で求めた第1部分データ乃至第4部分データを基にデータを検出する(ステップS362)。   When the repetition of step S351 ends, the data detection unit 304 detects data based on the first to fourth partial data obtained in step S360 in all repetitions (step S362).

なお、空間フィルタ適用(ステップS352)、ブロック化(ステップS353)、離散フーリエ変換(ステップS354)、振幅計算(ステップS355)は、ステップS351の繰返しの内部において行う代わりにステップS351の繰返しに入る前に画像全体に対して行ってもよい。   Note that spatial filter application (step S352), blocking (step S353), discrete Fourier transform (step S354), and amplitude calculation (step S355) are not performed within the repetition of step S351, but before the repetition of step S351. Alternatively, it may be performed on the entire image.

また、図1のパターンに対して、図14に示した電子透かし検出装置及び図15を参照して説明した電子透かし検出方法を適用することもできる。   Further, the digital watermark detection apparatus shown in FIG. 14 and the digital watermark detection method described with reference to FIG. 15 can be applied to the pattern of FIG.

図16は、図4を参照して説明した検出方法(データ2分割・回転角度検出用電子透かし2分割・検出時4分割)を行うための電子透かし検出装置の構成を示すブロック図である。   FIG. 16 is a block diagram illustrating a configuration of a digital watermark detection apparatus for performing the detection method (data two-division / rotation angle detection digital watermark two-division / detection four-division) described with reference to FIG.

図16を参照すると、この電子透かし検出装置は、空間フィルタ201、ブロック化部202、離散フーリエ変換部203、振幅計算部204、振幅積算部205、回転角度検出・パターン番号識別部401、部分データ番号検出部402、振幅合算部403、部分データ検出部404及びデータ検出部405を備える。なお、これらの部分はハードウェアによって実現してもよいが、コンピュータをこれらの部分として機能させるためのプログラムをコンピュータが読み込んで実行することによって実現してもよい。   Referring to FIG. 16, this digital watermark detection apparatus includes a spatial filter 201, a blocking unit 202, a discrete Fourier transform unit 203, an amplitude calculation unit 204, an amplitude integration unit 205, a rotation angle detection / pattern number identification unit 401, partial data. A number detection unit 402, an amplitude summation unit 403, a partial data detection unit 404, and a data detection unit 405 are provided. These parts may be realized by hardware, but may be realized by a computer reading and executing a program for causing the computer to function as these parts.

次に、図16に示す電子透かし検出装置により行われる電子透かし検出方法について、図16及び17を参照して説明する。   Next, a digital watermark detection method performed by the digital watermark detection apparatus shown in FIG. 16 will be described with reference to FIGS.

この電子透かし検出方法においては、まず、第1の分割画像から第4の分割画像についてステップS452乃至S458を繰り返す(ステップS451)。各繰返しにおいては以下のことを行う。   In this digital watermark detection method, first, steps S452 to S458 are repeated for the first to fourth divided images (step S451). In each iteration, do the following:

まず、カメラにより撮影した画像の青成分の現在の分割画像(k番目の分割画像)に対して空間フィルタ201を適用する(ステップS452)。この空間フィルタは、例えば、図11に示すようなタップ係数を有する。タップ係数から明らかなように、この空間フィルタは帯域通過の特性を有する。従って、画像にこの空間フィルタ201を適用することにより、原画像に起因する低周波数成分や高周波数成分を抑圧することができる。   First, the spatial filter 201 is applied to the current divided image (kth divided image) of the blue component of the image captured by the camera (step S452). This spatial filter has tap coefficients as shown in FIG. 11, for example. As is apparent from the tap coefficient, this spatial filter has a band-pass characteristic. Therefore, by applying this spatial filter 201 to the image, it is possible to suppress low frequency components and high frequency components resulting from the original image.

次に、ブロック化部202は、空間フィルタが適用された分割画像を離散フーリエ変換を行うためのサイズの1又は2以上のブロックに分割する(ステップS453)。   Next, the blocking unit 202 divides the divided image to which the spatial filter is applied into one or more blocks having a size for performing discrete Fourier transform (step S453).

次に、離散フーリエ変換部203は、各ブロックの画像に対して離散フーリエ変換を行い、周波数成分を得る(ステップS454)。   Next, the discrete Fourier transform unit 203 performs a discrete Fourier transform on the image of each block to obtain a frequency component (step S454).

次に、振幅計算部204は、各ブロックの各周波数成分の振幅を求める(ステップS455)。   Next, the amplitude calculation unit 204 obtains the amplitude of each frequency component of each block (step S455).

次に、振幅積算部205は、分割画像に含まれるブロックの間で同一の周波数の周波数成分を積算することにより、分割画像についての各周波数成分の積算振幅を得る(ステップS456)。   Next, the amplitude integrating unit 205 obtains an integrated amplitude of each frequency component for the divided image by integrating frequency components of the same frequency among the blocks included in the divided image (step S456).

次に、回転角度検出・パターン番号識別部401は、各周波数成分の積算振幅を入力し、図1の内円602に分布する非ゼロ周波数成分の分布の様子をみることにより、パターン番号pを識別する(ステップS457)。すなわち、図4を参照すると、重心が45度の位置の近傍と225度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は1であると判断し、重心が135度の位置の近傍と315度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は2であると判断する。   Next, the rotation angle detection / pattern number identification unit 401 inputs the integrated amplitude of each frequency component and determines the pattern number p by looking at the distribution of non-zero frequency components distributed in the inner circle 602 of FIG. Identify (step S457). That is, referring to FIG. 4, when the center of gravity is in the vicinity of the position of 45 degrees and the position of 225 degrees, it is determined that the pattern number included in the current divided image is 1, and the center of gravity is If it is in the vicinity of the position of 135 degrees and the vicinity of the position of 315 degrees, it is determined that the pattern number included in the current divided image is 2.

次に、回転角度検出用の電子透かしを基に、画像の小回転角度を検出する(ステップS458)。すなわち、図4を参照すると、現在の繰返しのステップS457において回転角度検出用電子透かしのパターンがパターン1又は2のうちのどちらであるのかを検出したので、画像が回転していない場合のその番号のパターンの角度を基準として小回転角度を検出する。すなわち、画像が回転していない場合のその番号のパターンの角度と検出されたパターンの角度との差を小回転角度として検出する。   Next, the small rotation angle of the image is detected based on the digital watermark for detecting the rotation angle (step S458). That is, referring to FIG. 4, since it is detected whether the rotation angle detection digital watermark pattern is pattern 1 or 2 in step S 457 of the current repetition, the number when the image is not rotated. The small rotation angle is detected based on the angle of the pattern. That is, the difference between the angle of the numbered pattern and the detected pattern angle when the image is not rotated is detected as a small rotation angle.

ステップS451の繰返しが終了したならば、部分データ番号検出部404は、分割画像の番号kと第kの分割画像を処理した時に検出されたパターン番号pとの対応関係全体を基に、何番目の分割画像に何番目の部分データが対応するのか(すなわち、撮影分割画像番号kと部分データ番号jとの対応関係)を検出する(ステップS459)。すなわち、図4を参照すると、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(1、2、2、1)である場合には、第1の分割画像及び第4の分割画像に第1の部分データが対応し、第2の分割画像及び第3の分割画像に第2の部分データが対応し、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(2、2、1、1)である場合には、第1の分割画像及び第2の分割画像に第1の部分データが対応し、第3の分割画像及び第4の分割画像に第2の部分データが対応し、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(2、1、1、2)である場合には、第2の分割画像及び第3の分割画像に第1の部分データが対応し、第1の分割画像及び第4の分割画像に第2の部分データが対応し、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(1、1、2、2)である場合には、第3の分割画像及び第4の分割画像に第1の部分データが対応し、第1の分割画像及び第2の分割画像に第2の部分データが対応する。   When the repetition of step S451 is completed, the partial data number detection unit 404 counts what number based on the entire correspondence between the number k of the divided image and the pattern number p detected when the k-th divided image is processed. It is detected what number of partial data corresponds to the divided image (that is, the correspondence relationship between the captured divided image number k and the partial data number j) (step S459). That is, referring to FIG. 4, when the pattern number detected in the first quadrant to the pattern number detected in the fourth quadrant is (1, 2, 2, 1), the first divided image and the first The first partial data corresponds to the four divided images, the second partial data corresponds to the second divided image and the third divided image, and is detected in the pattern number to the fourth quadrant detected in the first quadrant. When the obtained pattern number is (2, 2, 1, 1), the first partial data corresponds to the first divided image and the second divided image, and the third divided image and the fourth divided image When the second partial data corresponds to the divided image and the pattern number detected in the first quadrant to the pattern number detected in the fourth quadrant is (2, 1, 1, 1, 2), The first partial data corresponds to the divided image and the third divided image, and the first divided image and the fourth divided image. When the second partial data corresponds to the image and the pattern number detected in the first quadrant to the pattern number detected in the fourth quadrant is (1, 1, 2, 2), the third division The first partial data corresponds to the image and the fourth divided image, and the second partial data corresponds to the first divided image and the second divided image.

なお、データ2分割に対応し、180度単位のカメラアングルのバリエーションに対応した図10を参照して説明した方法では、回転角度検出用の非ゼロ周波数成分の重心のみから直ちに部分データの番号を検出することができ、データ4分割に対応した図15を参照して説明した方法では、回転角度検出用の非ゼロ周波数成分の重心と現在処理している分割画像の象限の両者との対応関係から部分データの番号を検出することができたが、データ2分割に対応し、90度単位のカメラアングルのバリエーションに対応した当該方法では、回転角度検出用の非ゼロ周波数成分の重心と現在処理している分割画像の象限の両者との対応関係から部分データの番号を検出することはできず、全ての分割画像についての回転角度検出用の非ゼロ周波数成分の重心の全体からどの分割画像にどの部分データが対応しているのかを検出することができる。   Incidentally, in the method described with reference to FIG. 10 corresponding to the data division into two and corresponding to the variation of the camera angle in units of 180 degrees, the partial data number is immediately obtained from only the centroid of the non-zero frequency component for detecting the rotation angle. In the method described with reference to FIG. 15 that can be detected and corresponds to data division into 4, the correspondence between the center of gravity of the non-zero frequency component for detecting the rotation angle and the quadrant of the currently processed divided image The number of the partial data can be detected from the above, but in the method corresponding to the data division into two and corresponding to the variation of the camera angle in units of 90 degrees, the center of gravity of the non-zero frequency component for detecting the rotation angle and the current processing The number of partial data cannot be detected from the correspondence relationship between the quadrants of the divided images and the non-zero frequency for rotation angle detection for all the divided images. Which portion the data to which the divided image from the whole of the center of gravity of the component can detect whether they correspond.

次に、分割画像の番号kと第kの分割画像を処理した時に検出されたパターン番号pとの対応関係全体を基に、画像の回転角度が0度付近であるのか、90度付近であるのか、180度付近であるのか、又は、270度付近であるのかを検出し、それに応じて、0度、90度、180度又は270度を大回転角度として検出する(ステップS460)。   Next, based on the entire correspondence between the number k of the divided image and the pattern number p detected when the k-th divided image is processed, the rotation angle of the image is about 0 degrees or about 90 degrees. , Around 180 degrees, or around 270 degrees, and accordingly, 0 degree, 90 degrees, 180 degrees, or 270 degrees is detected as a large rotation angle (step S460).

次に、小回転角度と大回転角度を合わせたものを回転角度とする(ステップS461)。   Next, a combination of the small rotation angle and the large rotation angle is set as the rotation angle (step S461).

ステップS461の次に、第1の部分データから第2の部分データについてステップS463及びS464を繰り返す(ステップS462)。   Following step S461, steps S463 and S464 are repeated for the first partial data to the second partial data (step S462).

まず、現在の番号の部分データに対応する分割画像全てについての周波数毎の振幅積算値を合算する(ステップS463)。すなわち、現在の番号が1であり、且つ、回転角度が0度近傍であれば、第1の部分データに対応する第1象限及び第4象限についての周波数毎の振幅積算値を合算し、現在の番号が1であり、且つ、回転角度が90度近傍であれば、第1の部分データに対応する第1象限及び第2象限についての周波数毎の振幅積算値を合算し、現在の番号が1であり、且つ、回転角度が180度近傍であれば、第1の部分データに対応する第2象限及び第3象限についての周波数毎の振幅積算値を合算し、現在の番号が1であり、且つ、回転角度が270度近傍であれば、第1の部分データに対応する第3象限及び第4象限についての周波数毎の振幅積算値を合算する。また、現在の番号が2であり、且つ、回転角度が0度近傍であれば、第2の部分データに対応する第2象限及び第3象限についての周波数毎の振幅積算値を合算し、現在の番号が2であり、且つ、回転角度が90度近傍であれば、第2の部分データに対応する第3象限及び第4象限についての周波数毎の振幅積算値を合算し、現在の番号が2であり、且つ、回転角度が180度近傍であれば、第2の部分データに対応する第1象限及び第4象限についての周波数毎の振幅積算値を合算し、現在の番号が2であり、且つ、回転角度が270度近傍であれば、第2の部分データに対応する第1象限及び第2象限についての周波数毎の振幅積算値を合算する。   First, the integrated amplitude value for each frequency for all the divided images corresponding to the partial data of the current number is added (step S463). That is, if the current number is 1 and the rotation angle is near 0 degrees, the integrated amplitude values for each frequency for the first quadrant and the fourth quadrant corresponding to the first partial data are added together, And the rotation angle is in the vicinity of 90 degrees, the sum of the integrated amplitude values for each frequency for the first quadrant and the second quadrant corresponding to the first partial data, and the current number is 1 and if the rotation angle is around 180 degrees, the sum of the amplitude integrated values for each frequency for the second quadrant and the third quadrant corresponding to the first partial data, and the current number is 1. If the rotation angle is in the vicinity of 270 degrees, the integrated amplitude values for each frequency for the third and fourth quadrants corresponding to the first partial data are added together. Further, if the current number is 2 and the rotation angle is near 0 degrees, the sum of the amplitude integrated values for each frequency for the second quadrant and the third quadrant corresponding to the second partial data is added. 2 and the rotation angle is near 90 degrees, the sum of the amplitude integrated values for each frequency for the third quadrant and the fourth quadrant corresponding to the second partial data is added, and the current number is 2 and if the rotation angle is around 180 degrees, the sum of the integrated amplitude values for each frequency for the first quadrant and the fourth quadrant corresponding to the second partial data, and the current number is 2. If the rotation angle is in the vicinity of 270 degrees, the integrated amplitude values for each frequency for the first quadrant and the second quadrant corresponding to the second partial data are added together.

次に、部分データ検出部403は、合算した周波数の振幅から部分データを検出する(ステップS464)。検出方法は、図13を参照して説明した方法と同様である。この際、ステップS461で計算した回転角度をステップS921で補正角度として利用する。また、現在の繰返し番号jを部分データの番号として利用する。   Next, the partial data detection unit 403 detects partial data from the amplitude of the combined frequency (step S464). The detection method is the same as the method described with reference to FIG. At this time, the rotation angle calculated in step S461 is used as a correction angle in step S921. The current repetition number j is used as the partial data number.

ステップS462の繰返しが終了したならば、データ検出部405は、全ての繰返しにおけるステップS464で求めた第1部分データ乃至第2部分データを基にデータを検出する(ステップS465)。   When the repetition of step S462 is completed, the data detection unit 405 detects data based on the first partial data and the second partial data obtained in step S464 in all repetitions (step S465).

なお、空間フィルタ適用(ステップS452)、ブロック化(ステップS453)、離散フーリエ変換(ステップS454)及び振幅計算(ステップS455)は、第1の繰返しの内部において行う代わりに第1の繰返しに入る前に画像全体に対して行ってもよい。   Note that spatial filter application (step S452), blocking (step S453), discrete Fourier transform (step S454), and amplitude calculation (step S455) are performed before the first iteration instead of being performed within the first iteration. Alternatively, it may be performed on the entire image.

図18に示すように、回転角度を検出するための第1の電子透かしを左画像に挿入し、回転角度を検出するための第2の電子透かしを右画像に挿入し、第1部分データを右上画像に挿入し、第2部分データを左上画像に挿入し、第3部分データを左下画像に挿入し、第4部分データを右下画面に挿入した場合にも、図16に示す電子透かし検出装置及び図17を参照して説明した電子透かし検出方法を適用することができる。但し、この場合には、ステップS461において、1つの部分データに対応する部分画面の数は1つのみである。   As shown in FIG. 18, the first digital watermark for detecting the rotation angle is inserted into the left image, the second digital watermark for detecting the rotation angle is inserted into the right image, and the first partial data is The digital watermark detection shown in FIG. 16 is also inserted when the second partial data is inserted into the upper left image, the third partial data is inserted into the lower left image, and the fourth partial data is inserted into the lower right screen. The digital watermark detection method described with reference to the apparatus and FIG. 17 can be applied. However, in this case, the number of partial screens corresponding to one partial data is only one in step S461.

図18に示すような電子透かしを挿入する方法について図19を参照して説明する。   A method of inserting a digital watermark as shown in FIG. 18 will be described with reference to FIG.

この電子透かし挿入方法においては、第1の分割画像から第N1の分割画像についてステップS652乃至S655を繰り返す(ステップS651)。各繰返しにおいては以下のことを行う。   In this digital watermark insertion method, steps S652 to S655 are repeated for the first divided image to the N1th divided image (step S651). In each iteration, do the following:

まず、回転角度検出用パターン生成部101は、第j1の回転角度検出用パターンを生成する(ステップS652)。このパターンは、非ゼロ周波数成分より構成される。   First, the rotation angle detection pattern generation unit 101 generates a j1th rotation angle detection pattern (step S652). This pattern is composed of non-zero frequency components.

次に、逆離散フーリエ変換部105は、ステップS652で生成したパターンに対し、逆離散フーリエ変換をかけることにより、空間領域パターンを得る(ステップS653)。   Next, the inverse discrete Fourier transform unit 105 obtains a spatial domain pattern by performing inverse discrete Fourier transform on the pattern generated in step S652 (step S653).

次に、二値化部106は、ステップS653で得た空間領域パターンを二値化する(ステップS654)。すなわち、各画素について、ステップS653で得た空間領域パターンの画素値が0以上であれば、所定の値(例えば、10)とし、ステップS653で得た空間パターンの画素値が0未満であれば、所定の値(例えば−10)とする。   Next, the binarization unit 106 binarizes the space area pattern obtained in step S653 (step S654). That is, for each pixel, if the pixel value of the spatial pattern obtained in step S653 is 0 or more, a predetermined value (for example, 10) is set. If the pixel value of the spatial pattern obtained in step S653 is less than 0, , And a predetermined value (for example, −10).

次に、加算部(減算部)107は、ステップS654で二値化された空間領域パターンを原画像の黄成分の第j領域の全部又は一部のブロックに加算又は減算する(ステップS655)。なお、二値化部106が二値化を行うのは、電子透かし検出装置が電子透かしを検出することを容易にするためであり、省略してもよい。この場合には、逆離散フーリエ変換部105が出力する空間パターンを二値化せずに直接原画像の黄成分の第j領域に加算又は減算する。   Next, the adding unit (subtracting unit) 107 adds or subtracts the spatial region pattern binarized in step S654 to all or a part of blocks of the j-th region of the yellow component of the original image (step S655). Note that the binarization unit 106 performs binarization in order to facilitate detection of the digital watermark by the digital watermark detection apparatus, and may be omitted. In this case, the spatial pattern output from the inverse discrete Fourier transform unit 105 is directly added to or subtracted from the j-th region of the yellow component of the original image without being binarized.

次に、第1の分割画像から第N2の分割画像についてステップS657乃至S670を繰り返す(ステップS151)。ここで、画像をN1個に分割する場合の各分割領域と画像をN2個に分割する場合の各分割領域は一般に異なる。各繰返しにおいては以下のことを行う。   Next, Steps S657 to S670 are repeated for the first to N-th divided images (Step S151). Here, each divided region when the image is divided into N1 and each divided region when the image is divided into N2 are generally different. In each iteration, do the following:

まず、データパターン生成部103は、データ保持部102に保持されている全体データを読み込み、現在扱っているj2の値に応じて第j2のデータを求め、第j2のデータに応じて第j2のデータパターンを生成する(ステップS657)。このパターンは非ゼロ周波数成分より構成される。第j2のデータパターンが図18に示すようなものである場合には、第jのデータDjは、全体データをDとすると、
Dj=mod(D,252^(N+1−j))/252^(N−j)
により表される。
First, the data pattern generation unit 103 reads the entire data held in the data holding unit 102, obtains the j2th data according to the value of j2 currently handled, and the j2th data according to the j2th data. A data pattern is generated (step S657). This pattern is composed of non-zero frequency components. In the case where the j2nd data pattern is as shown in FIG. 18, the jth data Dj is represented by D as the whole data.
Dj = mod (D, 252 ^ (N + 1−j)) / 252 ^ (N−j)
It is represented by

次に、逆離散フーリエ変換部105は、ステップS657で生成したパターンに対し、逆離散フーリエ変換をかけることにより、空間領域パターンを得る(ステップS658)。   Next, the inverse discrete Fourier transform unit 105 obtains a spatial domain pattern by performing inverse discrete Fourier transform on the pattern generated in step S657 (step S658).

次に、二値化部106は、ステップS658で得た空間領域パターンを二値化する(ステップS659)。すなわち、各画素について、ステップS658で得た空間領域パターンの画素値が0以上であれば、所定の値(例えば、10)とし、ステップS154で得た空間パターンの画素値が0未満であれば、所定の値(例えば−10)とする。   Next, the binarization unit 106 binarizes the space area pattern obtained in step S658 (step S659). That is, for each pixel, if the pixel value of the spatial region pattern obtained in step S658 is 0 or more, a predetermined value (for example, 10) is set. If the pixel value of the spatial pattern obtained in step S154 is less than 0, , And a predetermined value (for example, −10).

次に、加算部(減算部)107は、ステップS659で二値化された空間領域パターンを原画像の黄成分の第j領域の全部又は一部のブロックに加算又は減算する(ステップS670)。なお、二値化部106が二値化を行うのは、電子透かし検出装置が電子透かしを検出することを容易にするためであり、省略してもよい。この場合には、逆離散フーリエ変換部105が出力する空間パターンを二値化せずに直接原画像の黄成分の第j領域に加算又は減算する。   Next, the adding unit (subtracting unit) 107 adds or subtracts the spatial region pattern binarized in step S659 to all or a part of blocks of the j-th region of the yellow component of the original image (step S670). Note that the binarization unit 106 performs binarization in order to facilitate detection of the digital watermark by the digital watermark detection apparatus, and may be omitted. In this case, the spatial pattern output from the inverse discrete Fourier transform unit 105 is directly added to or subtracted from the j-th region of the yellow component of the original image without being binarized.

その後、上記の方法により電子透かしが挿入された画像は印刷物に印刷される。   Thereafter, the image into which the digital watermark is inserted by the above method is printed on a printed matter.

なお、ステップS654、S655、S659及びS670を削除し、ステップS656の繰り返しの後に、画像全体に亘り回転角度検出用の電子透かしとデータ用電子透かしを足し合わせ、足し合わせの結果を画像全体に加算又は減算してもよい。加算又は減算の前に必要に応じて足し合わせの結果を二値化してもよい。   Steps S654, S655, S659, and S670 are deleted, and after repeating step S656, the rotation angle detection digital watermark and the data digital watermark are added to the entire image, and the result of the addition is added to the entire image. Or you may subtract. The addition result may be binarized as necessary before addition or subtraction.

図18に示す電子透かしは次に説明するような方法によっても検出することができる。   The digital watermark shown in FIG. 18 can also be detected by the method described below.

図20を参照すると、この電子透かし検出方法においては、まず、第1の分割画像から第4の分割画像についてステップS752乃至S758を繰り返す(ステップS751)。各繰返しにおいては以下のことを行う。   Referring to FIG. 20, in this digital watermark detection method, first, steps S752 to S758 are repeated for the first to fourth divided images (step S751). In each iteration, do the following:

まず、カメラにより撮影した画像の青成分の現在の分割画像(k番目の分割画像)に対して空間フィルタ201を適用する(ステップS752)。この空間フィルタは、例えば、図11に示すようなタップ係数を有する。タップ係数から明らかなように、この空間フィルタは帯域通過の特性を有する。従って、画像にこの空間フィルタ201を適用することにより、原画像に起因する低周波数成分や高周波数成分を抑圧することができる。   First, the spatial filter 201 is applied to the current divided image (kth divided image) of the blue component of the image captured by the camera (step S752). This spatial filter has tap coefficients as shown in FIG. 11, for example. As is apparent from the tap coefficient, this spatial filter has a band-pass characteristic. Therefore, by applying this spatial filter 201 to the image, it is possible to suppress low frequency components and high frequency components resulting from the original image.

次に、ブロック化部202は、空間フィルタが適用された分割画像を離散フーリエ変換を行うためのサイズの1又は2以上のブロックに分割する(ステップS753)。   Next, the blocking unit 202 divides the divided image to which the spatial filter is applied into one or more blocks having a size for performing discrete Fourier transform (step S753).

次に、離散フーリエ変換部203は、各ブロックの画像に対して離散フーリエ変換を行い、周波数成分を得る(ステップS754)。   Next, the discrete Fourier transform unit 203 performs a discrete Fourier transform on the image of each block to obtain a frequency component (step S754).

次に、振幅計算部204は、各ブロックの各周波数成分の振幅を求める(ステップS755)。   Next, the amplitude calculation unit 204 obtains the amplitude of each frequency component of each block (step S755).

次に、振幅積算部205は、分割画像に含まれるブロックの間で同一の周波数の周波数成分を積算することにより、分割画像についての各周波数成分の積算振幅を得る(ステップS756)。   Next, the amplitude integrating unit 205 obtains an integrated amplitude of each frequency component for the divided image by integrating the frequency components of the same frequency among the blocks included in the divided image (step S756).

次に、回転角度検出・パターン番号識別部401は、各周波数成分の積算振幅を入力し、図1の内円602に分布する非ゼロ周波数成分の分布の様子をみることにより、パターン番号pを識別する(ステップS457)。すなわち、図18を参照すると、重心が45度の位置の近傍と225度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は1であると判断し、重心が135度の位置の近傍と315度の位置の近傍にある場合には、現在の分割画像に含まれているパターン番号は2であると判断する。   Next, the rotation angle detection / pattern number identification unit 401 inputs the integrated amplitude of each frequency component and determines the pattern number p by looking at the distribution of non-zero frequency components distributed in the inner circle 602 of FIG. Identify (step S457). That is, referring to FIG. 18, when the center of gravity is in the vicinity of the position of 45 degrees and the position of 225 degrees, it is determined that the pattern number included in the current divided image is 1, and the center of gravity is If it is in the vicinity of the position of 135 degrees and the vicinity of the position of 315 degrees, it is determined that the pattern number included in the current divided image is 2.

次に、回転角度検出用の電子透かしを基に、画像の小回転角度を検出する(ステップS758)。すなわち、図18を参照すると、現在の繰返しのステップS757において回転角度検出用電子透かしのパターンがパターン1又は2のうちのどちらであるのかを検出したので、画像が回転していない場合のその番号のパターンの角度を基準として小回転角度を検出する。すなわち、画像が回転していない場合のその番号のパターンの角度と検出されたパターンの角度との差を小回転角度として検出する。   Next, the small rotation angle of the image is detected based on the digital watermark for detecting the rotation angle (step S758). That is, referring to FIG. 18, since it is detected whether the rotation angle detection digital watermark pattern is pattern 1 or 2 in the current iteration step S757, the number when the image is not rotated. The small rotation angle is detected based on the angle of the pattern. That is, the difference between the angle of the numbered pattern and the detected pattern angle when the image is not rotated is detected as a small rotation angle.

ステップS751の繰返しが終了したならば、部分データ番号検出部404は、分割画像の番号kと第kの分割画像を処理した時に検出されたパターン番号pとの対応関係全体を基に、何番目の分割画像に何番目の部分データが対応するのか(すなわち、撮影分割画像番号kと部分データ番号jとの対応関係)を検出する(ステップS759)。すなわち、図4を参照すると、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(1、2、2、1)である場合には、第1の分割画像に第1の部分データが対応し、第2の分割画像に第2の部分データが対応し、第3の分割画像に第3の部分データが対応し、第4の分割画像に第4の部分データが対応し、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(2、2、1、1)である場合には、第1の部分画像に第4の部分データが対応し、第2の部分画像に第1の部分データが対応し、第3の部分画像に第2の部分データが対応し、第4の部分画像に第3の部分データが対応し、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(2、1、1、2)である場合には、第1の分割画像に第3の部分データが対応し、第2の分割画像に第4の部分データが対応し、第3の分割画像に第1の部分データが対応し、第4の分割画像に第2の部分データが対応し、第1象限で検出されたパターン番号乃至第4象限で検出されたパターン番号が(1、1、2、2)である場合には、第1の分割画像に第4の部分データが対応し、第2の分割画像に第3の部分データが対応し、第3の分割画像に第2の部分データが対応し、第4の分割画像に第1の部分データが対応する。   When the repetition of step S751 is completed, the partial data number detection unit 404 determines what number based on the entire correspondence between the number k of the divided image and the pattern number p detected when the kth divided image is processed. It is detected what number of partial data corresponds to the divided image (that is, the correspondence relationship between the captured divided image number k and the partial data number j) (step S759). That is, referring to FIG. 4, when the pattern number detected in the first quadrant to the pattern number detected in the fourth quadrant is (1, 2, 2, 1), the first divided image includes 1 partial data corresponds, the second partial data corresponds to the second divided image, the third partial data corresponds to the third divided image, and the fourth partial data corresponds to the fourth divided image. Correspondingly, when the pattern number detected in the first quadrant to the pattern number detected in the fourth quadrant is (2, 2, 1, 1), the fourth partial data is included in the first partial image. The first partial data corresponds to the second partial image, the second partial data corresponds to the third partial image, the third partial data corresponds to the fourth partial image, The pattern number detected in the quadrant to the pattern number detected in the fourth quadrant are (2, 1, 1, 1, 2). The third partial data corresponds to the first divided image, the fourth partial data corresponds to the second divided image, the first partial data corresponds to the third divided image, and If the second partial data corresponds to the four divided images, and the pattern number detected in the first quadrant to the pattern number detected in the fourth quadrant is (1, 1, 2, 2), The fourth partial data corresponds to one divided image, the third partial data corresponds to the second divided image, the second partial data corresponds to the third divided image, and the fourth divided image corresponds to the fourth divided image. The first partial data corresponds.

次に、分割画像の番号kと第kの分割画像を処理した時に検出されたパターン番号pとの対応関係全体を基に、画像の回転角度が0度付近であるのか、90度付近であるのか、180度付近であるのか、又は、270度付近であるのかを検出し、それに応じて、0度、90度、180度又は270度を大回転角度として検出する(ステップS760)。   Next, based on the entire correspondence between the number k of the divided image and the pattern number p detected when the k-th divided image is processed, the rotation angle of the image is about 0 degrees or about 90 degrees. , Around 180 degrees, or around 270 degrees, and accordingly, 0 degree, 90 degrees, 180 degrees, or 270 degrees is detected as a large rotation angle (step S760).

次に、小回転角度と大回転角度を合わせたものを回転角度とする(ステップS761)。   Next, a combination of the small rotation angle and the large rotation angle is set as the rotation angle (step S761).

ステップS761の次に、第1の部分データから第4の部分データについてステップS763を繰り返す(ステップS462)。   After step S761, step S763 is repeated for the first to fourth partial data (step S462).

ステップS462では、部分データ検出部403は、ステップS756で求めた振幅から部分データを検出する。検出方法は、図13を参照して説明した方法と同様である。この際、ステップS761で計算した回転角度をステップS921で補正角度として利用する。また、現在の繰返し番号jを部分データの番号として利用する。   In step S462, the partial data detection unit 403 detects partial data from the amplitude obtained in step S756. The detection method is the same as the method described with reference to FIG. At this time, the rotation angle calculated in step S761 is used as a correction angle in step S921. The current repetition number j is used as the partial data number.

ステップS762の繰返しが終了したならば、データ検出部405は、全ての繰返しにおけるステップS763で求めた第1部分データ乃至第4部分データを基にデータを検出する(ステップS764)。   If the repetition of step S762 ends, the data detection unit 405 detects data based on the first to fourth partial data obtained in step S763 in all repetitions (step S764).

なお、空間フィルタ適用(ステップS752)、ブロック化(ステップS753)、離散フーリエ変換(ステップS754)及び振幅計算(ステップS755)は、第1の繰返しの内部において行う代わりに第1の繰返しに入る前に画像全体に対して行ってもよい。   Note that the spatial filter application (step S752), blocking (step S753), discrete Fourier transform (step S754), and amplitude calculation (step S755) are performed before entering the first iteration instead of being performed within the first iteration. Alternatively, it may be performed on the entire image.

図21は、図5を参照して説明した検出方法(データ検出前画像全体回転補正)を行うための電子透かし検出装置の構成を示すブロック図である。   FIG. 21 is a block diagram illustrating a configuration of a digital watermark detection apparatus for performing the detection method (the entire image pre-data detection rotation correction) described with reference to FIG.

図21を参照すると、この電子透かし検出装置は、空間フィルタ201、ブロック化部202、離散フーリエ変換部203、振幅計算部204、振幅積算部205、回転角度検出部501、回転補正部503、空間フィルタ504、ブロック化部505、離散フーリエ変換部506、振幅計算部507、振幅積算部508、部分データ検出部509及びデータ検出部510を備える。なお、これらの部分はハードウェアによって実現してもよいが、コンピュータをこれらの部分として機能させるためのプログラムをコンピュータが読み込んで実行することによって実現してもよい。   Referring to FIG. 21, this digital watermark detection apparatus includes a spatial filter 201, a blocking unit 202, a discrete Fourier transform unit 203, an amplitude calculation unit 204, an amplitude integration unit 205, a rotation angle detection unit 501, a rotation correction unit 503, a space A filter 504, a blocking unit 505, a discrete Fourier transform unit 506, an amplitude calculation unit 507, an amplitude integration unit 508, a partial data detection unit 509, and a data detection unit 510 are provided. These parts may be realized by hardware, but may be realized by a computer reading and executing a program for causing the computer to function as these parts.

次に、図21に示す電子透かし検出装置により行われる電子透かし検出方法について、図21及び22を参照して説明する。   Next, a digital watermark detection method performed by the digital watermark detection apparatus shown in FIG. 21 will be described with reference to FIGS.

まず、カメラにより撮影した画像の青成分全体に対して空間フィルタ201を適用する(ステップS551)。この空間フィルタは、例えば、図11に示すようなタップ係数を有する。タップ係数から明らかなように、この空間フィルタは帯域通過の特性を有する。従って、画像にこの空間フィルタ201を適用することにより、原画像に起因する低周波数成分や高周波数成分を抑圧することができる。   First, the spatial filter 201 is applied to the entire blue component of the image captured by the camera (step S551). This spatial filter has tap coefficients as shown in FIG. 11, for example. As is apparent from the tap coefficient, this spatial filter has a band-pass characteristic. Therefore, by applying this spatial filter 201 to the image, it is possible to suppress low frequency components and high frequency components resulting from the original image.

次に、ブロック化部202は、空間フィルタが適用された画像全体を離散フーリエ変換を行うためのサイズの1又は2以上のブロックに分割する(ステップS552)。   Next, the blocking unit 202 divides the entire image to which the spatial filter is applied into one or more blocks having a size for performing discrete Fourier transform (step S552).

次に、離散フーリエ変換部203は、各ブロックの画像に対して離散フーリエ変換を行い、周波数成分を得る(ステップS553)。   Next, the discrete Fourier transform unit 203 performs a discrete Fourier transform on the image of each block to obtain a frequency component (step S553).

次に、振幅計算部204は、各ブロックの各周波数成分の振幅を求める(ステップS554)。   Next, the amplitude calculation unit 204 obtains the amplitude of each frequency component of each block (step S554).

次に、振幅積算部205は、画像全体に含まれるブロックの間で同一の周波数の周波数成分を積算することにより、画像全体についての各周波数成分の積算振幅を得る(ステップS555)。   Next, the amplitude integrating unit 205 obtains the integrated amplitude of each frequency component for the entire image by integrating the frequency components of the same frequency among the blocks included in the entire image (step S555).

次に、回転角度検出部501は、各周波数成分の積算振幅を入力し、図1の内円602に分布する非ゼロ周波数成分の分布の様子をみることにより、画像全体の回転角度を検出する(ステップS556)。回転角度を検出するためには図12を参照して説明した方法を利用することができる。   Next, the rotation angle detection unit 501 receives the integrated amplitude of each frequency component and detects the rotation angle of the entire image by observing the distribution of the non-zero frequency components distributed in the inner circle 602 of FIG. (Step S556). In order to detect the rotation angle, the method described with reference to FIG. 12 can be used.

次に、回転補正部503は、ステップS556で検出した回転角度を利用して画像全体の回転角度を補正する(ステップS557)。   Next, the rotation correction unit 503 corrects the rotation angle of the entire image using the rotation angle detected in step S556 (step S557).

次に、第1の部分データから第Nの部分データについてステップS559乃至S564を繰り返す(ステップS558)。各繰返しにおいては以下のことを行う。   Next, steps S559 to S564 are repeated for the first partial data to the Nth partial data (step S558). In each iteration, do the following:

まず、回転補正された画像の青成分の現在の分割画像(j番目の分割画像)に対して空間フィルタ504を適用する(ステップS559)。この空間フィルタは、例えば、図11に示すようなタップ係数を有する。タップ係数から明らかなように、この空間フィルタは帯域通過の特性を有する。従って、画像にこの空間フィルタ201を適用することにより、原画像に起因する低周波数成分や高周波数成分を抑圧することができる。   First, the spatial filter 504 is applied to the current divided image (jth divided image) of the blue component of the rotation-corrected image (step S559). This spatial filter has tap coefficients as shown in FIG. 11, for example. As is apparent from the tap coefficient, this spatial filter has a band-pass characteristic. Therefore, by applying this spatial filter 201 to the image, it is possible to suppress low frequency components and high frequency components resulting from the original image.

次に、ブロック化部505は、空間フィルタが適用された分割画像を離散フーリエ変換を行うためのサイズのブロックに分割する(ステップS560)。   Next, the blocking unit 505 divides the divided image to which the spatial filter is applied into blocks having a size for performing discrete Fourier transform (step S560).

次に、離散フーリエ変換部506は、各ブロックの画像に対して離散フーリエ変換を行い、周波数成分を得る(ステップS561)。   Next, the discrete Fourier transform unit 506 performs a discrete Fourier transform on the image of each block to obtain a frequency component (step S561).

次に、振幅計算部507は、各ブロックの各周波数成分の振幅を求める(ステップS562)。   Next, the amplitude calculation unit 507 calculates the amplitude of each frequency component of each block (step S562).

次に、振幅積算部508は、分割画像に含まれるブロックの間で同一の周波数の周波数成分を積算することにより、分割画像についての各周波数成分の積算振幅を得る(ステップS563)。   Next, the amplitude integrating unit 508 obtains the integrated amplitude of each frequency component for the divided image by integrating the frequency components of the same frequency among the blocks included in the divided image (step S563).

次に、各周波数成分の積算振幅から第jの部分データを検出する(ステップS564)。第jの部分データを検出するためには、図13を参照して説明した検出方法を利用することができる。但し、既にステップS557で回転補正をしているので、ステップS921を省略する。   Next, the j-th partial data is detected from the integrated amplitude of each frequency component (step S564). In order to detect the j-th partial data, the detection method described with reference to FIG. 13 can be used. However, since the rotation correction has already been performed in step S557, step S921 is omitted.

ステップS558の繰返しが終了したならば、各繰返しのステップS564で検出した第1部分データ乃至第N部分データを基に全体データを検出する(ステップS565)。   When the repetition of step S558 is completed, the entire data is detected based on the first to Nth partial data detected in step S564 of each repetition (step S565).

本発明は、印刷物に印刷される画像に電子透かしを挿入し、その画像をカメラ等で撮影し、撮影された画像から電子透かしを検出することにより、電子透かしに対応するデータを取得するために利用することができる。   In order to obtain data corresponding to a digital watermark by inserting a digital watermark into an image printed on a printed material, photographing the image with a camera or the like, and detecting the digital watermark from the captured image Can be used.

本発明の実施形態で利用するデータ2分割の場合の電子透かしを示す図である。It is a figure which shows the digital watermark in the case of the data 2 division | segmentation utilized by embodiment of this invention. 本発明の実施形態で利用するデータ2分割・回転角度検出用電子透かし2分割・検出時2分割の場合の印刷画像と撮影画像における電子透かしを示す図である。It is a figure which shows the digital watermark in the printed image and picked-up image in the case of the data 2 division | segmentation and the electronic watermark 2 division | segmentation at the time of a detection, and 2 division | segmentation at the time of detection utilized in embodiment of this invention. 本発明の実施形態で利用するデータ4分割・回転角度検出用電子透かし4分割・検出時4分割の場合の印刷画像と撮影画像における電子透かしを示す図である。FIG. 4 is a diagram illustrating a digital image in a print image and a captured image in the case of data division into four and digital watermark for rotation angle detection and division into four at detection used in the embodiment of the present invention. 本発明の実施形態で利用するデータ2分割・回転角度検出用電子透かし2分割・検出時4分割の場合の印刷画像と撮影画像における電子透かしを示す図である。FIG. 5 is a diagram illustrating a digital image in a print image and a captured image in the case of data division into two and digital watermark for rotation angle detection divided into two and four divisions at the time of detection used in the embodiment of the present invention. 本発明の実施形態で利用するデータ検出前画像全体回転補正の場合の印刷画像における電子透かしを示す図である。It is a figure which shows the digital watermark in the printing image in the case of the whole image pre-data detection rotation correction utilized in embodiment of this invention. 本発明の実施形態による電子透かし挿入装置の構成を示すブロック図である。It is a block diagram which shows the structure of the digital watermark insertion apparatus by embodiment of this invention. 本発明の実施形態による電子透かし挿入方法を示すフローチャートである。5 is a flowchart illustrating a digital watermark insertion method according to an embodiment of the present invention. 本発明の他の実施形態による電子透かし挿入方法を示すフローチャートである。6 is a flowchart illustrating a digital watermark insertion method according to another embodiment of the present invention. 本発明のデータ2分割・回転角度検出用電子透かし2分割・検出時2分割の場合の実施形態による電子透かし検出装置の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a digital watermark detection apparatus according to an embodiment in the case of data division into two and digital watermark division into two for rotation angle detection and division into two at detection according to the present invention; 本発明のデータ2分割・回転角度検出用電子透かし2分割・検出時2分割の場合の実施形態による電子透かし検出方法を示すフローチャートである。6 is a flowchart illustrating a digital watermark detection method according to an embodiment of the present invention when data is divided into two parts / digital watermark for rotation angle detection is divided into two parts and divided into two at the time of detection. 本発明の実施形態で利用する空間フィルタのタップ係数を示す図である。It is a figure which shows the tap coefficient of the spatial filter utilized in embodiment of this invention. 本発明の実施形態による回転角度検出用電子透かしを検出する方法を示すフローチャートである。3 is a flowchart illustrating a method for detecting a rotation angle detection digital watermark according to an embodiment of the present invention; 本発明の実施形態によるデータを表す電子透かしを検出する方法を示すフローチャートである。4 is a flowchart illustrating a method for detecting a digital watermark representing data according to an embodiment of the present invention. 本発明のデータ4分割・回転角度検出用電子透かし4分割・検出時4分割の場合の実施形態による電子透かし検出装置の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a digital watermark detection apparatus according to an embodiment in the case of data division into four and digital watermark division into four for rotation angle detection and division into four at detection according to the present invention; 本発明のデータ4分割・回転角度検出用電子透かし4分割・検出時4分割の場合の実施形態による電子透かし検出方法を示すフローチャートである。4 is a flowchart illustrating a digital watermark detection method according to an embodiment of the present invention in the case of data division into four / digital watermark for rotation angle detection and division into four at detection. 本発明のデータ2分割・回転角度検出用電子透かし2分割・検出時4分割の場合の実施形態による電子透かし検出装置の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a digital watermark detection apparatus according to an embodiment in the case of data division into two and digital watermark division into two for detection of rotation angle and division into four at detection according to the present invention; 本発明のデータ2分割・回転角度検出用電子透かし2分割・検出時4分割の場合の実施形態による電子透かし検出方法を示すフローチャートである。It is a flowchart which shows the digital watermark detection method by embodiment in the case of the data 2 division | segmentation and the digital watermark 2 division | segmentation at the time of detection of this invention, and 4 division | segmentation at the time of a detection. 本発明のデータ4分割・回転角度検出用電子透かし2分割・検出時4分割の場合の印刷画像と撮影画像における電子透かしを示す図である。FIG. 4 is a diagram illustrating a digital image in a print image and a photographed image in the case of data division into four / digital watermark for rotation angle detection according to the present invention and division into two when detection is performed. 本発明の更に他の実施形態による電子透かし挿入方法を示すフローチャートである。10 is a flowchart illustrating a digital watermark insertion method according to still another embodiment of the present invention. 本発明のデータ4分割・回転角度検出用電子透かし2分割・検出時4分割の場合の実施形態による電子透かし検出方法を示すフローチャートである。4 is a flowchart illustrating a digital watermark detection method according to an embodiment of the present invention when data is divided into four and a digital watermark for rotation angle detection is divided into two and divided into four at the time of detection. 本発明のデータ検出前画像全体回転補正の場合の実施形態による電子透かし検出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the digital watermark detection apparatus by embodiment in the case of the whole image rotation correction before data detection of this invention. 本発明のデータ検出前画像全体回転補正の場合の実施形態による電子透かし検出方法を示すフローチャートである。It is a flowchart which shows the digital watermark detection method by embodiment in the case of the whole image rotation correction before data detection of this invention.

符号の説明Explanation of symbols

101 回転角度検出用パターン生成部
102 データ保持部
103 データパターン生成部
104 合成部
105 逆離散フーリエ変換部
106 二値化部
107 加算部(減算部)
201 空間フィルタ
202 ブロック化部
203 離散フーリエ変換部
204 振幅計算部
205 振幅積算部
206 回転角度検出・領域番号識別部
207 部分データ検出部
208 データ検出部
301 回転角度検出・パターン番号識別部
302 部分データ番号検出部
303 部分データ検出部
304 データ検出部
401 回転角度検出・パターン番号識別部
402 部分データ番号検出部
403 振幅合算部
404 部分データ検出部
405 データ検出部
501 回転角度検出部
503 回転補正部
504 空間フィルタ
505 ブロック化部
506 離散フーリエ変換部
507 振幅計算部
508 振幅積算部
509 部分データ検出部
510 データ検出部
DESCRIPTION OF SYMBOLS 101 Rotation angle detection pattern generation part 102 Data holding part 103 Data pattern generation part 104 Synthesis | combination part 105 Inverse discrete Fourier transform part 106 Binarization part 107 Addition part (subtraction part)
201 Spatial Filter 202 Blocking Unit 203 Discrete Fourier Transform Unit 204 Amplitude Calculation Unit 205 Amplitude Integration Unit 206 Rotation Angle Detection / Region Number Identification Unit 207 Partial Data Detection Unit 208 Data Detection Unit 301 Rotation Angle Detection / Pattern Number Identification Unit 302 Partial Data Number detection unit 303 Partial data detection unit 304 Data detection unit 401 Rotation angle detection / pattern number identification unit 402 Partial data number detection unit 403 Amplitude summation unit 404 Partial data detection unit 405 Data detection unit 501 Rotation angle detection unit 503 Rotation correction unit 504 Spatial filter 505 Blocking unit 506 Discrete Fourier transform unit 507 Amplitude calculation unit 508 Amplitude integration unit 509 Partial data detection unit 510 Data detection unit

Claims (19)

周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j(j=1、2、・・・、N)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成するサブステップと、
前記周波数領域において、画像の回転角度を検出し、前記画像の第j領域を識別するための非ゼロ周波数成分を生成するサブステップと、
生成された前記非ゼロ周波数成分を合わせて前記周波数領域から空間領域に変換するサブステップと、
原画像の第j領域の全部又は一部のブロックに前記変換により得た画像を加算又は減算するサブステップと、
をN個のjについて繰り返すステップを備えることを特徴とする電子透かし挿入方法。
Of the first predetermined number of candidate positions arranged on a circle in the frequency domain, the positions are combined with each other by the j-th data (j = 1, 2,..., N) to be inserted, and Generating a non-zero frequency component in a second predetermined number less than a predetermined number of 1;
Detecting a rotation angle of the image in the frequency domain and generating a non-zero frequency component for identifying the jth region of the image;
A sub-step of combining the generated non-zero frequency components into a spatial domain from the frequency domain;
A sub-step of adding or subtracting the image obtained by the conversion to all or a part of blocks of the j-th region of the original image;
A method for inserting a digital watermark, comprising: repeating N for N j.
周波数領域において、画像の回転角度を検出し、前記画像の第j1(j1=1、2、・・・、N1)領域を識別するための非ゼロ周波数成分を生成する第1生成サブステップと、
該第1生成サブステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第1変換サブステップと、
原画像の第j1領域の全部又は一部のブロックに前記第1変換サブステップで得た画像を加算又は減算するサブステップと、
をN1個のj1について繰り返すステップと、
前記周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j2(j2=1、2、・・・、N2)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成する第2生成サブステップと、
該第2生成サブステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第2変換サブステップと、
前記原画像の第j2領域の全部又は一部のブロックに前記第2変換サブステップで得た画像を加算又は減算するサブステップと、
をN2個のj2について繰り返すステップと、
を備えることを特徴とする電子透かし挿入方法。
A first generation sub-step for detecting a rotation angle of the image in the frequency domain and generating a non-zero frequency component for identifying the j1 (j1 = 1, 2,..., N1) region of the image;
A first transformation substep for transforming the non-zero frequency component generated in the first generation substep from the frequency domain to a spatial domain;
A substep of adding or subtracting the image obtained in the first conversion substep to all or a part of blocks of the j1 region of the original image;
Repeating for N1 j1s;
In the frequency domain, among the first predetermined number of candidate positions arranged on a circle, the positions are combined with each other by j2th data (j2 = 1, 2,..., N2) to be inserted, A second generation sub-step for generating a non-zero frequency component in a second predetermined number less than the first predetermined number;
A second transformation substep for transforming the non-zero frequency component generated in the second generation substep from the frequency domain to a spatial domain;
A sub-step of adding or subtracting the image obtained in the second conversion sub-step to all or a part of the blocks of the j2 region of the original image;
Repeating for N2 j2s;
An electronic watermark insertion method comprising:
周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j(j=1、2、・・・、N)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成する第1生成サブステップと、
前記第1生成サブステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第1変換サブステップと、
原画像の第j領域の全部又は一部のブロックに前記第1変換サブステップで得た画像を加算又は減算するサブステップと、
をN個のjについて繰り返すステップと、
前記周波数領域において、画像の回転角度を検出するための非ゼロ周波数成分を生成する第2生成ステップと、
前記第2生成ステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第2変換ステップと、
原画像の全部又は一部のブロックに前記第2変換ステップで得た画像を加算又は減算するステップと、
を備えることを特徴とする電子透かし挿入方法。
Of the first predetermined number of candidate positions arranged on a circle in the frequency domain, the positions are combined with each other by the j-th data (j = 1, 2,..., N) to be inserted, and A first generation sub-step for generating non-zero frequency components in a second predetermined number less than a predetermined number of 1;
A first transformation substep for transforming the non-zero frequency component generated in the first generation substep from the frequency domain to a spatial domain;
A sub-step of adding or subtracting the image obtained in the first conversion sub-step to all or a part of blocks of the j-th region of the original image;
Repeating for N j;
A second generation step of generating a non-zero frequency component for detecting an image rotation angle in the frequency domain;
A second transforming step for transforming the non-zero frequency component generated in the second generating step from the frequency domain to a spatial domain;
Adding or subtracting the image obtained in the second conversion step to all or a part of the blocks of the original image;
An electronic watermark insertion method comprising:
請求項1乃至3の何れか1項に記載の電子透かし挿入方法により生成された画像が印刷された印刷物。   A printed matter on which an image generated by the digital watermark insertion method according to claim 1 is printed. 画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の回転角度を検出し、前記画像の第j領域を識別するサブステップと、
前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、
をN個のkについて繰り返すステップと、
N個の第jのデータ及び順位jを基にデータを復元するステップと、
を備えることを特徴とする電子透かし検出方法。
A sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., N) region of the image;
Sub-step of transforming the data of the one or more image blocks from a spatial domain to a frequency domain;
A sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks;
A non-zero frequency for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain and identifying the jth (j = 1, 2,... N) region of the image. Detecting a rotation angle of the image by detecting a position of a component and identifying a j-th region of the image;
Any one of a second predetermined number smaller than the first predetermined number among the first predetermined number of positions on the circumference in the frequency domain and the rotation angle detected as a rotation reference. A sub-step for detecting for each circle of different radii whether there is a non-zero frequency component at the position of
Detecting a j-th data inserted in the image based on a combination of positions of the non-zero frequency components detected to be at any one of the second predetermined number of positions;
Repeating for N k;
Restoring the data based on the N jth data and the rank j;
An electronic watermark detection method comprising:
画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出し、該検出された非ゼロ周波数成分の位置及び領域番号kを基に、データ番号jを検出するサブステップと、
検出された前記非ゼロ周波数成分の位置を基に画像の回転角度を検出するサブステップと、
前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、
をN個のkについて繰り返すステップと、
N個の第jのデータを基にデータを復元するステップと、
を備えることを特徴とする電子透かし検出方法。
A sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., N) region of the image;
Sub-step of transforming the data of the one or more image blocks from a spatial domain to a frequency domain;
A sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks;
A non-zero frequency for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain and identifying the jth (j = 1, 2,... N) region of the image. A sub-step of detecting the position of the component and detecting the data number j based on the position of the detected non-zero frequency component and the region number k;
A sub-step of detecting a rotation angle of the image based on the detected position of the non-zero frequency component;
Any one of a second predetermined number smaller than the first predetermined number among the first predetermined number of positions on the circumference in the frequency domain and the rotation angle detected as a rotation reference. A sub-step for detecting for each circle of different radii whether there is a non-zero frequency component at the position of
Detecting a j-th data inserted in the image based on a combination of positions of the non-zero frequency components detected to be at any one of the second predetermined number of positions;
Repeating for N k;
Restoring the data based on the N jth data;
An electronic watermark detection method comprising:
画像の第k(k=1、2、・・・、M×N)領域より1以上の画像ブロックを得るサブステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の小回転角度を検出するサブステップと、
をM×N個のkについて繰り返すステップと、
前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・、N)領域を識別するための非ゼロ周波数成分のM×N個のkに亘る分布に従って、jとkとの対応関係及び大回転角度を求めるステップと、
前記小回転角度及び前記大回転角度を基に画像の回転角度を求めるステップと、
jの値が等しいM個の領域の間で各周波数成分の振幅を足し合わせるステップと、
jの値が等しいM個の領域毎に、足し合わされた各周波数成分の振幅を基に、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するステップと、
jの値が等しいM個の領域毎に、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するステップと、
N個の第jのデータ及び順位jを基にデータを復元するステップと、
を備えることを特徴とする電子透かし検出方法。
A sub-step of obtaining one or more image blocks from a k-th (k = 1, 2,..., M × N) region of the image;
Sub-step of transforming the data of the one or more image blocks from a spatial domain to a frequency domain;
A sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks;
A non-zero frequency for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain and identifying the jth (j = 1, 2,... N) region of the image. A sub-step of detecting a small rotation angle of the image by detecting a position of the component;
Repeating for M × N k;
According to the distribution over M × N k of non-zero frequency components for detecting the rotation angle of the image and identifying the j th (j = 1, 2,..., N) region of the image. Obtaining the correspondence between k and k and a large rotation angle;
Obtaining a rotation angle of the image based on the small rotation angle and the large rotation angle;
adding the amplitude of each frequency component between M regions having the same value of j;
For each of the M regions having the same value of j, the rotation angle detected at the first predetermined number of positions on the circumference in the frequency region based on the amplitudes of the frequency components added together. Detecting for each circle of different radii whether there is a non-zero frequency component at any of a second predetermined number less than the first predetermined number of rotation references;
Inserted into the image based on a combination of the positions of the non-zero frequency components detected to be in any one of the second predetermined number of positions for every M areas having the same value of j Detecting the jth data;
Restoring the data based on the N jth data and the rank j;
An electronic watermark detection method comprising:
画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第s(s=1、2、・・・N/M)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の小回転角度を検出するサブステップと、
をN個のkについて繰り返すステップと、
前記画像の回転角度を検出し、前記画像の第s(s=1、2、・・・、N)領域を識別するための非ゼロ周波数成分のN個のkに亘る分布に従って、kとのデータ番号jとの対応関係及び大回転角度を求めるステップと、
前記小回転角度及び前記大回転角度を基に画像の回転角度を求めるステップと、
各周波数成分の振幅を基に、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、
をN個のkについて繰り返すステップと、
N個の第jのデータ及び順位jを基にデータを復元するステップと、
を備えることを特徴とする電子透かし検出方法。
A sub-step of obtaining one or more image blocks from the k-th (k = 1, 2,..., N) region of the image;
Sub-step of transforming the data of the one or more image blocks from a spatial domain to a frequency domain;
A sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks;
In the frequency domain, a rotation angle of the image is detected on the basis of the amplitude of each frequency component, and a non-sigma for identifying the sth (s = 1, 2,... N / M) region of the image. A sub-step of detecting a small rotation angle of the image by detecting a position of a zero frequency component;
Repeating for N k;
K according to the distribution over N k of non-zero frequency components for detecting the rotation angle of the image and identifying the s th (s = 1, 2,..., N) region of the image. Obtaining a correspondence with the data number j and a large rotation angle;
Obtaining a rotation angle of the image based on the small rotation angle and the large rotation angle;
Based on the amplitude of each frequency component, in the frequency domain, a first predetermined number of positions on the circumference, and the rotation angle detected above the first predetermined number out of the rotation angles detected as rotation references. A sub-step for detecting, for each circle of different radii, whether there is a non-zero frequency component at any of a small second predetermined number of positions;
Detecting a j-th data inserted in the image based on a combination of positions of the non-zero frequency components detected to be at any one of the second predetermined number of positions;
Repeating for N k;
Restoring the data based on the N jth data and the rank j;
An electronic watermark detection method comprising:
画像より1以上の画像ブロックを得るステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出するための非ゼロ周波数成分の位置を検出することにより前記画像の回転角度を検出するステップと、
前記回転角度により前記画像の回転角度を補正するステップと、
を備え、更に、
回転角度が補正された画像の第j(j=1、2、・・・、N)領域より1以上の画像ブロックを得るサブステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するサブステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るサブステップと、
前記周波数領域において、円周上の第1の所定数の位置のうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するサブステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するサブステップと、
をN個のjについて繰り返すステップと、
N個の第jのデータ及び順位jを基にデータを復元するステップと、
を備えることを特徴とする電子透かし検出方法。
Obtaining one or more image blocks from the image;
Converting the data of the one or more image blocks from a spatial domain to a frequency domain;
Obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
Detecting the rotation angle of the image by detecting the position of a non-zero frequency component for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain; and
Correcting the rotation angle of the image by the rotation angle;
In addition,
A sub-step of obtaining one or more image blocks from the j-th (j = 1, 2,..., N) region of the image whose rotation angle is corrected;
Sub-step of transforming the data of the one or more image blocks from a spatial domain to a frequency domain;
A sub-step of obtaining an amplitude of each frequency component based on each frequency component of the one or more image blocks;
Whether or not there is a non-zero frequency component at any one of the second predetermined number smaller than the first predetermined number of the first predetermined number of positions on the circumference in the frequency domain. A substep to detect for each circle of radius;
Detecting a j-th data inserted in the image based on a combination of positions of the non-zero frequency components detected to be at any one of the second predetermined number of positions;
Repeating for N j;
Restoring the data based on the N jth data and the rank j;
An electronic watermark detection method comprising:
周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j(j=1、2、・・・、N)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成するステップと、
前記周波数領域において、画像の回転角度を検出し、前記画像の第j領域を識別するための非ゼロ周波数成分を生成するステップと、
生成された前記非ゼロ周波数成分を合わせて前記周波数領域から空間領域に変換するステップと、
原画像の第j領域の全部又は一部のブロックに前記変換により得た画像を加算又は減算するステップと、
をN個のjについて繰り返す手段を備えることを特徴とする電子透かし挿入装置。
Of the first predetermined number of candidate positions arranged on a circle in the frequency domain, the positions are combined with each other by the j-th data (j = 1, 2,..., N) to be inserted, and Generating non-zero frequency components in a second predetermined number less than a predetermined number of ones;
Detecting a rotation angle of the image in the frequency domain and generating a non-zero frequency component for identifying the jth region of the image;
Combining the generated non-zero frequency components from the frequency domain to the spatial domain;
Adding or subtracting the image obtained by the conversion to all or a part of the blocks of the jth region of the original image;
A digital watermark insertion apparatus comprising means for repeating N for j.
周波数領域において、画像の回転角度を検出し、前記画像の第j1(j1=1、2、・・・、N1)領域を識別するための非ゼロ周波数成分を生成する第1生成ステップと、
該第1生成ステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第1変換ステップと、
原画像の第j1領域の全部又は一部のブロックに前記第1変換ステップで得た画像を加算又は減算するステップと、
をN1個のj1について繰り返す手段と、
前記周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j2(j2=1、2、・・・、N2)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成する第2生成ステップと、
該第2生成ステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する第2変換ステップと、
前記原画像の第j2領域の全部又は一部のブロックに前記第2変換ステップで得た画像を加算又は減算するステップと、
をN2個のj2について繰り返す手段と、
を備えることを特徴とする電子透かし挿入装置。
A first generation step of detecting a rotation angle of the image in the frequency domain and generating a non-zero frequency component for identifying the j1 (j1 = 1, 2,..., N1) region of the image;
A first conversion step of converting the non-zero frequency component generated in the first generation step from the frequency domain to a spatial domain;
Adding or subtracting the image obtained in the first conversion step to all or a part of blocks of the j1 region of the original image;
Means for repeating N1 j1s;
In the frequency domain, among the first predetermined number of candidate positions arranged on a circle, the positions are combined with each other by j2th data (j2 = 1, 2,..., N2) to be inserted, A second generation step of generating non-zero frequency components in a second predetermined number less than the first predetermined number;
A second transformation step for transforming the non-zero frequency component generated in the second generation step from the frequency domain to a spatial domain;
Adding or subtracting the image obtained in the second conversion step to all or a part of the blocks of the j2 region of the original image;
Means for repeating N2 j2s;
An electronic watermark insertion apparatus comprising:
周波数領域において、円上に並ぶ第1の所定数の候補位置のうちの挿入すべき第j(j=1、2、・・・、N)のデータにより相互に組み合わされる位置であって前記第1の所定数より少ない第2の所定数のものに非ゼロ周波数成分を生成する生成ステップと、
前記生成ステップで生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する変換ステップと、
原画像の第j領域の全部又は一部のブロックに前記変換ステップで得た画像を加算又は減算するステップと、
をN個のjについて繰り返す手段と、
前記周波数領域において、画像の回転角度を検出するための非ゼロ周波数成分を生成する生成手段と、
前記生成手段で生成された前記非ゼロ周波数成分を前記周波数領域から空間領域に変換する変換手段と、
原画像の全部又は一部のブロックに前記変換手段で得た画像を加算又は減算する手段と、
を備えることを特徴とする電子透かし挿入装置。
Of the first predetermined number of candidate positions arranged on a circle in the frequency domain, the positions are combined with each other by the j-th data (j = 1, 2,..., N) to be inserted, and Generating a non-zero frequency component for a second predetermined number less than a predetermined number of ones;
A transforming step of transforming the non-zero frequency component generated in the generating step from the frequency domain to a spatial domain;
Adding or subtracting the image obtained in the conversion step to all or a part of blocks of the j-th region of the original image;
Means for repeating for N j;
Generating means for generating a non-zero frequency component for detecting the rotation angle of the image in the frequency domain;
Transforming means for transforming the non-zero frequency component generated by the generating means from the frequency domain to a spatial domain;
Means for adding or subtracting the image obtained by the conversion means to all or a part of the blocks of the original image;
An electronic watermark insertion apparatus comprising:
画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の回転角度を検出し、前記画像の第j領域を識別するステップと、
前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するステップと、
をN個のkについて繰り返す手段と、
N個の第jのデータ及び順位jを基にデータを復元する手段と、
を備えることを特徴とする電子透かし検出装置。
Obtaining one or more image blocks from the kth (k = 1, 2,..., N) region of the image;
Converting the data of the one or more image blocks from a spatial domain to a frequency domain;
Obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
A non-zero frequency for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain and identifying the jth (j = 1, 2,... N) region of the image. Detecting a rotation angle of the image by detecting a position of a component and identifying a j-th region of the image;
Any one of a second predetermined number smaller than the first predetermined number among the first predetermined number of positions on the circumference in the frequency domain and the rotation angle detected as a rotation reference. Detecting for each circle of different radii whether there is a non-zero frequency component at the position of
Detecting the jth data inserted in the image based on a combination of the positions of the non-zero frequency components detected to be in any of the second predetermined number of positions;
Means for repeating N for k,
Means for restoring data based on the N jth data and the rank j;
An electronic watermark detection apparatus comprising:
画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出し、該検出された非ゼロ周波数成分の位置及び領域番号kを基に、データ番号jを検出するステップと、
検出された前記非ゼロ周波数成分の位置を基に画像の回転角度を検出するステップと、
前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するステップと、
をN個のkについて繰り返す手段と、
N個の第jのデータを基にデータを復元する手段と、
を備えることを特徴とする電子透かし検出装置。
Obtaining one or more image blocks from the kth (k = 1, 2,..., N) region of the image;
Converting the data of the one or more image blocks from a spatial domain to a frequency domain;
Obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
A non-zero frequency for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain and identifying the jth (j = 1, 2,... N) region of the image. Detecting the position of the component and detecting the data number j based on the detected position of the non-zero frequency component and the region number k;
Detecting a rotation angle of the image based on the detected position of the non-zero frequency component;
Any one of a second predetermined number smaller than the first predetermined number among the first predetermined number of positions on the circumference in the frequency domain and the rotation angle detected as a rotation reference. Detecting for each circle of different radii whether there is a non-zero frequency component at the position of
Detecting the jth data inserted in the image based on a combination of the positions of the non-zero frequency components detected to be in any of the second predetermined number of positions;
Means for repeating N for k,
Means for restoring data based on N j-th data;
An electronic watermark detection apparatus comprising:
画像の第k(k=1、2、・・・、M×N)領域より1以上の画像ブロックを得るステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・N)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の小回転角度を検出するステップと、
をM×N個のkについて繰り返す手段と、
前記画像の回転角度を検出し、前記画像の第j(j=1、2、・・・、N)領域を識別するための非ゼロ周波数成分のM×N個のkに亘る分布に従って、jとkとの対応関係及び大回転角度を求める手段と、
前記小回転角度及び前記大回転角度を基に画像の回転角度を求める手段と、
jの値が等しいM個の領域の間で各周波数成分の振幅を足し合わせる手段と、
jの値が等しいM個の領域毎に、足し合わされた各周波数成分の振幅を基に、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出する手段と、
jの値が等しいM個の領域毎に、前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出する手段と、
N個の第jのデータ及び順位jを基にデータを復元する手段と、
を備えることを特徴とする電子透かし検出装置。
Obtaining one or more image blocks from the k-th (k = 1, 2,..., M × N) region of the image;
Converting the data of the one or more image blocks from a spatial domain to a frequency domain;
Obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
A non-zero frequency for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain and identifying the jth (j = 1, 2,... N) region of the image. Detecting a small rotation angle of the image by detecting the position of the component;
Means for repeating M × N k;
According to the distribution over M × N k of non-zero frequency components for detecting the rotation angle of the image and identifying the j th (j = 1, 2,..., N) region of the image. Means for determining the correspondence between k and k and a large rotation angle;
Means for determining a rotation angle of the image based on the small rotation angle and the large rotation angle;
means for adding the amplitude of each frequency component between M regions having the same value of j;
For each of the M regions having the same value of j, the rotation angle detected at the first predetermined number of positions on the circumference in the frequency region based on the amplitudes of the frequency components added together. Means for detecting, for each circle of different radii, whether or not there is a non-zero frequency component at any of a second predetermined number less than the first predetermined number of rotation references;
Inserted into the image based on a combination of the positions of the non-zero frequency components detected to be in any one of the second predetermined number of positions for every M areas having the same value of j Means for detecting the jth data;
Means for restoring data based on the N jth data and the rank j;
An electronic watermark detection apparatus comprising:
画像の第k(k=1、2、・・・、N)領域より1以上の画像ブロックを得るステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出し、前記画像の第s(s=1、2、・・・N/M)領域を識別するための非ゼロ周波数成分の位置を検出することにより前記画像の小回転角度を検出するステップと、
をN個のkについて繰り返す手段と、
前記画像の回転角度を検出し、前記画像の第s(s=1、2、・・・、N)領域を識別するための非ゼロ周波数成分のN個のkに亘る分布に従って、kとのデータ番号jとの対応関係及び大回転角度を求める手段と、
前記小回転角度及び前記大回転角度を基に画像の回転角度を求める手段と、
各周波数成分の振幅を基に、前記周波数領域において、円周上の第1の所定数の位置であって検出された前記回転角度を回転基準としたもののうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するステップと、
をN個のkについて繰り返す手段と、
N個の第jのデータ及び順位jを基にデータを復元する手段と、
を備えることを特徴とする電子透かし検出装置。
Obtaining one or more image blocks from the kth (k = 1, 2,..., N) region of the image;
Converting the data of the one or more image blocks from a spatial domain to a frequency domain;
Obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
In the frequency domain, a rotation angle of the image is detected on the basis of the amplitude of each frequency component, and a non-sigma for identifying the sth (s = 1, 2,... N / M) region of the image. Detecting a small rotation angle of the image by detecting a position of a zero frequency component;
Means for repeating N for k,
K according to the distribution over N k of non-zero frequency components for detecting the rotation angle of the image and identifying the s th (s = 1, 2,..., N) region of the image. Means for determining the correspondence with the data number j and the large rotation angle;
Means for determining a rotation angle of the image based on the small rotation angle and the large rotation angle;
Based on the amplitude of each frequency component, in the frequency domain, a first predetermined number of positions on the circumference, and the rotation angle detected above the first predetermined number out of the rotation angles detected as rotation references. Detecting for each circle of different radii whether there is a non-zero frequency component at any of a small second predetermined number of positions;
Detecting the jth data inserted in the image based on a combination of the positions of the non-zero frequency components detected to be in any of the second predetermined number of positions;
Means for repeating N for k,
Means for restoring data based on the N jth data and the rank j;
An electronic watermark detection apparatus comprising:
画像より1以上の画像ブロックを得る手段と、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換する手段と、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得る手段と、
前記周波数領域において、前記各周波数成分の振幅を基に、前記画像の回転角度を検出するための非ゼロ周波数成分の位置を検出することにより前記画像の回転角度を検出する手段と、
前記回転角度により前記画像の回転角度を補正する手段と、
回転角度が補正された画像の第j(j=1、2、・・・、N)領域より1以上の画像ブロックを得るステップと、
前記1以上の画像ブロックのデータを空間領域から周波数領域に変換するステップと、
前記1以上の画像ブロックの各周波数成分を基に、各周波数成分の振幅を得るステップと、
前記周波数領域において、円周上の第1の所定数の位置のうちの前記第1の所定数よりも少ない第2の所定数の何れかの位置に非ゼロ周波数成分があるか否かを異なる半径の各円毎に検出するステップと、
前記第2の所定数の何れかの位置にあることが検出された前記非ゼロ周波数成分の位置の組合せを基に、前記画像に挿入されている第jのデータを検出するステップと、
をN個のjについて繰り返す手段と、
N個の第jのデータ及び順位jを基にデータを復元する手段と、
を備えることを特徴とする電子透かし検出装置。
Means for obtaining one or more image blocks from the image;
Means for transforming the data of the one or more image blocks from a spatial domain to a frequency domain;
Means for obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
Means for detecting the rotation angle of the image by detecting the position of a non-zero frequency component for detecting the rotation angle of the image based on the amplitude of each frequency component in the frequency domain;
Means for correcting the rotation angle of the image by the rotation angle;
Obtaining one or more image blocks from the j-th (j = 1, 2,..., N) region of the image whose rotation angle is corrected;
Converting the data of the one or more image blocks from a spatial domain to a frequency domain;
Obtaining the amplitude of each frequency component based on each frequency component of the one or more image blocks;
Whether or not there is a non-zero frequency component at any one of the second predetermined number smaller than the first predetermined number of the first predetermined number of positions on the circumference in the frequency domain. Detecting for each circle of radius;
Detecting the jth data inserted in the image based on a combination of the positions of the non-zero frequency components detected to be in any of the second predetermined number of positions;
Means for repeating for N j;
Means for restoring data based on the N jth data and the rank j;
An electronic watermark detection apparatus comprising:
コンピュータに請求項1乃至3の何れか1項に記載の電子透かし挿入方法を行わせるためのプログラム。   The program for making a computer perform the electronic watermark insertion method of any one of Claims 1 thru | or 3. コンピュータに請求項5乃至9の何れか1項に記載の電子透かし検出方法を行わせるためのプログラム。   The program for making a computer perform the electronic watermark detection method of any one of Claims 5 thru | or 9.
JP2004225492A 2004-08-02 2004-08-02 Digital watermark insertion method, digital watermark insertion apparatus, digital watermark insertion program, digital watermark detection method, digital watermark detection apparatus, and digital watermark detection program Expired - Fee Related JP4270504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004225492A JP4270504B2 (en) 2004-08-02 2004-08-02 Digital watermark insertion method, digital watermark insertion apparatus, digital watermark insertion program, digital watermark detection method, digital watermark detection apparatus, and digital watermark detection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004225492A JP4270504B2 (en) 2004-08-02 2004-08-02 Digital watermark insertion method, digital watermark insertion apparatus, digital watermark insertion program, digital watermark detection method, digital watermark detection apparatus, and digital watermark detection program

Publications (2)

Publication Number Publication Date
JP2006050069A true JP2006050069A (en) 2006-02-16
JP4270504B2 JP4270504B2 (en) 2009-06-03

Family

ID=36028147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004225492A Expired - Fee Related JP4270504B2 (en) 2004-08-02 2004-08-02 Digital watermark insertion method, digital watermark insertion apparatus, digital watermark insertion program, digital watermark detection method, digital watermark detection apparatus, and digital watermark detection program

Country Status (1)

Country Link
JP (1) JP4270504B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007274398A (en) * 2006-03-31 2007-10-18 Kyodo Printing Co Ltd Information symbol encoding method and apparatus thereof, and information symbol decoding method and decoding apparatus
JP2008085780A (en) * 2006-09-28 2008-04-10 Kyodo Printing Co Ltd Electronic watermark insertion apparatus, rotation angle detector, electronic watermark detector, electronic watermark insertion method, rotation angle detection method and electronic watermark detection method
JP2008104061A (en) * 2006-10-20 2008-05-01 Kyodo Printing Co Ltd Electronic watermark insertion device, rotation angle detector, and electronic watermark detector, and electronic watermark insertion method, rotation angle detection method, and electronic watermark detection method
JP2011120268A (en) * 2011-02-07 2011-06-16 Kyodo Printing Co Ltd Method and apparatus for encoding information symbol, and method and apparatus for decoding information symbol
JP2020109902A (en) * 2019-01-04 2020-07-16 河村 尚登 Electronic watermarking device and method for electronic watermarking

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007274398A (en) * 2006-03-31 2007-10-18 Kyodo Printing Co Ltd Information symbol encoding method and apparatus thereof, and information symbol decoding method and decoding apparatus
JP4698469B2 (en) * 2006-03-31 2011-06-08 共同印刷株式会社 Information symbol encoding method and apparatus, information symbol decoding method and decoding apparatus
JP2008085780A (en) * 2006-09-28 2008-04-10 Kyodo Printing Co Ltd Electronic watermark insertion apparatus, rotation angle detector, electronic watermark detector, electronic watermark insertion method, rotation angle detection method and electronic watermark detection method
JP4697710B2 (en) * 2006-09-28 2011-06-08 共同印刷株式会社 Digital watermark insertion apparatus, rotation angle detection apparatus, digital watermark detection apparatus, digital watermark insertion method, rotation angle detection method, and digital watermark detection method
JP2008104061A (en) * 2006-10-20 2008-05-01 Kyodo Printing Co Ltd Electronic watermark insertion device, rotation angle detector, and electronic watermark detector, and electronic watermark insertion method, rotation angle detection method, and electronic watermark detection method
JP4697711B2 (en) * 2006-10-20 2011-06-08 共同印刷株式会社 Digital watermark insertion apparatus, rotation angle detection apparatus, digital watermark detection apparatus, digital watermark insertion method, rotation angle detection method, and digital watermark detection method
JP2011120268A (en) * 2011-02-07 2011-06-16 Kyodo Printing Co Ltd Method and apparatus for encoding information symbol, and method and apparatus for decoding information symbol
JP2020109902A (en) * 2019-01-04 2020-07-16 河村 尚登 Electronic watermarking device and method for electronic watermarking
JP7162216B2 (en) 2019-01-04 2022-10-28 河村 尚登 Digital watermarking device and method

Also Published As

Publication number Publication date
JP4270504B2 (en) 2009-06-03

Similar Documents

Publication Publication Date Title
Li et al. Passive detection of doctored JPEG image via block artifact grid extraction
Qi et al. A singular-value-based semi-fragile watermarking scheme for image content authentication with tamper localization
Arham et al. Multiple layer data hiding scheme based on difference expansion of quad
US8890950B2 (en) Methods and arrangements for processing image data
Atta et al. A high payload steganography mechanism based on wavelet packet transformation and neutrosophic set
JP5308062B2 (en) Method and apparatus for detecting and removing false contours
US8401224B2 (en) Hidden image signalling
JP6216516B2 (en) Digital watermark embedding method and digital watermark detection method
Sharma et al. Comprehensive analyses of image forgery detection methods from traditional to deep learning approaches: an evaluation
Lin et al. Histogram-oriented watermarking algorithm: colour image watermarking scheme robust against geometric attacks and signal processing
JP4270504B2 (en) Digital watermark insertion method, digital watermark insertion apparatus, digital watermark insertion program, digital watermark detection method, digital watermark detection apparatus, and digital watermark detection program
Kunhu et al. A reversible watermarking scheme for ownership protection and authentication of medical images
Thongkor et al. Robust image watermarking for camera-captured image using image registration technique
JP4204263B2 (en) Digital watermark insertion method and apparatus, and digital watermark detection method and apparatus
Ustubıoglu et al. Image forgery detection using colour moments
Mettripun et al. Robust image watermarking based on luminance modification
CN113393358A (en) Image processing method and system, storage medium, and computing device
Liu et al. Cost assignment based adaptive active forensics scheme for image tampers
JP4172588B2 (en) Digital watermark insertion method, digital watermark insertion apparatus, digital watermark insertion program, digital watermark detection method, digital watermark detection apparatus, and digital watermark detection program
JP4541213B2 (en) Digital watermark insertion method, digital watermark detection method, digital watermark insertion device, and digital watermark detection device
Irshad et al. CamCarv-Expose the Source Camera at the Rear of Seam Insertion
CN112767227B (en) Image watermarking method capable of resisting screen shooting
Verma et al. A hybrid model for CFA interpolation detection
JP4172587B2 (en) Digital watermark insertion method, digital watermark insertion device, digital watermark insertion program, digital watermark detection method, digital watermark detection device, digital watermark detection program, data transmission method, data transmission system, and data transmission program
Jung Block-based authentication scheme for forgery attacks on digital images

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090219

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090220

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140306

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees