JP2002171395A - Image processor, method for the same and storage medium - Google Patents

Image processor, method for the same and storage medium

Info

Publication number
JP2002171395A
JP2002171395A JP2000363760A JP2000363760A JP2002171395A JP 2002171395 A JP2002171395 A JP 2002171395A JP 2000363760 A JP2000363760 A JP 2000363760A JP 2000363760 A JP2000363760 A JP 2000363760A JP 2002171395 A JP2002171395 A JP 2002171395A
Authority
JP
Japan
Prior art keywords
image
data
frequency
phase
pixel
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
JP2000363760A
Other languages
Japanese (ja)
Inventor
Hiromitsu Nishikawa
浩光 西川
Yoshihiro Ishida
良弘 石田
Junichi Hayashi
淳一 林
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 JP2000363760A priority Critical patent/JP2002171395A/en
Publication of JP2002171395A publication Critical patent/JP2002171395A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To correct the deviation of the position, inclination or the like of image data by simple arithmetic. SOLUTION: A single image (partial image) included in an area (an area of a predecided size at a predecided position) supposed to be a partial image in image data of an original is fetched (S20). An image (sub-partial image) supposed to be a partial image is given fast Fourier transformation and a peak dot is obtained from obtained frequency data to be stored (S30). Next, phase component data of respective peak dots included in the sub-partial image is obtained to be stored (S40). The deviation of the position data of the peak dot from the ideal position data of the peak point is obtained to correct 'deviation' with respect to the whole image data of the original (S50). Next, deviation between the first pixel of the sub-partial image and that of the partial image is detected (S60) and electronic watermark data is read from the image data of the original in S70.

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 detecting and correcting a deviation of a read image and a storage medium.

【0002】[0002]

【従来の技術】最近、"電子透かし"と呼ばれる技術を用
いることにより、印刷物としての原稿に著作権などの情
報を含ませ、作成することが可能となっている。即ち、
元になる第1のディジタル情報(主情報)である画像デ
ータ(電子的な画像情報)に対して、著作物であること
を示す第2のディジタル情報(副情報)を埋め込むこと
で、著作権情報入りの原稿の画像データ(電子的な画像
情報)を得ることができる。
2. Description of the Related Art Recently, it has become possible to include information such as copyright in an original as a printed matter by using a technique called "digital watermark". That is,
By embedding the second digital information (sub-information) indicating the copyrighted work in the image data (electronic image information) as the original first digital information (main information), the copyright Image data (electronic image information) of a document containing information can be obtained.

【0003】また、この著作権情報(副情報)は、上述
の埋め込む方法が分かっていれば、上述の著作権情報入
りの原稿の画像データから抽出可能である。このことに
より、著作権情報入りの原稿の画像データから作成され
た原稿の印刷物をカラースキャナ等の原稿読取装置によ
り読み取ることで得られる電子的な画像データから、埋
め込まれた著作権情報を抽出することは可能であるの
で、この"電子透かし"と呼ばれる技術は、印刷物として
の原稿の違法な複製などによる著作権侵害等を防ぐ用途
への適用が可能であるので、着目され始めている。
Further, the copyright information (sub-information) can be extracted from the image data of the document containing the copyright information if the method of embedding is known. As a result, the embedded copyright information is extracted from the electronic image data obtained by reading the printed matter of the document created from the image data of the document containing the copyright information by a document reading device such as a color scanner. Since this is possible, the technique called “digital watermark” is attracting attention because it can be applied to applications for preventing copyright infringement or the like due to illegal duplication of a document as a printed matter.

【0004】[0004]

【発明が解決しようとする課題】しかし著作物の認識処
理は、原稿の置かれる向き(角度)や位置が定まらない
場合には、予め登録されたスペクトルデータや画像パタ
ーンデータとの比較を様々な場合であっても対応できる
ようにするため、演算の総量が飛躍的に大きくなる傾向
にある。
However, in the process of recognizing a copyrighted work, if the orientation (angle) or position of the original is not determined, various comparisons with pre-registered spectral data and image pattern data are performed. In order to be able to cope even in the case, the total amount of calculations tends to increase dramatically.

【0005】その際、電子透かしを使用した著作権保護
等には演算の総量に応じて処理にかかる時間も飛躍的に
長くなるという問題がある。
[0005] At this time, there is a problem that the time required for processing is drastically increased in accordance with the total amount of operations in copyright protection or the like using a digital watermark.

【0006】本発明は以上の問題に鑑みてなされたもの
であり、画像データの、例えば位置や傾きなどのずれを
簡単な演算で補正することを目的とする。
The present invention has been made in view of the above problems, and has as its object to correct a shift in image data, such as a position or an inclination, by a simple calculation.

【0007】[0007]

【課題を解決するための手段】本発明の目的を達成する
ために、例えば本発明の画像処理装置は以下の構成を備
える。すなわち、第1の画像から所定サイズの第2の画
像を抽出する領域抽出手段と、前記第2の画像に対して
周波数変換を行い、周波数領域でのピークの座標位置を
検出する検出手段と、前記第2の画像周波数領域でのピ
ークの座標位置に相当するの位相領域での位相成分デー
タを算出する位相成分算出手段と、前記位相成分データ
と所定の基準に基づいて前記第1の画像の基準となる位
置からのずれを検出し、該画像データの補正を行う補正
手段とを備える。
In order to achieve the object of the present invention, for example, an image processing apparatus of the present invention has the following arrangement. That is, a region extracting unit that extracts a second image of a predetermined size from the first image, a detecting unit that performs frequency conversion on the second image, and detects a coordinate position of a peak in a frequency region, Phase component calculation means for calculating phase component data in a phase region corresponding to a coordinate position of a peak in the second image frequency region; and a phase component calculating unit for calculating the first image based on the phase component data and a predetermined reference. A correction unit that detects a deviation from a reference position and corrects the image data.

【0008】本発明の目的を達成するために、例えば本
発明の画像処理装置は以下の構成を備える。すなわち、
第1の画像から所定のサイズを有する第2の画像を抽出
する領域抽出手段と、前記第2の画像に対して周波数変
換を行い、当該第2の画像の周波数データと共に、位相
データを検出する周波数変換手段と、前記周波数変換手
段による周波数データからピーク値を有する画素の位置
データと、当該画素の基準となる位置データとに基づい
て前記第1の画像に対して幾何学的な変換を行う幾何学
的変換手段と、前記幾何学的変換手段により幾何学的変
換を施された前記第1の画像を構成する画素に応じた位
相データと、当該画素の基準となる位相データとに基づ
いて、前記第2の画像の基準となる位置からのずれを検
出する検出手段とを備える。
In order to achieve the object of the present invention, for example, an image processing apparatus of the present invention has the following arrangement. That is,
An area extracting means for extracting a second image having a predetermined size from the first image; performing frequency conversion on the second image; and detecting phase data together with frequency data of the second image. Performing a geometric conversion on the first image based on frequency conversion means, position data of a pixel having a peak value from frequency data by the frequency conversion means, and reference position data of the pixel; Geometric conversion means, based on phase data corresponding to pixels constituting the first image subjected to the geometric conversion by the geometric conversion means, and phase data serving as a reference for the pixels. Detecting means for detecting a deviation of the second image from a reference position.

【0009】更に、前記検出手段により検出された前記
ずれに基づいて前記第1の画像を補正する補正手段と、
前記補正手段により補正された第1の画像から電子透か
しのデータを抽出する抽出手段とを備える。
A correcting means for correcting the first image based on the displacement detected by the detecting means;
Extraction means for extracting digital watermark data from the first image corrected by the correction means.

【0010】[0010]

【発明の実施の形態】以下添付図面を参照して、本発明
を好適な実施形態に従って詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail according to preferred embodiments with reference to the accompanying drawings.

【0011】[第1の実施形態]スキャナ、ファクシミ
リ装置、ディジタル複写機など、原稿を読みとり、この
原稿の画像データを生成する機器において、原稿の傾き
や位置のずれが一切無い状態で読み取ることは極めて困
難であり、また、原稿を読み取る際に微小な拡大縮小が
発生する。このため、読みとった画像データから電子透
かし技術により埋め込まれた電子透かしデータを確実に
抽出するためには、抽出の前処理として原稿の傾きや位
置ずれ、拡大縮小等を検知し、原稿を読みとる際に、検
知した結果を鑑みる必要がある。また、原稿の画像デー
タに含まれている電子透かしデータの位置の特定をいか
に早くするかが全体の処理速度を大きく短縮できる要因
となる。
[First Embodiment] A device that reads a document and generates image data of the document, such as a scanner, a facsimile machine, and a digital copying machine, does not read the document without any inclination or displacement of the document. It is extremely difficult, and a minute enlargement / reduction occurs when reading a document. For this reason, in order to reliably extract the digital watermark data embedded by the digital watermark technology from the read image data, it is necessary to detect the inclination, displacement, enlargement / reduction, etc. of the original as a pre-processing of the extraction, and read the original. First, it is necessary to consider the detection result. Further, how to quickly identify the position of the digital watermark data included in the image data of the document is a factor that can greatly reduce the overall processing speed.

【0012】本実施形態では電子透かしデータを埋め込
まれた画像データから、この電子透かしデータを抽出す
る画像処理装置及びその方法について説明する。
In this embodiment, an image processing apparatus and method for extracting digital watermark data from image data in which digital watermark data is embedded will be described.

【0013】図2は、本実施形態における画像処理装置
としてのパーソナルコンピュータ(以下PC)とその周
辺機器の構成を示す。同図において、1はカラーイメー
ジスキャナ(以下スキャナ)で、原稿を読みとり、この
原稿の画像データを後述のPC2に出力する。2はPC
で、後述の処理を含む各種の処理を行う。3はスキャナ
1とPC2とをつなぐケーブルである。
FIG. 2 shows a configuration of a personal computer (hereinafter, referred to as a PC) as an image processing apparatus and peripheral devices in the present embodiment. In FIG. 1, reference numeral 1 denotes a color image scanner (hereinafter referred to as a scanner) which reads a document and outputs image data of the document to a PC 2 described later. 2 is PC
Then, various processes including the processes described below are performed. A cable 3 connects the scanner 1 and the PC 2.

【0014】図3はPC2の基本構成を示すブロック図
である。同図において11はCPUでROM13やRA
M12に格納されたプログラムコードやデータを用いて
PC2全体の制御を行うと共に、後述の各種の処理を行
う。
FIG. 3 is a block diagram showing the basic configuration of the PC 2. In the figure, reference numeral 11 denotes a CPU, a ROM 13,
Using the program codes and data stored in M12, the entire PC 2 is controlled, and various processes described later are performed.

【0015】12はRAMで、外部記憶装置18からロ
ードされたプログラムコードやデータなどを格納するエ
リアを備えると共に、CPU11が各種の処理を実行す
る際に用いるワークエリアも備える。13はROMで、
PC2全体の制御を行うプログラムコードやデータなど
を格納すると共に、文字コードなども格納する。14は
ディスプレイ制御部で、ディスプレイ15の制御を行
う。15はディスプレイで、各種のメッセージなどを表
示する。16はキーボードやマウスなどのポインティン
グデバイスで、各種の指示をPC2に入力することがで
きる。17はポインティングデバイス16とバス20と
をつなぐI/Oである。18はCD−ROMやフロッピ
ー(登録商標)ディスクなどによりインストールされた
プログラムコードやデータなどを格納するハードディス
クなどにより構成される外部記憶装置で、19は外部記
憶装置18とバス20とをつなぐI/Oである。22,
23はそれぞれスキャナ1,ネットワークとつなぐため
のI/Oである。20は上述の各部をつなぐバスであ
る。
Reference numeral 12 denotes a RAM, which has an area for storing program codes and data loaded from the external storage device 18, and also has a work area used when the CPU 11 executes various processes. 13 is a ROM,
In addition to storing program codes and data for controlling the entire PC 2, character codes and the like are also stored. A display control unit 14 controls the display 15. A display 15 displays various messages and the like. A pointing device 16 such as a keyboard and a mouse can input various instructions to the PC 2. Reference numeral 17 denotes an I / O for connecting the pointing device 16 and the bus 20. Reference numeral 18 denotes an external storage device including a hard disk for storing program codes and data installed by a CD-ROM, a floppy (registered trademark) disk, or the like. O. 22,
Reference numeral 23 denotes an I / O for connecting to the scanner 1 and the network, respectively. A bus 20 connects the above-described units.

【0016】図4はスキャナ1を介して読みとった原稿
の画像の傾きや位置のずれを検出する処理のフローチャ
ートである。同図に示すフローチャートに従った処理を
記述したコンピュータ実行可能なプログラムを、あらか
じめROM13やRAM12等のメモリに格納してお
き、CPU11により実行することで、PC2は後述の
各処理を実行することができる。
FIG. 4 is a flowchart of a process for detecting a tilt or a positional shift of an image of a document read via the scanner 1. By storing a computer-executable program describing processing in accordance with the flowchart shown in the figure in a memory such as the ROM 13 or the RAM 12 in advance and executing the program by the CPU 11, the PC 2 can execute each processing described later. it can.

【0017】又、以下で用いる原稿の画像には、周波数
空間においてピーク値を有する画素(以下ピーク点)が
予め決められた位置に4つ埋め込まれており、これらの
ピーク点を含む領域(以下、部分領域)のサイズ、位置
は予め分かっているものとする。なお本実施形態におい
ては4つのピークが有るものとして説明するが、4つに
限定されるものではない。
In the image of the document used below, four pixels having a peak value in the frequency space (hereinafter referred to as peak points) are embedded at predetermined positions, and an area including these peak points (hereinafter referred to as a peak point). , Partial area) are known in advance. In the present embodiment, the description will be made assuming that there are four peaks, but the number is not limited to four.

【0018】ステップS10では、CPU11はI/O
部22を介して、スキャナ1に対して、スキャナ1の不
図示の読み取り面上に置かれている原稿を読み取ること
を指示する。その結果スキャナ1は原稿を読みとり、原
稿の画像データをI/O部22を介してPC2に出力す
る。PC2に入力された原稿の画像データはRAM12
に格納される。
In step S10, the CPU 11 executes I / O
The scanner 1 is instructed via the unit 22 to read a document placed on a reading surface (not shown) of the scanner 1. As a result, the scanner 1 reads the document and outputs the image data of the document to the PC 2 via the I / O unit 22. The image data of the document input to the PC 2 is stored in the RAM 12
Is stored in

【0019】ステップS20では、ステップS10でR
AM12に読み込まれた画像データにおいて、部分領域
と思われる領域(予め決められた位置で、予め決められ
たサイズの領域)に含まれる画像を1つ取り出し(コピ
ー)、RAM12内で別のエリアに格納する。本実施形
態では部分画像のサイズを1024×1024画素のサ
イズとする。
In step S20, R in step S10
In the image data read into the AM 12, one image included in an area considered to be a partial area (an area of a predetermined size at a predetermined position) is taken out (copied) and transferred to another area in the RAM 12. Store. In the present embodiment, the size of the partial image is 1024 × 1024 pixels.

【0020】ステップS30では、ステップS20でR
AM12に格納された部分画像と思われる画像(以下、
準部分画像)に対して高速フーリエ変換を施し、この準
部分画像の周波数データを得る。図5に、準部分画像に
対して高速フーリエ変換を施した結果得られるピーク点
を示す。同図で点A,B,C,Dがピーク点であり、こ
のピーク点の位置をRAM12に記憶する。なお、これ
らの点をレジストレーション信号として記憶する。
In step S30, R in step S20
Images considered to be partial images stored in the AM 12 (hereinafter referred to as
Fast Fourier transform is performed on the quasi-partial image to obtain frequency data of the quasi-partial image. FIG. 5 shows peak points obtained as a result of performing the fast Fourier transform on the quasi-partial image. In the figure, points A, B, C, and D are peak points, and the positions of the peak points are stored in the RAM 12. Note that these points are stored as registration signals.

【0021】ステップS40では、ステップS30で得
られた準部分画像に含まれるそれぞれのピーク点の位相
成分データを、図6に示すように点A(i),B
(i),C(i),D(i)として求め、同様にRAM
12に記憶する。なお各ピーク点における位相成分デー
タはステップS30における高速フーリエ変換により求
めることができる。
In step S40, the phase component data of each peak point included in the quasi-partial image obtained in step S30 is converted into points A (i) and B as shown in FIG.
(I), C (i), and D (i).
12 is stored. The phase component data at each peak point can be obtained by the fast Fourier transform in step S30.

【0022】ステップS50では、ステップS30で生
成されたRAM12に記憶されているピーク点の位置デ
ータと、予めROM13やRAM12などのメモリに記
憶されたピーク点の理想位置データとのずれを求め、原
稿の画像データ全体に対してこの「ずれ」を補正する。
なお、この理想位置データとは、準部分画像内における
ピーク点のローカルな位置データである。
In step S50, a deviation between the peak point position data generated in step S30 and stored in the RAM 12 and the peak point ideal position data stored in advance in a memory such as the ROM 13 or the RAM 12 is determined. This "shift" is corrected for the entire image data.
The ideal position data is local position data of a peak point in the quasi-partial image.

【0023】具体的には、スキャナ1で原稿を読みとる
際に「ずれ」として、操作者が故意に加えた傾きや拡大
縮小の情報を補正する。図1にこの補正処理を示す。同
図において、点A,B,C,DはステップS30で生成
されたRAM12に記憶されているピーク点の位置デー
タで、点A’,B’,C’,D’は点A,B,C,Dの
夫々に対する上述の理想位置データである。同図より点
Aを例に説明すると、、中心位置Oからの点A,点A’
の距離d、d’とそのなす角θを算出し、点Aが点A’
に一致するように原稿画像全体に幾何学的な変換をかけ
る。
More specifically, when the original is read by the scanner 1, the information of the inclination or enlargement / reduction intentionally added by the operator is corrected as the "shift". FIG. 1 shows this correction processing. In the figure, points A, B, C, and D are the position data of the peak points generated in step S30 and stored in the RAM 12, and points A ', B', C ', and D' are points A, B, and This is the ideal position data described above for each of C and D. The point A will be described with reference to FIG.
And the angle θ formed by the distances d and d ′ are calculated.
Is subjected to a geometric transformation so as to match.

【0024】なお、このステップS30およびステップ
S40における上述の処理は、USP5862260が示すような
公知の技術をもって実装される。
The above-described processing in steps S30 and S40 is implemented by a known technique as shown in US Pat.

【0025】ステップS60では、ステップS40で生
成されたRAM12に記憶されている各ピーク点の位相
成分データを用いて、ステップS20において取り出さ
れた準部分画像の最初のピクセル(同画像の左上のピク
セル)が、部分画像の最初のピクセルに対して、何ピク
セルずれているかを検出する。
In step S60, using the phase component data of each peak point stored in the RAM 12 generated in step S40, the first pixel of the quasi-partial image extracted in step S20 (the upper left pixel of the same image) ) Detects how many pixels are shifted from the first pixel of the partial image.

【0026】ステップS60で行われる上述の検出処理
について具体的に説明する。原稿画像の電子データに上
述のピーク点のデータを埋め込むには(ステップS30
においてピーク点を検出するには)、原稿の画像データ
で主走査方向または副走査方向に、予め定めた角度(本
実施形態では45度とするが、これに限定されるもので
はない)をつけた任意の周期を有する図7に示すような
波を埋め込む。ここでは、1周期が8ピクセルになるよ
うな波について説明をする。
The above-described detection processing performed in step S60 will be specifically described. To embed the above-mentioned peak point data in the electronic data of the original image (step S30)
In order to detect the peak point in the above, a predetermined angle (45 degrees in the present embodiment, but not limited thereto) is attached to the image data of the document in the main scanning direction or the sub scanning direction. A wave having an arbitrary period as shown in FIG. 7 is embedded. Here, a wave in which one cycle is 8 pixels will be described.

【0027】同図に示すように、ステップS20におい
て準部分画像データが読み込まれた最初のピクセルが、
部分画像データの最初のピクセルと同じであれば、周波
数空間でのピーク点座標に対応する位相成分データを同
図のようにθの値をとれば0となり例えば2ピクセルず
れていればπ/2となる。このようなテーブルを主操作
方向にX(0≦X<8)副操作方向にY(0≦Y<8)
移動させたときの64通りの表(テーブル)をあらかじ
めROM13やRAM12に登録しておき、参照するこ
とによって主操作方向または副操作方向に準部分画像と
部分画像が夫々何ピクセルずれているかが検出すること
ができる。その結果、この検出したずれを用いて更に原
稿画像に対して位置ずれの補正処理を行う。
As shown in the figure, the first pixel from which the quasi-partial image data is read in step S20 is
If it is the same as the first pixel of the partial image data, the phase component data corresponding to the peak point coordinates in the frequency space becomes 0 when the value of θ is taken as shown in FIG. Becomes Such a table is set such that X (0 ≦ X <8) in the main operation direction and Y (0 ≦ Y <8) in the sub operation direction.
The 64 tables (tables) at the time of the movement are registered in the ROM 13 or the RAM 12 in advance, and by referencing, how many pixels are shifted between the quasi-partial image and the partial image in the main operation direction or the sub operation direction is detected. can do. As a result, a position shift correction process is further performed on the document image using the detected shift.

【0028】以上の処理の結果、原稿の画像データをス
キャナ120で読み込む際に、位置ずれや拡大縮小、傾
き等のない場合に得られる画像データを得ることができ
る。
As a result of the above processing, when the image data of the document is read by the scanner 120, image data obtained when there is no displacement, enlargement / reduction, inclination, etc. can be obtained.

【0029】最後にステップS70では、ステップS5
0及びステップS60で前処理を終えた原稿の画像デー
タから電子透かしデータを読み込む。
Finally, in step S70, step S5
In step S60, digital watermark data is read from the image data of the document that has been preprocessed.

【0030】以上の説明により、本実施形態における画
像処理装置及びその方法によれば、原稿を読みとる際に
位置や傾きのずれや拡大縮小があっても、読み込んだ原
稿の画像データを補正する事ができる。このことによ
り、原稿の画像データの位置、方向を特定できると共
に、この画像データに埋め込まれたデータの位置などを
特定することができ、例えばこの画像データに埋め込ま
れた電子透かしデータを抽出する処理に要する時間を短
縮することができる。
As described above, according to the image processing apparatus and method of the present embodiment, even when the original is read, the image data of the read original can be corrected even if the position or the inclination is shifted or enlarged or reduced. Can be. As a result, the position and direction of the image data of the document can be specified, and the position of the data embedded in the image data can be specified. For example, a process of extracting digital watermark data embedded in the image data Can be shortened.

【0031】[第2の実施形態]第1の実施形態では、
原稿の画像データはスキャナ1より読み込まれたもので
あるが、これに限るものではない。例えば、図3でイン
ターフェース23を介してネットワークより読み込まれ
た原稿の画像データを画像処理装置に入力しても良い
し、あるいは、着脱可能な記憶媒体(例えば、スマート
メディアやコンパクトフラッシュ(登録商標)、もしく
は、光磁気ディスク等)から、この記憶媒体に記憶され
た原稿の画像データをバス20に記憶媒体のドライブを
I/Oを介して接続することで読み込むことが可能であ
る。
[Second Embodiment] In the first embodiment,
The image data of the original is read by the scanner 1, but is not limited thereto. For example, the image data of the document read from the network via the interface 23 in FIG. 3 may be input to the image processing apparatus, or a removable storage medium (for example, smart media or CompactFlash (registered trademark)) Alternatively, the image data of the document stored in the storage medium can be read from a magneto-optical disk or the like by connecting a drive of the storage medium to the bus 20 via an I / O.

【0032】この場合の処理手順は、図4に示したフロ
ーチャートにおいて、ステップS10で、原稿の画像デ
ータをネットワーク、或いは脱着可能な記憶媒体から読
み込み、RAM12に記憶する処理となるすれば良い。
In this case, the processing procedure in the flowchart shown in FIG. 4 may be such that the image data of the document is read from the network or a removable storage medium and stored in the RAM 12 in step S10.

【0033】[その他の実施形態]さらに本発明は上記
実施形態を実現するための装置及び方法のみに限定され
るものではなく、上記システム又は装置内のコンピュー
タ(CPUあるいはMPU)に、上記実施形態を実現するため
のソフトウエアのプログラムコードを供給し、このプロ
グラムコードに従って上記システムあるいは装置のコン
ピュータが上記各種デバイスを動作させることにより上
記実施形態を実現する場合も本発明の範疇に含まれる。
[Other Embodiments] The present invention is not limited to only the apparatus and method for realizing the above-described embodiment, and the computer (CPU or MPU) in the above-described system or apparatus may be used in the above-described embodiment. The scope of the present invention also includes a case where a program code of software for realizing the above is provided, and the computer of the system or the apparatus operates the above-described various devices to realize the above-described embodiment in accordance with the program code.

【0034】またこの場合、前記ソフトウエアのプログ
ラムコード自体が上記実施形態の機能を実現することに
なり、そのプログラムコード自体、及びそのプログラム
コードをコンピュータに供給するための手段、具体的に
は上記プログラムコードを格納した記憶媒体は本発明の
範疇に含まれる。
In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer, specifically, A storage medium storing the program code is included in the scope of the present invention.

【0035】この様なプログラムコードを格納する記憶
媒体としては、例えばフロッピーディスク、ハードディ
スク、光ディスク、光磁気ディスク、CD-ROM、磁気テー
プ、不揮発性のメモリカード、ROM等を用いることがで
きる。
As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, ROM, etc. can be used.

【0036】また、上記コンピュータが、供給されたプ
ログラムコードのみに従って各種デバイスを制御するこ
とにより、上記実施形態の機能が実現される場合だけで
はなく、上記プログラムコードがコンピュータ上で稼働
しているOS(オペレーティングシステム)、あるいは他の
アプリケーションソフト等と共同して上記実施形態が実
現される場合にもかかるプログラムコードは本発明の範
疇に含まれる。
In addition to the case where the computer controls the various devices according to only the supplied program code to realize the functions of the above-described embodiment, the above-described computer can be operated by the operating system running on the computer. Such a program code is also included in the scope of the present invention when the above embodiment is realized in cooperation with an (operating system) or other application software.

【0037】更に、この供給されたプログラムコード
が、コンピュータの機能拡張ボードやコンピュータに接
続された機能拡張ユニットに備わるメモリに格納された
後、そのプログラムコードの指示に基づいてその機能拡
張ボードや機能格納ユニットに備わるCPU等が実際の処
理の一部または全部を行い、その処理によって上記実施
形態が実現される場合も本発明の範疇に含まれる。
Further, after the supplied program code is stored in a memory provided in a function expansion board of a 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 processing implements the above-described embodiment is also included in the scope of the present invention.

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

【0039】[0039]

【発明の効果】以上の説明により、本発明によれば、画
像データの、例えば位置や傾きなどのずれを簡単な演算
で補正することができる。
As described above, according to the present invention, it is possible to correct the deviation of the image data, for example, the position and the inclination by a simple calculation.

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

【図1】補正処理を説明する為の図である。FIG. 1 is a diagram for explaining a correction process.

【図2】本発明の第1の実施形態における画像処理装置
としてのパーソナルコンピュータ(以下PC)とその周
辺機器の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a personal computer (hereinafter, referred to as a PC) as an image processing apparatus and peripheral devices according to the first embodiment of the present invention.

【図3】PCの基本構成を示すブロック図である。FIG. 3 is a block diagram illustrating a basic configuration of a PC.

【図4】スキャナ1を介して読みとった原稿の画像の傾
きや位置のずれを検出する処理のフローチャートであ
る。
FIG. 4 is a flowchart of a process for detecting a tilt or a position shift of an image of a document read via a scanner 1;

【図5】準部分画像に対して高速フーリエ変換を施した
結果得られるピーク点を示す図である。
FIG. 5 is a diagram showing peak points obtained as a result of performing fast Fourier transform on a quasi-partial image.

【図6】準部分画像に対して高速フーリエ変換を施した
結果得られるピーク点の位相データを示す図である。
FIG. 6 is a diagram illustrating phase data of peak points obtained as a result of performing a fast Fourier transform on a quasi-partial image.

【図7】原稿の画像データにピーク点を埋め込む際の処
理を説明する図である。
FIG. 7 is a diagram illustrating a process when embedding a peak point in image data of a document.

フロントページの続き (72)発明者 林 淳一 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 Fターム(参考) 5B057 AA11 BA02 CA08 CA12 CA16 CB08 CB12 CB16 CC03 CD01 CE09 CG09 DA07 DA08 DB02 DB09 DC08 DC22 DC36 5C076 AA02 AA14 AA23 AA40 BA06 5L096 AA06 BA08 DA01 EA35 FA14 FA23 FA66 FA67 FA69 Continued on the front page (72) Inventor Junichi Hayashi 3-30-2 Shimomaruko, Ota-ku, Tokyo F-term (reference) in Canon Inc. 5B057 AA11 BA02 CA08 CA12 CA16 CB08 CB12 CB16 CC03 CD01 CE09 CG09 DA07 DA08 DB02 DB09 DC08 DC22 DC36 5C076 AA02 AA14 AA23 AA40 BA06 5L096 AA06 BA08 DA01 EA35 FA14 FA23 FA66 FA67 FA69

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 第1の画像から所定サイズの第2の画像
を抽出する領域抽出手段と、 前記第2の画像に対して周波数変換を行い、周波数領域
でのピークの座標位置を検出する検出手段と、 前記第2の画像周波数領域でのピークの座標位置に相当
するの位相領域での位相成分データを算出する位相成分
算出手段と、 前記位相成分データと所定の基準に基づいて前記第1の
画像の基準となる位置からのずれを検出し、該画像デー
タの補正を行う補正手段とを備えることを特徴とする画
像処理装置。
1. An area extracting means for extracting a second image of a predetermined size from a first image, and a frequency converting section for performing frequency conversion on the second image to detect a coordinate position of a peak in a frequency domain. Means, phase component calculation means for calculating phase component data in a phase region corresponding to a coordinate position of a peak in the second image frequency region, and the first component based on the phase component data and a predetermined reference. An image processing apparatus, comprising: a correction unit configured to detect a deviation of the image from a reference position and correct the image data.
【請求項2】 第1の画像から所定のサイズを有する第
2の画像を抽出する領域抽出手段と、 前記第2の画像に対して周波数変換を行い、当該第2の
画像の周波数データと共に、位相データを検出する周波
数変換手段と、 前記周波数変換手段による周波数データからピーク値を
有する画素の位置データと、当該画素の基準となる位置
データとに基づいて前記第1の画像に対して幾何学的な
変換を行う幾何学的変換手段と、 前記幾何学的変換手段により幾何学的変換を施された前
記第1の画像を構成する画素に応じた位相データと、当
該画素の基準となる位相データとに基づいて、前記第2
の画像の基準となる位置からのずれを検出する検出手段
とを備えることを特徴とする画像処理装置。
2. An area extracting means for extracting a second image having a predetermined size from the first image, performing frequency conversion on the second image, and frequency data of the second image, Frequency conversion means for detecting phase data; position data of a pixel having a peak value from the frequency data by the frequency conversion means; and geometric data for the first image based on position data serving as a reference for the pixel. Transformation means for performing a geometric transformation, phase data corresponding to the pixels constituting the first image subjected to the geometric transformation by the geometric transformation means, and a reference phase of the pixel Based on the data
An image processing apparatus comprising: a detection unit configured to detect a deviation of the image from a reference position.
【請求項3】 更に、前記検出手段により検出された前
記ずれに基づいて前記第1の画像を補正する補正手段
と、 前記補正手段により補正された第1の画像から電子透か
しのデータを抽出する抽出手段とを備えることを特徴と
する請求項2に記載の画像処理装置。
3. A correction unit for correcting the first image based on the shift detected by the detection unit, and extracting digital watermark data from the first image corrected by the correction unit. The image processing apparatus according to claim 2, further comprising an extraction unit.
【請求項4】 前記所定のサイズは、前記ピーク値を有
する画素を含む領域のサイズであることを特徴とする請
求項2に記載の画像処理装置。
4. The image processing apparatus according to claim 2, wherein the predetermined size is a size of a region including a pixel having the peak value.
【請求項5】 前記周波数変換手段は高速フーリエ変換
を用いて周波数変換を行うことを特徴とする請求項2に
記載の画像処理装置。
5. The image processing apparatus according to claim 2, wherein said frequency conversion means performs frequency conversion using fast Fourier transform.
【請求項6】 ピーク値を有する画素の所望の位置デー
タは、前記領域抽出手段による領域内におけるローカル
な位置データであることを特徴とする請求項2に記載の
画像処理装置。
6. The image processing apparatus according to claim 2, wherein the desired position data of the pixel having the peak value is local position data in a region by the region extracting means.
【請求項7】 前記幾何学的変換手段は、前記周波数変
換手段による周波数成分からピーク値を有する画素の位
置データと、当該画素の所望の位置データとが一致する
ように前記画像データに対して幾何学的な変換を施すこ
とを特徴とする請求項2に記載の画像処理装置。
7. The image processing apparatus according to claim 1, wherein the geometric conversion unit determines a position of the pixel having a peak value from a frequency component by the frequency conversion unit and the desired position data of the pixel. 3. The image processing apparatus according to claim 2, wherein a geometric transformation is performed.
【請求項8】 前記検出手段は、前記第1の画像の縦、
横夫々1周期分の位相データを画素毎に登録したテーブ
ルを用いて、前記ずれの検出を行うことを特徴とする請
求項2に記載の画像処理装置。
8. The image processing device according to claim 1, wherein the detecting unit is configured to:
3. The image processing apparatus according to claim 2, wherein the shift is detected using a table in which phase data for one cycle each is registered for each pixel.
【請求項9】 第1の画像から所定サイズの第2の画像
を抽出する領域抽出工程と、 前記第2の画像に対して周波数変換を行い、周波数領域
でのピークの座標位置を検出する検出工程と、 前記第2の画像周波数領域でのピークの座標位置に相当
するの位相領域での位相成分データを算出する位相成分
算出工程と、 前記位相成分データと所定の基準に基づいて前記第1の
画像の基準となる位置からのずれを検出し、該画像デー
タの補正を行う補正工程とを備えることを特徴とする画
像処理方法。
9. An area extracting step of extracting a second image of a predetermined size from a first image, and performing a frequency conversion on the second image to detect a coordinate position of a peak in a frequency domain. A phase component calculating step of calculating phase component data in a phase domain corresponding to a coordinate position of a peak in the second image frequency domain; and the first component based on the phase component data and a predetermined reference. A correction step of detecting a shift of the image from a reference position and correcting the image data.
【請求項10】 第1の画像から所定のサイズを有する
第2の画像を抽出する領域抽出工程と、 前記第2の画像に対して周波数変換を行い、当該第2の
画像の周波数データと共に、位相データを検出する周波
数変換工程と、 前記周波数変換工程による周波数データからピーク値を
有する画素の位置データと、当該画素の基準となる位置
データとに基づいて前記第1の画像に対して幾何学的な
変換を行う幾何学的変換工程と、 前記幾何学的変換工程により幾何学的変換を施された前
記第1の画像を構成する画素に応じた位相データと、当
該画素の基準となる位相データとに基づいて、前記第2
の画像の基準となる位置からのずれを検出する検出工程
とを備えることを特徴とする画像処理方法。
10. A region extracting step of extracting a second image having a predetermined size from a first image, performing frequency conversion on the second image, and performing frequency conversion on the second image together with frequency data of the second image. A frequency conversion step of detecting phase data; a position data of a pixel having a peak value from the frequency data obtained by the frequency conversion step; and a geometric position of the first image based on position data serving as a reference of the pixel. Transformation step of performing a geometric transformation, phase data corresponding to a pixel constituting the first image subjected to the geometric transformation by the geometric transformation step, and a phase serving as a reference of the pixel Based on the data
A detection step of detecting a deviation of the image from a reference position.
【請求項11】 更に、前記検出工程で検出された前記
ずれに基づいて前記第1の画像を補正する補正工程と、 前記補正工程で補正された第1の画像から電子透かしの
データを抽出する抽出工程とを備えることを特徴とする
請求項10に記載の画像処理方法。
11. A correcting step for correcting the first image based on the shift detected in the detecting step, and extracting digital watermark data from the first image corrected in the correcting step. The image processing method according to claim 10, further comprising an extraction step.
【請求項12】 プログラムコードを格納し、コンピュ
ータが読みとり可能な記憶媒体であって、 第1の画像から所定サイズの第2の画像を抽出する領域
抽出工程のプログラムコードと、 前記第2の画像に対して周波数変換を行い、周波数領域
でのピークの座標位置を検出する検出工程のプログラム
コードと、 前記第2の画像周波数領域でのピークの座標位置に相当
するの位相領域での位相成分データを算出する位相成分
算出工程のプログラムコードと、 前記位相成分データと所定の基準に基づいて前記第1の
画像の基準となる位置からのずれを検出し、該画像デー
タの補正を行う補正工程のプログラムコードとを備える
ことを特徴とする記憶媒体。
12. A computer-readable storage medium storing a program code, the program code of an area extracting step of extracting a second image of a predetermined size from a first image, and the second image A program code of a detection step of performing frequency conversion on the peak position in the frequency domain, and phase component data in the phase domain corresponding to the coordinate position of the peak in the second image frequency domain. A program code of a phase component calculating step of calculating the phase component data, and detecting a deviation from a reference position of the first image based on the phase component data and a predetermined reference, and correcting the image data. A storage medium comprising a program code.
【請求項13】 プログラムコードを格納し、コンピュ
ータが読みとり可能な記憶媒体であって、 第1の画像から所定のサイズを有する第2の画像を抽出
する領域抽出工程のプログラムコードと、 前記第2の画像に対して周波数変換を行い、当該第2の
画像の周波数データと共に、位相データを検出する周波
数変換工程のプログラムコードと、 前記周波数変換工程による周波数データからピーク値を
有する画素の位置データと、当該画素の基準となる位置
データとに基づいて前記第1の画像に対して幾何学的な
変換を行う幾何学的変換工程のプログラムコードと、 前記幾何学的変換工程により幾何学的変換を施された前
記第1の画像を構成する画素に応じた位相データと、当
該画素の基準となる位相データとに基づいて、前記第2
の画像の基準となる位置からのずれを検出する検出工程
のプログラムコードとを備えることを特徴とする記憶媒
体。
13. A computer-readable storage medium storing a program code, the program code of an area extracting step of extracting a second image having a predetermined size from a first image; Frequency conversion for the image of the second image, together with the frequency data of the second image, a program code of a frequency conversion step of detecting phase data, and position data of a pixel having a peak value from the frequency data by the frequency conversion step A program code of a geometric conversion step of performing a geometric conversion on the first image based on position data serving as a reference of the pixel, and performing a geometric conversion by the geometric conversion step. Based on the applied phase data corresponding to the pixels constituting the first image and the reference phase data of the pixels, the second
And a program code for a detection step of detecting a deviation of the image from a reference position.
【請求項14】 更に、前記検出工程で検出された前記
ずれに基づいて前記第1の画像を補正する補正工程のプ
ログラムコードと、 前記補正工程で補正された第1の画像から電子透かしの
データを抽出する抽出工程のプログラムコードとを備え
ることを特徴とする請求項13に記載の記憶媒体。
14. A program code for a correction step for correcting the first image based on the shift detected in the detection step, and digital watermark data from the first image corrected in the correction step. 14. The storage medium according to claim 13, further comprising: a program code for an extraction step of extracting the information.
JP2000363760A 2000-11-29 2000-11-29 Image processor, method for the same and storage medium Withdrawn JP2002171395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000363760A JP2002171395A (en) 2000-11-29 2000-11-29 Image processor, method for the same and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000363760A JP2002171395A (en) 2000-11-29 2000-11-29 Image processor, method for the same and storage medium

Publications (1)

Publication Number Publication Date
JP2002171395A true JP2002171395A (en) 2002-06-14

Family

ID=18834819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000363760A Withdrawn JP2002171395A (en) 2000-11-29 2000-11-29 Image processor, method for the same and storage medium

Country Status (1)

Country Link
JP (1) JP2002171395A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007088759A1 (en) * 2006-02-01 2007-08-09 National University Corporation The University Of Electro-Communications Displacement detection method, displacement detection device, displacement detection program, characteristic point matching method, and characteristic point matching program
WO2017011801A1 (en) * 2015-07-16 2017-01-19 Digimarc Corporation Signal processors and methods for estimating geometric transformations of images for digital data extraction
US10242434B1 (en) 2016-05-05 2019-03-26 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments
US10373299B1 (en) 2016-05-05 2019-08-06 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments
US10783618B2 (en) 2016-05-05 2020-09-22 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007088759A1 (en) * 2006-02-01 2007-08-09 National University Corporation The University Of Electro-Communications Displacement detection method, displacement detection device, displacement detection program, characteristic point matching method, and characteristic point matching program
US7813900B2 (en) 2006-02-01 2010-10-12 National University Corporation The University Of Electro-Communications Displacement detection method, displacement detection device, displacement detection program, phase singularity matching method and phase singularity matching program
WO2017011801A1 (en) * 2015-07-16 2017-01-19 Digimarc Corporation Signal processors and methods for estimating geometric transformations of images for digital data extraction
US9959587B2 (en) 2015-07-16 2018-05-01 Digimarc Corporation Signal processors and methods for estimating geometric transformations of images for digital data extraction
US11127105B2 (en) 2015-07-16 2021-09-21 Digimarc Corporation Signal processors and methods for estimating geometric transformations of images for digital data extraction
US12014441B2 (en) 2015-07-16 2024-06-18 Digimarc Corporation Signal processors and methods for estimating geometric transformations of images for digital data extraction
US10242434B1 (en) 2016-05-05 2019-03-26 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments
US10373299B1 (en) 2016-05-05 2019-08-06 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments
US10783618B2 (en) 2016-05-05 2020-09-22 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments
US11348209B2 (en) 2016-05-05 2022-05-31 Digimarc Corporation Compensating for geometric distortion of images in constrained processing environments

Similar Documents

Publication Publication Date Title
JP4919028B2 (en) Image processing apparatus and image processing program
US20200160481A1 (en) Embedding Signals in a Raster Image Processor
US6930803B1 (en) Information processing apparatus and processing method therefor
JP5620244B2 (en) Image registration method and program for image comparison and document authentication
JP4991604B2 (en) Image processing apparatus and image processing method
US20030123698A1 (en) Image processing apparatus and method
US20100314449A1 (en) Device and method for controlling copying operation of document with use of barcode
JP2007335920A (en) Image processing apparatus and image processing program
JP2001358925A (en) Unit and method for image processing and recording medium
JP5005490B2 (en) Image processing method, image processing apparatus, and image processing program
US8139237B2 (en) Image generating apparatus, image processing apparatus, recording medium and computer readable recording medium
US8238599B2 (en) Image processing device and image processing method for identifying a selected one or more embedding methods used for embedding target information
US10893162B2 (en) System, method of detecting alternation of printed matter, and storage medium
US7889397B2 (en) Image processing apparatus and control method thereof, and reading method in image reading system
JP2002171395A (en) Image processor, method for the same and storage medium
JP2007158613A (en) Image processing apparatus and control method thereof, and control program
US8749852B2 (en) Method of embedding a plurality of different two-dimensional codes in an image
JP2006253839A (en) Apparatus for detecting watermark information, apparatus for embedding watermark information, method of detecting watermark information and method of embedding watermark information
JP2006235786A (en) Image processor, image processing method and computer program
JP2008098949A (en) Image processor and image processing method
JP2008077606A (en) Mark recognition device and mark recognizing method
JP4344504B2 (en) Method for detecting digital watermark information
JP2003200617A (en) Printer
JP2005086598A (en) Device, method, program, and circuit for processing image
JP2008113145A (en) Image processor and image processing program

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: 20080205