JP2002368983A - Picture processor and picture processing method - Google Patents

Picture processor and picture processing method

Info

Publication number
JP2002368983A
JP2002368983A JP2001175861A JP2001175861A JP2002368983A JP 2002368983 A JP2002368983 A JP 2002368983A JP 2001175861 A JP2001175861 A JP 2001175861A JP 2001175861 A JP2001175861 A JP 2001175861A JP 2002368983 A JP2002368983 A JP 2002368983A
Authority
JP
Japan
Prior art keywords
image
vector
feature
feature amount
extracting
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.)
Withdrawn
Application number
JP2001175861A
Other languages
Japanese (ja)
Inventor
Tomoyuki Miyashita
朋之 宮下
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 JP2001175861A priority Critical patent/JP2002368983A/en
Publication of JP2002368983A publication Critical patent/JP2002368983A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that the number of samples constituting the feature value space of an observation picture is not sufficient in a region where the density of the picture is low and therefore the detection precision of access control information remarkably drops. SOLUTION: The Mahalanobis distance MD1 between the feature value space (the set of feature value vectors) of a reference picture and a reference vector is calculated (S1). M×N pixel blocks are cut from a picture signal as the observation picture (S3 to S7). The number of samples which can be used for constituting the feature value space of the observation picture is compared with a prescribed value (S10). When the number of samples < the prescribed value is realized, the area of the observation picture is extended to a plurality of blocks (S12). The Mahalanobis distance MD2 between the feature value space of the observation picture and the reference vector is calculated (S14). The feature value space of the observation picture is moved so that the relation of MD1 and MD2 is controlled in accordance with an access control signal (S15 to S17). Then, the observation picture is reconstituted based on feature value space after movement (S18).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像処理装置および
その方法に関し、例えば、画像に制御信号を埋め込む画
像処理に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and method, for example, to image processing for embedding a control signal in an image.

【0002】[0002]

【従来の技術】プリンタ、複写機などのディジタル画像
形成装置における画質向上は著しく、近年では、容易に
高画質の印刷物を手にすることができる。つまり、誰も
が高性能のスキャナ、プリンタ、複写機、そしてコンピ
ュータを用いた画像処理により、望む画質の印刷物を得
ることができる。そのため、文書印刷物(以下、単に
「印刷物」と呼ぶ)の不正コピーなどの問題が発生し、
不正コピーによる印刷物の無断使用を防止または抑止す
るアクセス制御機能が存在する。
2. Description of the Related Art The image quality of digital image forming apparatuses such as printers and copiers has been remarkably improved, and in recent years, high quality printed matter can be easily obtained. That is, anyone can obtain printed matter of desired image quality by performing image processing using a high-performance scanner, printer, copier, and computer. As a result, problems such as unauthorized copying of printed documents (hereinafter simply referred to as “printed materials”) occur,
There is an access control function that prevents or suppresses unauthorized use of printed matter due to unauthorized copying.

【0003】この機能は、一般に、印刷物にアクセス制
御情報を目に見えないように埋め込むことで、印刷物の
余白にアクセス制御情報に対応するビットマップパター
ン(グリフコードやDDコードなど)を埋め込むことで、
あるいは、文書画像にスクランブル暗号を埋め込むこと
で実現される。アクセス制御情報を目に見えないように
埋め込む方法には、英単語間のスペースをコントロール
するタイプ、文字を回転するタイプ、文字を拡大・縮小
するタイプなどがある。
[0003] This function is generally implemented by embedding access control information in a printed matter invisibly, and by embedding a bitmap pattern (glyph code, DD code, etc.) corresponding to the access control information in a margin of the printed matter. ,
Alternatively, it is realized by embedding scrambled encryption in a document image. Methods for invisiblely embedding access control information include a type for controlling the space between English words, a type for rotating characters, and a type for enlarging / reducing characters.

【0004】図1は英単語間のスペースをコントロール
することでアクセス制御情報を埋め込む方法を説明する
図である。下記のように、連続する二つのスペースpお
よびsで1ビットを表す。
FIG. 1 is a view for explaining a method of embedding access control information by controlling the space between English words. As shown below, two consecutive spaces p and s represent one bit.

【0005】図2は文字の回転角θをコントロールする
ことでアクセス制御情報を埋め込む方法を説明する図で
ある。
FIG. 2 is a diagram for explaining a method of embedding access control information by controlling the rotation angle θ of a character.

【0006】図3は文字の拡大・縮小をコントロールす
ることでアクセス制御情報を埋め込む方法を説明する図
である。例えば2701は元のサイズを、2702は縮小後のサ
イズを示す。
FIG. 3 is a view for explaining a method of embedding access control information by controlling enlargement / reduction of characters. For example, 2701 indicates the original size, and 2702 indicates the reduced size.

【0007】[0007]

【発明が解決しようとする課題】図1から図3に示す方法
でアクセス制御情報を埋め込んだ場合、アクセス制御情
報を正確に検出するためには、印刷物から正確にスペー
ス幅、回転角、拡大・縮小サイズを読み取る必要があ
り、価格の易い低解像度のスキャナを使用したのでは、
アクセス制御情報を正確に検出できない。
When the access control information is embedded by the method shown in FIGS. 1 to 3, in order to accurately detect the access control information, the space width, the rotation angle, the enlargement / If you use a low-resolution scanner that needs to read the reduced size and is inexpensive,
Access control information cannot be detected accurately.

【0008】また、小さい・複雑な文字(例えば漢字)
などが主体の印刷物からアクセス制御情報を正確に検出
することは難しい。
[0008] Small and complicated characters (for example, kanji)
It is difficult to accurately detect the access control information from the printed matter mainly by the user.

【0009】また、アクセス情報の埋め込みにより、文
字およびスペースに違和感が発生したり、文字の濃度が
変化したりして、主観的な画質劣化が生じる。
In addition, embedding of access information causes a sense of incongruity in characters and spaces and changes in the density of characters, resulting in subjective deterioration of image quality.

【0010】また、単位情報(1ビット)当たりの埋め
込み領域を一定の面積で割り当てアクセス制御情報を埋
め込む方法がある。つまり、M×N画素の領域にアクセス
制御情報の1ビットを埋め込む方法だが、文字、表、グ
ラフなどの画像の密度が低い領域では観測画像の特徴量
空間を構成するためサンプル数が充分ではなく、その結
果、アクセス制御情報の検出精度が極端に低下する場合
がある。
There is also a method of embedding access control information by allocating an embedding area per unit information (1 bit) with a fixed area. In other words, the method of embedding 1 bit of access control information in the area of M × N pixels, but in the area where the density of the image such as characters, tables, graphs, etc. is low, the number of samples is not enough to compose the feature space of the observed image As a result, the detection accuracy of the access control information may be extremely reduced.

【0011】図4は観測画像の特徴量空間を構成するた
めのサンプル数が少ない領域を含む文書画像の一例を示
す図で、領域1901、1902、1903および1904がサンプル数
が少ない領域である。
FIG. 4 is a diagram showing an example of a document image including an area having a small number of samples for forming a feature amount space of an observation image. Areas 1901, 1902, 1903, and 1904 are areas having a small number of samples.

【0012】本発明は、上述の問題を個々にまたはまと
めて解決するためのもので、埋め込まれた情報を正確に
検出することが可能な情報の埋め込みを提供することを
目的とする。
An object of the present invention is to solve the above-mentioned problems individually or collectively, and it is an object of the present invention to provide information embedding capable of accurately detecting embedded information.

【0013】また、情報の埋め込み前後で画像に違和感
が生じないようにすることを他の目的とする。
It is another object of the present invention to prevent an image from being unnatural before and after embedding information.

【0014】さらに、原稿の画像の密度により検出精度
が低下しない情報の埋め込みを提供することを目的とす
る。
It is another object of the present invention to provide information embedding in which the detection accuracy does not decrease due to the density of an image of a document.

【0015】[0015]

【課題を解決するための手段】本発明は、前記の目的を
達成する一手段として、以下の構成を備える。
The present invention has the following configuration as one means for achieving the above object.

【0016】本発明にかかる画像処理装置は、印刷装置
へ出力される画像信号に所定の制御信号を埋め込む画像
処理装置であって、前記画像信号からM×N画素ブロック
を観測画像として切り出し、その特徴量を抽出するため
のサンプル数を算出し、算出されるサンプル数が所定値
より小さい場合は観測画像を隣接するブロックまで拡張
する拡張手段と、前記観測画像の特徴量を第一の特徴量
ベクトルの集合として抽出する抽出手段と、前記M×N画
素ブロックより充分に大きい参照画像から、前記第一の
特徴量ベクトルと同次元数の第二の特徴量ベクトルの集
合を生成する生成手段と、前記第一の特徴量ベクトルと
同次元数の基準ベクトルおよび前記第二の特徴量ベクト
ルに基づき前記参照画像のマハラノビス距離(MD1)を算
出し、前記基準ベクトルおよび前記第一の特徴量ベクト
ルに基づき前記観測画像のマハラノビス距離(MD2)を算
出する算出手段と、前記所定の制御信号に応じて前記MD
1およびMD2の関係を制御するように、前記第一の特徴量
ベクトルの値を制御する制御手段と、その値が制御され
た第一の特徴量ベクトルの集合に基づき前記観測画像を
再構成する再構成手段とを有することを特徴とする。
An image processing apparatus according to the present invention is an image processing apparatus for embedding a predetermined control signal in an image signal output to a printing apparatus, and cuts out an M × N pixel block from the image signal as an observation image. Expansion means for calculating the number of samples for extracting the feature amount, and when the calculated number of samples is smaller than a predetermined value, expanding the observation image to an adjacent block; Extracting means for extracting as a set of vectors, and generating means for generating, from a reference image sufficiently larger than the M × N pixel block, a set of second feature vectors having the same dimension as the first feature vector. Calculating a Mahalanobis distance (MD1) of the reference image based on the reference vector having the same number of dimensions as the first feature vector and the second feature vector, Calculating means for calculating a Mahalanobis distance (MD2) of the observed image based on the first feature amount vector, and the MD in accordance with the predetermined control signal.
Control means for controlling the value of the first feature amount vector, so as to control the relationship between 1 and MD2, and reconstructing the observation image based on a set of the first feature amount vectors whose values are controlled. Reconstructing means.

【0017】また、画像信号に埋め込まれた制御信号を
抽出する画像処理装置であって、前記画像信号からM×N
画素ブロックを観測画像として切り出し、その特徴量を
抽出するためのサンプル数を算出し、算出されるサンプ
ル数が所定値より小さい場合は観測画像を隣接するブロ
ックまで拡張する拡張手段と、前記観測画像の特徴量を
第一の特徴量ベクトルの集合として抽出する抽出手段
と、前記M×N画素ブロックより充分に大きい参照画像か
ら、前記第一の特徴量ベクトルと同次元数の第二の特徴
量ベクトルの集合を生成する生成手段と、前記第一の特
徴量ベクトルと同次元数の基準ベクトルおよび前記第二
の特徴量ベクトルに基づき前記参照画像のマハラノビス
距離(MD1)を算出し、前記基準ベクトルおよび前記第一
の特徴量ベクトルに基づき前記観測画像のマハラノビス
距離(MD2)を算出する算出手段と、前記MD1およびMD2の
類似度に基づき、前記画像信号に埋め込まれた制御信号
を判定する判定手段とを有することを特徴とする。
An image processing apparatus for extracting a control signal embedded in an image signal, comprising:
Expanding means for extracting a pixel block as an observation image, calculating the number of samples for extracting the feature amount thereof, and expanding the observation image to an adjacent block if the calculated number of samples is smaller than a predetermined value; and Extraction means for extracting the feature quantity of the first feature quantity vector as a set of first feature quantity vectors, and a second feature quantity having the same dimension as the first feature quantity vector from a reference image sufficiently larger than the M × N pixel block. Generating means for generating a set of vectors, calculating the Mahalanobis distance (MD1) of the reference image based on the reference vector having the same dimension number as the first feature vector and the second feature vector, the reference vector Calculating means for calculating the Mahalanobis distance (MD2) of the observed image based on the first feature amount vector; and the image signal based on the similarity between the MD1 and MD2. It characterized by having a determining means for embedded control signals.

【0018】本発明にかかる画像処理方法は、印刷装置
へ出力される画像信号に所定の制御信号を埋め込む画像
処理方法であって、前記画像信号からM×N画素ブロック
を観測画像として切り出し、その特徴量を抽出するため
のサンプル数を算出し、算出されるサンプル数が所定値
より小さい場合は観測画像を隣接するブロックまで拡張
し、前記観測画像の特徴量を第一の特徴量ベクトルの集
合として抽出し、前記M×N画素ブロックより充分に大き
い参照画像から、前記第一の特徴量ベクトルと同次元数
の第二の特徴量ベクトルの集合を生成し、前記第一の特
徴量ベクトルと同次元数の基準ベクトルおよび前記第二
の特徴量ベクトルに基づき前記参照画像のマハラノビス
距離(MD1)を算出し、前記基準ベクトルおよび前記第一
の特徴量ベクトルに基づき前記観測画像のマハラノビス
距離(MD2)を算出し、前記所定の制御信号に応じて前記M
D1およびMD2の関係を制御するように、前記第一の特徴
量ベクトルの値を制御し、その値が制御された第一の特
徴量ベクトルの集合に基づき前記観測画像を再構成する
ことを特徴とする。
An image processing method according to the present invention is an image processing method for embedding a predetermined control signal in an image signal output to a printing apparatus, wherein an M × N pixel block is cut out from the image signal as an observation image. Calculate the number of samples for extracting the feature amount, and if the calculated number of samples is smaller than a predetermined value, extend the observed image to an adjacent block, and set the feature amount of the observed image to a set of first feature amount vectors. Extracted from the reference image sufficiently larger than the M × N pixel block, to generate a set of second feature amount vector of the same dimension number as the first feature amount vector, the first feature amount vector and A Mahalanobis distance (MD1) of the reference image is calculated based on the reference vector having the same dimension number and the second feature amount vector, and based on the reference vector and the first feature amount vector. Calculating the Mahalanobis distance (MD2) of the observation image, and calculating the M value according to the predetermined control signal.
Controlling the relationship between D1 and MD2, controlling the value of the first feature amount vector, and reconstructing the observation image based on a set of the first feature amount vectors whose values are controlled. And

【0019】また、画像信号に埋め込まれた制御信号を
抽出する画像処理方法であって、前記画像信号からM×N
画素ブロックを観測画像として切り出し、その特徴量を
抽出するためのサンプル数を算出し、算出されるサンプ
ル数が所定値より小さい場合は観測画像を隣接するブロ
ックまで拡張し、前記観測画像の特徴量を第一の特徴量
ベクトルの集合として抽出し、前記M×N画素ブロックよ
り充分に大きい参照画像から、前記第一の特徴量ベクト
ルと同次元数の第二の特徴量ベクトルの集合を生成し、
前記第一の特徴量ベクトルと同次元数の基準ベクトルお
よび前記第二の特徴量ベクトルに基づき前記参照画像の
マハラノビス距離(MD1)を算出し、前記基準ベクトルお
よび前記第一の特徴量ベクトルに基づき前記観測画像の
マハラノビス距離(MD2)を算出し、前記MD1およびMD2の
類似度に基づき、前記画像信号に埋め込まれた制御信号
を判定することを特徴とする。
An image processing method for extracting a control signal embedded in an image signal, comprising the steps of:
The pixel block is cut out as an observation image, the number of samples for extracting the feature amount is calculated, and if the calculated number of samples is smaller than a predetermined value, the observation image is extended to an adjacent block, and the feature amount of the observation image is calculated. Is extracted as a first feature amount vector set, and from the reference image sufficiently larger than the M × N pixel block, a second feature amount vector set having the same dimension number as the first feature amount vector is generated. ,
Calculate the Mahalanobis distance (MD1) of the reference image based on the reference vector having the same dimension number as the first feature vector and the second feature vector, based on the reference vector and the first feature vector. A Mahalanobis distance (MD2) of the observed image is calculated, and a control signal embedded in the image signal is determined based on the similarity between the MD1 and MD2.

【0020】[0020]

【発明の実施の形態】以下、本発明にかかる一実施形態
の画像処理装置を図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.

【0021】なお、実施形態では、モノクロレーザビー
ムプリンタ(以下、単に「プリンタ」と呼ぶ)に本発明
を適用する例を説明する。また、文書画像は二値の白黒
画像、印刷物を読み取る画像読取装置には低価格のスキ
ャナを用いるものとする。
In the embodiment, an example in which the present invention is applied to a monochrome laser beam printer (hereinafter, simply referred to as a "printer") will be described. The document image is a binary black-and-white image, and a low-cost scanner is used for an image reading apparatus that reads printed matter.

【0022】図5はプリンタにおける文書画像データの
変換例を示すブロック図である。
FIG. 5 is a block diagram showing an example of conversion of document image data in the printer.

【0023】まず、文書画像データが二値画像データ10
1としてプリンタ用のプリンタドライバに渡される。そ
して、プリンタドライバにより、二値画像データ101は
プリンタの特性に合ったデバイス二値データ102に、多
値K画像データ103に、二値K画像データ104に順次変換さ
れる。二値K画像データ104は、プリンタエンジンに渡さ
れ、記録紙に高解像度の文書画像が印刷される。なお、
文書画像データは、文書、表およびグラフなどを表す。
First, if the document image data is binary image data 10
It is passed as 1 to the printer driver for the printer. The printer driver sequentially converts the binary image data 101 into device binary data 102, multi-valued K image data 103, and binary K image data 104 that match the characteristics of the printer. The binary K image data 104 is passed to a printer engine, and a high-resolution document image is printed on recording paper. In addition,
The document image data represents a document, a table, a graph, and the like.

【0024】次に、本実施形態にかかわる観測画像およ
び参照画像の特徴量空間および基準ベクトルについて述
べる。
Next, the feature space and the reference vector of the observation image and the reference image according to the present embodiment will be described.

【0025】図6は観測画像の一例を示す図である。図6
(a)は二値K画像データ104の一部に相当するM×N画素の
観測画像を、図6(b)は観測画像の輪郭部を抽出して一画
素に細線化した輪郭画像を、それぞれ示す。
FIG. 6 is a diagram showing an example of an observation image. Figure 6
(a) is an observed image of M × N pixels corresponding to a part of the binary K image data 104, and FIG. 6 (b) is a contour image obtained by extracting the contour part of the observed image and thinning it into one pixel. Shown respectively.

【0026】図7は3×3画素ブロックの中心画素を注目
画素とする場合に、注目画素の特徴量を抽出するための
方向指数指標を説明する図である。なお、図7は、注目
画素に対してt1、t2、t3およびt8方向に画素値 > 0の有
効画素があり、t4、t5、t6およびt7方向には有効画素が
ない例を示している。
FIG. 7 is a view for explaining a direction index index for extracting the feature amount of the target pixel when the center pixel of the 3 × 3 pixel block is set as the target pixel. FIG. 7 shows an example in which there is an effective pixel having a pixel value> 0 in the t1, t2, t3, and t8 directions with respect to the target pixel, and there is no effective pixel in the t4, t5, t6, and t7 directions.

【0027】図8は、図7に示す注目画素の方向指数の特
徴量t1からt8の値を示す図である。つまり、値‘1’の
特徴量はその方向に有効画素があることを示し、値
‘0’の特徴量はその方向に有効画素がないことを示
す。図8に示す注目画素Pijの方向指数の特徴量を八次元
のベクトルで示すと次式のようになる。 Hij = (1, 1, 1, 0, 0, 0, 0, 1)
FIG. 8 is a diagram showing the values of the feature values t1 to t8 of the direction index of the target pixel shown in FIG. That is, a feature value of “1” indicates that there is an effective pixel in that direction, and a feature value of “0” indicates that there is no effective pixel in that direction. When the feature amount of the direction index of the target pixel Pij shown in FIG. 8 is represented by an eight-dimensional vector, the following expression is obtained. Hij = (1, 1, 1, 0, 0, 0, 0, 1)

【0028】観測画像の特徴量空間は、図6(b)に示す輪
郭画像の各画素における方向指数の特徴量ベクトルの集
合である。なお、観測画像の特徴量空間の次元数は
「8」である。
The feature space of the observed image is a set of feature vectors of the direction index in each pixel of the contour image shown in FIG. Note that the dimension number of the feature space of the observed image is “8”.

【0029】図9は基準ベクトルの方向指数の特徴量を
示す図で、t1およびt5方向の特徴量が‘1’である。従
って、基準ベクトルは次式で表される。 DIST = (1, 0, 0, 0, 1, 0, 0, 0)
FIG. 9 is a diagram showing the characteristic amount of the direction index of the reference vector. The characteristic amount in the t1 and t5 directions is '1'. Therefore, the reference vector is represented by the following equation. DIST = (1, 0, 0, 0, 1, 0, 0, 0)

【0030】参照画像の特徴量空間は、図10(a)に示すS
×T画素の参照画像の、図10(b)に示す輪郭画像における
各画素の方向指数の特徴量ベクトルの集合である。な
お、参照画像の特徴量空間の次元数は「8」である。ま
た、S×TはM×Nよりも充分大きな値にする。
The feature space of the reference image is represented by S shown in FIG.
It is a set of feature amount vectors of the direction index of each pixel in the contour image shown in FIG. 10B of the reference image of × T pixels. Note that the number of dimensions of the feature space of the reference image is “8”. S × T is set to a value sufficiently larger than M × N.

【0031】[アクセス制御情報の埋め込み]次に、図
11に一例を示すアクセス制御情報のビット系列を文書画
像に埋め込むための手順を説明する。なお、アクセス制
御情報は、印刷物の不正な読み取りによるデータ化、複
写などを防ぐためのものであり、例えば、印刷物の画像
に対するアクセスを制限したり、改竄を防いだり、その
原稿を検索するなどの機能を有する。
[Embedding of access control information]
A procedure for embedding a bit sequence of access control information shown in FIG. 11 in a document image will be described. The access control information is for preventing data conversion, copying, etc. due to unauthorized reading of the printed matter, such as restricting access to the image of the printed matter, preventing tampering, searching for the original, and the like. Has functions.

【0032】図12および図13は文書画像にアクセス制御
情報を埋め込む手順例を示すフローチャートである。
FIGS. 12 and 13 are flowcharts showing an example of a procedure for embedding access control information in a document image.

【0033】まず、参照画像の特徴量空間(特徴量ベク
トルの集合)と基準ベクトルとの間のマハラノビス距離
(Mahalanobis's generaliezd distance) MD1を次式によ
り算出する(S1)。 D2 = (x-μ)'Σ-1(x-μ) ここで、xは基準ベクトル μは参照画像の特徴量空間の平均ベクトル Σ-1は分散共分散行列の逆行列 D2はMD1
First, the Mahalanobis distance between the feature space (a set of feature vectors) of the reference image and the reference vector
(Mahalanobis's generaliezd distance) MD1 is calculated by the following equation (S1). D 2 = (x-μ) 'Σ -1 (x-μ) where x is the reference vector μ is the mean vector of the feature space of the reference image Σ -1 is the inverse matrix of the variance-covariance matrix D 2 is MD1

【0034】そして、二値K画像データ104(図5参照)
に相当する文書画像データを読み込み(S2)、図14に示す
ように、文書画像をM×N個のブロックに分割する。な
お、図14において、2101はブロックを、2102は行番号イ
ンデックス、2103は列番号インデックスを示す。従っ
て、インデックス番号はM×Nの行列になる。このインデ
ックス行列からM×N次元のインデックスベクトルを発生
する(S3)。この際、インデックスベクトルの要素番号が
各ブロックのインデックス番号になる。
Then, the binary K image data 104 (see FIG. 5)
Is read (S2), and the document image is divided into M × N blocks as shown in FIG. In FIG. 14, reference numeral 2101 denotes a block, 2102 denotes a row number index, and 2103 denotes a column number index. Therefore, the index numbers are an M × N matrix. An M × N-dimensional index vector is generated from the index matrix (S3). At this time, the element number of the index vector becomes the index number of each block.

【0035】次に、予め決まっている、または、ユーザ
が入力した種情報に基づきR1からRM ×Nの乱数を発生さ
せる(S4)。なお、発生した乱数はインデックスベクトル
の要素番号に対応する。つまり、各乱数値が各ブロック
のインデックス番号になる。そして、図11に示すアクセ
ス制御情報のビット系列と、乱数列(ブロックのインデ
ックス番号)とを対応付ける(S5)。この際、対応付けが
ビット系列の終端に達すると、次の対応付けはビット系
列の先頭に戻る。
Next, a random number of R M × N is generated from R 1 based on the seed information determined in advance or input by the user (S 4). The generated random number corresponds to the element number of the index vector. That is, each random value is an index number of each block. Then, the bit sequence of the access control information shown in FIG. 11 is associated with a random number sequence (block index number) (S5). At this time, when the association reaches the end of the bit sequence, the next association returns to the head of the bit sequence.

【0036】図15はビット系列1701と乱数列1702との対
応例を示す図である。詳細は後述するが、ビット系列17
01の個数と、乱数列1702の個数とは必ずしも一致しな
い。つまり、アクセス制御情報の1ビットに対して複数
の乱数(言い換えればブロック)が対応する場合があ
る。
FIG. 15 is a diagram showing an example of the correspondence between the bit sequence 1701 and the random number sequence 1702. Although details will be described later, the bit sequence 17
The number of 01 and the number of the random number sequence 1702 do not always match. That is, a plurality of random numbers (in other words, blocks) may correspond to one bit of the access control information.

【0037】この場合、ビット一つに対して複数個のブ
ロックが対応し、ビット系列1401の個数と乱数列であり
ブロックのインデックス番号でもある1402の個数は必ず
しも一致しない。図15の例はビット一つに対して3ブロ
ックが対応している。
In this case, a plurality of blocks correspond to one bit, and the number of bit sequences 1401 does not always match the number of 1402, which is a random number sequence and also a block index number. In the example of FIG. 15, three blocks correspond to one bit.

【0038】次に、変数Xに「1」を、変数kに「0」をセ
ットし(S6)、乱数列1702のX番目(RX)に対応するブロッ
クのインデックス番号およびアクセス制御情報のビット
を取得し(S7)、取得したブロックのインデックス番号に
対応するブロックの画像を取得する(S8)。
Next, “1” is set to the variable X and “0” is set to the variable k (S6), and the index number of the block corresponding to the X-th (R X ) of the random number sequence 1702 and the bit of the access control information are set. Is acquired (S7), and an image of a block corresponding to the acquired block index number is acquired (S8).

【0039】次に、取得した画像の特徴量空間を構成す
るために使用可能なサンプル数を算出し(S9)、算出した
サンプル数と所定値とを比較して(S10)、サンプル数<
所定値ならば変数kをインクリメントし(S11)、観測画像
の領域を乱数RXに対応するブロック、および、隣接する
k番目までのブロックを観測画像の領域に設定して(S1
2)、ステップS8へ戻り、それらブロックの画像を取得す
る。例えば、ステップS11の一回目(k=1)はRXおよびRX+1
に対応する2ブロック、二回目(k=2)はRX、RX+1およびRX
+2に対応する3ブロック、…が観測画像になる。
Next, the number of samples that can be used to compose the feature space of the acquired image is calculated (S9), and the calculated number of samples is compared with a predetermined value (S10).
If the predetermined value increments the variable k (S11), blocks corresponding to the region of the observation image to the random number R X, and the adjacent
The k-th block is set as the observation image area (S1
2) Return to step S8 to acquire images of those blocks. For example, the first time (k = 1) in step S11 is R X and R X +1
, The second (k = 2) is R X , R X +1 and R X
Three blocks corresponding to +2, ... become observation images.

【0040】算出したサンプル数と所定値との比較結果
がサンプル数<所定値であれば変数kを零にクリアし(S1
3)、取得したブロックの画像を観測画像として、観測画
像の特徴量空間(特徴量ベクトルの集合)と基準ベクト
ルとの間のマハラノビス距離(MD2)を次式によって算出
する(S14)。 D2 = (x-μ)'Σ-1(x-μ) ここで、xは基準ベクトル μは観測画像の特徴量空間の平均ベクトル Σ-1は分散共分散行列の逆行列 D2はMD2
If the result of comparison between the calculated number of samples and the predetermined value is smaller than the predetermined number of samples, the variable k is cleared to zero (S1).
3) Using the obtained block image as an observation image, a Mahalanobis distance (MD2) between a feature space (a set of feature vectors) of the observed image and a reference vector is calculated by the following equation (S14). D 2 = (x-μ) 'Σ -1 (x-μ) where x is the reference vector μ is the mean vector of the feature space of the observed image Σ -1 is the inverse matrix of the variance-covariance matrix D 2 is MD2

【0041】そして、ステップS15の判定により、アク
セス制御情報のビットが‘0’ならばMD1 > MD2+defMDに
なるように観測画像の特徴量空間全体を移動し(S16)、
ビットが‘1’ならばMD1 > MD2+defMDになるように観測
画像の特徴量空間全体を移動する(S17)。なお、defMDは
予め設定した値である。ただし、ステップS16およびS17
における移動は、観測画像の特徴量ベクトルの各要素の
値を増す方向へ行い、各要素の値が減る方向へは行わな
い。
If it is determined in step S15 that the bit of the access control information is '0', the entire feature space of the observed image is moved so that MD1> MD2 + defMD (S16).
If the bit is “1”, the entire feature space of the observed image is moved so that MD1> MD2 + defMD (S17). DefMD is a preset value. However, steps S16 and S17
Is performed in the direction of increasing the value of each element of the feature amount vector of the observed image, and is not performed in the direction of decreasing the value of each element.

【0042】次に、移動後の観測画像の特徴量空間を基
に、観測画像を再構成し(S18)、変数Xをインクリメント
し(S19)、そしてX > M×Nの判定(S20)により、ステップ
S7からS19の処理を乱数RM×Nまで繰り返す。
Next, the observed image is reconstructed based on the feature space of the moved observed image (S18), the variable X is incremented (S19), and the determination of X> M × N is made (S20). , Step
The processing from S7 to S19 is repeated up to a random number RM × N.

【0043】このようにして得られた二値K画像データ
プリンタエンジンに渡され記録紙に画像が印刷される。
The binary K image data obtained in this way is passed to the printer engine, and the image is printed on the recording paper.

【0044】[アクセス制御情報の抽出]図16および図
17は印刷物からアクセス制御情報を抽出する手順を示す
フローチャートである。
[Extraction of Access Control Information] FIG. 16 and FIG.
17 is a flowchart showing a procedure for extracting access control information from a printed material.

【0045】まず、参照画像の特徴量空間(特徴量ベク
トルの集合)と基準ベクトルとの間のマハラノビス距離
MD1を次式により算出する(S21)。但し、次の式による。 D2 = (x-μ)'Σ-1(x-μ) ここで、xは基準ベクトル μは基準画像の特徴量空間の平均ベクトル Σ-1は分散共分散行列の逆行列 D2はMD1
First, the Mahalanobis distance between the feature space (a set of feature vectors) of the reference image and the reference vector
MD1 is calculated by the following equation (S21). However, according to the following equation. D 2 = (x-μ) 'Σ -1 (x-μ) where x is the reference vector μ is the mean vector of the feature space of the reference image Σ -1 is the inverse matrix of the variance-covariance matrix D 2 is MD1

【0046】次に、スキャナにより印刷物を8ビットグ
レイスケールモードで読み取り(S22)、輪郭部を抽出し
一画素に細線化した輪郭画像を生成し(S23)、レジスト
レーション技術により、輪郭画像を、アクセス制御情報
を付加した際のサイズに変換する(S24)。
Next, the printed matter is read in an 8-bit gray scale mode by a scanner (S22), a contour image is extracted and a contour image thinned to one pixel is generated (S23), and the contour image is obtained by a registration technique. The size is converted to the size when the access control information is added (S24).

【0047】そして、図14に示すように、輪郭画像をM
×N個のブロックに分割し、M×N行列のインデックス行
列からM×N次元のインデックスベクトルを生成する(S2
5)。そして、予め決まっている、または、ユーザが入力
した種情報に基づき、R1からRM ×Nの乱数を発生させる
(S26)。なお、発生した乱数はインデックスベクトルの
要素番号に対応する。つまり、各乱数値が各ブロックの
インデックス番号になる。
Then, as shown in FIG.
It is divided into × N blocks, and an M × N-dimensional index vector is generated from the M × N matrix index matrix (S2
Five). Then, a random number of R M × N is generated from R 1 based on predetermined seed information or seed information input by the user.
(S26). The generated random number corresponds to the element number of the index vector. That is, each random value is an index number of each block.

【0048】次に、変数Xに「1」をセットし(S27)、乱
数列2のX番目(RX)に対応するブロックのインデックス番
号を取得し(S28)、取得したブロックのインデックス番
号に対応するブロックの輪郭画像を取得する(S29)。
Next, "1" is set to the variable X (S27), the index number of the block corresponding to the X-th (R X ) of the random number sequence 2 is obtained (S28), and the index number of the obtained block is set as the index number. The contour image of the corresponding block is obtained (S29).

【0049】次に、取得した画像の特徴量空間を構成す
るために使用可能なサンプル数を算出し(S30)、算出し
たサンプル数と所定値とを比較して(S31)、サンプル数
<所定値ならば変数kをインクリメントし(S32)、観測画
像の領域を乱数RXに対応するブロック、および、隣接す
るk番目までのブロックを観測画像の領域に設定して(S3
3)、ステップS29へ戻り、それらブロックの画像を取得
する。例えば、ステップS33の一回目(k=1)はRXおよびRX
+1に対応する2ブロック、二回目(k=2)はRX、RX+1および
RX+2に対応する3ブロック、…が観測画像になる。
Next, the number of samples that can be used to compose the feature space of the acquired image is calculated (S30), and the calculated number of samples is compared with a predetermined value (S31), and the number of samples is smaller than the predetermined number. if the value increments the variable k (S32), blocks corresponding to regions to the random number R X observed images, and sets the block to the k-th adjacent to the region of the observation image (S3
3) Return to step S29 to acquire images of those blocks. For example, the first time (k = 1) in step S33 is R X and R X
2 blocks corresponding to +1, the second (k = 2) is R X , R X +1 and
Three blocks corresponding to R X +2, ... are the observation images.

【0050】算出したサンプル数と所定値との比較結果
がサンプル数<所定値であれば変数kを零にクリアし(S3
4)、取得したブロックの輪郭画像を観測画像として、観
測画像の特徴量空間(特徴量ベクトルの集合)と基準ベ
クトルとの間のマハラノビス距離(MD2)を次式によって
算出する(S35)。 D2 = (x-μ)'Σ-1(x-μ) ここで、xは基準ベクトル μは観測画像の特徴量空間の平均ベクトル Σ-1は分散共分散行列の逆行列 D2はMD2
If the result of the comparison between the calculated number of samples and the predetermined value is the number of samples <the predetermined value, the variable k is cleared to zero (S3
4) The Mahalanobis distance (MD2) between the feature space (a set of feature vectors) of the observed image and the reference vector is calculated by the following equation using the acquired contour image of the block as the observed image (S35). D 2 = (x-μ) 'Σ -1 (x-μ) where x is the reference vector μ is the mean vector of the feature space of the observed image Σ -1 is the inverse matrix of the variance-covariance matrix D 2 is MD2

【0051】こうして得られたマハラノビス距離MD1お
よびMD2の類似度gを次式により算出する(S36)。 g = MD1 - MD2
The similarity g of the Mahalanobis distances MD1 and MD2 thus obtained is calculated by the following equation (S36). g = MD1-MD2

【0052】そして、類似度g > defMDを判定して(S3
7)、g > defMDならば埋め込まれたビットを‘0’と判定
し(S38)、そうでなければ埋め込まれたビットを‘1’と
判定する(S39)。なお、defMDは予め設定した値である。
Then, the similarity g> defMD is determined (S3
7) If g> defMD, the embedded bit is determined to be '0' (S38), otherwise the embedded bit is determined to be '1' (S39). DefMD is a preset value.

【0053】次に、変数Xをインクリメントし(S40)、そ
してX > M×Nの判定(S41)により、ステップS28からS40
の処理を乱数RM×Nまで繰り返す。
Next, the variable X is incremented (S40), and by determining that X> M × N (S41), steps S28 to S40 are performed.
Is repeated up to the random number R M × N.

【0054】このようにして抽出されるビット系列に多
数決判定を施し、埋め込み時のビット長を再現する。
The bit sequence extracted in this way is subjected to a majority decision to reproduce the bit length at the time of embedding.

【0055】本実施形態によれば、低価格の解像度が低
いスキャナを使用しても、アクセス制御情報を正確に検
出することができる。
According to the present embodiment, even when a low-cost scanner with a low resolution is used, the access control information can be accurately detected.

【0056】また、アクセス情報の埋め込みによる違和
感や文字濃度の変化による主観的な画質劣化を生じさせ
ることがない。
Further, there is no occurrence of a sense of incongruity due to embedding of access information or a subjective deterioration in image quality due to a change in character density.

【0057】さらに、例えば図4に示す観測画像の特徴
量空間を構成するためのサンプル数が少ない領域1901、
1902、1903および1904においては、隣接する領域を含め
てアクセス制御情報を埋め込むので、原稿の画像の密度
による検出精度の低下を防ぐことができる。
Further, for example, an area 1901 having a small number of samples for forming a feature amount space of an observation image shown in FIG.
In 1902, 1903 and 1904, since the access control information is embedded including the adjacent area, it is possible to prevent the detection accuracy from being lowered due to the density of the image of the document.

【0058】[0058]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0059】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納されたプログ
ラムコードを読み出し実行することによっても、達成さ
れることは言うまでもない。この場合、記憶媒体から読
み出されたプログラムコード自体が前述した実施形態の
機能を実現することになり、そのプログラムコードを記
憶した記憶媒体は本発明を構成することになる。また、
コンピュータが読み出したプログラムコードを実行する
ことにより、前述した実施形態の機能が実現されるだけ
でなく、そのプログラムコードの指示に基づき、コンピ
ュータ上で稼働しているオペレーティングシステム(OS)
などが実際の処理の一部または全部を行い、その処理に
よって前述した実施形態の機能が実現される場合も含ま
れることは言うまでもない。
An object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer (a computer) of the system or the apparatus It is needless to say that the present invention can also be achieved by a CPU or an MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Also,
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the operating system (OS) running on the computer based on the instructions of the program code.
It goes without saying that a case where the functions of the above-described embodiments are implemented by performing some or all of the actual processing, and the processing performs the functions of the above-described embodiments.

【0060】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. Needless to say, the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0061】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードが格納されることになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

【0062】[0062]

【発明の効果】以上説明したように、本発明によれば、
埋め込まれた情報を正確に検出することが可能な情報の
埋め込みを提供することができる。
As described above, according to the present invention,
Information embedding capable of accurately detecting embedded information can be provided.

【0063】また、情報の埋め込み前後で画像に違和感
が生じないようにすることができる。
Further, it is possible to prevent the image from being uncomfortable before and after embedding information.

【0064】さらに、原稿の画像の密度により検出精度
が低下しない情報の埋め込みを提供することができる。
Further, it is possible to provide information embedding that does not lower the detection accuracy due to the density of the image of the document.

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

【図1】英単語間のスペースをコントロールすることで
アクセス制御情報を埋め込む方法を説明する図、
FIG. 1 illustrates a method of embedding access control information by controlling the space between English words,

【図2】文字の回転角θをコントロールすることでアク
セス制御情報を埋め込む方法を説明する図、
FIG. 2 is a view for explaining a method of embedding access control information by controlling a rotation angle θ of a character;

【図3】文字の拡大・縮小をコントロールすることでア
クセス制御情報を埋め込む方法を説明する図、
FIG. 3 is a view for explaining a method of embedding access control information by controlling enlargement / reduction of characters;

【図4】観測画像の特徴量空間を構成するためのサンプ
ル数が少ない領域を含む文書画像の一例を示す図、
FIG. 4 is a diagram showing an example of a document image including an area having a small number of samples for forming a feature amount space of an observation image;

【図5】プリンタにおける文書画像データの変換例を示
すブロック図、
FIG. 5 is a block diagram showing a conversion example of document image data in the printer.

【図6】観測画像の一例を示す図、FIG. 6 is a diagram showing an example of an observation image.

【図7】3×3画素ブロックの中心画素を注目画素とする
場合に、注目画素の特徴量を抽出するための方向指数指
標を説明する図、
FIG. 7 is a view for explaining a direction index index for extracting a feature amount of a target pixel when a center pixel of a 3 × 3 pixel block is set as a target pixel;

【図8】図7に示す注目画素の方向指数の特徴量t1からt
8の値を示す図、
FIG. 8 shows the feature values t1 to t of the direction index of the target pixel shown in FIG.
Diagram showing the value of 8,

【図9】基準ベクトルの方向指数の特徴量を示す図、FIG. 9 is a diagram showing a feature amount of a direction index of a reference vector;

【図10】S×T画素の参照画像の輪郭画像における各画
素の方向指数の特徴量ベクトルの集合を示す図、
FIG. 10 is a diagram illustrating a set of feature amount vectors of the direction index of each pixel in a contour image of a reference image of S × T pixels;

【図11】アクセス制御情報のビット系列の一例を示す
図、
FIG. 11 is a diagram showing an example of a bit sequence of access control information;

【図12】文書画像にアクセス制御情報を埋め込む手順
例を示すフローチャート、
FIG. 12 is a flowchart showing an example of a procedure for embedding access control information in a document image,

【図13】文書画像にアクセス制御情報を埋め込む手順
例を示すフローチャート、
FIG. 13 is a flowchart showing an example of a procedure for embedding access control information in a document image;

【図14】画像のブロック分割を説明する図、FIG. 14 is a diagram illustrating block division of an image.

【図15】ビット系列と乱数列との対応例を示す図、FIG. 15 is a diagram showing an example of correspondence between a bit sequence and a random number sequence;

【図16】印刷物からアクセス制御情報を抽出する手順
を示すフローチャート、
FIG. 16 is a flowchart showing a procedure for extracting access control information from a printed material,

【図17】印刷物からアクセス制御情報を抽出する手順
を示すフローチャートである。
FIG. 17 is a flowchart illustrating a procedure for extracting access control information from a printed material.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C061 AP01 AP04 AQ06 CL10 2C087 AA09 AA18 AB05 AC08 BA14 BB10 BD06 BD24 5B057 AA11 BA02 CA08 CA12 CA16 CB18 CC01 CE08 CH08 5C076 AA14 BA06  ──────────────────────────────────────────────────の Continued on the front page F term (reference) 2C061 AP01 AP04 AQ06 CL10 2C087 AA09 AA18 AB05 AC08 BA14 BB10 BD06 BD24 5B057 AA11 BA02 CA08 CA12 CA16 CB18 CC01 CE08 CH08 5C076 AA14 BA06

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 印刷装置へ出力される画像信号に所定の
制御信号を埋め込む画像処理装置であって、 前記画像信号からM×N画素ブロックを観測画像として切
り出し、その特徴量を抽出するためのサンプル数を算出
し、算出されるサンプル数が所定値より小さい場合は観
測画像を隣接するブロックまで拡張する拡張手段と、 前記観測画像の特徴量を第一の特徴量ベクトルの集合と
して抽出する抽出手段と、 前記M×N画素ブロックより充分に大きい参照画像から、
前記第一の特徴量ベクトルと同次元数の第二の特徴量ベ
クトルの集合を生成する生成手段と、 前記第一の特徴量ベクトルと同次元数の基準ベクトルお
よび前記第二の特徴量ベクトルに基づき前記参照画像の
マハラノビス距離(MD1)を算出し、前記基準ベクトルお
よび前記第一の特徴量ベクトルに基づき前記観測画像の
マハラノビス距離(MD2)を算出する算出手段と、 前記所定の制御信号に応じて前記MD1およびMD2の関係を
制御するように、前記第一の特徴量ベクトルの値を制御
する制御手段と、 その値が制御された第一の特徴量ベクトルの集合に基づ
き前記観測画像を再構成する再構成手段とを有すること
を特徴とする画像処理装置。
1. An image processing apparatus for embedding a predetermined control signal in an image signal output to a printing apparatus, comprising: extracting an M × N pixel block from the image signal as an observation image; Expansion means for calculating the number of samples and, if the calculated number of samples is smaller than a predetermined value, extending the observation image to adjacent blocks; and extracting the feature amount of the observation image as a first set of feature amount vectors. Means, from a reference image sufficiently larger than the M × N pixel block,
Generating means for generating a set of second feature value vectors having the same dimension as the first feature value vector; and a reference vector having the same dimension as the first feature value vector and the second feature value vector. Calculating the Mahalanobis distance (MD1) of the reference image based on the reference vector and the Mahalanobis distance (MD2) of the observed image based on the first feature amount vector, and Control means for controlling the value of the first feature amount vector so as to control the relationship between the MD1 and MD2, and re-creating the observation image based on a set of the first feature amount vectors whose values are controlled. An image processing apparatus, comprising: reconstructing means for configuring.
【請求項2】 前記画像信号は文書、表およびグラフの
少なくとも一つを表すことを特徴とする請求項1に記載
された画像処理装置。
2. The image processing apparatus according to claim 1, wherein the image signal represents at least one of a document, a table, and a graph.
【請求項3】 前記所定の制御信号は、前記画像信号か
ら印刷された画像の不正な読み取りによる使用を防ぐた
めのものであることを特徴とする請求項1または請求項2
に記載された画像処理装置。
3. The control signal according to claim 1, wherein the predetermined control signal is for preventing use of an image printed from the image signal due to unauthorized reading.
An image processing apparatus according to claim 1.
【請求項4】 前記所定の制御信号は、前記画像に対す
るアクセスを制限するないし改竄を防ぐ、および、原稿
を検索する、の少なくとも一つの機能を有することを特
徴とする請求項3に記載された画像処理装置。
4. The apparatus according to claim 3, wherein the predetermined control signal has at least one function of restricting access to the image or preventing tampering, and searching for a document. Image processing device.
【請求項5】 前記抽出手段は、前記観測画像から抽出
した輪郭部を一画素に細線化した輪郭画像を生成し、前
記観測画像から前記輪郭画像の反転画像分を削除して一
画素に細線化した輪郭画像を生成する輪郭画像生成手
段、並びに、所定の画素間隔で注目画素を設定して、そ
の注目画素に対する前記輪郭画像の方向性を示す前記特
徴量ベクトルを抽出する特徴量抽出手段とを有すること
を特徴とする請求項1から請求項4の何れかに記載された
画像処理装置。
5. The extraction means generates a contour image in which a contour portion extracted from the observation image is thinned to one pixel, and deletes an inverted image of the contour image from the observation image to form a thin line in one pixel. Contour image generating means for generating a contour image, and feature value extracting means for setting a pixel of interest at a predetermined pixel interval and extracting the feature vector indicating the directionality of the contour image with respect to the pixel of interest. 5. The image processing device according to claim 1, comprising:
【請求項6】 前記制御手段は、前記MD1およびMD2の大
小関係または比率を制御することを特徴とする請求項1
から請求項5の何れかに記載された画像処理装置。
6. The apparatus according to claim 1, wherein the control means controls a magnitude relationship or a ratio of the MD1 and MD2.
The image processing device according to any one of claims 1 to 5.
【請求項7】 画像信号に埋め込まれた制御信号を抽出
する画像処理装置であって、 前記画像信号からM×N画素ブロックを観測画像として切
り出し、その特徴量を抽出するためのサンプル数を算出
し、算出されるサンプル数が所定値より小さい場合は観
測画像を隣接するブロックまで拡張する拡張手段と、 前記観測画像の特徴量を第一の特徴量ベクトルの集合と
して抽出する抽出手段と、 前記M×N画素ブロックより充分に大きい参照画像から、
前記第一の特徴量ベクトルと同次元数の第二の特徴量ベ
クトルの集合を生成する生成手段と、 前記第一の特徴量ベクトルと同次元数の基準ベクトルお
よび前記第二の特徴量ベクトルに基づき前記参照画像の
マハラノビス距離(MD1)を算出し、前記基準ベクトルお
よび前記第一の特徴量ベクトルに基づき前記観測画像の
マハラノビス距離(MD2)を算出する算出手段と、 前記MD1およびMD2の類似度に基づき、前記画像信号に埋
め込まれた制御信号を判定する判定手段とを有すること
を特徴とする画像処理装置。
7. An image processing device for extracting a control signal embedded in an image signal, wherein an M × N pixel block is cut out from the image signal as an observation image, and the number of samples for extracting the feature amount is calculated. And if the calculated number of samples is smaller than a predetermined value, extending means for extending the observed image to an adjacent block; extracting means for extracting a feature amount of the observed image as a first set of feature amount vectors; From a reference image that is sufficiently larger than the M × N pixel block,
Generating means for generating a set of second feature value vectors having the same dimension as the first feature value vector; and a reference vector having the same dimension as the first feature value vector and the second feature value vector. Calculating means for calculating the Mahalanobis distance (MD1) of the reference image based on the reference vector and the first feature amount vector, and calculating the Mahalanobis distance (MD2) of the observation image based on the reference vector and the first feature amount vector; and a similarity between the MD1 and MD2. Determining means for determining a control signal embedded in the image signal based on the image signal.
【請求項8】 前記類似度は前記MD1とMD2の差分として
表されることを特徴とする請求項7に記載された画像処
理装置。
8. The image processing apparatus according to claim 7, wherein the similarity is represented as a difference between the MD1 and the MD2.
【請求項9】 印刷装置へ出力される画像信号に所定の
制御信号を埋め込む画像処理方法であって、 前記画像信号からM×N画素ブロックを観測画像として切
り出し、その特徴量を抽出するためのサンプル数を算出
し、算出されるサンプル数が所定値より小さい場合は観
測画像を隣接するブロックまで拡張し、 前記観測画像の特徴量を第一の特徴量ベクトルの集合と
して抽出し、 前記M×N画素ブロックより充分に大きい参照画像から、
前記第一の特徴量ベクトルと同次元数の第二の特徴量ベ
クトルの集合を生成し、 前記第一の特徴量ベクトルと同次元数の基準ベクトルお
よび前記第二の特徴量ベクトルに基づき前記参照画像の
マハラノビス距離(MD1)を算出し、前記基準ベクトルお
よび前記第一の特徴量ベクトルに基づき前記観測画像の
マハラノビス距離(MD2)を算出し、 前記所定の制御信号に応じて前記MD1およびMD2の関係を
制御するように、前記第一の特徴量ベクトルの値を制御
し、 その値が制御された第一の特徴量ベクトルの集合に基づ
き前記観測画像を再構成することを特徴とする画像処理
方法。
9. An image processing method for embedding a predetermined control signal in an image signal output to a printing apparatus, the method comprising: extracting an M × N pixel block from the image signal as an observation image; The number of samples is calculated, and if the calculated number of samples is smaller than a predetermined value, the observed image is extended to an adjacent block, and the feature amount of the observed image is extracted as a first set of feature amount vectors. From a reference image that is sufficiently larger than the N pixel block,
Generate a set of second feature vectors having the same dimension as the first feature vector, and refer to the reference based on the reference vector and the second feature vector having the same dimension as the first feature vector. Calculate the Mahalanobis distance of the image (MD1), calculate the Mahalanobis distance of the observed image based on the reference vector and the first feature amount vector (MD2), and calculate the MD1 and MD2 according to the predetermined control signal. Controlling the value of the first feature vector so as to control the relationship, and reconstructing the observation image based on a set of the first feature vectors whose values are controlled. Method.
【請求項10】 画像信号に埋め込まれた制御信号を抽
出する画像処理方法であって、 前記画像信号からM×N画素ブロックを観測画像として切
り出し、その特徴量を抽出するためのサンプル数を算出
し、算出されるサンプル数が所定値より小さい場合は観
測画像を隣接するブロックまで拡張し、 前記観測画像の特徴量を第一の特徴量ベクトルの集合と
して抽出し、 前記M×N画素ブロックより充分に大きい参照画像から、
前記第一の特徴量ベクトルと同次元数の第二の特徴量ベ
クトルの集合を生成し、 前記第一の特徴量ベクトルと同次元数の基準ベクトルお
よび前記第二の特徴量ベクトルに基づき前記参照画像の
マハラノビス距離(MD1)を算出し、前記基準ベクトルお
よび前記第一の特徴量ベクトルに基づき前記観測画像の
マハラノビス距離(MD2)を算出し、 前記MD1およびMD2の類似度に基づき、前記画像信号に埋
め込まれた制御信号を判定することを特徴とする画像処
理方法。
10. An image processing method for extracting a control signal embedded in an image signal, wherein an M × N pixel block is cut out from the image signal as an observation image, and the number of samples for extracting the feature amount is calculated. If the calculated number of samples is smaller than a predetermined value, the observation image is extended to an adjacent block, and the feature amount of the observation image is extracted as a first set of feature amount vectors. From a sufficiently large reference image,
Generate a set of second feature vectors having the same dimension as the first feature vector, and refer to the reference based on the reference vector and the second feature vector having the same dimension as the first feature vector. Calculate the Mahalanobis distance (MD1) of the image, calculate the Mahalanobis distance (MD2) of the observed image based on the reference vector and the first feature amount vector, and calculate the image signal based on the similarity between the MD1 and MD2. Determining an embedded control signal in the image processing method.
【請求項11】 画像処理装置を制御して、請求項9ま
たは請求項10に記載された画像処理を実行することを特
徴とするプログラム。
11. A program for controlling an image processing apparatus to execute the image processing according to claim 9 or 10.
【請求項12】 請求項11に記載されたプログラムが記
録されたことを特徴とする記録媒体。
12. A recording medium on which the program according to claim 11 is recorded.
JP2001175861A 2001-06-11 2001-06-11 Picture processor and picture processing method Withdrawn JP2002368983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001175861A JP2002368983A (en) 2001-06-11 2001-06-11 Picture processor and picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001175861A JP2002368983A (en) 2001-06-11 2001-06-11 Picture processor and picture processing method

Publications (1)

Publication Number Publication Date
JP2002368983A true JP2002368983A (en) 2002-12-20

Family

ID=19016926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001175861A Withdrawn JP2002368983A (en) 2001-06-11 2001-06-11 Picture processor and picture processing method

Country Status (1)

Country Link
JP (1) JP2002368983A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571323B2 (en) 2003-01-22 2009-08-04 Canon Kabushiki Kaisha Image processor, method thereof, computer program, and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571323B2 (en) 2003-01-22 2009-08-04 Canon Kabushiki Kaisha Image processor, method thereof, computer program, and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP4310288B2 (en) Image processing apparatus and method, program, and storage medium
EP1011064B1 (en) Image pattern detection method and apparatus
JP4136731B2 (en) Information processing method and apparatus, computer program, and computer-readable storage medium
KR100741627B1 (en) Image processing apparatus, image processing method, and storage medium
US8509425B2 (en) Image processing system, program and method
US6782142B2 (en) Method and apparatus for using rotatable templates within look-up tables to enhance image reproduction
JP4552754B2 (en) Information embedding device, method, program, and recording medium, and information detecting device, method, program, and computer-readable recording medium
US7411702B2 (en) Method, apparatus, and computer program product for embedding digital watermark, and method, apparatus, and computer program product for extracting digital watermark
JP4632443B2 (en) Image processing apparatus, image processing method, and program
US20070127085A1 (en) Printing system, printing method and program thereof
JP2001148778A (en) Image processing unit, image processing method and storage medium
US8139237B2 (en) Image generating apparatus, image processing apparatus, recording medium and computer readable recording medium
JP5049922B2 (en) Image processing apparatus and image processing method
CN1326383C (en) Image processing apparatus, image processing method, computer program and computer readable storage medium
JP2002368983A (en) Picture processor and picture processing method
JP4689570B2 (en) Image processing apparatus and image processing method
JP2002368974A (en) Image processor and its method
JP2006237858A (en) Image processing apparatus, image processing method, program for allowing computer to execute the method, and recording medium
JP4001446B2 (en) Method, apparatus and computer-readable recording medium for specifying image background color
JP4164458B2 (en) Information processing apparatus and method, computer program, and computer-readable storage medium
JP4324058B2 (en) Image processing apparatus and method
JP2001223885A (en) Picture processor, picture processing method and storage medium
JP4552757B2 (en) Image processing apparatus, image processing method, and image processing program
JP2007109178A (en) Image processing apparatus, its control method, and program
JP2001150742A (en) Apparatus and method for image processing and recording medium thereof

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080902