JP2002232679A - Method and device for image processing, computer program, and storage medium - Google Patents

Method and device for image processing, computer program, and storage medium

Info

Publication number
JP2002232679A
JP2002232679A JP2001021658A JP2001021658A JP2002232679A JP 2002232679 A JP2002232679 A JP 2002232679A JP 2001021658 A JP2001021658 A JP 2001021658A JP 2001021658 A JP2001021658 A JP 2001021658A JP 2002232679 A JP2002232679 A JP 2002232679A
Authority
JP
Japan
Prior art keywords
rectangle
image
digital watermark
information
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001021658A
Other languages
Japanese (ja)
Other versions
JP3728209B2 (en
Inventor
Atsushi Tamaru
淳 田丸
Keiichi Iwamura
恵市 岩村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001021658A priority Critical patent/JP3728209B2/en
Publication of JP2002232679A publication Critical patent/JP2002232679A/en
Application granted granted Critical
Publication of JP3728209B2 publication Critical patent/JP3728209B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To obtain a natural output by using the distance of blank parts between characters to embed information and to embed more information in comparison with use of the distance between words. SOLUTION: Circumscribed rectangles 104 of characters or elements (left-hand radicals, right-hand radicals, or the like) constituting the characters in an inputted document picture 101 are obtained (processing 102). A ratio of (P-S) to (P+S) where P is the distance between a target rectangle of the information embedding object and the preceding rectangle and D is the distance between the target rectangle and the following rectangle is quantized, and the extent of shift by which the position of the target rectangle should be shifted right or left is so determined that the quantization result may be equal to bits of objective watermark information 106. Then the image of the target rectangle is shifted in accordance with this extent of shift. This operation is repeated to generate an output image 105.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文書画像のデジタ
ルデータに電子透かし情報を埋め込む、或いはそこから
電子透かし情報を抽出する画像処理装置、及び方法、及
びこの方法を記憶した記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method for embedding digital watermark information in digital data of a document image or extracting digital watermark information therefrom, and a storage medium storing this method. is there.

【0002】[0002]

【従来の技術】近年、インターネット上で画像や音声な
どのデジタルデータの著作権保護手段として、電子透か
し技術が注目されている。電子透かし技術は、画像や音
声などのデジタルデータを人間が知覚できない程度に操
作することにより電子透かし情報を埋め込む技術であ
る。
2. Description of the Related Art In recent years, digital watermark technology has attracted attention as a means for protecting the copyright of digital data such as images and sounds on the Internet. The digital watermark technology is a technology for embedding digital watermark information by manipulating digital data such as images and sounds to such an extent that humans cannot perceive it.

【0003】多値画像に対する電子透かし技術として
は、一般的に画素の濃度の冗長性を利用した種々の方法
が知られている。また、2値画像である文書画像に対す
る電子透かし技術としては、例えば、英文(欧文)の単
語間の空白長を変更することにより電子透かし情報を埋
め込む特開平9−186603(USP586161
9)が知られている。
[0003] As a digital watermarking technique for a multi-valued image, there are generally known various methods utilizing the redundancy of pixel density. As a digital watermarking technique for a document image which is a binary image, for example, Japanese Patent Application Laid-Open No. 9-186603 (US Pat. No. 5,861,161) embeds digital watermark information by changing a blank length between words in English (European).
9) is known.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来技術における、複数文字からなる単語を処理単位とし
てその単語間の距離を調節するという単純なものでは、
自然な出力結果を得ることは難しい。
However, in the above-mentioned prior art, a simple method of adjusting a distance between words by using a word composed of a plurality of characters as a processing unit is as follows.
It is difficult to get natural output results.

【0005】そこで、本発明は、文字間の空白部分の距
離を利用して情報の埋め込みを行い、自然な出力を得る
ことを可能にし、且つ、単語間に対するものより、より
多くの情報を埋め込むことを可能ならしめる画像処理装
置及び方法及びプログラム及び記憶媒体を提供しようと
するものである。
Therefore, the present invention embeds information by utilizing the distance of a blank portion between characters, enables a natural output to be obtained, and embeds more information than that between words. It is an object of the present invention to provide an image processing apparatus and method, a program, and a storage medium that make it possible.

【0006】また、他の発明は、単語間の空白を利用す
るにしても、より自然な出力結果とする画像処理装置及
び方法及びプログラム及び記憶媒体を提供しようとする
ものである。
Another object of the present invention is to provide an image processing apparatus and method, a program, and a storage medium that provide a more natural output result even when white space between words is used.

【0007】[0007]

【課題を解決するための手段】かかる課題を解決するた
め、例えば本発明の画像処理装置は以下の構成を備え
る。すなわち。
In order to solve such a problem, for example, an image processing apparatus according to the present invention has the following arrangement. That is.

【0008】文書画像に電子透かし情報を埋め込む画像
処理装置であって、前記文書画像における文字イメージ
或いは文字を構成する要素である要素イメージに外接す
る矩形を抽出する抽出手段と、埋め込み対象となる情報
のビットの論理値に基づき、注目矩形の位置を、隣合う
他の矩形のいずれかへのシフトするシフト量を決定する
シフト量算出手段と、該シフト量算出手段で算出したシ
フト量に基づいて、注目矩形の文字イメージ或いは要素
イメージをシフトするシフト手段とを備える。
An image processing apparatus for embedding digital watermark information in a document image, comprising: extracting means for extracting a rectangle circumscribing a character image or an element image constituting a character in the document image; and information to be embedded. Based on the logical value of the bit, the shift amount calculating means for determining the shift amount for shifting the position of the target rectangle to any of the adjacent rectangles, and the shift amount calculated by the shift amount calculating means. Shifting means for shifting the character image or element image of the target rectangle.

【発明の実施の形態】以下、添付図面に従って本発明に
係る実施形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0009】<第1の実施の形態>本実施形態では、日
本語の文書データ(漢字を用いた文書データ)に対して
領域分割と文字要素外接矩形抽出からなる文書画像解析
技術を用い、文字要素外接矩形間の空白長を用いて、情
報を埋め込む電子透かしについて説明する。より具体的
には、例えば特開平9−186603号(米国特許第5
861619号)において単語間に適用された手法をそ
のまま採用した場合に、漢字の「へん」と「つくり」が離れ
てしまうなどの、不自然な文書画像を作りだしてしまう
問題に鑑み、本実施形態では、単語間ではなく、文字或
いは文字を構成する要素(へん、つくり等)間の空白長
を利用し、且つ、できるだけ不自然さが少なく、デジタ
ル上においては確実に透かし情報の抽出が可能な埋め込
みを提案する。
<First Embodiment> In the present embodiment, a document image analysis technique consisting of area division and extraction of a character element circumscribed rectangle is used for Japanese document data (document data using kanji), A digital watermark in which information is embedded using a blank length between element circumscribed rectangles will be described. More specifically, for example, Japanese Patent Application Laid-Open No. 9-186603 (US Pat.
In the present embodiment, in consideration of the problem that an unnatural document image is created, for example, when the method applied between words in Japanese Patent No. 861619) is adopted as it is, the kanji characters “Hen” and “Tsukuri” are separated. In U.S. Pat. No. 5, it is possible to use the blank length between characters or elements (characters, etc.) constituting the character, not between words, and to minimize the unnaturalness, and to reliably extract watermark information digitally. Propose embedding.

【0010】本実施形態は、大きく分けて、電子透かし
埋め込み手法と、電子透かし抽出手法に分けられる。図
1に電子透かし埋め込み手法の概要を、図2に電子透か
し抽出手法の概要を示す。以下、順を追って説明する。
The present embodiment is roughly divided into a digital watermark embedding method and a digital watermark extraction method. FIG. 1 shows an outline of a digital watermark embedding method, and FIG. 2 shows an outline of a digital watermark extraction method. Hereinafter, description will be made in order.

【0011】<埋め込み法>先ず、電子透かし埋め込み
法について述べる。図1において、入力文書画像101
(例えばイメージスキャナ等で読み取る)は、先ず後述
する文書画像解析部102によって、テキスト領域やグ
ラフ等の図形の領域に分割され、さらにテキスト領域に
対しては、文字要素毎に外接矩形が抽出される。その結
果が図示の符号104である。ここで、文字要素とは、
文字認識技術で知られている射影技術(水平・垂直方向
にドットのヒストグラムを作成し、行間、文字要素間を
判定する技術)を用いて抽出された矩形領域(連続する
有意なドットの広がりに外接する矩形)を指し、一つの
文字である場合と、文字の構成要素(へん、つくり等)
である場合がある。なお、文書画像中のテキスト領域
(文字列領域)と非テキスト領域への領域分割(分離)
は公知の技術を用いるとする。また、図示の符号104
は分かり易く示しているものであり、実際は、例えば文
書画像の左上隅を原点にし、その位置から各矩形の左上
隅、右下隅の座標、或いは、矩形の左上隅の座標とその
矩形の高さ及び幅等のデータを抽出し、それを文字の並
び順にメモリに記憶するものであり、図示の如く矩形を
描画するものではない。
<Embedding Method> First, a digital watermark embedding method will be described. In FIG. 1, an input document image 101
(For example, read by an image scanner or the like) is first divided into a text area and a graphic area such as a graph by a document image analysis unit 102 described later, and a circumscribed rectangle is extracted for each character element in the text area. You. The result is indicated by reference numeral 104. Here, the character element is
A rectangular area extracted using the projection technology known as character recognition technology (a technology that creates a histogram of dots in the horizontal and vertical directions to determine the space between lines and between character elements). Circumscribed rectangle), which is a single character and the components of the character
It may be. In addition, area division (separation) into text area (character string area) and non-text area in document image
Uses a known technique. Also, reference numeral 104 shown in the figure.
Is shown in an easy-to-understand manner. Actually, for example, the origin is set at the upper left corner of the document image, and the coordinates of the upper left corner and lower right corner of each rectangle from the position, or the coordinates of the upper left corner of the rectangle and the height of the rectangle And data such as width and the like are extracted and stored in a memory in the order in which the characters are arranged, and a rectangle is not drawn as shown in the figure.

【0012】また、抽出されたテキスト領域内の各文字
(或いは文字要素)の外接矩形の情報(座標データ)か
ら、外接矩形間の空白長を算出する。
Further, a blank length between circumscribed rectangles is calculated from information (coordinate data) of the circumscribed rectangle of each character (or character element) in the extracted text area.

【0013】詳細は後述するが、或る行の矩形の数が3
0個(文字数が30であるとは限らない)あった場合、
両端の矩形は除外し、2番目の矩形、4番目の矩形、…
と偶数番めの矩形に着目する。今、或る注目矩形とその
前に位置する矩形(以下、前矩形)との間の空白長P、
注目矩形とその後続する矩形(後矩形)との間の空白長
Sを算出し、注目矩形を左右に微小距離シフトしてP,
Sの関係を制御することで、注目矩形に対して情報1ビ
ット(0か1)を埋め込む。1行が30矩形の場合に
は、30/2−1=14ビットを埋め込むことになる。
なお、ここでは偶数番めの矩形について情報を埋め込む
例を示したが、前後する矩形が存在する矩形に対して情
報を埋めこめばよいので、この条件を満たす限りは奇数
番目の矩形に情報を埋め込んでも構わない。また、埋め
込む矩形が1つ置きに(間に埋め込み対象外の矩形を1
つ設けること)したのは、連続する矩形に順に情報を埋
め込むと、1つの空白距離が前後する矩形で共有する状
態となってしまい、制御できるのが常に後矩形との距離
としてなってしまい、徐々に誤差が累積されてしまい、
レイアウトが大きく変わるためである。
Although details will be described later, the number of rectangles in a certain row is three.
If there are 0 characters (not necessarily 30 characters),
Excluding the rectangles at both ends, the second rectangle, the fourth rectangle, ...
And the even-numbered rectangle. Now, a blank length P between a certain rectangle of interest and a rectangle located in front of it (hereinafter, a previous rectangle),
The blank length S between the target rectangle and the succeeding rectangle (the latter rectangle) is calculated, and the target rectangle is shifted left and right by a small distance to P,
By controlling the relationship of S, one bit (0 or 1) of information is embedded in the target rectangle. If one row is 30 rectangles, 30 / 2-1 = 14 bits will be embedded.
Here, an example is shown in which information is embedded in even-numbered rectangles. However, information may be embedded in rectangles in which neighboring rectangles exist, and as long as this condition is satisfied, information is embedded in odd-numbered rectangles. It may be embedded. In addition, every other rectangle to be embedded (one rectangle between
The reason for this is that if information is embedded sequentially in continuous rectangles, one blank distance will be shared by the preceding and following rectangles, and the distance that can be controlled will always be the distance to the rear rectangle. Errors gradually accumulate,
This is because the layout changes significantly.

【0014】上記のようにして、或る外接矩形内の領域
を左右にシフトすることで、電子透かし情報106を埋
め込んだ文書画像105を透かし埋め込み処理(10
3)で生成することになる。
As described above, by shifting the area within a certain circumscribed rectangle to the left and right, the document image 105 in which the digital watermark information 106 is embedded is subjected to the watermark embedding process (10
It will be generated in 3).

【0015】<文書画像解析技術>文書画像解析技術は
本来、文字認識技術の要素技術の一つであり、入力され
た文書画像に対して、テキスト領域やグラフ等の図形の
領域などへの分割と、テキスト領域に対しては、射影を
用いて文字単位での切り出しを行うものである。例とし
て、特開平6−68301を挙げることができる。
<Document Image Analysis Technology> The document image analysis technology is originally one of the elemental technologies of the character recognition technology, and divides an input document image into text regions and graphic regions such as graphs. For the text area, the projection is cut out in character units using projection. As an example, JP-A-6-68301 can be mentioned.

【0016】<抽出手法>次に電子透かし抽出手法につ
いて述べる。電子透かし抽出手法においては、電子透か
し埋め込み手法と同様、先ず、文字認識技術で使われる
文書画像解析手段202によって、透かし埋め込み画像
201(イメージスキャナ等で読み取る)から、領域分
割と射影によって、文字毎に外接矩形203を抽出す
る。次に抽出された外接矩形群の情報を用いて、隣接す
る外接矩形間の空白長を算出する。
<Extraction Technique> Next, a digital watermark extraction technique will be described. In the digital watermark extraction method, similar to the digital watermark embedding method, first, a document image analysis unit 202 used in the character recognition technology converts a watermark embedded image 201 (read by an image scanner or the like) into a character by area division and projection. The circumscribed rectangle 203 is extracted. Next, a blank length between adjacent circumscribed rectangles is calculated using the extracted information on the circumscribed rectangle group.

【0017】その偶数番目の矩形に注目し、前矩形間の
距離P、後矩形間の距離Sの関係から注目矩形に埋め込
まれた情報1ビットを抽出する。これをその行の他の矩
形(偶数番めの矩形)についても同様に行い、埋め込ま
れた情報を抽出していく。
Attention is paid to the even-numbered rectangles, and one bit of information embedded in the rectangle of interest is extracted from the relationship between the distance P between the preceding rectangles and the distance S between the following rectangles. This is similarly performed for the other rectangles (even-numbered rectangles) in the row, and the embedded information is extracted.

【0018】<埋め込み規則>次に埋め込み規則につい
て述べる。先ず、1ビットの情報を埋め込む矩形の前後
の空白長を上記のようにP,Sと定める(図3参照)。
この1ビットを埋め込むための矩形は、先に説明したよ
うに1つの行において両端の矩形を除いて、一つおきに
定まる。次にここで定めた空白長P,Sに対して、(P
−S)/(P+S)を算出し(但し、この値は0、若し
くは小さな値になるので分母に小さな値を乗算、若しく
は分子に大きな値を乗算することになる)、適当な量子
化ステップで量子化する。量子化代表値には、交互に0
か1を割り当てておく。
<Embedding Rule> Next, the embedding rule will be described. First, the blank lengths before and after the rectangle in which 1-bit information is embedded are determined as P and S as described above (see FIG. 3).
The rectangles for embedding this one bit are determined every other except for the rectangles at both ends in one row as described above. Next, for the blank lengths P and S determined here, (P
−S) / (P + S) (however, since this value is 0 or a small value, the denominator is multiplied by a small value or the numerator is multiplied by a large value), and an appropriate quantization step is used. Quantize. The quantization representative value is alternately set to 0.
Or 1 is assigned.

【0019】透かし情報抽出の際には、例えば、図4の
式1によって、埋め込まれている値を抽出(「mod」は
2で割ったときの余りを返す関数であり、2値化にする
ことを意味している)することができる。ここでαは量
子化ステップを示す。
At the time of extracting the watermark information, for example, the embedded value is extracted according to Equation 1 in FIG. 4 (“mod” is a function that returns the remainder when divided by 2, and is binarized). That means you can). Here, α indicates a quantization step.

【0020】透かし情報埋め込みの際には、1ビットを
埋め込むための矩形(文字若しくは文字構成要素の)外
接矩形内の領域を、1ピクセルずつ左右にふりながら、
図4の式1を算出し、その結果が埋め込もうとする値
(0若しくは1)となるまで、平行移動の方向(左または
右)と幅(ピクセル数)を探索する。
At the time of embedding the watermark information, while shaking the area within the circumscribed rectangle (of characters or character components) for embedding one bit left and right by one pixel,
Calculate Equation 1 in Figure 4 and the result is the value to be embedded
The direction (left or right) and width (number of pixels) of the parallel movement are searched until (0 or 1) is reached.

【0021】この探索のフローチャートを図5並びに図
6に示す。また、これらの詳細について以下に説明す
る。なお、説明を簡単なものとするため、文書画像が横
書きである例について説明する。
FIGS. 5 and 6 show flowcharts of this search. The details will be described below. In order to simplify the description, an example in which the document image is horizontally written will be described.

【0022】まず、変数の意味であるが、これは以下の
通りである。
First, the meaning of a variable is as follows.

【0023】変数iは平行移動幅の候補を示す。変数Fl
ag1は情報を埋め込むのに動かす矩形を、距離iだけ右に
動かす際に右の矩形と接触するか否かを示し、接触する
場合には1を取る。また、変数Flag2は距離iだけ左に矩
形を動かす際に、接触するか否かを示す。Flag1同様、
接触する場合に1を取る。
The variable i indicates a translation width candidate. Variable Fl
ag1 indicates whether or not the rectangle to be embedded for embedding information is in contact with the right rectangle when it is moved to the right by the distance i. Further, a variable Flag2 indicates whether or not a contact is made when the rectangle is moved to the left by the distance i. Like Flag1,
Take 1 if touching.

【0024】次に、このフローチャートの各処理を、処
理のフローに沿って説明する。このフローはステップS
501から開始する。
Next, each processing of this flowchart will be described along the processing flow. This flow is step S
It starts from 501.

【0025】本処理が開始されると、まず、ステップS
502で、変数群の初期値を設定する。すなわち、i=
flag1=flag2=0とする。
When this processing is started, first, in step S
At 502, an initial value of a variable group is set. That is, i =
It is assumed that flag1 = flag2 = 0.

【0026】次いで、ステップS503では、埋め込み
のために動かす対象の注目矩形(注目文字或いは文字要
素の部分イメージ、以下略)を距離iだけ右に平行移動
した際に、右隣の文字若しくは文字要素である矩形(前
矩形)に接触するか否かを判定する。接触する場合には
ステップS504に進み、変数flag1を“1”にセ
ットする。
Next, in step S503, when a target rectangle (partial image of a target character or character element, hereinafter abbreviated) to be moved for embedding is translated rightward by a distance i, a character or character element adjacent to the right is moved. It is determined whether or not a rectangle (front rectangle) is touched. If they do, the flow advances to step S504 to set the variable flag1 to "1".

【0027】また、ステップS505では、注目矩形を
距離iだけ左に平行移動した際に、左隣の矩形に接触す
るか否かを判定する。接触する場合にはステップS50
6でflag2に“1”にセットする。
In step S505, when the target rectangle is translated leftward by a distance i, it is determined whether or not the rectangle touches the rectangle on the left. If contact is made, step S50
In step 6, "1" is set in flag2.

【0028】ステップS507では、平行移動の距離i
で示される値の際、左右両方に接触してしまうか否かを
判定する。左右両方に接触してしまう場合には、ステッ
プS508で平行移動幅を0とし、平行移動幅の計算を
終了し、この場合は、埋め込みが不可能とする。
In step S507, the parallel movement distance i
In the case of the value indicated by, it is determined whether or not both sides are touched. If both sides are touched, the parallel movement width is set to 0 in step S508, and the calculation of the parallel movement width is terminated. In this case, embedding is impossible.

【0029】また、左右両方に接触はしないと判断した
場合、図6のステップS601に進む。このステップS
601では、注目矩形を距離iだけ右に平行移動する際
に、埋め込もうとするビットが図4の式1によって、得
られるか否かを判定する。得られる場合には、ステップ
S602において平行移動幅をiとして平行移動幅の計
算を終了する。なお、ここで平行移動幅は、値が正の場
合に、右に平行移動することを意味し、負の場合には、
左に平行移動することを意味するものと定める。
On the other hand, if it is determined that there is no contact on both the left and right sides, the process proceeds to step S601 in FIG. This step S
In 601, it is determined whether or not a bit to be embedded is obtained by Equation 1 in FIG. 4 when the target rectangle is translated rightward by a distance i. If it is obtained, the calculation of the translation width is ended in step S602 with the translation width being i. Here, the translation width means that when the value is positive, it translates to the right, and when the value is negative,
It is defined as meaning to translate to the left.

【0030】ステップS603では、注目矩形を距離i
だけ左に平行移動する際に、埋め込もうとするビットが
図4の式1によって、得られるか否かを判定する。得ら
れる場合には、ステップS604において平行移動幅を
−iとして平行移動幅の計算を終了する。
In step S603, the target rectangle is set at a distance i.
It is determined whether or not a bit to be embedded is obtained by Equation 1 in FIG. If it is obtained, the parallel movement width is set to -i in step S604, and the calculation of the parallel movement width ends.

【0031】ステップS605においては、iの値をイ
ンクリメントし、ステップS503へ処理を戻す。
In step S605, the value of i is incremented, and the process returns to step S503.

【0032】探索結果を、平行移動する方向と距離と定
めた上で、実際に1ビットを埋め込むための文字の外接
矩形内の領域を平行移動する。以上のような処理を、文
書画像全体に対して行うことで、電子透かし情報を文書
画像に埋め込むことができる。
After the search result is determined as the direction and distance for the parallel movement, the area within the circumscribed rectangle of the character for actually embedding one bit is translated. By performing the above processing on the entire document image, the digital watermark information can be embedded in the document image.

【0033】埋め込むべき全文字或いは全文字要素につ
いてのシフト量が決定される(決定された各矩形のシフ
ト量は、その矩形を特定する情報と関連付けられて一旦
メモリに格納される)ので、オリジナル文書画像中の該
当する矩形内のイメージをその決定されたシフト量に従
ってシフトし、埋め込み後の文書画像を生成することに
なる。
The shift amount for all characters or all character elements to be embedded is determined (the determined shift amount of each rectangle is temporarily stored in a memory in association with information specifying the rectangle). The image in the corresponding rectangle in the document image is shifted according to the determined shift amount, and the embedded document image is generated.

【0034】以上説明した埋め込み手法,抽出手法は、
図7に示す信号処理装置を用いて実現可能である。
The embedding and extraction methods described above are:
This can be realized by using the signal processing device shown in FIG.

【0035】同図において、ホストコンピュータ701
は例えば一般に普及しているパーソナルコンピュータで
実現できる。スキャナ714は透かし情報の埋め込み対
象となる文書の原稿を読み取るためのものである。ま
た、コンピュータ701は読み取った画像を編集・保管
することが可能である。更に、ここで得られた画像をプ
リンタ715から印刷させることが可能である。また、
ユーザーからの各種マニュアル指示等は、マウス71
2、キーボード713からの入力により行われる。
In the figure, a host computer 701
Can be realized by, for example, a commonly used personal computer. The scanner 714 is for reading an original of a document in which watermark information is to be embedded. The computer 701 can edit and store the read image. Furthermore, the image obtained here can be printed from the printer 715. Also,
Various manual instructions and the like from the user
2. Performed by input from the keyboard 713.

【0036】ホストコンピュータ701の内部では、バ
ス716により後述する各ブロックが接続され、種々の
データの受け渡しが可能である。
Inside the host computer 701, each block described later is connected by a bus 716, and various kinds of data can be exchanged.

【0037】図中、703は、内部の各ブロックの動作
を制御、或いは内部に記憶されたプログラムを実行する
ことのできるCPUである。704は、印刷されること
が認められていない特定画像を記憶したり、あらかじめ
必要な画像処理プログラム等を記憶しておくROMであ
る。705は、CPUにて処理を行うために一時的にプ
ログラムや処理対象の画像データを格納しておくRAM
である。706は、OSやアプリケーション等のRAM
等に転送されるプログラムや画像データをあらかじめ格
納したり、処理後の画像データを保存することのできる
ハードディスク(HD)である。707は、原稿或いは
フィルム等をCCDにて読み取り、画像データを生成す
るスキャナと接続し、スキャナで得られた画像データを
入力することのできるスキャナインターフェイス(I/
F)である。708は、外部記憶媒体の一つであるCD
(CD−R)に記憶されたデータを読み込み或いは書き
出すことのできるCDドライブである。709は、70
8と同様にFDからの読み込み、FDへの書き出しがで
きるFDドライブである。710も、708と同様にD
VDからの読み込み、DVDへの書き出しができるDV
Dドライブである。尚、CD,FD,DVD等に画像編
集用のプログラム、或いはプリンタドライバが記憶され
ている場合には、これらプログラムをHD706上にイ
ンストールし、必要に応じてRAM705に転送される
ようになっている。711は、マウス712或いはキー
ボード713からの入力指示を受け付けるためにこれら
と接続されるインターフェイス(I/F)である。
In the figure, reference numeral 703 denotes a CPU capable of controlling the operation of each internal block or executing a program stored therein. A ROM 704 stores a specific image that is not permitted to be printed, or stores a necessary image processing program and the like in advance. A RAM 705 temporarily stores a program and image data to be processed for processing by the CPU.
It is. 706 is a RAM for the OS and applications
And a hard disk (HD) capable of storing programs and image data to be transferred to the PC or the like in advance and storing processed image data. A scanner interface (I / I / 707) 707 is connected to a scanner that reads a document or a film by a CCD and generates image data, and can input image data obtained by the scanner.
F). 708 is a CD which is one of the external storage media
This is a CD drive that can read or write data stored in (CD-R). 709 is 70
8 is an FD drive capable of reading from the FD and writing to the FD. 710 is the same as 708
DV that can read from VD and write to DVD
D drive. If a program for image editing or a printer driver is stored in a CD, FD, DVD, or the like, these programs are installed on the HD 706 and transferred to the RAM 705 as necessary. . Reference numeral 711 denotes an interface (I / F) connected to a mouse 712 or a keyboard 713 to receive an input instruction.

【0038】かかる構成において、アプリケーションを
用いて、スキャナ714で透かし情報を埋め込む対象と
なる原稿を読み取ることになる(場合によってはHD7
06やリムーバル記憶媒体に格納された文書画像でも良
い)。次いで、透かし情報(例えば著作者名等の情報)
をキーボード713等から入力し、その情報をビット列
にして、先に説明した処理を実行するプログラムを実行
させ、情報の埋め込みを行う。埋め込まれ、生成された
文書画像は例えばネットワーク上に格納して第三者が閲
覧できるようにしても良いし、プリンタ715で印刷す
るようにしても構わない。
In such a configuration, an original for which watermark information is to be embedded is read by the scanner 714 using an application (in some cases, the HD7 is used).
06 or a document image stored in a removable storage medium). Next, watermark information (for example, information such as the author name)
Is input from the keyboard 713 or the like, the information is converted into a bit string, and a program for executing the above-described processing is executed to embed information. The embedded and generated document image may be stored on a network, for example, so that a third party can view the document image, or may be printed by the printer 715.

【0039】また、上記実施形態では、埋め込むビット
の情報として、図4の式を用いた。単純にPからSを減
じた値が0以上か0未満かによって、“0”、“1”の
1ビットを埋め込んでも良いが、この場合、文書画像の
文字サイズ等は一切考慮されない。すなわち、文字が小
さい文書や文字が大きな文書等に適応的に対処できな
い。かかる点、図4のようにすることで、文字サイズが
大きい場合に相対的に文字(矩形)間の距離も大きくな
ることに適用できることになり、より自然な出力結果を
得ることができる。また、図4における分母に乗算する
αは小さな値を取ることになるが、この値も適応的に変
化させるようにしてもよい(例えば、矩形間の平均距離
に応じて変化する等)。
In the above embodiment, the equation of FIG. 4 is used as the information of the bits to be embedded. Depending on whether the value obtained by subtracting S from P is greater than or equal to 0 or less than 0, one bit of “0” or “1” may be embedded, but in this case, the character size of the document image is not considered at all. That is, it is not possible to adaptively cope with a document having a small character or a document having a large character. In this regard, the configuration shown in FIG. 4 can be applied to the case where the distance between characters (rectangles) becomes relatively large when the character size is large, and a more natural output result can be obtained. In addition, α multiplied by the denominator in FIG. 4 takes a small value, but this value may be adaptively changed (for example, it changes according to the average distance between rectangles).

【0040】また、上記実施形態では、シフトする量を
示す変数iは“1”、すなわち、読み取った画像におけ
る1画素単位にシフトする例を説明した。この場合の1
画素はイメージスキャナの読み取り解像度に依存するも
のとなるものの、第三者が同じ解像度で読み取るとは限
らない。そこで、シフトする最小単位は、その原稿の読
み取り解像度に依存して決定するようにしてもよい。最
も単純な手法は、現存するほとんどのイメージスキャナ
は最低でも200dpiの解像度はあるだろうから、こ
の200dpiで読み取ったとしたときの1画素のサイ
ズを基準にしする。従って、600dpiの解像度を有
するスキャナで読み取った場合には、変数iは“3”単
位に増加させるようにする。
In the above-described embodiment, an example has been described in which the variable i indicating the shift amount is "1", that is, the shift is performed in units of one pixel in the read image. 1 in this case
Although the pixel depends on the reading resolution of the image scanner, a third party does not always read at the same resolution. Therefore, the minimum unit to be shifted may be determined depending on the reading resolution of the document. The simplest approach is based on the size of one pixel when reading at 200 dpi, since most existing image scanners will have a resolution of at least 200 dpi. Therefore, when reading is performed by a scanner having a resolution of 600 dpi, the variable i is increased in units of "3".

【0041】また、上記実施形態では、文字或いは文字
を構成する要素に着目して処理を行ったが、図4の式を
英語等の言語における文章中の単語間の空白部分に適用
しても構わない。一般に英単語は、数文字で構成される
ものであるので、一行中の単語間の空白部分の数は、日
本語等の漢字圏より少なく、埋め込む情報量が少なくな
るが、単語間の空白部分を自然な状態で維持することは
可能になるという効果がある。単語間の空白と、文字間
の空白の区別は、所定距離以上を単語間と認定する等の
処理を行えばよい。当然、シフトするのは単語全体をシ
フトさせることになる。なお、埋め込まれた情報を抽出
するのは、第1の実施形態での対象が文字から単語にな
ったものであるので、その説明は省略する。
Further, in the above-described embodiment, the processing is performed by focusing on the characters or the elements constituting the characters. However, even if the formula in FIG. 4 is applied to a blank portion between words in a sentence in a language such as English. I do not care. Generally, English words are composed of several characters.Therefore, the number of blanks between words in one line is smaller than in the kanji area such as Japanese, and the amount of information to be embedded is smaller. There is an effect that it becomes possible to maintain in a natural state. The white space between words and the white space between characters may be distinguished by performing processing such as determining that a predetermined distance or more is between words. Of course, shifting will shift the entire word. The extraction of the embedded information is based on the case where the object in the first embodiment is changed from a character to a word, and the description thereof is omitted.

【0042】<第2の実施の形態>上記第1の実施形態
は、既存の文書画像を例にして説明したが、本願発明は
これに限定されるものではない。例えば、パーソナルコ
ンピュータで動作しているOSが米国マイクロソフト社
のWindowsの場合、それにインストールするプリ
ンタドライバに上記の機能を搭載するようにしても構わ
ない。
<Second Embodiment> The first embodiment has been described by taking an existing document image as an example, but the present invention is not limited to this. For example, when the OS running on the personal computer is Windows by Microsoft Corporation in the United States, the above function may be included in a printer driver installed in the OS.

【0043】以下、プリンタドライバで実現する場合の
動作処理を図8のフローチャートに従って説明する。
Hereinafter, an operation process in the case of being realized by the printer driver will be described with reference to the flowchart of FIG.

【0044】ワープロ等のアプリケーション等から印刷
指示を受けると、本プリンタドライバが起動する。
When a print instruction is received from an application such as a word processor, the printer driver starts.

【0045】まず、ステップS81で印刷しようとする
文書に対して埋め込みを行うか否かを問い合わせるメッ
セージを表示し、操作者に選択させる。なお、この選択
は、印刷処理の際に表示されるダイアログボックスを活
用し、そのオプションを選択した際に表示されるように
しても構わない。
First, in step S81, a message for inquiring whether or not to embed a document to be printed is displayed, and the operator is made to make a selection. Note that this selection may be made by using a dialog box displayed during the printing process and displayed when the option is selected.

【0046】いずれにせよ、ステップS82では埋め込
みが指示されたか否かを判断し、否の場合には、通常の
プリンタドライバと同様の動作を行うべく、ステップS
83に進む(例えばPDL記述言語に変換して出力する
処理)。
In any case, it is determined in step S82 whether embedding has been instructed. If not, step S82 is performed in order to perform the same operation as a normal printer driver.
Go to step 83 (for example, a process of converting to a PDL description language and outputting).

【0047】また、ステップS82で埋め込みが指示さ
れていると判断した場合には、ステップS84に進み、
操作者に埋め込むべき情報を入力を行わせる。なお、埋
め込み情報を入力するタイミングは、このタイミングで
ある必要はなく、例えばステップS81で埋め込みを行
うタイミングで入力するようにしても構わないし、予め
著作情報を記述したファイルとして、或いはレジストリ
に登録しておき、その内容を活用するようにしても構わ
ない。
If it is determined in step S82 that embedding has been instructed, the process proceeds to step S84,
The operator inputs information to be embedded. The timing for inputting the embedding information does not need to be this timing. For example, the timing for inputting the embedding information may be input at the timing of embedding in step S81, or may be registered as a file in which copyright information is described in advance or registered in a registry. In advance, the contents may be used.

【0048】ステップS85では、OSを介してアプリ
ケーションより受信した印刷対象のデータを解析し、そ
れが文字に関するものである場合には、印刷用の文字パ
ターンを発生し、その外接矩形(1つの文字に対して2
つ発生する場合もあり得る)の算出、及び、前後する矩
形との距離に基づいて着目矩形に対し情報の埋め込みを
行う。埋め込むべき矩形は、後続する矩形があることが
必要になるから、実際は3つの矩形が生成される毎にに
行うことになる。いずれにしても、アプリケーションか
ら渡されるデータを解析すれば、それが文字に関するも
のであるのか、イメージや図形等の非文字情報であるの
か確実に判別できることになるので、像域分離は単純な
ものとすることが可能となる。
In step S85, the data to be printed received from the application via the OS is analyzed. If the data is related to characters, a character pattern for printing is generated, and its circumscribed rectangle (one character 2 for
And information embedding is performed on the target rectangle based on the distance from the preceding and following rectangles. Since it is necessary that a rectangle to be embedded has a succeeding rectangle, it is actually performed every time three rectangles are generated. In any case, analyzing the data passed from the application makes it possible to reliably determine whether it is related to characters or non-character information such as images and graphics, so image area separation is simple. It becomes possible.

【0049】こうして、印刷出力するだけの最低単位の
埋め込み後のイメージ(例えば1ページ分のイメージ)
が生成されると、それをステップS86でOSに出力
し、OSはそのデータをプリンタに出力する処理を行う
ことになる。
In this manner, the embedded image of the minimum unit sufficient for printing out (for example, an image for one page)
Is generated, it is output to the OS in step S86, and the OS performs a process of outputting the data to the printer.

【0050】上記の如く、本第2の実施形態の場合、透
かし情報を埋め込む場合には、文字を含む文書データを
イメージデータの形式でプリンタに出力せざるを得ない
が、一般的なユーザーにとっては通常のアプリケーショ
ンにおける作業の一貫として埋め込みを行うことが可能
となる。つまり、埋め込みに関する格別な知識がなくて
も、実現できることになる。
As described above, in the case of embedding watermark information in the second embodiment, document data including characters must be output to a printer in the form of image data. Can be embedded as part of normal application work. That is, it can be realized without special knowledge about embedding.

【0051】<他の実施形態>上記の如く、本発明は、
汎用の情報処理装置(パーソナルコンピュータ等)のコ
ンピュータ(CPUあるいはMPU)によって実現可能であ
る。従って、コンピュータに上記実施の形態を実現する
ためのソフトウエアのプログラムコードを供給し,この
プログラムコードに従って上記システムあるいは装置の
コンピュータが上記各種デバイスを動作させることによ
り上記実施の形態を実現する場合も本発明の範疇に含ま
れる.またこの場合,前記ソフトウエアのプログラムコ
ード自体が上記実施の形態の機能を実現することにな
り,そのプログラムコード自体,及びそのプログラムコ
ードをコンピュータに供給するための記憶媒体、具体的
には上記プログラムコードを格納した磁気ディスク(フ
ロッピー(登録商標)ディスクやハードディスク)、光
ディスク(CDROM、CD−R等)、メモリカード、
テープ(紙テープ、磁気テープ等)、ROM素子等を用
いることができる.また,上記コンピュータが,供給さ
れたプログラムコードのみに従って各種デバイスを制御
することにより,上記実施の形態の機能が実現される場
合だけではなく、上記プログラムコードがコンピュータ
上で稼働しているOS(オペレーティングシステム)、ある
いは他のアプリケーションソフト等と共同して上記実施
の形態が実現される場合にもかかるプログラムコードは
本発明の範疇に含まれる。
<Other Embodiments> As described above, the present invention provides:
It can be realized by a computer (CPU or MPU) of a general-purpose information processing device (such as a personal computer). Therefore, there is also a case where the computer is supplied with software program codes for realizing the above-described embodiment, and the computer of the system or apparatus operates the various devices according to the program code to realize the above-described embodiment. It is included in the category of the present invention. In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself and a storage medium for supplying the program code to a computer, specifically, the program Magnetic disk (floppy (registered trademark) disk or hard disk) storing codes, optical disk (CDROM, CD-R, etc.), memory card,
Tapes (paper tapes, magnetic tapes, etc.) and ROM elements can be used. In addition to the case where the computer controls the various devices in accordance with only the supplied program code to realize the functions of the above-described embodiment, the computer may execute the OS (Operating System) operating on the computer. Such a program code is also included in the scope of the present invention when the above-described embodiment is realized in cooperation with a (system) or other application software.

【0052】更に,この供給されたプログラムコード
が,コンピュータの機能拡張ボードやコンピュータに接
続された機能拡張ユニットに備わるメモリに格納された
後,そのプログラムコードの指示に基づいてその機能拡
張ボードや機能格納ユニットに備わるCPU等が実際の処
理の一部または全部を行い,その処理によって上記実施
の形態が実現される場合も本発明の範疇に含まれる。
Further, after the supplied program code is stored in a memory provided in a function expansion board of the computer or a function expansion unit connected to the computer, the function expansion board or the function is stored based on the instruction of the program code. The case where the CPU or the like provided in the storage unit performs part or all of the actual processing, and the above-described embodiment is realized by the processing is also included in the scope of the present invention.

【0053】以上説明した様に、本実施形態によれば、
1文字毎、或いは該1文字を構成する"へん"や"つくり"
などの部分構成毎に空白長が存在するような文書画像に
適した、電子透かし情報の埋め込みを行うことができ
る。また、互いに隣接する各単語、文字、部分構成等の
空白長がいかなるものであっても、電子透かし情報を埋
め込む為のこの空白長の変動量をできるだけ小さく抑
え、視覚的な画質劣化を抑えることができる。
As described above, according to the present embodiment,
"Hen" or "Tsukuri" for each character or for each character
It is possible to embed digital watermark information suitable for a document image in which a blank length exists in each partial configuration such as. In addition, regardless of the blank length of each adjacent word, character, partial configuration, etc., the amount of change in this blank length for embedding digital watermark information should be kept as small as possible, and visual image quality degradation should be suppressed. Can be.

【0054】また互いに隣接する各単語、文字、部分構
成等の空白長がいかなるものであっても、電子透かし情
報を埋め込む為のこの空白長の変動量をできるだけ小さ
く抑え、視覚的な画質劣化を抑えることが可能になる。
Regardless of the blank length of each adjacent word, character, partial configuration, etc., the amount of change in the blank length for embedding digital watermark information is kept as small as possible, and visual image quality degradation is suppressed. It becomes possible to suppress.

【0055】[0055]

【発明の効果】以上説明したように本発明によれば、文
字間の空白部分の距離を利用して情報の埋め込みを行
い、自然な出力を得ることを可能にし、且つ、単語間に
対するものより、より多くの情報を埋め込むことが可能
になる。
As described above, according to the present invention, information can be embedded by utilizing the distance of a blank portion between characters, and a natural output can be obtained. , It is possible to embed more information.

【0056】また、他の発明によれば、単語間の空白を
利用するにしても、より自然な出力結果とすることが可
能になる。
According to another aspect of the present invention, a more natural output result can be obtained even when a space between words is used.

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

【図1】実施形態における電子透かし埋め込みのための
機能ブロック図である。
FIG. 1 is a functional block diagram for embedding a digital watermark in an embodiment.

【図2】実施形態における電子透かしの抽出のための機
能ブロック図である。
FIG. 2 is a functional block diagram for extracting a digital watermark in the embodiment.

【図3】実施形態における埋め込み処理を説明するため
の図である。
FIG. 3 is a diagram for describing an embedding process in the embodiment.

【図4】実施形態における埋め込み/抽出処理における
量子化の演算式を示す図である。
FIG. 4 is a diagram illustrating an operation expression for quantization in an embedding / extraction process according to the embodiment.

【図5】実施形態における埋め込み処理のフローチャー
トである。
FIG. 5 is a flowchart of an embedding process in the embodiment.

【図6】実施形態における埋め込み処理のフローチャー
トである。
FIG. 6 is a flowchart of an embedding process in the embodiment.

【図7】実施形態における情報処理装置に適用した際の
ブロック構成図である。
FIG. 7 is a block diagram when applied to the information processing apparatus in the embodiment.

【図8】第2の実施形態におけるプリンタドライバの動
作処理手順を示すフローチャートである。
FIG. 8 is a flowchart illustrating an operation processing procedure of a printer driver according to the second embodiment.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 CE08 CE09 CE12 CH01 CH11 DC01 5C063 CA29 CA36 DA07 DA13 DA20 5C076 AA14 BA06 CA12 5J104 AA05 AA14  ──────────────────────────────────────────────────の Continued on the front page F term (reference) 5B057 CE08 CE09 CE12 CH01 CH11 DC01 5C063 CA29 CA36 DA07 DA13 DA20 5C076 AA14 BA06 CA12 5J104 AA05 AA14

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 文書画像に電子透かし情報を埋め込む画
像処理装置であって、 前記文書画像における文字イメージ或いは文字を構成す
る要素である要素イメージに外接する矩形を抽出する抽
出手段と、 埋め込み対象となる情報のビットの論理値に基づき、注
目矩形の位置を、隣合う他の矩形のいずれかへのシフト
するシフト量を決定するシフト量算出手段と、 該シフト量算出手段で算出したシフト量に基づいて、注
目矩形の文字イメージ或いは要素イメージをシフトする
シフト手段とを備えることを特徴とする画像処理装置。
1. An image processing apparatus for embedding digital watermark information in a document image, comprising: extracting means for extracting a rectangle circumscribing a character image or an element image constituting a character in the document image; A shift amount calculating unit that determines a shift amount for shifting the target rectangle to any of the adjacent rectangles based on a logical value of a bit of the information, and a shift amount calculated by the shift amount calculating unit. An image processing apparatus comprising: a shift unit that shifts a character image or an element image of a rectangle of interest based on the information.
【請求項2】 前記文書画像はイメージスキャナより入
力することを特徴とする請求項第1項に記載の画像処理
装置。
2. The image processing apparatus according to claim 1, wherein the document image is input from an image scanner.
【請求項3】 前記シフト量算出手段は、注目矩形の前
に位置する他の矩形との距離をP、後に位置する矩形と
の距離をSとしたとき、P−SとP+Sとの比を量子化
して0、1の判定を行い、この判定が埋め込もうとする
ビットの値と同じになるよう注目矩形の位置のシフト量
を算出することを特徴とする請求項第1項または第2項
に記載の画像処理装置。
3. The shift amount calculating means calculates a ratio between P−S and P + S, where P is a distance from another rectangle located before the rectangle of interest and S is a distance from the rectangle located after the rectangle. 3. The method according to claim 1, wherein the determination of 0 or 1 is performed by quantization, and the shift amount of the position of the rectangle of interest is calculated so that the determination becomes the same as the value of the bit to be embedded. An image processing apparatus according to the item.
【請求項4】 前記量子化は、P−SとP+Sの比に量
子化ステップを乗算し、2値化する演算を施すことを特
徴とする請求項第3項に記載の画像処理装置。
4. The image processing apparatus according to claim 3, wherein the quantization is performed by multiplying a ratio of P−S and P + S by a quantization step and performing binarization.
【請求項5】 情報の埋め込み対象となる矩形は、1行
中にある矩形群の1つ置きの矩形とすることを特徴とす
る請求項第1項乃至第4項のいずれか1項に記載の画像
処理装置。
5. The rectangle according to claim 1, wherein a rectangle to be embedded with information is every other rectangle in a rectangle group in one line. Image processing device.
【請求項6】 文書画像に電子透かし情報を埋め込む画
像処理方法であって、 前記文書画像における文字イメージ或いは文字を構成す
る要素である要素イメージに外接する矩形を抽出する抽
出工程と、 埋め込み対象となる情報のビットの論理値に基づき、注
目矩形の位置を、隣合う他の矩形のいずれかへのシフト
するシフト量を決定するシフト量算出工程と、 該シフト量算出工程で算出したシフト量に基づいて、注
目矩形の文字イメージ或いは要素イメージをシフトする
シフト工程とを備えることを特徴とする画像処理方法。
6. An image processing method for embedding digital watermark information in a document image, comprising: an extraction step of extracting a rectangle circumscribing a character image or an element image constituting a character in the document image; A shift amount calculating step of determining a shift amount for shifting to a neighboring rectangle based on a logical value of a bit of the information bit, and a shift amount calculated in the shift amount calculating step. A shifting step of shifting a character image or an element image of the rectangle of interest based on the image processing method.
【請求項7】 文書画像に電子透かし情報を埋め込むコ
ンピュータプログラムであって、 前記文書画像における文字イメージ或いは文字を構成す
る要素である要素イメージに外接する矩形を抽出する抽
出工程のプログラムコードと、 埋め込み対象となる情報のビットの論理値に基づき、注
目矩形の位置を、隣合う他の矩形のいずれかへのシフト
するシフト量を決定するシフト量算出工程のプログラム
コードと、 該シフト量算出工程で算出したシフト量に基づいて、注
目矩形の文字イメージ或いは要素イメージをシフトする
シフト工程のプログラムコードとを有することを特徴と
するコンピュータプログラム。
7. A computer program for embedding digital watermark information in a document image, comprising: a program code for an extraction step of extracting a rectangle circumscribing a character image or an element image constituting a character in the document image; A program code for a shift amount calculating step of determining a shift amount for shifting the position of the target rectangle to any of the adjacent rectangles based on a logical value of a bit of information of interest; A computer program, comprising: a program code for a shift step of shifting a character image or an element image of a target rectangle based on the calculated shift amount.
【請求項8】 請求項第7項に記載のコンピュータプロ
グラムは、プリンタドライバプログラムであって、 印刷指示がなされたとき、電子透かし情報を埋め込むか
否かを選択するための選択ユーザーインタフェースを表
示するプログラムコードと、 埋め込む指示があった場合、上位処理から渡されたデー
タ中の文字に関する情報から、文字パターンを発生し、
発生した文字パターン或いは該文字パターンを構成する
要素イメージパターンを前記抽出工程に渡す工程のプロ
グラムコードを備えることを特徴とするコンピュータプ
ログラム。
8. The computer program according to claim 7, wherein the computer program is a printer driver program, and displays a selection user interface for selecting whether to embed digital watermark information when a print instruction is issued. When a program code and an instruction to embed are given, a character pattern is generated from information on characters in the data passed from the host process.
A computer program comprising a program code of a step of passing a generated character pattern or an element image pattern constituting the character pattern to the extraction step.
【請求項9】 請求項第7項または第8項に記載のコン
ピュータプログラムを記憶する記憶媒体。
9. A storage medium for storing the computer program according to claim 7. Description:
【請求項10】 文書画像を入力し、当該文書画像中に
埋め込まれた透かし情報を抽出する画像処理装置であっ
て、 前記文書画像における文字イメージ或いは文字を構成す
る要素である要素イメージに外接する矩形を判別する外
接矩形判別手段と、 注目矩形に隣合う他の矩形との距離を算出する算出手段
と、 該算出手段で算出された距離に基づいて、注目矩形に対
して埋め込まれた情報を埋め込み情報抽出手段とを備え
ることを特徴とする画像処理装置。
10. An image processing apparatus for inputting a document image and extracting watermark information embedded in the document image, wherein the image processing device circumscribes a character image in the document image or an element image which is an element constituting the character. Circumscribed rectangle determining means for determining a rectangle; calculating means for calculating a distance to another rectangle adjacent to the target rectangle; information embedded in the target rectangle based on the distance calculated by the calculating means An image processing apparatus comprising: embedded information extracting means.
【請求項11】 前記埋め込み情報抽出手段は、注目矩
形と当該注目矩形の前に位置する矩形間の距離をP、注
目矩形と当該注目矩形の後に位置する矩形間の距離をS
としたとき、P−SとP+Sの比に量子化ステップを乗
算し、2値化した結果に基づいて埋め込み情報のビット
を抽出することを特徴とする請求項第10項に記載の画
像処理装置。
11. The embedding information extracting means sets a distance between a target rectangle and a rectangle located before the target rectangle to P, and sets a distance between the target rectangle and a rectangle positioned after the target rectangle to S.
11. The image processing apparatus according to claim 10, wherein a ratio of PS and P + S is multiplied by a quantization step, and a bit of the embedded information is extracted based on the binarized result. .
【請求項12】 文書画像を入力し、当該文書画像中に
埋め込まれた透かし情報を抽出する画像処理方法であっ
て、 前記文書画像における文字イメージ或いは文字を構成す
る要素である要素イメージに外接する矩形を抽出する外
接矩形判別工程と、 注目矩形に隣合う他の矩形との距離を算出する算出工程
と、 該算出工程で算出された距離に基づいて、注目矩形に対
して埋め込まれた情報を埋め込み情報抽出工程とを備え
ることを特徴とする画像処理方法。
12. An image processing method for inputting a document image and extracting watermark information embedded in the document image, wherein the method circumscribes a character image in the document image or an element image which is an element constituting the character. A circumscribed rectangle discriminating step of extracting a rectangle; a calculating step of calculating a distance to another rectangle adjacent to the target rectangle; and information embedded in the target rectangle based on the distance calculated in the calculating step. An image processing method comprising an embedded information extracting step.
【請求項13】 前記埋め込み情報抽出工程は、注目矩
形と当該注目矩形の前に位置する矩形間の距離をP、注
目矩形と当該注目矩形の後に位置する矩形間の距離をS
としたとき、P−SとP+Sの比に量子化ステップを乗
算し、2値化した結果に基づいて埋め込み情報のビット
を抽出することを特徴とする請求項第12項に記載の画
像処理方法。
13. The embedding information extraction step includes the steps of: defining a distance between a target rectangle and a rectangle located before the target rectangle as P, and defining a distance between the target rectangle and a rectangle positioned after the target rectangle as S.
13. The image processing method according to claim 12, wherein a ratio of PS and P + S is multiplied by a quantization step, and a bit of the embedded information is extracted based on a result of the binarization. .
【請求項14】 複数の単語からなる文書画像に電子透
かし情報を埋め込む画像処理装置であって、 前記文書画像において、各単語に隣接する単語間の距離
を変更することにより、前記文書画像に電子透かし情報
を埋め込む電子透かし埋め込み手段とを備え、 前記電子透かし埋め込み手段は、所定の単語とその前後
に隣接する単語との各距離をP、Sとしたとき、P−S
とP+Sとの比の量子化値に基づいて電子透かし情報を
表す様にしたことを特徴とする画像処理装置。
14. An image processing apparatus for embedding digital watermark information in a document image composed of a plurality of words, comprising: changing a distance between words adjacent to each word in the document image, so that the document image Digital watermark embedding means for embedding watermark information, wherein the digital watermark embedding means sets P-S when distances between a predetermined word and adjacent words before and after the predetermined word are P and S, respectively.
An image processing apparatus characterized in that digital watermark information is represented based on a quantization value of a ratio of P + S and P + S.
【請求項15】 複数の単語からなる文書画像に電子透
かし情報を埋め込む画像処理方法であって、 前記文書画像において、各単語に隣接する単語間の距離
を変更することにより、前記文書画像に電子透かし情報
を埋め込む電子透かし埋め込みステップとを備え、 前記電子透かし埋め込みステップにおいて、所定の単語
とその前後に隣接する単語との各距離をP、Sとしたと
き、P−SとP+Sとの比の量子化値に基づいて電子透
かし情報を表す様にしたことを特徴とする画像処理方
法。
15. An image processing method for embedding digital watermark information in a document image composed of a plurality of words, the method comprising: changing a distance between words adjacent to each word in the document image so that the document image is electronically embedded. And a digital watermark embedding step of embedding watermark information. In the digital watermark embedding step, when each distance between a predetermined word and adjacent words before and after the predetermined word is P and S, the ratio of P−S to P + S An image processing method characterized in that electronic watermark information is represented based on a quantization value.
【請求項16】 複数の単語からなる文書画像に電子透
かし情報を埋め込む画像処理プログラムをコンピュータ
から読み取り可能な状態に記憶した記憶媒体であって、
前記プログラムは、 前記文書画像において、各単語に隣接する単語間の距離
を変更することにより、前記文書画像に電子透かし情報
を埋め込む電子透かし埋め込みステップとを備え、 前記電子透かし埋め込みステップにおいて、所定の単語
とその前後に隣接する単語との各距離をP、Sとしたと
き、P−SとP+Sとの比の量子化値に基づいて電子透
かし情報を表す様にしたことを特徴とする記憶媒体。
16. A storage medium storing an image processing program for embedding digital watermark information in a document image composed of a plurality of words in a computer-readable state,
The program includes a digital watermark embedding step of embedding digital watermark information in the document image by changing a distance between words adjacent to each word in the document image. A storage medium characterized in that when a distance between a word and adjacent words before and after the word is P and S, digital watermark information is represented based on a quantized value of a ratio between PS and P + S. .
【請求項17】 複数の単語からなる文書画像から電子
透かし情報を抽出する画像処理装置であって、 前記文書画像において、各単語に隣接する単語間の距離
に基づいて、前記文書画像に電子透かし情報を検出する
電子透かし検出手段を備え、 前記電子透かし検出手段にて検出される電子透かし情報
は、所定の単語とその前後に隣接する単語との各距離を
P、Sとしたとき、P−SとP+Sとの比の量子化値に
基づいて表されていることを特徴とする画像処理装置。
17. An image processing apparatus for extracting digital watermark information from a document image including a plurality of words, wherein the digital watermark is added to the document image based on a distance between words adjacent to each word in the document image. The digital watermark information detected by the digital watermark detecting means is P-S, where P and S are distances between a predetermined word and adjacent words before and after the predetermined word. An image processing apparatus characterized by being represented based on a quantization value of a ratio of S and P + S.
【請求項18】 複数の単語からなる文書画像から電子
透かし情報を抽出する画像処理方法であって、 前記文書画像において、各単語に隣接する単語間の距離
に基づいて、前記文書画像に電子透かし情報を検出する
電子透かし検出ステップを備え、 前記電子透かし検出ステップにて検出される電子透かし
情報は、所定の単語とその前後に隣接する単語との各距
離をP、Sとしたとき、P−SとP+Sとの比の量子化
値に基づいて表されていることを特徴とする画像処理方
法。
18. An image processing method for extracting digital watermark information from a document image including a plurality of words, wherein the digital watermark is added to the document image based on a distance between words adjacent to each word in the document image. A digital watermark detecting step of detecting information; wherein the digital watermark information detected in the digital watermark detecting step is P-S, where P and S are distances between a predetermined word and adjacent words before and after the predetermined word. An image processing method characterized by being represented based on a quantization value of a ratio of S and P + S.
【請求項19】 複数の単語からなる文書画像から電子
透かし情報を抽出する画像処理プログラムをコンピュー
タから読み取り可能な状態で記憶した記憶媒体であっ
て、該プログラムは、 前記文書画像において、各単語に隣接する単語間の距離
に基づいて、前記文書画像に電子透かし情報を検出する
電子透かし検出ステップを備え、 前記電子透かし検出ステップにて検出される電子透かし
情報は、所定の単語とその前後に隣接する単語との各距
離をP、Sとしたとき、P−SとP+Sとの比の量子化
値に基づいて表されていることを特徴とする記憶媒体。
19. A storage medium storing an image processing program for extracting digital watermark information from a document image composed of a plurality of words in a computer-readable state, the program comprising: A digital watermark detection step of detecting digital watermark information in the document image based on a distance between adjacent words, wherein the digital watermark information detected in the digital watermark detection step is adjacent to a predetermined word before and after the predetermined word. A storage medium characterized in that, when each distance to a word to be performed is represented by P and S, the distance is represented based on a quantization value of a ratio between P−S and P + S.
JP2001021658A 2001-01-30 2001-01-30 Image processing method and apparatus, computer program, and storage medium Expired - Fee Related JP3728209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001021658A JP3728209B2 (en) 2001-01-30 2001-01-30 Image processing method and apparatus, computer program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001021658A JP3728209B2 (en) 2001-01-30 2001-01-30 Image processing method and apparatus, computer program, and storage medium

Publications (2)

Publication Number Publication Date
JP2002232679A true JP2002232679A (en) 2002-08-16
JP3728209B2 JP3728209B2 (en) 2005-12-21

Family

ID=18887178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001021658A Expired - Fee Related JP3728209B2 (en) 2001-01-30 2001-01-30 Image processing method and apparatus, computer program, and storage medium

Country Status (1)

Country Link
JP (1) JP3728209B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004236230A (en) * 2003-01-31 2004-08-19 Ricoh Co Ltd Image processing apparatus, program, and storage medium
WO2006042460A1 (en) * 2004-10-18 2006-04-27 Dong Liu Hidden data communication method and the application thereof in text digital watermark technology
US7627136B2 (en) 2004-05-31 2009-12-01 Ricoh Company Ltd. Information embedding device, information detecting device, information embedding and detecting system, information embedding method, information detecting method, information embedding program, information detecting program, information embedding and detecting program, and recording medium
US7630514B2 (en) 2004-12-08 2009-12-08 Ricoh Company, Ltd. Embedding and extracting additional information in a document image
US8401971B2 (en) 2008-10-24 2013-03-19 Canon Kabushiki Kaisha Document processing apparatus and document processing method
US8416464B2 (en) 2008-10-24 2013-04-09 Canon Kabushiki Kaisha Document processing apparatus and document processing method
CN114117366A (en) * 2022-01-25 2022-03-01 合肥高维数据技术有限公司 Character deformation method and system based on full character transformation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4956366B2 (en) 2007-10-16 2012-06-20 キヤノン株式会社 Image processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07123244A (en) * 1993-09-03 1995-05-12 Toshiba Corp Picture processor
JPH09186603A (en) * 1995-12-28 1997-07-15 Oki Electric Ind Co Ltd Encoding and decoding method utilizing inter-work blank part length of electronic document, method for embedding signing information to electronic document and method for ciphering confidential document

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07123244A (en) * 1993-09-03 1995-05-12 Toshiba Corp Picture processor
JPH09186603A (en) * 1995-12-28 1997-07-15 Oki Electric Ind Co Ltd Encoding and decoding method utilizing inter-work blank part length of electronic document, method for embedding signing information to electronic document and method for ciphering confidential document

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004236230A (en) * 2003-01-31 2004-08-19 Ricoh Co Ltd Image processing apparatus, program, and storage medium
US7627136B2 (en) 2004-05-31 2009-12-01 Ricoh Company Ltd. Information embedding device, information detecting device, information embedding and detecting system, information embedding method, information detecting method, information embedding program, information detecting program, information embedding and detecting program, and recording medium
WO2006042460A1 (en) * 2004-10-18 2006-04-27 Dong Liu Hidden data communication method and the application thereof in text digital watermark technology
US7630514B2 (en) 2004-12-08 2009-12-08 Ricoh Company, Ltd. Embedding and extracting additional information in a document image
US8401971B2 (en) 2008-10-24 2013-03-19 Canon Kabushiki Kaisha Document processing apparatus and document processing method
US8416464B2 (en) 2008-10-24 2013-04-09 Canon Kabushiki Kaisha Document processing apparatus and document processing method
CN114117366A (en) * 2022-01-25 2022-03-01 合肥高维数据技术有限公司 Character deformation method and system based on full character transformation
CN114117366B (en) * 2022-01-25 2022-04-08 合肥高维数据技术有限公司 Character deformation method and system based on full character transformation

Also Published As

Publication number Publication date
JP3728209B2 (en) 2005-12-21

Similar Documents

Publication Publication Date Title
JP4310288B2 (en) Image processing apparatus and method, program, and storage medium
US7106884B2 (en) Digital watermark embedding apparatus for document, digital watermark extraction apparatus for document, and their control method
JP4510092B2 (en) Digital watermark embedding and detection
JP4555212B2 (en) Watermark information embedding device, watermark information embedding method, and computer program
JP4194462B2 (en) Digital watermark embedding method, digital watermark embedding apparatus, program for realizing them, and computer-readable storage medium
JP4623169B2 (en) Image processing apparatus and image processing program
JP7244223B2 (en) Identifying emphasized text in electronic documents
JP2006050551A (en) Image processing apparatus, image processing method, program and storage medium
JP4673200B2 (en) Print processing system and print processing method
KR100905857B1 (en) Information processing device and method of controlling the same
JP3728209B2 (en) Image processing method and apparatus, computer program, and storage medium
JP5950700B2 (en) Image processing apparatus, image processing method, and program
JP2005303880A (en) Image forming apparatus, image forming method, and program
JP2008108114A (en) Document processor and document processing method
JP2008282149A (en) Image processor, image processing method and image processing program
JP2009303048A (en) Image forming apparatus, control method, and control program
JP2007129557A (en) Image processing system
JP4689570B2 (en) Image processing apparatus and image processing method
JP4164458B2 (en) Information processing apparatus and method, computer program, and computer-readable storage medium
JP4324058B2 (en) Image processing apparatus and method
JP3884997B2 (en) Digital watermark embedding apparatus, digital watermark extraction apparatus and methods, computer program, and recording medium
JP2008098946A (en) Image processor and control method thereof
JP5062076B2 (en) Information processing apparatus and information processing program
JP2007142986A (en) Image processor and image processing method
JP5173690B2 (en) Information processing apparatus, information processing method, computer program, and computer-readable recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050711

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050912

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050930

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121007

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131007

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees