JP2001053954A - Device and method for embedding information and reading information, digital watermark system and recording medium - Google Patents

Device and method for embedding information and reading information, digital watermark system and recording medium

Info

Publication number
JP2001053954A
JP2001053954A JP11230380A JP23038099A JP2001053954A JP 2001053954 A JP2001053954 A JP 2001053954A JP 11230380 A JP11230380 A JP 11230380A JP 23038099 A JP23038099 A JP 23038099A JP 2001053954 A JP2001053954 A JP 2001053954A
Authority
JP
Japan
Prior art keywords
information
sub
main
element information
main information
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.)
Pending
Application number
JP11230380A
Other languages
Japanese (ja)
Inventor
Kazuya Konishi
一也 小西
Akihiro Umemura
晃広 梅村
Osamu Iwaki
修 岩城
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.)
NTT Data Group Corp
Original Assignee
NTT Data Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Data Corp filed Critical NTT Data Corp
Priority to JP11230380A priority Critical patent/JP2001053954A/en
Publication of JP2001053954A publication Critical patent/JP2001053954A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a digital watermark system by which information is surely and easily reproduced from an image, in which information is embedded, without using a standard image even when that image is changed. SOLUTION: An element information extracting part 13 extracts the element information of a character from the image data of a document acquired by a main information input part 11. On the basis of this element information, an element information converting part 17 generates sub-information showing the size relation of rectangular areas surrounding characters in the document with minimum areas and changes the element information so that a copyright code acquired by a sub-information input part 15 can be matched with the prescribed part of the sub-information. A main information reconstituting part 18 changes image data on the basis of the changed element information and a main information output part 19 prints the document expressed by the changed image data. When the element information extracting part 13 extracts the element information from the document in which the copyright code is embedded, a sub-information reading part 20 extracts the sub-information from the extracted element information and the prescribed part of that sub-information is displayed by a sub-information output part 21 as a copyright code.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、電子透かしシス
テムに関し、特に情報を埋め込む対象が画像である電子
透かしシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital watermark system, and more particularly to a digital watermark system in which information is embedded in an image.

【0002】[0002]

【従来の技術】電子情報について、著作権主張や真贋の
確認を行う手法として、電子透かし技術を利用する手法
が考えられている。電子透かし技術とは、伝達する対象
の情報である主情報に、主情報とは別個の情報である副
情報を埋め込む技術である。電子透かし技術を用いて副
情報を埋め込まれた主情報は、副情報の存在を意識する
ことなく利用することが可能であり、また、副情報は、
それが主情報にどのような態様で埋め込まれているかを
判別されにくいという特徴がある。
2. Description of the Related Art As a method for verifying the copyright or verifying the authenticity of electronic information, a method using a digital watermark technology has been considered. The digital watermark technology is a technology for embedding sub-information, which is information separate from the main information, into main information, which is information to be transmitted. The main information embedded with the sub information using the digital watermark technology can be used without being aware of the existence of the sub information, and the sub information is
The feature is that it is difficult to determine in what form it is embedded in the main information.

【0003】電子透かし技術を利用して副情報を埋め込
む対象の主情報は、画像を表す情報であってもよい。論
文や楽譜など、文字等の可読的な符号が記述された画像
を表す文書画像の情報は、文書画像が印刷された紙など
を用いて伝達されたり、ファクシミリにより伝送された
りする。
[0003] The main information to which the sub-information is embedded using the digital watermark technique may be information representing an image. Information of a document image representing an image in which a readable code such as a character is described, such as a dissertation or a musical score, is transmitted using paper on which the document image is printed or transmitted by facsimile.

【0004】ファクシミリによる伝送が想定される画像
に対する電子透かし技術には、ファクシミリ画像の走査
線上で並ぶ同色の画素の列のラン長を変化させることに
より副情報を埋め込む手法(田中、松井:「MHファク
シミリ通信における情報の多重化」、画像電子学会誌 V
ol.18 No.1 pp.2-8に開示されている技術)があった。
A technique for embedding sub-information by changing the run length of a row of pixels of the same color arranged on a scanning line of a facsimile image includes a digital watermarking technique for an image assumed to be transmitted by facsimile (Tanaka, Matsui: "MH"). Multiplexing of Information in Facsimile Communication ", Journal of the Institute of Image Electronics Engineers of Japan V
ol.18 No.1 pp.2-8).

【0005】この技術は、白黒画像等の二値画像を複数
の走査線に分解し、走査線上に連続して並んで列をなす
同値の画素の数(ラン長)を、この画像に埋め込む対象
の情報を構成する各ビットの論理値に従って変化させる
ものである。具体的には、例えば、埋め込む対象の情報
を構成するビットの論理値が”0”である場合、走査線
上に連続して並ぶ同値の画素の列のうち、そのビットに
対応付けられた列のラン長が偶数であればラン長を画素
1個分延長し、奇数であればラン長をそのままとする。
また、該ビットの論理値が”1”である場合、該ビット
に対応付けられた列のラン長が奇数であればラン長を画
素1個分縮小し、偶数であればラン長をそのままとす
る。
In this technique, a binary image such as a black-and-white image is decomposed into a plurality of scanning lines, and the number of pixels having the same value (run length) in a row continuously arranged on the scanning lines is embedded in the image. Is changed according to the logical value of each bit constituting the information. Specifically, for example, when the logical value of a bit constituting the information to be embedded is “0”, of the columns of pixels of the same value that are continuously arranged on the scanning line, If the run length is even, the run length is extended by one pixel. If the run length is odd, the run length is left as it is.
When the logical value of the bit is "1", the run length is reduced by one pixel if the run length of the column associated with the bit is odd, and if it is even, the run length is left as it is. I do.

【0006】また、画像が文字等の符号を含む場合に利
用可能な技術としては、主情報を構成する符号の画像
を、予め定められた標準画像に対して所定量回転させる
ことにより副情報を埋め込む手法(中村、松井:「和文
書へのシール画像による電子透かし」、情報処理学会論
文誌 Vol.38 No.11 pp.2356-2361 に開示されている技
術)もあった。
As a technique that can be used when an image includes a code such as a character, an image of a code constituting main information is rotated by a predetermined amount with respect to a predetermined standard image, so that sub-information is obtained. There was also an embedding method (Nakamura, Matsui: "Digital watermarking of Japanese documents with seal images", a technology disclosed in IPSJ Transactions Vol.38 No.11 pp.2356-2361).

【0007】この技術では、例えば、埋め込む対象の情
報であるシール情報を構成するビットの論理値が”1”
である場合、主情報を構成する文字のうち該ビットに対
応付けられている文字を所定の角度だけ傾ける。該ビッ
トの論理値が”0”である場合は、該ビットに対応付け
られている文字を傾けない。
In this technique, for example, the logical value of a bit constituting the seal information as information to be embedded is "1".
, The character associated with the bit among the characters constituting the main information is inclined by a predetermined angle. When the logical value of the bit is “0”, the character associated with the bit is not tilted.

【0008】[0008]

【発明が解決しようとする課題】しかし、ラン長を変化
させる電子透かし技術の場合、副情報が埋め込まれた主
情報を表す画像がわずかに劣化しても、埋め込まれた副
情報を正常に再現することが困難となっていた。従っ
て、ファクシミリ等を用いて伝送された画像や、元の画
像のコピーから副情報を再現する場合、例えば、伝送に
用いた回線の通信品質やコピーの再現性のわずかな劣化
により、副情報の正常な再現が阻害されていた。
However, in the case of the digital watermarking technique in which the run length is changed, even if the image representing the main information in which the sub information is embedded is slightly deteriorated, the embedded sub information is normally reproduced. Was difficult to do. Therefore, when sub-information is reproduced from an image transmitted using a facsimile or a copy of the original image, for example, the communication quality of the line used for transmission or slight deterioration in the reproducibility of the copy may cause the sub-information to be reproduced. Normal reproduction was inhibited.

【0009】また、副情報が、主情報の著作権の帰属を
表す情報などである場合、副情報の確認は、誰もが容易
に行えることが必要である。しかし、符号を回転させる
手法等、画像を標準画像を基準として変化させる手法の
場合、副情報を再現するためには、予め標準画像を用意
する必要がある。このため、標準画像を基準として画像
を変化させる手法を用いた場合、標準画像を所持しない
者は副情報を再現できず、従って、副情報の確認を誰も
が容易に行えるとはいえない。
When the sub-information is information indicating the copyright of the main information, it is necessary that anyone can easily confirm the sub-information. However, in the case of a method of changing an image with reference to a standard image, such as a method of rotating a code, it is necessary to prepare a standard image in advance in order to reproduce sub-information. For this reason, when the method of changing the image with reference to the standard image is used, those who do not have the standard image cannot reproduce the sub-information, and it cannot be said that anyone can easily confirm the sub-information.

【0010】この発明は、上記実状に鑑みてなされたも
ので、情報が埋め込まれた画像が変化しても、標準画像
を用いることなくその画像から情報を確実かつ容易に再
現できる電子透かしシステムと、そのような電子透かし
システムを構成するための情報埋め込み装置、情報読み
出し装置、情報埋め込み方法及び情報読み出し方法を提
供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and provides an electronic watermarking system capable of reliably and easily reproducing information from an image in which information is embedded without using a standard image even if the image changes. Another object of the present invention is to provide an information embedding device, an information reading device, an information embedding method, and an information reading method for configuring such a digital watermark system.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、この発明の第1の観点に係る情報埋め込み装置は、
符号の配列を含む主情報を取得し、取得した主情報に含
まれる符号の形状の特徴を示す要素情報を生成する要素
情報抽出部と、前記要素情報より、複数の前記符号の形
状の特徴の相対的な差異を示す副情報を抽出する副情報
読み出し部と、前記主情報に埋め込むための付加情報を
取得して、前記要素情報を、該要素情報より抽出される
副情報が、自己が取得した付加情報と実質的に一致する
ように変更する要素情報変換部と、前記主情報に含まれ
る符号を、その形状が、前記要素情報変換部により変更
された要素情報が示す特徴を有するように変換する主情
報変換部と、前記主情報変換部により変換された主情報
が示す符号の配列を出力する主情報出力部と、を備え
る、ことを特徴とする。
In order to achieve the above object, an information embedding device according to a first aspect of the present invention comprises:
An element information extraction unit that acquires main information including an array of codes and generates element information indicating characteristics of the shape of the code included in the obtained main information, and from the element information, a plurality of characteristics of the shape of the code. A sub-information reading unit for extracting sub-information indicating a relative difference, and acquiring additional information for embedding in the main information, and acquiring the element information as sub-information extracted from the element information. An element information conversion unit that changes the information to substantially match the added information, and a code included in the main information, the shape of which has a characteristic indicated by the element information changed by the element information conversion unit. It is characterized by comprising a main information conversion unit for converting, and a main information output unit for outputting an array of codes indicated by the main information converted by the main information conversion unit.

【0012】このような情報埋め込み装置によれば、主
情報に埋め込まれる付加情報は、主情報に含まれる複数
の符号の形状の相対的な差異として表される。従って、
この情報埋め込み装置が出力する符号の配列を表す画像
を拡大、縮小あるいはファクシミリにより伝送して得ら
れる画像においても、これらの符号の形状の相対的な差
異が失われない。このため、この情報埋め込み装置が出
力する符号の配列を表す画像を拡大、縮小あるいはファ
クシミリにより伝送して得られる画像からも、標準画像
を用いることなく付加情報が正常に復元される。
According to such an information embedding device, the additional information embedded in the main information is represented as a relative difference between the shapes of a plurality of codes included in the main information. Therefore,
Even in an image obtained by enlarging, reducing, or facsimile transmitting an image representing an arrangement of codes output by the information embedding device, the relative difference in the shape of these codes is not lost. For this reason, the additional information can be normally restored without using the standard image from the image obtained by enlarging, reducing, or facsimile transmitting the image representing the arrangement of codes output by the information embedding device.

【0013】前記要素情報は、例えば、前記主情報に含
まれる符号の大きさを示すものであってもよい。この場
合、前記副情報は、例えば、複数の前記符号の大小関係
を示すものであればよい。
The element information may indicate, for example, the size of a code included in the main information. In this case, the sub-information only needs to indicate, for example, the magnitude relation of the plurality of codes.

【0014】前記要素情報は、前記主情報に含まれる符
号を実質的に最小面積で囲む所定の図形の面積を示すも
のであってもよく、この場合、前記副情報は、複数の前
記所定の図形の面積の大小関係を示すものであればよ
い。この場合、更に、前記要素情報変換部は、前記要素
情報を、該要素情報より抽出される副情報が、自己が取
得した付加情報と実質的に一致し、かつ、前記複数の所
定の図形の面積の変化量が所定の条件の下で最小となる
ように変更するものとすれば、付加情報を埋め込むこと
による符号の形状の変化が少なくなり、視覚的な違和感
が生じにくい。
[0014] The element information may indicate an area of a predetermined figure substantially enclosing a code included in the main information with a minimum area. In this case, the sub information includes a plurality of the predetermined information. What is necessary is just to show the magnitude relation of the area of the figure. In this case, the element information conversion unit may further determine that the element information is such that the sub-information extracted from the element information substantially matches the additional information acquired by itself, and If the change amount of the area is changed so as to be the minimum under a predetermined condition, the change in the shape of the code due to the embedding of the additional information is reduced, and it is unlikely that a visual discomfort occurs.

【0015】前記要素情報が、前記主情報に含まれる符
号を実質的に最小面積で囲む所定の図形の面積を示すも
のである場合、前記副情報は、複数の前記所定の図形の
面積の大小関係を複数の類型に分類した場合にいずれの
類型に属するかを示すものとし、各前記類型が、各々所
定の値に対応付けられているものとしてもよい。この場
合、前記要素情報変換部は、前記要素情報を、該要素情
報より抽出される副情報が、自己が取得した付加情報の
値と実質的に同一の値に対応付けられた各類型のそれぞ
れに属し、かつ、前記複数の所定の図形の面積の変化量
が所定の条件の下で最小となるように変更したものを表
す変換候補を複数記憶する手段と、各前記変換候補のう
ち、前記複数の所定の図形の面積の変化量が最小である
ものを特定し、前記要素情報を、特定された前記変換候
補が示すものへと変更する手段と、を備えるものとすれ
ば、付加情報を埋め込むことによる符号の形状の変化が
少なくなり、視覚的な違和感が生じにくい手法が効率的
に特定され、その上で付加情報の埋め込みが実行され
る。
In the case where the element information indicates an area of a predetermined figure substantially enclosing a code included in the main information with a minimum area, the sub-information may include a magnitude of an area of the plurality of predetermined figures. When the relationship is classified into a plurality of types, it indicates which type the type belongs to, and each type may be associated with a predetermined value. In this case, the element information conversion unit converts the element information into each type in which the sub-information extracted from the element information is associated with substantially the same value as the value of the additional information acquired by itself. Means for storing a plurality of conversion candidates representing a change amount of the area of the plurality of predetermined graphics changed to be a minimum under predetermined conditions, and among the conversion candidates, Means for identifying the smallest amount of change in the area of the plurality of predetermined graphics, and changing the element information to the one indicated by the identified conversion candidate. A change in the shape of the code due to the embedding is reduced, and a method that is less likely to cause visual discomfort is efficiently specified, and then the embedding of the additional information is executed.

【0016】また、この発明の第2の観点に係る情報読
み出し装置は、符号の配列を含む主情報を取得し、取得
した主情報に含まれる符号の形状の特徴を示す要素情報
を生成する要素情報抽出部と、前記要素情報より、複数
の前記符号の形状の特徴の相対的な差異を示す副情報を
抽出して出力する副情報出力部と、を備える、ことを特
徴とする。
An information reading apparatus according to a second aspect of the present invention obtains main information including an array of codes and generates element information indicating characteristics of the shape of the codes included in the obtained main information. An information extraction unit, and a sub-information output unit that extracts and outputs sub-information indicating a relative difference between the features of the plurality of codes from the element information.

【0017】このような情報読み出し装置によれば、主
情報に埋め込まれる付加情報が主情報に含まれる複数の
符号の形状の相対的な差異として表されている画像か
ら、付加情報を含んだ副情報が抽出され、出力される。
According to such an information reading device, the additional information embedded in the main information is converted from the image in which the additional information included in the main information is represented as a relative difference between the shapes of a plurality of codes included in the main information. The information is extracted and output.

【0018】前記要素情報は、例えば、前記主情報に含
まれる符号の大きさを示すものであってもよく、この場
合、前記副情報は、例えば、複数の前記符号の大小関係
を示すものであればよい。
The element information may indicate, for example, the size of a code included in the main information. In this case, the sub-information may indicate, for example, a magnitude relationship between a plurality of codes. I just need.

【0019】前記要素情報は、例えば、前記主情報に含
まれる符号を実質的に最小面積で囲む所定の図形の面積
を示すものであってもよく、この場合、前記副情報は、
例えば、複数の前記所定の図形の面積の大小関係を示す
ものであればよい。
The element information may indicate, for example, the area of a predetermined figure which substantially encloses a code included in the main information with a minimum area. In this case, the sub-information may include:
For example, any value may be used as long as it indicates the magnitude relationship between the areas of the plurality of predetermined graphics.

【0020】また、この発明の第3の観点に係る電子透
かしシステムは、符号の配列を含む主情報を取得し、取
得した主情報に含まれる符号の形状の特徴を示す要素情
報を生成する要素情報抽出部と、前記要素情報より、複
数の前記符号の形状の特徴の相対的な差異を示す副情報
を抽出する副情報読み出し部と、前記主情報に埋め込む
ための付加情報を取得して、前記要素情報を、該要素情
報より抽出される副情報が、自己が取得した付加情報と
実質的に一致するように変更する要素情報変換部と、前
記主情報に含まれる符号を、その形状が、前記要素情報
変換部により変更された要素情報が示す特徴を有するよ
うに変換する主情報変換部と、前記主情報変換部により
変換された主情報が示す符号の配列を出力する主情報出
力部と、前記要素情報より、複数の前記符号の特徴の相
対的な差異を示す副情報を抽出して出力する副情報出力
部と、を備える、ことを特徴とする。
A digital watermarking system according to a third aspect of the present invention obtains main information including an array of codes and generates element information indicating characteristics of the shape of the codes included in the obtained main information. An information extraction unit, from the element information, a sub-information reading unit that extracts sub-information that indicates a relative difference between the features of the shapes of the plurality of codes, and acquires additional information for embedding in the main information, An element information conversion unit that changes the element information so that sub-information extracted from the element information substantially matches the additional information obtained by the element information, and a code included in the main information, A main information conversion unit that converts the information to have the characteristic indicated by the element information changed by the element information conversion unit, and a main information output unit that outputs an array of codes indicated by the main information converted by the main information conversion unit And the element From broadcast, comprising a sub-information output unit that outputs the extracted sub information indicating a relative difference in characteristics of the plurality of the codes, and characterized in that.

【0021】このような電子透かしシステムによれば、
主情報に埋め込まれる付加情報は、主情報に含まれる複
数の符号の形状の相対的な差異として表される。従っ
て、主情報出力部が出力する符号の配列を表す画像を拡
大、縮小あるいはファクシミリにより伝送して得られる
画像においても、これらの符号の形状の相対的な差異が
失われない。このため、主情報出力部が出力する符号の
配列を表す画像を拡大、縮小あるいはファクシミリによ
り伝送して得られる画像からも、付加情報が正常に復元
される。そして、このような電子透かしシステムは、主
情報に埋め込まれる付加情報が主情報に含まれる複数の
符号の形状の相対的な差異として表されている画像か
ら、付加情報を含んだ副情報を抽出し、出力する。
According to such a digital watermarking system,
The additional information embedded in the main information is expressed as a relative difference between the shapes of a plurality of codes included in the main information. Accordingly, even in an image obtained by enlarging, reducing, or facsimile transmitting an image representing the arrangement of codes output from the main information output unit, the relative differences in the shapes of these codes are not lost. For this reason, the additional information can be normally restored from an image obtained by enlarging, reducing, or facsimile transmitting the image representing the arrangement of codes output from the main information output unit. Such a digital watermarking system extracts sub-information including additional information from an image in which the additional information embedded in the main information is expressed as a relative difference between the shapes of a plurality of codes included in the main information. And output.

【0022】また、この発明の第4の観点に係る情報埋
め込み方法は、符号の配列を含む主情報を取得し、取得
した主情報に含まれる符号の形状の特徴を示す要素情報
を生成する要素情報抽出ステップと、前記要素情報よ
り、複数の前記符号の形状の特徴の相対的な差異を示す
副情報を抽出する副情報読み出しステップと、前記主情
報に埋め込むための付加情報を取得して、前記要素情報
を、該要素情報より抽出される副情報が、自己が取得し
た付加情報と実質的に一致するように変更する要素情報
変換ステップと、前記主情報に含まれる符号を、その形
状が、前記要素情報変換ステップで変更された要素情報
が示す特徴を有するように変換する主情報変換ステップ
と、前記主情報変換ステップにより変換された主情報が
示す符号の配列を出力する主情報出力ステップと、を備
える、ことを特徴とする。
Further, in an information embedding method according to a fourth aspect of the present invention, an element for acquiring main information including an array of codes and generating element information indicating characteristics of the shape of the code included in the obtained main information is provided. Information extraction step, from the element information, sub-information reading step of extracting sub-information indicating a relative difference between the features of the plurality of code shapes, to obtain additional information for embedding in the main information, An element information conversion step of changing the element information so that sub-information extracted from the element information substantially matches the additional information obtained by the element information, and a code included in the main information, A main information conversion step of converting the element information to have the characteristic indicated by the element information changed in the element information conversion step, and an array of codes indicated by the main information converted in the main information conversion step. Comprising a main information output step of, a, and wherein the.

【0023】このような情報埋め込み方法によれば、主
情報に埋め込まれる付加情報は、主情報に含まれる複数
の符号の形状の相対的な差異として表される。従って、
この情報埋め込み方法により出力される符号の配列を表
す画像を拡大、縮小あるいはファクシミリにより伝送し
て得られる画像においても、これらの符号の形状の相対
的な差異が失われない。このため、この情報埋め込み方
法により出力される符号の配列を表す画像を拡大、縮小
あるいはファクシミリにより伝送して得られる画像から
も、付加情報が正常に復元される。
According to such an information embedding method, the additional information embedded in the main information is represented as a relative difference between the shapes of a plurality of codes included in the main information. Therefore,
Even in an image obtained by enlarging, reducing, or facsimile transmitting an image representing an array of codes output by this information embedding method, the relative difference between the shapes of these codes is not lost. For this reason, the additional information is normally restored from an image obtained by enlarging, reducing, or facsimile transmitting an image representing an array of codes output by this information embedding method.

【0024】また、この発明の第5の観点に係る情報読
み出し方法は、符号の配列を含む主情報を取得し、取得
した主情報に含まれる符号の形状の特徴を示す要素情報
を生成する要素情報抽出ステップと、前記要素情報よ
り、複数の前記符号の形状の特徴の相対的な差異を示す
副情報を抽出して出力する副情報出力ステップと、を備
える、ことを特徴とする。
According to a fifth aspect of the present invention, there is provided an information reading method, comprising: obtaining main information including an array of codes; and generating element information indicating characteristics of the shape of the codes included in the obtained main information. An information extraction step; and a sub-information output step of extracting and outputting, from the element information, sub-information indicating a relative difference between the features of the shapes of the plurality of codes.

【0025】このような情報読み出し方法によれば、主
情報に埋め込まれる付加情報が主情報に含まれる複数の
符号の形状の相対的な差異として表されている画像か
ら、付加情報を含んだ副情報が抽出され、出力される。
According to such an information reading method, the auxiliary information including the additional information is extracted from the image in which the additional information embedded in the main information is expressed as a relative difference between the shapes of a plurality of codes included in the main information. The information is extracted and output.

【0026】また、この発明の第6の観点に係るコンピ
ュータ読み取り可能な記録媒体は、コンピュータを、符
号の配列を含む主情報を取得し、取得した主情報に含ま
れる符号の形状の特徴を示す要素情報を生成する要素情
報抽出部と、前記要素情報より、複数の前記符号の形状
の特徴の相対的な差異を示す副情報を抽出する副情報読
み出し部と、前記主情報に埋め込むための付加情報を取
得して、前記要素情報を、該要素情報より抽出される副
情報が、自己が取得した付加情報と実質的に一致するよ
うに変更する要素情報変換部と、前記主情報に含まれる
符号を、その形状が、前記要素情報変換部により変更さ
れた要素情報が示す特徴を有するように変換する主情報
変換部と、前記主情報変換部により変換された主情報が
示す符号の配列を出力する主情報出力部と、して機能さ
せるためのプログラムを記録したことを特徴とする。
A computer-readable recording medium according to a sixth aspect of the present invention provides a computer which acquires main information including an array of codes, and shows characteristics of the shape of the codes included in the obtained main information. An element information extracting unit that generates element information; a sub information reading unit that extracts sub information indicating a relative difference between a plurality of code shape features from the element information; and an addition for embedding in the main information. An element information conversion unit that acquires information and changes the element information so that sub-information extracted from the element information substantially matches the additional information acquired by the element information; A main information conversion unit that converts a code so that its shape has a feature indicated by the element information changed by the element information conversion unit, and an array of codes indicated by the main information converted by the main information conversion unit. Wherein the main information output unit for force, to by recording a program for functioning.

【0027】このような記録媒体に記録されたプログラ
ムを実行するコンピュータは、主情報に埋め込まれる付
加情報を、主情報に含まれる複数の符号の形状の相対的
な差異として表す。従って、このコンピュータが出力す
る符号の配列を表す画像を拡大、縮小あるいはファクシ
ミリにより伝送して得られる画像においても、これらの
符号の形状の相対的な差異が失われない。このため、こ
のコンピュータが出力する符号の配列を表す画像を拡
大、縮小あるいはファクシミリにより伝送して得られる
画像からも、付加情報が正常に復元される。
A computer that executes a program recorded on such a recording medium expresses the additional information embedded in the main information as a relative difference between the shapes of a plurality of codes included in the main information. Therefore, even in an image obtained by enlarging, reducing, or facsimile transmitting an image representing an arrangement of codes output by the computer, the relative difference in the shape of these codes is not lost. For this reason, the additional information can be normally restored from an image obtained by enlarging, reducing, or facsimile transmitting an image representing the arrangement of codes output by the computer.

【0028】また、この発明の第7の観点に係るコンピ
ュータ読み取り可能な記録媒体は、コンピュータを、符
号の配列を含む主情報を取得し、取得した主情報に含ま
れる符号の形状の特徴を示す要素情報を生成する要素情
報抽出部と、前記要素情報より、複数の前記符号の形状
の特徴の相対的な差異を示す副情報を抽出して出力する
副情報出力部と、して機能させるためのプログラムを記
録したことを特徴とする。
Further, a computer-readable recording medium according to a seventh aspect of the present invention provides a computer which acquires main information including an array of codes, and shows characteristics of the shape of the codes included in the obtained main information. An element information extraction unit that generates element information; and a sub information output unit that extracts and outputs sub information that indicates a relative difference between a plurality of the code shape features from the element information. Is recorded.

【0029】このような記録媒体に記録されたプログラ
ムを実行するコンピュータは、主情報に埋め込まれる付
加情報が主情報に含まれる複数の符号の形状の相対的な
差異として表されている画像から、付加情報を含んだ副
情報を抽出し、出力する。
A computer that executes a program recorded on such a recording medium reads an image in which the additional information embedded in the main information is represented as a relative difference in the shape of a plurality of codes included in the main information. The sub information including the additional information is extracted and output.

【0030】[0030]

【発明の実施の形態】以下、この発明の実施の形態に係
る情報埋め込み装置、情報読み出し装置及び電子透かし
システムを、著作権を示す情報を文書に埋め込み、埋め
込まれた情報の抽出を行う電子透かしシステムを例と
し、図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an information embedding apparatus, an information reading apparatus and an electronic watermark system according to an embodiment of the present invention will be described. An electronic watermark for embedding information indicating copyright in a document and extracting the embedded information is described below. A system will be described as an example with reference to the drawings.

【0031】図1は、この電子透かしシステムの物理的
構成を示す図である。図示するように、この電子透かし
システムは、物理的には、制御部101と、主記憶部1
02と、外部記憶部103と、入力部104と、スキャ
ナ105と、プリンタ106と、表示部107とより構
成されている。制御部101は、主記憶部102、外部
記憶部103、入力部104、スキャナ105、プリン
タ106及び表示部107に接続されている。
FIG. 1 is a diagram showing a physical configuration of the digital watermarking system. As shown in the figure, this digital watermark system physically includes a control unit 101 and a main storage unit 1.
02, an external storage unit 103, an input unit 104, a scanner 105, a printer 106, and a display unit 107. The control unit 101 is connected to the main storage unit 102, the external storage unit 103, the input unit 104, the scanner 105, the printer 106, and the display unit 107.

【0032】制御部101は、CPU(Central Proces
sing Unit)などより構成されており、外部記憶部10
3が記憶するプログラムを読み出し、このプログラムの
処理に従って、後述する要素情報抽出部13、要素情報
変換部17、主情報再構成部18、副情報読み出し部2
0及び副情報出力部21の機能を実行する。
The control unit 101 has a CPU (Central Processes).
sing unit) and an external storage unit 10
3 reads out a program stored therein, and in accordance with the processing of this program, an element information extracting unit 13, an element information converting unit 17, a main information reconstructing unit 18, and a sub information reading unit 2 described later
0 and the function of the sub information output unit 21 are executed.

【0033】主記憶部102は、RAM(Random Acces
s Memory)等より構成されており、制御部101より供
給されたデータを記憶し、また、制御部101が発する
要求に従って、自己が記憶するデータを出力する。主記
憶部102は、制御部101の作業領域として用いら
れ、また、後述する要素情報蓄積部14及び副情報蓄積
部16の機能を実行する。
The main storage unit 102 has a RAM (Random Acces
s Memory) and the like, and stores data supplied from the control unit 101, and outputs data stored by itself according to a request issued by the control unit 101. The main storage unit 102 is used as a work area of the control unit 101, and executes functions of an element information storage unit 14 and a sub information storage unit 16, which will be described later.

【0034】外部記憶部103は、ハードディスク装置
等より構成されており、制御部101より供給されたデ
ータを記憶し、また、制御部101が発する要求に従っ
て、自己が記憶するデータを出力する。外部記憶部10
3は、後述する主情報蓄積部12の機能を実行する。
The external storage unit 103 is composed of a hard disk device or the like, and stores data supplied from the control unit 101, and outputs data stored by itself according to a request issued by the control unit 101. External storage unit 10
3 executes the function of the main information storage unit 12 described later.

【0035】入力部104は、キーボードや、記録媒体
(例えば、フロッピーディスクや光磁気ディスク)にア
クセスする記録媒体ドライブ装置などより構成されてお
り、操作者が入力した情報や、記録媒体に格納されてい
る情報を、制御部101に供給する。入力部104は、
後述する副情報入力部15の機能を実行する。
The input unit 104 includes a keyboard, a recording medium drive device for accessing a recording medium (for example, a floppy disk or a magneto-optical disk), and the like, and information input by an operator and stored in the recording medium. The supplied information is supplied to the control unit 101. The input unit 104
The function of the sub-information input unit 15 described below is executed.

【0036】スキャナ105は、制御部101の指示に
従い、自己にセットされた原稿の表面を読み取って、該
表面の画像を表すデータを生成し、制御部101に供給
する。スキャナ105は、主情報入力部11の機能を実
行する。
The scanner 105 reads the front side of the original set in accordance with an instruction from the control unit 101, generates data representing an image of the front side, and supplies the data to the control unit 101. The scanner 105 performs the function of the main information input unit 11.

【0037】プリンタ106は、制御部101がプリン
タ106へと供給するデータが表す画像を、紙面等に印
刷する。プリンタ106は、後述する主情報出力部19
の機能を行う。表示部107は、CRT(Cathode Ray
Tube)等より構成され、制御部101の指示に従った画
像を、自己が備える表示画面上に表示する。表示部10
7は、制御部101と共に副情報出力部21の機能を行
う。
The printer 106 prints an image represented by data supplied from the control unit 101 to the printer 106 on a sheet of paper or the like. The printer 106 includes a main information output unit 19 described later.
Perform the function of The display unit 107 is a CRT (Cathode Ray).
Tube) etc., and displays an image according to the instruction of the control unit 101 on a display screen provided therein. Display unit 10
7 performs the function of the sub information output unit 21 together with the control unit 101.

【0038】また、この電子透かしシステムは、論理的
には、図2に示すように、主情報入力部11と、主情報
蓄積部12と、要素情報抽出部13と、要素情報蓄積部
14と、副情報入力部15と、副情報蓄積部16と、要
素情報変換部17と、主情報再構成部18と、主情報出
力部19と、副情報読み出し部20と、副情報出力部2
1とより構成されている。
The digital watermarking system logically includes a main information input unit 11, a main information storage unit 12, an element information extraction unit 13, and an element information storage unit 14, as shown in FIG. , Sub-information input unit 15, sub-information storage unit 16, element information conversion unit 17, main information reconstructing unit 18, main information output unit 19, sub-information reading unit 20, sub-information output unit 2,
1.

【0039】主情報入力部11は、副情報を埋め込む対
象の文書の原稿の表面を読み取り、この原稿の画像を表
す画像データを作成して、作成したこの画像データを主
情報蓄積部12に供給する。主情報蓄積部12は、主情
報入力部11より供給された画像データを記憶し、要素
情報抽出部13や主情報再構成部18や主情報出力部1
9より送られてくる要求に従い、自己が記憶する画像デ
ータを出力する。
The main information input unit 11 reads the front side of the document of the document into which the sub-information is to be embedded, creates image data representing the image of the document, and supplies the created image data to the main information storage unit 12 I do. The main information storage unit 12 stores the image data supplied from the main information input unit 11, and stores the element information extraction unit 13, the main information reconstruction unit 18, and the main information output unit 1.
9 outputs the image data stored therein in accordance with the request sent from 9.

【0040】要素情報抽出部13は、主情報蓄積部12
に、主情報蓄積部12が記憶している画像データの出力
を要求し、主記憶蓄積部12が出力した画像データを取
得して、該画像データより、該画像データが表す原稿に
含まれる文字(すなわち主情報)を抽出し、更に、主情
報の形状の特徴を示す要素情報を生成する。そして、生
成した要素情報を、要素情報蓄積部14に供給する。
The element information extraction unit 13 is a main information storage unit 12
Requesting the output of the image data stored in the main information storage unit 12, obtaining the image data output by the main storage storage unit 12, and obtaining, from the image data, characters included in a document represented by the image data (I.e., main information) is extracted, and element information indicating a feature of the shape of the main information is generated. Then, the generated element information is supplied to the element information storage unit 14.

【0041】要素情報は、例えば図3(A)及び(B)
に示すように、原稿に含まれる文字の原稿面上での位置
(具体的には、例えば図示するように、原稿面内に任意
に設定されたx軸及びy軸を有する直交座標系上での該
文字のx座標及びy座標)と、その文字の幅及び高さと
を示す情報より構成されている。
The element information is, for example, as shown in FIGS.
As shown in the figure, the positions of the characters included in the document on the document surface (specifically, for example, on a rectangular coordinate system having arbitrarily set x and y axes in the document surface as shown (X and y coordinates of the character) and information indicating the width and height of the character.

【0042】要素情報蓄積部14は、要素情報抽出部1
3より供給された要素情報を記憶し、要素情報変換部1
7より送られてくる要求に従い、自己が記憶する要素情
報を更新する。また、要素情報蓄積部14は、主情報再
構成部18や副情報読み出し部20より送られてくる要
求に従い、自己が記憶する要素情報を出力する。
The element information storage unit 14 stores the element information extraction unit 1
3 and stores the element information supplied from the element information conversion unit 1.
7 updates the element information stored by itself. Further, the element information storage unit 14 outputs the element information stored by itself according to the request sent from the main information reconstructing unit 18 or the sub information reading unit 20.

【0043】副情報入力部15は、文書に埋め込む対象
である著作権コードを読み込んで、副情報蓄積部16に
供給する。著作権コードは、文書の著作権が特定人に帰
属することを証するためのデータであり、例えば、所定
の桁数の10進数より構成されている。副情報蓄積部1
6は、副情報入力部15より供給された著作権コードを
記憶し、要素情報変換部17や副情報出力部21より送
られてくる要求に従い、自己が記憶する著作権コードを
出力する。
The sub-information input unit 15 reads the copyright code to be embedded in the document and supplies it to the sub-information storage unit 16. The copyright code is data for proving that the copyright of the document belongs to a specific person, and is composed of, for example, a decimal number having a predetermined number of digits. Sub-information storage unit 1
Reference numeral 6 stores the copyright code supplied from the sub-information input unit 15 and outputs the copyright code stored by itself according to the request sent from the element information conversion unit 17 or the sub-information output unit 21.

【0044】要素情報変換部17は、副情報蓄積部16
に、副情報蓄積部16が記憶している著作権コードを出
力するよう要求を送り、副情報蓄積部16が出力する著
作権コードを取得する。また、要素情報変換部17は、
要素情報蓄積部14に、要素情報蓄積部14が記憶して
いる要素情報を出力するよう要求を送り、要素情報蓄積
部14が出力する要素情報を取得する。
The element information conversion unit 17 includes a sub information storage unit 16
The sub-information storage unit 16 sends a request to output the copyright code stored in the sub-information storage unit 16 to obtain the copyright code output by the sub-information storage unit 16. In addition, the element information conversion unit 17
A request is sent to the element information storage unit 14 to output the element information stored in the element information storage unit 14, and the element information output by the element information storage unit 14 is acquired.

【0045】そして、要素情報変換部17は、後述する
動作を行うことによって、自己が取得した要素情報に基
づき後述の副情報を抽出する。そして更に、抽出した副
情報及び取得した著作権コードに基づき、後述する動作
を行うことによって、要素情報蓄積部14が記憶する要
素情報をどのように更新するかを決定し、決定結果に従
ってこの要素情報を更新するよう、要素情報蓄積部14
に要求を送る。
Then, the element information conversion unit 17 performs the operation described later, and extracts the sub information described later based on the element information acquired by itself. Further, based on the extracted sub-information and the acquired copyright code, the following operation is performed to determine how to update the element information stored in the element information storage unit 14. The element information storage unit 14 updates the information.
Send a request to

【0046】主情報再構成部18は、要素情報蓄積部1
4に、要素情報蓄積部14が記憶している要素情報を出
力するよう要求を送り、要素情報蓄積部14が出力する
要素情報を取得する。そして、主情報蓄積部12が記憶
する画像データを、自己が取得した要素情報により示さ
れる特徴を有するように更新することを決定し、決定結
果に従って画像データを更新するよう、主情報蓄積部1
2に要求を送る。
The main information reconstructing unit 18 stores the element information storing unit 1
A request is sent to the element information storage unit 14 to output the element information stored in the element information storage unit 14, and the element information output by the element information storage unit 14 is obtained. Then, the main information storage unit 1 determines to update the image data stored in the main information storage unit 12 so as to have the characteristic indicated by the element information acquired by itself, and updates the image data according to the determination result.
Send request to 2.

【0047】主情報出力部19は、主情報蓄積部12
に、主情報蓄積部12が記憶している画像データを出力
するよう要求を送り、主情報蓄積部12が出力する画像
データを取得して、取得した画像データが表す画像を紙
面等に印刷する。
The main information output unit 19 is provided with the main information storage unit 12
Sends a request to output the image data stored in the main information storage unit 12, obtains the image data output by the main information storage unit 12, and prints the image represented by the obtained image data on paper or the like. .

【0048】副情報読み出し部20は、要素情報蓄積部
14に、要素情報蓄積部14が記憶しているデータを出
力するよう要求を送り、要素情報蓄積部14が出力する
このデータを取得する。そして、取得したデータより副
情報を抽出して、抽出した副情報を副情報蓄積部16に
供給する。
The sub-information reading section 20 sends a request to the element information storage section 14 to output the data stored in the element information storage section 14, and acquires this data output from the element information storage section 14. Then, the sub information is extracted from the acquired data, and the extracted sub information is supplied to the sub information storage unit 16.

【0049】副情報出力部21は、副情報蓄積部16
に、副情報蓄積部16が記憶している著作権コードを出
力するよう要求を送り、副情報蓄積部16が出力する著
作権コードを取得して、取得した著作権コードを表す画
像を表示する。
The sub information output unit 21 is provided with the sub information storage unit 16
The sub-information storage unit 16 sends a request to output the copyright code stored therein, obtains the copyright code output by the sub-information storage unit 16, and displays an image representing the obtained copyright code. .

【0050】(動作)次に、この電子透かしシステムの
動作を説明する。 (著作権コードを埋め込む動作)まず、主情報入力部1
1の機能を行うスキャナ105は、副情報を埋め込む対
象の文書の原稿の表面をスキャンして、該文書の画像を
表す画像データを作成し、作成した画像データを主情報
蓄積部12に供給する。主情報蓄積部12は、主情報入
力部11より供給された画像データを記憶する。
(Operation) Next, the operation of the digital watermarking system will be described. (Operation for embedding copyright code) First, the main information input unit 1
The scanner 105 performing the first function scans the front side of the document of the document in which the sub-information is to be embedded, creates image data representing an image of the document, and supplies the created image data to the main information storage unit 12 . The main information storage unit 12 stores the image data supplied from the main information input unit 11.

【0051】次に、要素情報抽出部13は、主情報蓄積
部12に、主情報蓄積部12が記憶している画像データ
の出力の要求を送り、主情報蓄積部12は、この要求に
従って画像データを出力する。すると、要素情報抽出部
13は、主情報蓄積部12が出力した画像データを取得
し、取得した画像データが表す主情報である文字の形状
の特徴を示す要素情報を生成する。
Next, the element information extracting unit 13 sends a request for outputting the image data stored in the main information storing unit 12 to the main information storing unit 12, and the main information storing unit 12 Output data. Then, the element information extraction unit 13 acquires the image data output by the main information storage unit 12 and generates element information indicating the characteristic of the shape of the character, which is the main information represented by the acquired image data.

【0052】具体的には、要素情報抽出部13は、例え
ば、取得した画像データに文字認識を施し、該画像デー
タに含まれる各文字の位置及び形状と、スキャナ105
が読み込んだ文書内でこれら各文字が配列されている順
序を識別する。次いで、要素情報抽出部13は、識別さ
れた各々の文字について、自己が識別した文字の形状に
基づき、その文字を最小面積で囲む矩形の幅及び高さ
(すなわち、その文字の幅及び高さ)を表す要素情報を
生成する。
More specifically, the element information extraction unit 13 performs, for example, character recognition on the acquired image data, and determines the position and shape of each character included in the image data and the scanner 105.
Identifies the order in which each of these characters is arranged in the read document. Next, for each of the identified characters, the element information extraction unit 13 determines the width and height of a rectangle surrounding the character with a minimum area (that is, the width and height of the character) based on the shape of the character identified by itself. ) Is generated.

【0053】そして、要素情報抽出部13は、生成した
要素情報を要素情報蓄積部14に供給する。要素情報蓄
積部14は、要素情報抽出部13より要素情報を供給さ
れると、この要素情報を記憶する。
Then, the element information extraction unit 13 supplies the generated element information to the element information storage unit 14. When supplied with the element information from the element information extraction unit 13, the element information storage unit 14 stores the element information.

【0054】一方、操作者は、副情報入力部15の機能
を行う入力部104のキーボードを操作して、著作権コ
ードを入力したり、あるいは、予め著作権コードを記録
した記録媒体を入力部104の記録媒体ドライバにセッ
トして、該記録媒体に記録された著作権コードを該記録
媒体ドライブ装置に読み取らせることにより、著作権コ
ードを入力する。入力された著作権コードは、入力部1
04のキーボードから、副情報蓄積部16に供給され
る。副情報蓄積部16は、副情報入力部15より供給さ
れた著作権コードを記憶する。
On the other hand, the operator operates the keyboard of the input unit 104 that performs the function of the sub-information input unit 15 to input a copyright code, or to input a recording medium on which a copyright code has been recorded in advance. The copyright code is input by setting it in the recording medium driver 104 and causing the recording medium drive to read the copyright code recorded on the recording medium. The input copyright code is input unit 1
The information is supplied from the keyboard 04 to the sub-information storage unit 16. The sub information storage unit 16 stores the copyright code supplied from the sub information input unit 15.

【0055】次に、要素情報変換部17が、副情報蓄積
部16に、副情報蓄積部16が記憶している著作権コー
ドを出力するよう要求を送る。副情報蓄積部16は、こ
の要求に従って自己が記憶する著作権コードを出力し、
要素情報変換部17は、出力された著作権コードを取得
する。そして、要素情報変換部17は、取得した著作権
コードを2進数に変換する。また、要素情報変換部17
は、要素情報蓄積部14に、要素情報蓄積部14が記憶
している要素情報を出力するよう要求を送る。要素情報
蓄積部14は、この要求に従って自己が記憶する要素情
報を出力し、要素情報変換部17は、出力された要素情
報を取得する。
Next, the element information conversion unit 17 sends a request to the sub information storage unit 16 to output the copyright code stored in the sub information storage unit 16. The sub-information storage unit 16 outputs the copyright code stored by itself according to this request,
The element information conversion unit 17 acquires the output copyright code. Then, the element information conversion unit 17 converts the obtained copyright code into a binary number. The element information conversion unit 17
Sends a request to the element information storage unit 14 to output the element information stored in the element information storage unit 14. The element information storage unit 14 outputs the element information stored by itself in accordance with the request, and the element information conversion unit 17 acquires the output element information.

【0056】そして、要素情報変換部17は、取得した
要素情報が示す各文字の配列を、先頭から3文字分ずつ
区切ることにより、3個の文字からなる文字列の配列を
生成する。そして、各文字列に、所定の規則に従っ
て、”1”又は”0”のいずれかの論理値を対応付け
る。
The element information conversion unit 17 generates an array of character strings consisting of three characters by dividing the array of each character indicated by the obtained element information by three characters from the beginning. Then, a logical value of either “1” or “0” is associated with each character string according to a predetermined rule.

【0057】具体的には、要素情報変換部17は、例え
ば、各々の文字列につき、その先頭の文字を最小面積で
囲む矩形の面積(すなわち、該矩形の幅と高さとの積)
をSaとし、2番目の文字を最小面積で囲む矩形の面積
をSbとし、3番目の文字を最小面積で囲む矩形の面積
をScとして、Sa=Sb=Scのとき(パターン0の
とき)は論理値”0”を対応付け、Sa=Sb>Scの
とき(パターン1のとき)は論理値”1”を対応付け、
Sb=Sc>Saのとき(パターン2のとき)は論理
値”1”を対応付け、Sc=Sa>Sbのとき(パター
ン3のとき)は論理値”1”を対応付け、Sa>Sb=
Scのとき(パターン4のとき)は論理値”1”を対応
付け、Sb>Sc=Saのとき(パターン5のとき)は
論理値”1”を対応付け、Sc>Sa=Sbのとき(パ
ターン6のとき)は論理値”1”を対応付け、Sa>S
b>Scのとき(パターン7のとき)は論理値”0”を
対応付け、Sb>Sc>Saのとき(パターン8のと
き)は論理値”0”を対応付け、Sc>Sa>Sbのと
き(パターン9のとき)は論理値”0”を対応付け、S
a>Sc>Sbのとき(パターン10のとき)は論理
値”0”を対応付け、Sb>Sa>Scのとき(パター
ン11のとき)は論理値”0”を対応付け、Sc>Sb
>Saのとき(パターン12のとき)は論理値”0”を
対応付ける。
Specifically, for example, the element information conversion unit 17 determines, for each character string, the area of a rectangle surrounding the first character of the character string with a minimum area (ie, the product of the width and height of the rectangle).
Is Sa, the area of the rectangle surrounding the second character with the minimum area is Sb, the area of the rectangle surrounding the third character with the minimum area is Sc, and when Sa = Sb = Sc (for pattern 0), When Sa = Sb> Sc (in the case of pattern 1), logical value “1” is associated,
When Sb = Sc> Sa (pattern 2), a logical value “1” is associated, and when Sc = Sa> Sb (pattern 3), a logical value “1” is associated, and Sa> Sb =
When Sc (pattern 4), logical value "1" is associated, when Sb> Sc = Sa (pattern 5), logical value "1" is associated, and when Sc> Sa = Sb ( Pattern 6) is associated with a logical value “1”, and Sa> S
When b> Sc (pattern 7), the logical value “0” is associated, when Sb>Sc> Sa (pattern 8), the logical value “0” is associated, and when Sc>Sa> Sb At the time (at the time of pattern 9), the logical value “0” is associated, and S
When a>Sc> Sb (pattern 10), the logical value “0” is associated, and when Sb>Sa> Sc (pattern 11), the logical value “0” is associated. Sc> Sb
If> Sa (pattern 12), the logical value “0” is associated.

【0058】ただし、要素情報変換部17は、2個の文
字をそれぞれ最小面積で囲む2個の矩形の面積を比較す
る場合、面積の差が所定の範囲内である場合は、厳密に
面積が等しくない場合であっても、面積が等しいものと
して扱う。
However, when comparing the areas of two rectangles each surrounding two characters with a minimum area, the element information conversion unit 17 determines that the area is strictly set if the difference between the areas is within a predetermined range. Even if they are not equal, they are treated as having equal areas.

【0059】各文字列に論理値を対応付けると、要素情
報変換部17は、これら各論理値を示すビットを、それ
ぞれが対応付けられている文字列の配列順に配列したも
のからなるデータ(以下、副情報と呼ぶ)を生成する。
When a logical value is associated with each character string, the element information conversion unit 17 arranges the bits indicating each logical value in data (hereinafter, referred to as an array) of the character string to which each bit is associated. (Referred to as sub-information).

【0060】次に、要素情報変換部17は、副情報の所
定の位置(例えば、副情報の先頭)から、自己が取得し
た、2進数に変換済みの著作権コードの桁数と同数の連
続する論理値を含む部分を抽出する。そして、副情報の
うち抽出された部分に含まれる各々のビットのうち、そ
の論理値が、2進数に変換された著作権コードの同一の
桁をなすビットの論理値と実質的に異なる値であるもの
を特定する。そして、特定されたビットが、主情報を構
成する文字の配列を区切って得られた上述の文字列のい
ずれに対応付けられた論理値を示すものかを判別する。
Next, the element information conversion section 17 starts from a predetermined position of the sub-information (for example, the head of the sub-information) and has the same number of consecutive digits as the binary number of the copyright code acquired by itself and converted to a binary number. The part containing the logical value to be extracted is extracted. The logical value of each bit included in the extracted portion of the sub information is substantially different from the logical value of the bit forming the same digit of the copyright code converted into a binary number. Identify something. Then, it is determined whether the specified bit indicates a logical value associated with any of the above-described character strings obtained by dividing the array of characters constituting the main information.

【0061】次に、要素情報変換部17は、判別された
文字列に含まれる文字の幅及び高さを拡大又は縮小し
て、その文字列に対応付けられる論理値が現在の値と異
なる値になるようにした場合において、その文字列に含
まれる3文字をそれぞれ最小面積で囲む各矩形の面積の
変化量の合計値が所定の条件下で最小となるのはどのよ
うな場合か、を、その文字列を表す要素情報に基づいて
1個特定する。
Next, the element information conversion unit 17 enlarges or reduces the width and height of the character included in the determined character string, and sets the logical value associated with the character string to a value different from the current value. In the case where the total value of the change amount of the area of each rectangle surrounding each of the three characters included in the character string with the minimum area becomes the minimum under a predetermined condition, , One based on the element information representing the character string.

【0062】具体的には、例えば、2進数に変換された
著作権コードの最上位ビットの論理値が”0”であり、
一方、図3(A)に示すように、要素情報変換部17が
副情報から抽出した部分のうち先頭のビットに対応付け
られている文字列を構成する3文字について、1番目の
文字の幅が28ピクセル、高さが28ピクセル、2番目
の文字の幅が30ピクセル、高さが30ピクセル、3番
目の文字の幅が29ピクセル、高さが26ピクセル、で
あったとする。ただし、本明細書及び図面においては、
各文字は、白黒などの任意の2色のいずれかをとってマ
トリクス状に並ぶ画素から構成されるものとする。そし
て、画素の外径を表す所定の単位長を1ピクセル(pixe
l)とし、単位長のn倍(nは任意の正の数)の長さを
nピクセルとする。この場合、これら3文字からなる文
字列は上述のパターン5に属し、従ってこの文字列に
は、論理値”1”が対応付けられている。
Specifically, for example, the logical value of the most significant bit of the copyright code converted into a binary number is “0”,
On the other hand, as shown in FIG. 3A, of the three characters constituting the character string associated with the first bit in the portion extracted from the sub-information by the element information conversion unit 17, the width of the first character Is 28 pixels, the height is 28 pixels, the width of the second character is 30 pixels, the height is 30 pixels, and the width of the third character is 29 pixels and the height is 26 pixels. However, in the present specification and drawings,
Each character is composed of pixels arranged in a matrix in any two colors such as black and white. Then, a predetermined unit length representing the outer diameter of the pixel is set to one pixel (pixe
l), and a length n times the unit length (n is an arbitrary positive number) is n pixels. In this case, the character string composed of these three characters belongs to the above-described pattern 5, and therefore, this character string is associated with the logical value “1”.

【0063】このとき、文字列を、論理値”0”が対応
付けられるようなパターンとするためには、文字列を、
パターン0,7,8,9,10,11又は12のいずれ
かとすればよい。この場合、要素情報変換部17は、ま
ず、文字列をパターン0及びパターン7〜12の各々に
するためにこの文字列に含まれる文字の幅及び高さを拡
大又は縮小した場合において、文字列に含まれる3文字
をそれぞれ最小面積で囲む各矩形の面積の変化量の合計
値が所定の条件下で最小となる場合がどのような場合で
あるかを特定する。そして、特定された場合のうちか
ら、文字列に含まれる3文字をそれぞれ最小面積で囲む
各矩形の面積の変化量の合計値が最小であるものを1個
特定する。
At this time, in order to make the character string a pattern that can be associated with the logical value “0”, the character string must be
Any of patterns 0, 7, 8, 9, 10, 11, or 12 may be used. In this case, the element information conversion unit 17 first determines whether or not the width and height of characters included in the character string are to be changed to pattern 0 and patterns 7 to 12, respectively. Are specified when the total value of the variation in the area of each rectangle surrounding each of the three characters included in. Then, from the specified cases, one having the smallest total change amount of the areas of the rectangles each surrounding the three characters included in the character string with the minimum area is specified.

【0064】例えば、要素情報変換部17は、「文字列
に含まれる3文字の少なくともいずれかの幅及び高さを
1ピクセル単位で変えるものとし、これらの文字を最小
面積で囲む2個の矩形の面積の差が90平方ピクセル
(すなわち、一辺1ピクセルの正方形の面積の90倍)
未満である場合は両矩形の面積が等しいものとみなす」
という条件下では、まず、 (1):2番目の文字を、幅29ピクセル、高さ29ピ
クセルに縮小し、文字列がパターン0に属するようにす
る、 (2):1番目の文字を、幅32ピクセル、高さ32ピ
クセルに拡大し、文字列がパターン7に属するようにす
る、 (3):1番目の文字を、幅25ピクセル、高さ25ピ
クセルに縮小し、文字列がパターン8に属するようにす
る、 (4):2番目の文字を、幅26ピクセル、高さ26ピ
クセルに縮小し、3番目の文字を、幅32ピクセル、高
さ29ピクセルに拡大し、文字列がパターン9に属する
ようにする、 (5):1番目の文字を、幅29ピクセル、高さ29ピ
クセルに拡大し、2番目の文字を、幅25ピクセル、高
さ25ピクセルに縮小し、文字列がパターン10に属す
るようにする、 (6):3番目の文字を、幅27ピクセル、高さ24ピ
クセルに縮小し、文字列がパターン11に属するように
する、 (7):3番目の文字を、幅33ピクセル、高さ30ピ
クセルに拡大し、文字列がパターン12に属するように
する、という7つの場合を特定し、これらの場合を表す
任意の形式の情報を記憶する。
For example, the element information conversion unit 17 may change the width and height of at least one of the three characters included in the character string in units of one pixel, and form two rectangles surrounding these characters with a minimum area. Is 90 square pixels (ie, 90 times the area of a square with one pixel on each side)
If they are less than, it is considered that both rectangles have the same area. "
First, (1): the second character is reduced to 29 pixels wide and 29 pixels high so that the character string belongs to pattern 0. (2): The first character is The character string is enlarged to 32 pixels wide and 32 pixels high so that the character string belongs to pattern 7. (3) The first character is reduced to 25 pixels wide and 25 pixels high, and the character string is changed to pattern 8 (4): The second character is reduced to 26 pixels in width and 26 pixels in height, and the third character is expanded to 32 pixels in width and 29 pixels in height. (5): The first character is enlarged to 29 pixels wide and 29 pixels high, and the second character is reduced to 25 pixels wide and 25 pixels high. To belong to pattern 10, 6): The third character is reduced to 27 pixels wide and 24 pixels high so that the character string belongs to the pattern 11. (7): The third character is 33 pixels wide and 30 pixels high. To specify that the character string belongs to the pattern 12 and store information in an arbitrary format representing these cases.

【0065】次いで、要素情報変換部17は、記憶した
これら7つの場合のうち、文字列に含まれる3文字をそ
れぞれ最小面積で囲む矩形の面積の変化量の合計値が最
小となる場合として、上述の(1)の場合を特定する。
Next, the element information conversion unit 17 determines that, among the seven stored cases, the total value of the change in the area of the rectangle surrounding each of the three characters included in the character string with the minimum area is the minimum. The case of the above (1) is specified.

【0066】文字列に対応付けられる論理値が現在の値
と異なる値になる場合のうち、文字列に含まれる3文字
をそれぞれ最小面積で囲む各矩形の面積の変化量の合計
値が所定の条件下で最小となる場合を1個特定すると、
要素情報変換部17は、文字列を構成する各文字の幅及
び高さを、特定されたこの場合に適合するように更新す
ることを決定する。例えば、特定された場合が上述の
(1)の場合であるとき、要素情報変換部17は、文字
列を構成する文字のうち2番目の文字を、図3(B)に
示すように、幅29ピクセル、高さ29ピクセルに縮小
することを決定する。
In the case where the logical value associated with the character string is different from the current value, the total value of the change in the area of each rectangle surrounding each of the three characters included in the character string with the minimum area is a predetermined value. Specifying one case that is the smallest under the conditions,
The element information conversion unit 17 determines to update the width and height of each character constituting the character string so as to conform to the specified case. For example, when the specified case is the case of the above (1), the element information conversion unit 17 converts the second character of the characters forming the character string into the width as shown in FIG. Decide to reduce to 29 pixels and 29 pixels high.

【0067】そして、主情報を構成するすべての文字列
について、該文字列を構成する各文字の幅及び高さをど
のように更新するかを決定すると、要素情報変換部17
は、決定結果に従って要素情報を更新するよう、要素情
報蓄積部14に要求を送り、要素情報蓄積部14は、こ
の要求に従って、自己が記憶する要素情報を更新する。
例えば、要素情報変換部17は、主情報に含まれるうち
先頭の文字列を構成する文字列の2番目の文字を、幅2
9ピクセル、高さ29ピクセルに縮小することを決定し
た場合、図3(B)に示すように、2番目の文字の幅及
び高さを示す情報を、それぞれ29ピクセルを表すよう
更新する。
When it is determined how to update the width and height of each character constituting the character string for all the character strings constituting the main information, the element information conversion unit 17
Sends a request to the element information storage unit 14 to update the element information according to the determination result, and the element information storage unit 14 updates the element information stored by itself in accordance with the request.
For example, the element information conversion unit 17 converts the second character of the character string constituting the head character string included in the main information into the width 2
When it is determined to reduce the size to 9 pixels and the height to 29 pixels, as shown in FIG. 3B, the information indicating the width and the height of the second character is updated so as to represent 29 pixels.

【0068】次に、主情報再構成部18は、要素情報蓄
積部14に、要素情報蓄積部14が記憶している更新後
の要素情報を出力するよう要求を送り、要素情報蓄積部
14は、この要求に従って、自己が記憶する更新後の要
素情報を出力し、主情報再構成部18は、出力されたこ
の要素情報を取得する。そして、主情報再構成部18
は、取得した変更後の要素情報が示す通りに、主情報を
なす各文字の高さ及び幅を変更するよう、主情報蓄積部
12に要求を送る。主情報蓄積部12は、この要求に従
って、自己が記憶する画像データを更新する。
Next, the main information reconstructing unit 18 sends a request to the element information storage unit 14 to output the updated element information stored in the element information storage unit 14, and the element information storage unit 14 In response to this request, the updated element information stored by itself is output, and the main information reconstructing unit 18 acquires the output element information. Then, the main information reconstruction unit 18
Sends a request to the main information storage unit 12 to change the height and width of each character forming the main information as indicated by the acquired changed element information. The main information storage unit 12 updates the image data stored therein according to the request.

【0069】画像データを更新すると、主情報出力部1
9は、主情報蓄積部12に、主情報蓄積部12が記憶し
ている画像データを出力するよう要求を送り、主情報蓄
積部12は、この要求に従って、自己が記憶する画像デ
ータを出力する。主情報出力部19は、出力されたこの
画像データを取得して、この画像データが表す各文字
を、取得した画像データが示す位置に、また、取得した
画像データが示す幅及び高さを有するようにして、紙面
等に印刷する。
When the image data is updated, the main information output unit 1
9 sends a request to the main information storage unit 12 to output the image data stored in the main information storage unit 12, and the main information storage unit 12 outputs the image data stored by itself according to the request. . The main information output unit 19 acquires the output image data, and has each character represented by the image data at a position indicated by the acquired image data, and has a width and a height indicated by the acquired image data. In this way, printing is performed on paper or the like.

【0070】以上説明した動作により、この電子透かし
システムは、画像データに含まれる文字列に副情報を対
応付け、副情報が著作権コードを表すように画像データ
を変更し(すなわち画像データに著作権コードを埋め込
み)、著作権コードが埋め込まれた文面を有する文書を
作成する。
By the operation described above, the digital watermark system associates the character string included in the image data with the sub-information and changes the image data so that the sub-information indicates the copyright code (ie, the copyright is added to the image data). A right code is embedded), and a document having a text in which the copyright code is embedded is created.

【0071】(著作権コードを読み出す動作)文面に著
作権コードが埋め込まれた文書から著作権コードを読み
出す場合、主情報入力部11の機能を行うスキャナ10
5は、著作権コードが埋め込まれた文書の表面を読み取
り、読み取った文書の画像を表す画像データを作成し
て、該画像データを主情報蓄積部12に供給する。主情
報蓄積部12は、この画像データを記憶する。
(Operation for Reading Copyright Code) When reading a copyright code from a document in which the copyright code is embedded in the text, the scanner 10 that performs the function of the main information input unit 11
5 reads the surface of the document in which the copyright code is embedded, creates image data representing an image of the read document, and supplies the image data to the main information storage unit 12. The main information storage unit 12 stores the image data.

【0072】次に、要素情報抽出部13は、主情報蓄積
部12に画像データの出力の要求を送り、主情報蓄積部
12はこれに従い、自己が記憶する画像データを出力
し、要素情報抽出部13はこの画像データを取得する。
そして、要素情報抽出部13は、上述した手順と実質的
に同一の手順で、取得した画像データが表す主情報を構
成する各文字の形状の特徴を示す要素情報を抽出し、抽
出した要素情報を、要素情報蓄積部14に供給する。要
素情報蓄積部14は、この要素情報を記憶する。
Next, the element information extraction unit 13 sends a request for outputting image data to the main information storage unit 12, and the main information storage unit 12 outputs the image data stored by itself, and The unit 13 acquires this image data.
The element information extraction unit 13 extracts element information indicating the characteristic of the shape of each character constituting the main information represented by the acquired image data in substantially the same procedure as the above-described procedure, and extracts the extracted element information. Is supplied to the element information storage unit 14. The element information storage unit 14 stores this element information.

【0073】次に、副情報読み出し部20は、要素情報
蓄積部14に、要素情報を出力するよう要求を送り、要
素情報蓄積部14はこれに従い、自己が記憶する要素情
報を出力する。副情報読み出し部20はこの要素情報を
取得し、要素情報変換部17が行う上述の手順と実質的
に同一の手順により、自己が取得した要素情報より副情
報を抽出する。更に、副情報読み出し部20は、抽出し
た副情報の所定の位置から、2進数に変換された著作権
コードの桁数と同数の連続した部分を抽出することによ
り、副情報に含まれる著作権コードを取得する。そし
て、副情報読み出し部20は、抽出した著作権コードを
副情報蓄積部16に供給する。副情報蓄積部16は、供
給された著作権コードを記憶する。
Next, the sub-information reading unit 20 sends a request to the element information storage unit 14 to output the element information, and the element information storage unit 14 outputs the element information stored by itself in accordance with the request. The sub-information reading unit 20 acquires the element information, and extracts the sub-information from the element information acquired by itself by substantially the same procedure as the above-described procedure performed by the element information conversion unit 17. Further, the sub-information reading unit 20 extracts, from a predetermined position of the extracted sub-information, a continuous portion having the same number of digits of the copyright code converted into a binary number, thereby obtaining the copyright included in the sub-information. Get the code. Then, the sub-information reading unit 20 supplies the extracted copyright code to the sub-information storage unit 16. The sub information storage unit 16 stores the supplied copyright code.

【0074】次に、副情報出力部21は、副情報蓄積部
16に、副情報蓄積部16が記憶している著作権コード
を出力するよう要求を送り、副情報蓄積部16は、この
要求に従って、自己が記憶する著作権コードを出力す
る。副情報出力部21は、この著作権コードを取得し
て、取得した著作権コードを、自己の表示画面上に表示
する。以上説明した動作により、この電子透かしシステ
ムは、著作権コードが埋め込まれた文面の画像データか
ら著作権コードを抽出して表示する。
Next, the sub-information output unit 21 sends a request to the sub-information storage unit 16 to output the copyright code stored in the sub-information storage unit 16. And outputs the copyright code stored therein. The sub-information output unit 21 acquires the copyright code and displays the acquired copyright code on its own display screen. By the operation described above, the digital watermark system extracts and displays a copyright code from textual image data in which the copyright code is embedded.

【0075】なお、この実施の形態に係る電子透かしシ
ステムは、上述した実施の形態に限定されることなく、
種々の変形及び応用が可能である。例えば、文面に埋め
込む対象の情報は著作権コードである必要はなく、文面
が真正な物であることを証するための情報でもよいし、
その他任意の情報であってもよい。また、文面に含まれ
る文字は画素から構成されるものである必要はない。
Note that the digital watermarking system according to this embodiment is not limited to the above-described embodiment.
Various modifications and applications are possible. For example, the information to be embedded in the text need not be a copyright code, but may be information for proving that the text is genuine,
Other arbitrary information may be used. Further, the characters included in the text need not be composed of pixels.

【0076】また、この電子透かしシステムは、著作権
コードを読み出す動作を行わない場合、副情報読み出し
部20及び副情報出力部21のうちの一部又は全部を備
える必要がない。また、この電子透かしシステムは、著
作権コードを埋め込む動作を行わない場合、副情報入力
部15、要素情報変換部17、主情報再構成部18及び
主情報出力部19のうちの一部又は全部を備える必要が
ない。
When the digital watermark system does not perform the operation of reading the copyright code, it is not necessary to provide a part or all of the sub-information reading unit 20 and the sub-information output unit 21. When the digital watermarking system does not perform the operation of embedding the copyright code, a part or all of the sub information input unit 15, the element information conversion unit 17, the main information reconstructing unit 18, and the main information output unit 19 There is no need to provide.

【0077】また、著作権コード等を埋め込む対象の文
書は、文字が記載されたものである必要はなく、任意の
可視的な符号が記載されたものであればよい。例えば、
著作権コード等を埋め込む対象の文書は楽譜であっても
よい。この場合には、例えば、複数の音符より構成され
るグループを上述の文字列と実質的に同一に扱い、これ
らの音符の所定の部分(例えば、音符の「玉」の部分、
すなわち音符のうち音階を表す部分)を、上述の文字列
を構成する文字と実質的に同一に扱うようにすればよ
い。
The document into which the copyright code or the like is to be embedded does not need to include characters, but may be any document in which any visible code is described. For example,
The document into which the copyright code or the like is embedded may be a musical score. In this case, for example, a group composed of a plurality of notes is treated substantially the same as the above-described character string, and a predetermined portion of these notes (for example, a “ball” portion of a note,
In other words, the portion representing the scale of the note) may be treated substantially the same as the characters constituting the character string described above.

【0078】また、主情報を構成する文字列等に含まれ
る符号の数は3個である必要はなく、2個以上の任意の
数であればよい。また、主情報を構成する文字列等に含
まれる符号は、文面の画像上で互いに隣接している必要
もなく、文書内の任意の符号を含んでいればよい。
The number of codes included in a character string or the like constituting main information does not need to be three, but may be any number equal to or more than two. Further, the codes included in the character strings and the like constituting the main information need not be adjacent to each other on the text image, and may include any codes in the document.

【0079】また、上述の実施の形態では、副情報を構
成するビットの論理値は、そのビットに対応付けられる
文字列等を構成する複数の符号の各々を実質上最小面積
で囲む矩形の大小関係に基づいて決定されていた。しか
し、該ビットの論理値は、これら複数の符号の形状の相
対的な差異の類型に従って決定されるのであれば、任意
の基準に基づいて決定されてもよい。従って、該ビット
の論理値は、例えば、各該符号の高さの大小関係や幅の
大小関係に基づいて決定されてもよい。
Further, in the above-described embodiment, the logical value of the bit forming the sub-information is determined by the size of a rectangle surrounding each of a plurality of codes forming a character string or the like associated with the bit with a substantially minimum area. The decision was based on the relationship. However, the logical value of the bit may be determined based on any criterion as long as it is determined according to the type of the relative difference between the shapes of the plurality of codes. Therefore, the logical value of the bit may be determined based on, for example, the magnitude relationship between the height and the width of each code.

【0080】また、副情報を構成するビットの論理値
は、二値論理値である必要はなく、3個以上の値をとり
得るものであってもよい。また、副情報を構成するビッ
トの論理値と、主情報を構成する複数の符号の形状の相
対的な差異の類型との対応関係も任意である。
The logical values of the bits constituting the sub-information need not be binary logical values, but may be three or more. Further, the correspondence between the logical values of the bits forming the sub information and the types of the relative differences in the shapes of the plurality of codes forming the main information is also arbitrary.

【0081】ただし、主情報を構成する文字列等に含ま
れる各々の符号を最小面積で囲む各矩形の面積の変化量
の合計値を所定の条件下で最小とするためにこれらの符
号の幅や高さを変化させるとき、この変化に伴う視覚的
な違和感を小さくするためには、互いに異なった論理値
が対応付けられる文字列等同士が、視覚的に類似した形
状を有していることが望ましい。
However, in order to minimize the total value of the change in the area of each of the rectangles enclosing each code included in the character string or the like constituting the main information with a minimum area under predetermined conditions, the width of each code is determined. When changing the height or height, in order to reduce the visual discomfort associated with this change, character strings etc. that are associated with different logical values must have visually similar shapes. Is desirable.

【0082】例えば、上述のパターン3とパターン10
のように、1個目の文字と3個目の文字とをそれぞれ最
小面積で囲む両矩形の面積の大小関係以外に相違のない
1組のパターンに、互いに異なった論理値を対応付ける
ようにすれば、パターン3とパターン10のいずれか一
方に分類される文字列は、その1個目又は3個目のいず
れか一方の文字の幅や高さを変えれば、従前と異なった
論理値を有するビットに対応付けられる。
For example, the above-mentioned pattern 3 and pattern 10
Thus, different logical values are associated with a set of patterns that are not different from each other except for the size relationship between the areas of the two rectangles that respectively surround the first character and the third character with the minimum area. For example, a character string classified into one of the pattern 3 and the pattern 10 has a different logical value from the conventional one if the width or height of either the first character or the third character is changed. Corresponds to bits.

【0083】また、著作権コード等を埋め込む対象の文
面や、著作権コード等を読み出す対象の文面は、紙面等
に印刷されているものである必要はなく、この電子透か
しシステムは、これらの文面を表す画像データを予め記
録した記録媒体等から該画像データを読み出して主情報
蓄積部12に格納するようにしてもよい。この場合、こ
の電子透かしシステムは、必ずしもスキャナ105を備
える必要はない。
The text on which the copyright code or the like is to be embedded or the text from which the copyright code or the like is to be read need not be printed on paper or the like. May be read from a recording medium or the like in which the image data representing the image data is recorded in advance, and stored in the main information storage unit 12. In this case, the digital watermarking system does not necessarily need to include the scanner 105.

【0084】また、要素情報抽出部13は、自己が生成
した要素情報に基づいて副情報を抽出してもよく、要素
情報蓄積部14は、要素情報に加え、要素情報抽出部1
3が抽出した副情報を格納してもよい。この場合、要素
情報変換部17は副情報の抽出をする必要はなく、要素
情報蓄積部14より副情報を読み出すようにすればよ
い。
The element information extracting section 13 may extract sub-information based on the element information generated by itself, and the element information storing section 14 stores the element information in addition to the element information.
3 may store the extracted sub-information. In this case, the element information conversion unit 17 does not need to extract the sub information, and may read the sub information from the element information storage unit 14.

【0085】以上、この発明の実施の形態を説明した
が、この発明の情報埋め込み装置、情報読み出し装置及
び電子透かしシステムは、専用のシステムによらず、通
常のコンピュータシステムを用いて実現可能である。例
えば、パーソナルコンピュータに上述の動作を実行する
ためのプログラムを格納した媒体(フロッピーディス
ク、CD−ROM等)から該プログラムをインストール
することにより、上述の処理を実行する電子透かしシス
テムを構成することができる。
Although the embodiments of the present invention have been described above, the information embedding device, the information reading device, and the digital watermarking system of the present invention can be realized by using a general computer system without using a dedicated system. . For example, by installing the program from a medium (floppy disk, CD-ROM, or the like) storing a program for executing the above-described operation in a personal computer, a digital watermarking system that executes the above-described processing can be configured. it can.

【0086】また、コンピュータにプログラムを供給す
るための媒体は、通信媒体(通信回線、通信ネットワー
ク、通信システムのように、一時的且つ流動的にプログ
ラムを保持する媒体)でも良い。例えば、通信ネットワ
ークの掲示板(BBS)に該プログラムを掲示し、これ
をネットワークを介して配信してもよい。また、プログ
ラムにより搬送波を変調して得られる変調波を配信する
ことにより、プログラムを供給するようにしてもよい。
そして、このプログラムを起動し、OSの制御下に、他
のアプリケーションプログラムと同様に実行することに
より、上述の処理を実行することができる。
The medium for supplying the program to the computer may be a communication medium (a medium that temporarily and fluidly stores the program, such as a communication line, a communication network, or a communication system). For example, the program may be posted on a bulletin board (BBS) of a communication network and distributed via the network. The program may be supplied by distributing a modulated wave obtained by modulating a carrier wave by the program.
Then, by starting this program and executing it in the same manner as other application programs under the control of the OS, the above-described processing can be executed.

【0087】なお、OSが処理の一部を分担する場合、
あるいは、OSが本願発明の1つの構成要素の一部を構
成するような場合には、記録媒体には、その部分をのぞ
いたプログラムを格納してもよい。この場合も、この発
明では、その記録媒体には、コンピュータが実行する各
機能又はステップを実行するためのプログラムが格納さ
れているものとする。
When the OS shares a part of the processing,
Alternatively, when the OS constitutes a part of one component of the present invention, a program excluding the part may be stored in the recording medium. Also in this case, in the present invention, it is assumed that the recording medium stores a program for executing each function or step executed by the computer.

【0088】[0088]

【発明の効果】以上説明したように、この発明によれ
ば、情報が埋め込まれた画像が変化しても、標準画像を
用いることなくその画像から情報を確実かつ容易に再現
できる電子透かしシステムと、そのような電子透かしシ
ステムを構成するため情報埋め込み装置、情報読み出し
装置、情報埋め込み方法及び情報読み出し方法が実現さ
れる。
As described above, according to the present invention, there is provided a digital watermark system capable of reliably and easily reproducing information from an image in which information is embedded without using a standard image even if the image changes. An information embedding device, an information reading device, an information embedding method, and an information reading method are realized to constitute such a digital watermarking system.

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

【図1】この発明の実施の形態に係る電子透かしシステ
ムの物理的構成を示すブロック図である。
FIG. 1 is a block diagram showing a physical configuration of a digital watermarking system according to an embodiment of the present invention.

【図2】図1の電子透かしシステムの論理的構成を示す
ブロック図である。
FIG. 2 is a block diagram showing a logical configuration of the digital watermarking system of FIG. 1;

【図3】(A)は、変更前の文字の形状及び要素情報を
模式的に示す図であり、(B)は、変更後の文字の形状
及び要素情報を模式的に示す図である。
FIG. 3A is a diagram schematically illustrating the shape and element information of a character before a change, and FIG. 3B is a diagram schematically illustrating the shape and element information of a character after a change.

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

101 制御部 102 主記憶部 103 外部記憶部 104 入力部 105 スキャナ 106 プリンタ 107 表示部 11 主情報入力部 12 主情報蓄積部 13 要素情報抽出部 14 要素情報蓄積部 15 副情報入力部 16 副情報蓄積部 17 要素情報変換部 18 主情報再構成部 19 主情報出力部 20 副情報読み出し部 21 副情報出力部 101 control unit 102 main storage unit 103 external storage unit 104 input unit 105 scanner 106 printer 107 display unit 11 main information input unit 12 main information storage unit 13 element information extraction unit 14 element information storage unit 15 sub information input unit 16 sub information storage Unit 17 element information conversion unit 18 main information reconstructing unit 19 main information output unit 20 sub information read unit 21 sub information output unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩城 修 東京都江東区豊洲三丁目3番3号 株式会 社エヌ・ティ・ティ・データ内 Fターム(参考) 5B057 AA11 BA02 CA02 CA06 CA12 CA16 CB02 CB06 CB12 CB16 CC03 CE08 CE09 CG07 DA08 DA17 DC04 DC36 5C076 AA02 AA14 AA40 BA06 5J104 AA14 NA27  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Osamu Iwaki 3-3-3 Toyosu, Koto-ku, Tokyo F-term in NTT Data Corporation (reference) 5B057 AA11 BA02 CA02 CA06 CA12 CA16 CB02 CB06 CB12 CB16 CC03 CE08 CE09 CG07 DA08 DA17 DC04 DC36 5C076 AA02 AA14 AA40 BA06 5J104 AA14 NA27

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】符号の配列を含む主情報を取得し、取得し
た主情報に含まれる符号の形状の特徴を示す要素情報を
生成する要素情報抽出部と、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出する副情報読み出し部と、 前記主情報に埋め込むための付加情報を取得して、前記
要素情報を、該要素情報より抽出される副情報が、自己
が取得した付加情報と実質的に一致するように変更する
要素情報変換部と、 前記主情報に含まれる符号を、その形状が、前記要素情
報変換部により変更された要素情報が示す特徴を有する
ように変換する主情報変換部と、 前記主情報変換部により変換された主情報が示す符号の
配列を出力する主情報出力部と、を備える、 ことを特徴とする情報埋め込み装置。
An element information extraction unit configured to acquire main information including an array of codes and to generate element information indicating characteristics of a shape of the code included in the obtained main information; A sub-information reading unit that extracts sub-information indicating a relative difference in the shape characteristic of the sub-information, and acquires additional information for embedding in the main information, and extracts the element information from the sub-information extracted from the element information. However, the element information conversion unit that changes so that it substantially matches the additional information obtained by itself, and the code included in the main information is indicated by the element information whose shape has been changed by the element information conversion unit An information embedding device, comprising: a main information conversion unit that converts to have a characteristic; and a main information output unit that outputs an array of codes indicated by the main information converted by the main information conversion unit.
【請求項2】前記要素情報は、前記主情報に含まれる符
号の大きさを示すものであり、 前記副情報は、複数の前記符号の大小関係を示すもので
ある、 ことを特徴とする請求項1に記載の情報埋め込み装置。
2. The method according to claim 1, wherein the element information indicates a size of a code included in the main information, and the sub-information indicates a magnitude relationship between a plurality of the codes. Item 2. An information embedding device according to Item 1.
【請求項3】前記要素情報は、前記主情報に含まれる符
号を実質的に最小面積で囲む所定の図形の面積を示すも
のであり、 前記副情報は、複数の前記所定の図形の面積の大小関係
を示すものであり、 前記要素情報変換部は、前記要素情報を、該要素情報よ
り抽出される副情報が、自己が取得した付加情報と実質
的に一致し、かつ、前記複数の所定の図形の面積の変化
量が所定の条件の下で最小となるように変更する、 ことを特徴とする請求項2に記載の情報埋め込み装置。
3. The element information indicates an area of a predetermined graphic substantially enclosing a code included in the main information with a minimum area, and the sub information indicates an area of a plurality of the predetermined graphic. The element information conversion unit indicates that the sub-information extracted from the element information substantially matches the additional information acquired by itself, and The information embedding device according to claim 2, wherein the amount of change in the area of the figure is changed to be a minimum under a predetermined condition.
【請求項4】前記要素情報は、前記主情報に含まれる符
号を実質的に最小面積で囲む所定の図形の面積を示すも
のであり、 前記副情報は、複数の前記所定の図形の面積の大小関係
を複数の類型に分類した場合にいずれの類型に属するか
を示すものであり、 各前記類型は、各々所定の値に対応付けられており、 前記要素情報変換部は、 前記要素情報を、該要素情報より抽出される副情報が、
自己が取得した付加情報の値と実質的に同一の値に対応
付けられた各類型のそれぞれに属し、かつ、前記複数の
所定の図形の面積の変化量が所定の条件の下で最小とな
るように変更したものを表す変換候補を複数記憶する手
段と、 各前記変換候補のうち、前記複数の所定の図形の面積の
変化量が最小であるものを特定し、前記要素情報を、特
定された前記変換候補が示すものへと変更する手段と、
を備える、 ことを特徴とする請求項3に記載の情報埋め込み装置。
4. The element information indicates an area of a predetermined figure substantially enclosing a code included in the main information with a minimum area, and the sub-information indicates an area of a plurality of the predetermined figures. When the magnitude relationship is classified into a plurality of types, it indicates which type it belongs to. Each of the types is associated with a predetermined value, and the element information conversion unit converts the element information into , The sub-information extracted from the element information is
It belongs to each of the types associated with substantially the same value as the value of the additional information acquired by itself, and the amount of change in the area of the plurality of predetermined figures is minimized under predetermined conditions Means for storing a plurality of conversion candidates representing the changed one, and specifying, from among the conversion candidates, a conversion amount of the plurality of predetermined figures having the smallest change amount, and identifying the element information. Means for changing to the one indicated by the conversion candidate,
The information embedding device according to claim 3, comprising:
【請求項5】符号の配列を含む主情報を取得し、取得し
た主情報に含まれる符号の形状の特徴を示す要素情報を
生成する要素情報抽出部と、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出して出力する副情報出力部
と、を備える、 ことを特徴とする情報読み出し装置。
5. An element information extracting unit for acquiring main information including an array of codes, and generating element information indicating characteristics of a shape of a code included in the obtained main information; And a sub-information output unit that extracts and outputs sub-information indicating a relative difference between the features of the shape.
【請求項6】前記要素情報は、前記主情報に含まれる符
号の大きさを示すものであり、 前記副情報は、複数の前記符号の大小関係を示すもので
ある、 ことを特徴とする請求項5に記載の情報読み出し装置。
6. The information processing apparatus according to claim 1, wherein the element information indicates a size of a code included in the main information, and the sub information indicates a magnitude relationship between a plurality of the codes. Item 6. An information reading device according to item 5.
【請求項7】前記要素情報は、前記主情報に含まれる符
号を実質的に最小面積で囲む所定の図形の面積を示すも
のであり、 前記副情報は、複数の前記所定の図形の面積の大小関係
を示すものである、 ことを特徴とする請求項6に記載の情報読み出し装置。
7. The element information indicates an area of a predetermined graphic substantially enclosing a code included in the main information with a minimum area, and the sub information indicates an area of a plurality of the predetermined graphic. 7. The information reading device according to claim 6, wherein the information reading device indicates a magnitude relationship.
【請求項8】符号の配列を含む主情報を取得し、取得し
た主情報に含まれる符号の形状の特徴を示す要素情報を
生成する要素情報抽出部と、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出する副情報読み出し部と、 前記主情報に埋め込むための付加情報を取得して、前記
要素情報を、該要素情報より抽出される副情報が、自己
が取得した付加情報と実質的に一致するように変更する
要素情報変換部と、 前記主情報に含まれる符号を、その形状が、前記要素情
報変換部により変更された要素情報が示す特徴を有する
ように変換する主情報変換部と、 前記主情報変換部により変換された主情報が示す符号の
配列を出力する主情報出力部と、 前記要素情報より、複数の前記符号の特徴の相対的な差
異を示す副情報を抽出して出力する副情報出力部と、を
備える、ことを特徴とする電子透かしシステム。
8. An element information extraction unit for acquiring main information including an array of codes, and generating element information indicating characteristics of the shape of the code included in the obtained main information; A sub-information reading unit that extracts sub-information indicating a relative difference in the shape characteristic of the sub-information, and acquires additional information for embedding in the main information, and extracts the element information from the sub-information extracted from the element information. However, the element information conversion unit that changes so that it substantially matches the additional information obtained by itself, and the code included in the main information is indicated by the element information whose shape has been changed by the element information conversion unit A main information conversion unit that performs conversion to have a characteristic; a main information output unit that outputs an array of codes indicated by the main information converted by the main information conversion unit; Show relative differences It includes a sub-information output unit to output the extracted information, the electronic watermark system, characterized in that.
【請求項9】符号の配列を含む主情報を取得し、取得し
た主情報に含まれる符号の形状の特徴を示す要素情報を
生成する要素情報抽出ステップと、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出する副情報読み出しステッ
プと、 前記主情報に埋め込むための付加情報を取得して、前記
要素情報を、該要素情報より抽出される副情報が、自己
が取得した付加情報と実質的に一致するように変更する
要素情報変換ステップと、 前記主情報に含まれる符号を、その形状が、前記要素情
報変換ステップで変更された要素情報が示す特徴を有す
るように変換する主情報変換ステップと、 前記主情報変換ステップにより変換された主情報が示す
符号の配列を出力する主情報出力ステップと、を備え
る、 ことを特徴とする情報埋め込み方法。
9. An element information extracting step of obtaining main information including an array of codes, and generating element information indicating characteristics of the shape of the code included in the obtained main information; A sub-information reading step of extracting sub-information indicating a relative difference between the features of the shape; acquiring additional information for embedding in the main information; and extracting the element information from the sub-information extracted from the element information. The element information conversion step of changing the element information so that it substantially matches the additional information acquired by itself, and the code included in the main information is indicated by the element information whose shape has been changed in the element information conversion step. A main information conversion step of performing conversion so as to have a characteristic, and a main information output step of outputting an array of codes indicated by the main information converted in the main information conversion step. Information embedding method to.
【請求項10】符号の配列を含む主情報を取得し、取得
した主情報に含まれる符号の形状の特徴を示す要素情報
を生成する要素情報抽出ステップと、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出して出力する副情報出力ス
テップと、を備える、 ことを特徴とする情報読み出し方法。
10. An element information extracting step of obtaining main information including an array of codes, and generating element information indicating characteristics of the shape of the code included in the obtained main information; A sub-information output step of extracting and outputting sub-information indicating a relative difference between the features of the shape of the information.
【請求項11】コンピュータを、 符号の配列を含む主情報を取得し、取得した主情報に含
まれる符号の形状の特徴を示す要素情報を生成する要素
情報抽出部と、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出する副情報読み出し部と、 前記主情報に埋め込むための付加情報を取得して、前記
要素情報を、該要素情報より抽出される副情報が、自己
が取得した付加情報と実質的に一致するように変更する
要素情報変換部と、 前記主情報に含まれる符号を、その形状が、前記要素情
報変換部により変更された要素情報が示す特徴を有する
ように変換する主情報変換部と、 前記主情報変換部により変換された主情報が示す符号の
配列を出力する主情報出力部と、 して機能させるためのプログラムを記録したコンピュー
タ読み取り可能な記録媒体。
11. A computer, comprising: an element information extraction unit configured to obtain main information including an array of codes and generate element information indicating characteristics of a shape of a code included in the obtained main information; A sub-information reading unit for extracting sub-information indicating a relative difference between the features of the shape of the code, acquiring additional information for embedding in the main information, and extracting the element information from the element information. An element information conversion unit that changes the sub-information to substantially match the additional information obtained by itself, and an element whose code included in the main information has its shape changed by the element information conversion unit. A main information conversion unit for converting the information to have a characteristic indicated by the information; a main information output unit for outputting an array of codes indicated by the main information converted by the main information conversion unit; did Computer readable recording medium.
【請求項12】コンピュータを、 符号の配列を含む主情報を取得し、取得した主情報に含
まれる符号の形状の特徴を示す要素情報を生成する要素
情報抽出部と、 前記要素情報より、複数の前記符号の形状の特徴の相対
的な差異を示す副情報を抽出して出力する副情報出力部
と、 して機能させるためのプログラムを記録したコンピュー
タ読み取り可能な記録媒体。
12. A computer, comprising: an element information extraction unit configured to obtain main information including an array of codes and generate element information indicating characteristics of a shape of a code included in the obtained main information; A sub-information output unit for extracting and outputting sub-information indicating a relative difference between the features of the code shape; and a computer-readable recording medium storing a program for causing the sub-information to function.
JP11230380A 1999-08-17 1999-08-17 Device and method for embedding information and reading information, digital watermark system and recording medium Pending JP2001053954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11230380A JP2001053954A (en) 1999-08-17 1999-08-17 Device and method for embedding information and reading information, digital watermark system and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11230380A JP2001053954A (en) 1999-08-17 1999-08-17 Device and method for embedding information and reading information, digital watermark system and recording medium

Publications (1)

Publication Number Publication Date
JP2001053954A true JP2001053954A (en) 2001-02-23

Family

ID=16906969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11230380A Pending JP2001053954A (en) 1999-08-17 1999-08-17 Device and method for embedding information and reading information, digital watermark system and recording medium

Country Status (1)

Country Link
JP (1) JP2001053954A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004023566A (en) * 2002-06-18 2004-01-22 Canon Inc Electronic watermark burying apparatus, electronic watermark extracting apparatuses, and method thereof
WO2006042460A1 (en) * 2004-10-18 2006-04-27 Dong Liu Hidden data communication method and the application thereof in text digital watermark technology
US7039215B2 (en) 2001-07-18 2006-05-02 Oki Electric Industry Co., Ltd. Watermark information embedment device and watermark information detection device
US7085399B2 (en) 2002-06-18 2006-08-01 Oki Electric Industry Co., Ltd. Watermark information embedding device and watermark information detection device
US7202960B2 (en) 2001-05-21 2007-04-10 Oki Electric Industry Co., Ltd. Print sheet original authentication system, printer device and checking device
US7245740B2 (en) 2003-07-01 2007-07-17 Oki Electric Industry Co., Ltd. Electronic watermark embedding device, electronic watermark detection device, electronic watermark embedding method, and electronic watermark detection method
US7440583B2 (en) 2003-04-25 2008-10-21 Oki Electric Industry Co., Ltd. Watermark information detection method
JP2009200800A (en) * 2008-02-21 2009-09-03 Fuji Xerox Co Ltd Image processor and image processing program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7202960B2 (en) 2001-05-21 2007-04-10 Oki Electric Industry Co., Ltd. Print sheet original authentication system, printer device and checking device
US7039215B2 (en) 2001-07-18 2006-05-02 Oki Electric Industry Co., Ltd. Watermark information embedment device and watermark information detection device
JP2004023566A (en) * 2002-06-18 2004-01-22 Canon Inc Electronic watermark burying apparatus, electronic watermark extracting apparatuses, and method thereof
US7085399B2 (en) 2002-06-18 2006-08-01 Oki Electric Industry Co., Ltd. Watermark information embedding device and watermark information detection device
US7440583B2 (en) 2003-04-25 2008-10-21 Oki Electric Industry Co., Ltd. Watermark information detection method
US7245740B2 (en) 2003-07-01 2007-07-17 Oki Electric Industry Co., Ltd. Electronic watermark embedding device, electronic watermark detection device, electronic watermark embedding method, and electronic watermark detection method
WO2006042460A1 (en) * 2004-10-18 2006-04-27 Dong Liu Hidden data communication method and the application thereof in text digital watermark technology
JP2009200800A (en) * 2008-02-21 2009-09-03 Fuji Xerox Co Ltd Image processor and image processing program

Similar Documents

Publication Publication Date Title
JP3837432B2 (en) Digital image processing method and system
US7692813B2 (en) Image processing apparatus and method, and storage medium
US8169634B2 (en) Image processing apparatus and image forming apparatus
US7639388B2 (en) Image processing apparatus, image reproduction apparatus, system, method and storage medium for image processing and image reproduction
US7164493B1 (en) Image processing method, system and apparatus, and storage medium
JP2006251902A (en) Device, program, and method for generating translation document image
JP2004320448A (en) Image processor, image processing system, and program running on computer
WO2004084538A1 (en) Image processor having image region designation function
US6771820B1 (en) Encoding information within text printed on a page using differing gray or color levels
US20070127085A1 (en) Printing system, printing method and program thereof
JP2001053954A (en) Device and method for embedding information and reading information, digital watermark system and recording medium
JP4428743B2 (en) Image processing method and apparatus, printer, image processing system, and storage medium
JP4682662B2 (en) Image processing apparatus and image processing program
CN1326383C (en) Image processing apparatus, image processing method, computer program and computer readable storage medium
JP4109785B2 (en) Image processing apparatus and method, and computer-readable memory
JP4514168B2 (en) Image processing system and image processing method
US7091985B1 (en) System and method for compressing color data using expandable color palette
JP2012009926A (en) Tint image processing apparatus and tint image processing method
JP2001169120A (en) Method, device, and system for image processing
JP4306841B2 (en) Image processing apparatus and method, and computer-readable memory
JP3636891B2 (en) Color image output method
JP2009060216A (en) Image processor, and image processing program
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory
JP4757167B2 (en) Image processing apparatus and image processing method
JP2009141525A (en) Apparatus and method of processing image