JPH10124685A - Image processing method and storage medium and image processor - Google Patents

Image processing method and storage medium and image processor

Info

Publication number
JPH10124685A
JPH10124685A JP8273837A JP27383796A JPH10124685A JP H10124685 A JPH10124685 A JP H10124685A JP 8273837 A JP8273837 A JP 8273837A JP 27383796 A JP27383796 A JP 27383796A JP H10124685 A JPH10124685 A JP H10124685A
Authority
JP
Japan
Prior art keywords
images
corresponding points
corresponding point
calculating
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8273837A
Other languages
Japanese (ja)
Other versions
JP3625245B2 (en
Inventor
Hideaki Yamagata
秀明 山形
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP27383796A priority Critical patent/JP3625245B2/en
Priority to US08/927,882 priority patent/US6018593A/en
Publication of JPH10124685A publication Critical patent/JPH10124685A/en
Application granted granted Critical
Publication of JP3625245B2 publication Critical patent/JP3625245B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing method and device in which robustness against noise is strong, the erroneous detection of a corresponding point is prevented, and image positioning with high precision and practicality can be attained. SOLUTION: At the time of carrying out an image processing for extracting plural corresponding points between two images, and calculating a conversion expression between the two images by using the deviation of the extracted corresponding points, the plural corresponding points are extracted between the two images by a corresponding point extracting means 102, an individual expansion and contraction ratio between the two images is calculated for each group of the plural corresponding points by an individual expansion and contraction ratio calculating means 103, the corresponding points which are likely to be included in the group from which the abnormal expansion and contraction ratio is calculated are eliminated from the plural corresponding points by a first corresponding point removing means 104, and a conversion expression between the two images is calculated by using the corresponding points left as the processed result of the first corresponding point removing means 104 by the deviation of the pertinent corresponding points by a conversion expression calculating means 107.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は,FAXOCR装置
等における画像認識,文字認識等の画像処理方法及びF
AXOCR装置等の画像処理装置に係り,特に,位置ず
れ,回転,変倍のある帳票や文書画像等の2つの画像間
で,タイミングマーク等を用いて複数の対応点を抽出
し,抽出された対応点のずれを用いて該2つの画像間の
変換式を算出して,2つの画像間の位置合わせを行う場
合において,ノイズに対する頑強性が強く,タイミング
マーク等による対応点の誤検出を防止でき,高精度の位
置合わせが可能で,しかも実用的な画像の位置合わせを
行い得る画像処理方法及び画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method such as image recognition and character recognition in a fax
According to an image processing apparatus such as an AXOCR apparatus, a plurality of corresponding points are extracted by using a timing mark or the like between two images such as a form and a document image having a position shift, rotation, and scaling. In the case of calculating the conversion formula between the two images using the shift of the corresponding point and performing alignment between the two images, robustness against noise is strong, and erroneous detection of the corresponding point by a timing mark or the like is prevented. The present invention relates to an image processing method and an image processing apparatus capable of performing high-precision positioning, and performing practical image positioning.

【0002】ここに,FAXOCR装置は,ファクシミ
リで送られてきた画像中から必要な記載事項を切り出
し,文字認識処理を行ってデータとして出力するもので
あり,特にここでは,ファクシミリにより送られてきた
帳票等の画像を取り込み,画像認識処理として,該画像
(入力画像)と同種の参照画像とを位置合わせした後,
入力画像中の必要な記載事項を切り出し,文字認識処理
を行って文字データとして出力する例について取り扱わ
れる。
Here, the FAXOCR device cuts out necessary description items from an image sent by facsimile, performs character recognition processing, and outputs it as data. In particular, here, the FAXOCR device is sent by facsimile. After taking in an image such as a form and aligning the image (input image) with the same type of reference image as image recognition processing,
An example in which necessary description items in an input image are cut out, subjected to character recognition processing, and output as character data is handled.

【0003】[0003]

【従来の技術】FAXOCR装置等における画像の位置
合わせ方法で,マーク等を用いた公知技術としては,特
公昭53−48059号公報で開示の「文書走査装置」
(第1の従来例)や特公平7−101438号公報で開
示の「文字認識装置」(第2の従来例)がある。これら
の従来例は,特定のマークを帳票上に印刷し,画像上で
その特定のマークを検出することで画像の位置合わせを
行うものである。
2. Description of the Related Art As a known technique using a mark or the like in a method of aligning images in a FAX OCR apparatus or the like, a document scanning apparatus disclosed in Japanese Patent Publication No. 53-48059 is disclosed.
(First conventional example) and "character recognition device" (second conventional example) disclosed in Japanese Patent Publication No. Hei 7-101438. In these conventional examples, a specific mark is printed on a form, and the image is aligned by detecting the specific mark on the image.

【0004】しかしながら,第1の従来例の「文書走査
装置」においては,以下のような問題がある。即ち,第
1に,基準マークが単数の場合,基準マーク上のノイズ
等に弱い,第2に,基準マークの大きさによって傾き検
出の精度が左右される,第3に,基準マークを誤検出す
る可能性が高い,といった問題である。
However, the first conventional "document scanning apparatus" has the following problems. That is, first, when the reference mark is singular, the reference mark is susceptible to noise and the like, second, the accuracy of tilt detection depends on the size of the reference mark, and third, erroneous detection of the reference mark. It is a problem that there is a high possibility of doing this.

【0005】また,第2の従来例の「文字認識装置」に
記載されている実施例では,複数のタイミングマークを
用いているので,精度面やノイズに対する頑強性は向上
しているが,基準マークの誤検出という上記第3の問題
は残っている。
Further, in the embodiment described in the "character recognition apparatus" of the second conventional example, since a plurality of timing marks are used, accuracy and robustness against noise are improved. The third problem of erroneous mark detection remains.

【0006】また,多数の対応点を用いて画像の位置ず
れを検出する方法として,FAXOCR装置等の文書画
像ではなく,医療画像処理の分野における公知技術とし
て,特開昭59−218753号公報で開示の「画像位
置合わせ方式」(第3の従来例)がある。本従来例で
は,ブロック毎に画像の位置ずれのベクトルを検出し,
ベクトルの方向が極端に異なる特異点を取り除いて,画
像位置合わせを行うという方法が開示されている。
As a method of detecting a positional shift of an image by using a large number of corresponding points, not a document image such as a FAXOCR apparatus but a known technique in the field of medical image processing disclosed in Japanese Patent Application Laid-Open No. Sho 59-218753. There is a disclosed "image registration method" (third conventional example). In this conventional example, the vector of the image displacement is detected for each block,
A method is disclosed in which a singular point having an extremely different vector direction is removed and image alignment is performed.

【0007】この第3の従来例における方法をFAXO
CR装置等に応用すれば,第1の従来例の「文書走査装
置」や第2の従来例の「文字認識装置」において懸念さ
れていた基準マークの誤検出という第3の問題を解決す
ることができる。
The method of the third conventional example is called FAXO
When applied to a CR device or the like, it is possible to solve the third problem of erroneous detection of a reference mark, which has been concerned in the "document scanning device" of the first conventional example and the "character recognition device" of the second conventional example. Can be.

【0008】しかしながら,FAXOCR装置等でタイ
ミングマークを用いて画像の位置合わせを行う場合に
は,第3の従来例の「画像位置合わせ方式」に記載され
ている実施例の説明にあるように,多くの基準点(マー
ク)を用いることは困難である。つまり,多くのタイミ
ングマークを用いて画像位置合わせを行ったのでは帳票
設計の自由度が小さくなり,実用的でないからである。
[0008] However, in the case of performing image registration using a timing mark in a FAXOCR device or the like, as described in the embodiment described in "Image Registration System" of the third conventional example, It is difficult to use many reference points (marks). That is, if image alignment is performed using many timing marks, the degree of freedom in form design is reduced, which is not practical.

【0009】また,タイミングマークを用いて画像の位
置ずれやスキューだけではなく,伸縮も補正する従来技
術として,特開昭63−212269号公報で開示の
「画像処理装置」(第4の従来例)がある。この第4の
従来例では,対応する2つのマーク間の距離から画像の
伸縮率を算出し,画像を補正している。
As a conventional technique for correcting not only image displacement and skew but also expansion and contraction by using timing marks, an image processing apparatus disclosed in Japanese Patent Application Laid-Open No. 63-212269 (fourth conventional example) is known. ). In the fourth conventional example, an image expansion / contraction ratio is calculated from a distance between two corresponding marks to correct the image.

【0010】[0010]

【発明が解決しようとする課題】以上のように,上記第
1の従来例の画像処理装置にあっては,基準マークが単
数の場合に基準マーク上のノイズ等に弱い,基準マーク
の大きさによって傾き検出の精度が左右される,また,
基準マークを誤検出する可能性が高いという問題点があ
った。
As described above, in the image processing apparatus of the first conventional example, when the number of reference marks is singular, the size of the reference mark is weak against noise on the reference mark. The accuracy of tilt detection depends on
There is a problem that there is a high possibility that the reference mark is erroneously detected.

【0011】また,第2の従来例の画像処理装置にあっ
ては,精度面やノイズに対する頑強性は向上している
が,基準マークの誤検出する可能性が高いという問題点
については解消されていなかった。
In the second conventional image processing apparatus, the accuracy and robustness to noise are improved, but the problem that the reference mark is likely to be erroneously detected is solved. I didn't.

【0012】また,第3の従来例の画像処理装置にあっ
ては,多くの基準点(マーク)を必要としており,多く
のタイミングマークを用いて画像位置合わせを行うこと
は帳票設計の自由度を狭め,実用的でないという問題点
があった。
Further, in the image processing apparatus of the third conventional example, many reference points (marks) are required, and image registration using many timing marks is not easy for form design. And it is not practical.

【0013】更に,第4の従来例の画像処理装置にあっ
ては,対応する2つのマーク間の距離から画像の伸縮率
を算出し,画像を補正しているが,マーク間の距離が近
い場合などでは算出される伸縮率の誤差が大きく,マー
クが誤検出される恐れがあるという問題点があった。
Further, in the image processing apparatus of the fourth prior art, the expansion and contraction ratio of the image is calculated from the distance between the corresponding two marks, and the image is corrected, but the distance between the marks is short. In some cases, there is a problem that the error of the calculated expansion / contraction ratio is large and the mark may be erroneously detected.

【0014】本発明は,上記従来の問題点に鑑みてなさ
れたものであって,位置ずれ,回転,変倍のある帳票や
文書画像等の2つの画像間で,タイミングマーク等を用
いて複数の対応点を抽出し,抽出された対応点のずれを
用いて該2つの画像間の変換式を算出して,2つの画像
間の位置合わせを行う場合において,ノイズに対する頑
強性が強く,タイミングマーク等による対応点の誤検出
を防止でき,高精度の位置合わせが可能で,しかも実用
的な画像の位置合わせを行い得る画像処理方法及び画像
処理装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and has been developed in consideration of the use of a timing mark or the like between two images such as a form and a document image having a position shift, rotation, and magnification change. In the case of extracting the corresponding points of, calculating the conversion formula between the two images using the shift of the extracted corresponding points, and performing alignment between the two images, robustness against noise is strong and timing An object of the present invention is to provide an image processing method and an image processing apparatus which can prevent erroneous detection of a corresponding point due to a mark or the like, can perform high-accuracy alignment, and can perform practical image alignment.

【0015】[0015]

【課題を解決するための手段】上記課題を解決するため
に,本発明の請求項1に係る画像処理方法は,2つの画
像間で複数の対応点を抽出し,抽出された対応点のずれ
を用いて前記2つの画像間の変換式を算出する画像処理
方法において,前記2つの画像間で複数の対応点を抽出
する対応点抽出ステップと,複数の対応点のグループ毎
に前記2つの画像間の個別伸縮率を算出する個別伸縮率
算出ステップと,異常な個別伸縮率が算出されるグルー
プに含まれる場合の多い対応点を,前記複数の対応点か
ら削除する第1対応点除去ステップと,前記第1対応点
除去ステップの結果として残った対応点を用いて,該対
応点のずれにより前記2つの画像間の変換式を算出する
変換式算出ステップとを備えたものである。
According to a first aspect of the present invention, there is provided an image processing method comprising: extracting a plurality of corresponding points between two images; A corresponding point extracting step of extracting a plurality of corresponding points between the two images, the method comprising: calculating a conversion equation between the two images by using a plurality of corresponding points; An individual expansion / contraction ratio calculating step of calculating an individual expansion / contraction ratio between the two, and a first corresponding point removing step of deleting from the plurality of corresponding points corresponding points which are often included in a group in which an abnormal individual expansion / contraction ratio is calculated. , A conversion formula calculating step of calculating a conversion formula between the two images by using the corresponding points remaining as a result of the first corresponding point removing step based on a shift of the corresponding points.

【0016】また,請求項2に係る画像処理方法は,2
つの画像間で複数の対応点を抽出し,抽出された対応点
のずれを用いて前記2つの画像間の変換式を算出する画
像処理方法において,前記2つの画像間で複数の対応点
を抽出する対応点抽出ステップと,抽出された全ての対
応点を用いて前記2つの画像間の伸縮率を算出する伸縮
率算出ステップと,複数の対応点のグループ毎に前記2
つの画像間の個別伸縮率を算出する個別伸縮率算出ステ
ップと,前記伸縮率に近い個別伸縮率が算出される対応
点のグループに含まれる場合の多い対応点のみが残るよ
う,前記複数の対応点から除去する第2対応点除去ステ
ップと,前記第2対応点除去ステップの結果として残っ
た対応点を用いて,該対応点のずれにより前記2つの画
像間の変換式を算出する変換式算出ステップとを備えた
ものである。
[0016] The image processing method according to claim 2 is characterized in that:
In an image processing method for extracting a plurality of corresponding points between two images and calculating a conversion equation between the two images using a shift of the extracted corresponding points, extracting a plurality of corresponding points between the two images A corresponding point extracting step, an expanding / contracting ratio calculating step of calculating an expanding / contracting ratio between the two images by using all the extracted corresponding points,
An individual expansion / contraction ratio calculating step of calculating an individual expansion / contraction ratio between two images, and the plurality of correspondences so that only corresponding points which are often included in a group of corresponding points for which an individual expansion / contraction ratio close to the above expansion / contraction ratio is calculated remain. Using a corresponding point remaining as a result of the second corresponding point removing step to remove a corresponding point from a point, and calculating a conversion equation between the two images based on a shift of the corresponding point using the corresponding point. And steps.

【0017】また,請求項3に係る画像処理方法は,2
つの画像間で複数の対応点を抽出し,抽出された対応点
のずれを用いて前記2つの画像間の変換式を算出する画
像処理方法において,前記2つの画像間で複数の対応点
を抽出する対応点抽出ステップと,複数の対応点のグル
ープ毎に前記2つの画像間の個別伸縮率を算出する個別
伸縮率算出ステップと,異常な個別伸縮率が算出される
グループに含まれる場合の多い対応点を,前記複数の対
応点から削除する第1対応点除去ステップと,前記第1
対応点除去ステップの結果として残った全ての対応点を
用いて前記2つの画像間の伸縮率を算出する伸縮率算出
ステップと,前記伸縮率に近い個別伸縮率が算出される
対応点のグループに含まれる場合の多い対応点のみが残
るよう,前記複数の対応点から除去する第2対応点除去
ステップと,前記第2対応点除去ステップの結果として
残った対応点を用いて,該対応点のずれにより前記2つ
の画像間の変換式を算出する変換式算出ステップとを備
えたものである。
The image processing method according to the third aspect is characterized in that:
In an image processing method for extracting a plurality of corresponding points between two images and calculating a conversion equation between the two images using a shift of the extracted corresponding points, extracting a plurality of corresponding points between the two images Corresponding point extraction step, an individual expansion / contraction ratio calculating step of calculating an individual expansion / contraction ratio between the two images for each group of a plurality of corresponding points, and a case where an abnormal individual expansion / contraction ratio is calculated in many cases. A first corresponding point removing step of deleting a corresponding point from the plurality of corresponding points;
A stretching ratio calculating step of calculating a stretching ratio between the two images using all the corresponding points remaining as a result of the corresponding point removing step, and a corresponding point group for which an individual stretching ratio close to the stretching ratio is calculated. A second corresponding point removing step of removing from the plurality of corresponding points so that only corresponding points that are often included remain, and using the corresponding points remaining as a result of the second corresponding point removing step, the corresponding points are removed. A conversion formula calculating step of calculating a conversion formula between the two images based on the shift.

【0018】また,請求項4に係る画像処理方法は,請
求項1,2または3記載の画像処理方法において,前記
第1対応点除去ステップにおいて異常な個別伸縮率を判
定するためのしきい値,または,前記第2対応点除去ス
テップにおいて伸縮率に対する個別伸縮率の近さを判定
するためのしきい値を,対応点間の距離に応じて可変と
したものである。
According to a fourth aspect of the present invention, in the image processing method of the first, second or third aspect, the threshold value for determining an abnormal individual expansion / contraction ratio in the first corresponding point removing step. Alternatively, in the second corresponding point removing step, the threshold value for determining the closeness of the individual expansion / contraction ratio with respect to the expansion / contraction ratio is made variable in accordance with the distance between the corresponding points.

【0019】また,請求項5に係る画像処理方法は,請
求項1,2,3または4記載の画像処理方法において,
前記変換式算出ステップで算出された変換式により得ら
れる補正画像と前記2つの画像の内の一の画像との間に
ついて,前記変換式算出ステップの時点で残っている対
応点の間の距離を算出し,距離の大きい対応点を残って
いる対応点から除去する第3対応点除去ステップと,前
記第3対応点除去ステップの結果として残った対応点を
用いて,該対応点のずれにより前記補正画像と前記一の
画像間の変換式を算出する変換式再算出ステップとを備
えたものである。
According to a fifth aspect of the present invention, there is provided an image processing method as defined in the first, second, third or fourth aspect.
The distance between the corresponding point remaining at the time of the conversion formula calculation step is between the corrected image obtained by the conversion formula calculated in the conversion formula calculation step and one of the two images. A third corresponding point removing step of calculating and removing a corresponding point having a large distance from the remaining corresponding points, and using the corresponding points remaining as a result of the third corresponding point removing step, using the corresponding point shift and And a conversion formula recalculating step of calculating a conversion formula between the corrected image and the one image.

【0020】また,請求項6に係る画像処理方法は,請
求項5記載の画像処理方法において,前記変換式再算出
ステップ及び前記第3対応点除去ステップは,前記第3
対応点除去ステップにおいて,対応点の間の距離の最大
値または平均値が所定のしきい値を越えている間,或い
は,除去すべき対応点が存在する間,繰り返し行われる
ものである。
According to a sixth aspect of the present invention, in the image processing method of the fifth aspect, the step of recalculating the conversion formula and the step of removing the third corresponding point include the third step.
The corresponding point removing step is repeatedly performed while the maximum value or average value of the distance between the corresponding points exceeds a predetermined threshold value or while there is a corresponding point to be removed.

【0021】また,請求項7に係る画像処理方法は,請
求項1,2,3,4,5または6記載の画像処理方法に
おいて,前記対応点抽出ステップにより抽出される対応
点を,補正用のタイミングマークとしたものである。
According to a seventh aspect of the present invention, in the image processing method according to the first, second, third, fourth, fifth, or sixth aspect, the corresponding points extracted in the corresponding point extracting step are corrected. Is a timing mark.

【0022】また,請求項8に係るコンピュータにより
読み取り可能な記憶媒体は,請求項1,2,3,4,
5,6または7記載の画像処理方法をコンピュータに実
行させるためのプログラムとして記憶したものである。
A computer-readable storage medium according to claim 8 is a computer-readable storage medium.
The image processing method described in 5, 6, or 7 is stored as a program for causing a computer to execute the method.

【0023】また,請求項9に係る画像処理装置は,2
つの画像間で複数の対応点を抽出し,抽出された対応点
のずれを用いて前記2つの画像間の変換式を算出して,
前記2つの画像間で位置合わせを行う画像処理装置にお
いて,前記2つの画像間で複数の対応点を抽出する対応
点抽出手段と,複数の対応点のグループ毎に前記2つの
画像間の個別伸縮率を算出する個別伸縮率算出手段と,
異常な個別伸縮率が算出されるグループに含まれる場合
の多い対応点を,前記複数の対応点から削除する第1対
応点除去手段と,前記第1対応点除去手段の処理結果と
して残った対応点を用いて,該対応点のずれにより前記
2つの画像間の変換式を算出する変換式算出手段とを具
備したものである。
The image processing apparatus according to the ninth aspect is characterized in that:
Extracting a plurality of corresponding points between the two images, calculating a conversion formula between the two images by using a shift of the extracted corresponding points,
In an image processing apparatus for performing registration between the two images, a corresponding point extracting means for extracting a plurality of corresponding points between the two images, and an individual expansion and contraction between the two images for each group of a plurality of corresponding points An individual expansion / contraction ratio calculating means for calculating a ratio,
First corresponding point removing means for deleting corresponding points, which are often included in a group in which an abnormal individual expansion / contraction ratio is calculated, from the plurality of corresponding points, and a correspondence remaining as a processing result of the first corresponding point removing means And a conversion formula calculating means for calculating a conversion formula between the two images based on the shift of the corresponding point using the points.

【0024】また,請求項10に係る画像処理装置は,
2つの画像間で複数の対応点を抽出し,抽出された対応
点のずれを用いて前記2つの画像間の変換式を算出し
て,前記2つの画像間で位置合わせを行う画像処理装置
において,前記2つの画像間で複数の対応点を抽出する
対応点抽出手段と,抽出された全ての対応点を用いて前
記2つの画像間の伸縮率を算出する伸縮率算出手段と,
複数の対応点のグループ毎に前記2つの画像間の個別伸
縮率を算出する個別伸縮率算出手段と,前記伸縮率に近
い個別伸縮率が算出される対応点のグループに含まれる
場合の多い対応点のみが残るよう,前記複数の対応点か
ら除去する第2対応点除去手段と,前記第2対応点除去
手段の処理結果として残った対応点を用いて,該対応点
のずれにより前記2つの画像間の変換式を算出する変換
式算出手段とを具備したものである。
Further, the image processing apparatus according to claim 10 is
An image processing apparatus that extracts a plurality of corresponding points between two images, calculates a conversion formula between the two images using a shift of the extracted corresponding points, and performs registration between the two images. A corresponding point extracting unit for extracting a plurality of corresponding points between the two images, a stretching ratio calculating unit for calculating a stretching ratio between the two images using all the extracted corresponding points,
An individual expansion / contraction ratio calculating means for calculating an individual expansion / contraction ratio between the two images for each group of a plurality of corresponding points; A second corresponding point removing means for removing from the plurality of corresponding points so that only the points remain, and a corresponding point remaining as a processing result of the second corresponding point removing means, the two corresponding points being shifted by the corresponding point. And a conversion formula calculating means for calculating a conversion formula between images.

【0025】また,請求項11に係る画像処理装置は,
2つの画像間で複数の対応点を抽出し,抽出された対応
点のずれを用いて前記2つの画像間の変換式を算出し
て,前記2つの画像間で位置合わせを行う画像処理装置
において,前記2つの画像間で複数の対応点を抽出する
対応点抽出手段と,複数の対応点のグループ毎に前記2
つの画像間の個別伸縮率を算出する個別伸縮率算出手段
と,異常な個別伸縮率が算出されるグループに含まれる
場合の多い対応点を,前記複数の対応点から削除する第
1対応点除去手段と,前記第1対応点除去手段の処理結
果として残った全ての対応点を用いて前記2つの画像間
の伸縮率を算出する伸縮率算出手段と,前記伸縮率に近
い個別伸縮率が算出される対応点のグループに含まれる
場合の多い対応点のみが残るよう,前記複数の対応点か
ら除去する第2対応点除去手段と,前記第2対応点除去
手段の処理結果として残った対応点を用いて,該対応点
のずれにより前記2つの画像間の変換式を算出する変換
式算出手段とを具備したものである。
An image processing apparatus according to claim 11 is
An image processing apparatus that extracts a plurality of corresponding points between two images, calculates a conversion formula between the two images using a shift of the extracted corresponding points, and performs registration between the two images. Corresponding point extracting means for extracting a plurality of corresponding points between the two images;
An individual expansion / contraction ratio calculating means for calculating an individual expansion / contraction ratio between two images, and a first corresponding point removal for deleting a corresponding point which is often included in a group in which an abnormal individual expansion / contraction ratio is calculated from the plurality of corresponding points. Means, an expansion / contraction ratio calculating means for calculating an expansion / contraction ratio between the two images using all the corresponding points remaining as a processing result of the first corresponding point removing means, and an individual expansion / contraction ratio close to the expansion / contraction ratio is calculated. Second corresponding point removing means for removing from the plurality of corresponding points so that only corresponding points which are often included in the group of corresponding points to be removed, and corresponding points remaining as processing results of the second corresponding point removing means And a conversion formula calculating means for calculating a conversion formula between the two images based on the shift of the corresponding point.

【0026】また,請求項12に係る画像処理装置は,
請求項9,10または11記載の画像処理装置におい
て,前記第1対応点除去手段において異常な個別伸縮率
を判定するためのしきい値,または,前記第2対応点除
去手段において伸縮率に対する個別伸縮率の近さを判定
するためのしきい値を,対応点間の距離に応じて可変と
したものである。
An image processing apparatus according to claim 12 is
12. The image processing apparatus according to claim 9, 10 or 11, wherein a threshold value for judging an abnormal individual expansion / contraction rate in said first corresponding point removing means or an individual value for an expansion / contraction rate in said second corresponding point removing means. The threshold value for determining the closeness of the expansion / contraction ratio is made variable according to the distance between corresponding points.

【0027】また,請求項13に係る画像処理装置は,
請求項9,10,11または12記載の画像処理装置に
おいて,前記画像処理装置に,前記変換式算出手段で算
出された変換式により得られる補正画像と前記2つの画
像の内の一の画像との間について,前記変換式算出手段
の処理時点で残っている対応点の間の距離を算出し,距
離の大きい対応点を残っている対応点から除去する第3
対応点除去手段と,前記第3対応点除去手段の処理結果
として残った対応点を用いて,該対応点のずれにより前
記補正画像と前記一の画像間の変換式を算出する変換式
再算出手段とを備えたものである。
The image processing apparatus according to claim 13 is:
13. The image processing apparatus according to claim 9, 10, 11 or 12, wherein the image processing apparatus includes a correction image obtained by the conversion formula calculated by the conversion formula calculation unit and one of the two images. , The distance between corresponding points remaining at the time of processing by the conversion formula calculating means is calculated, and a corresponding point having a larger distance is removed from the remaining corresponding points.
Using a corresponding point removing unit and a corresponding point remaining as a processing result of the third corresponding point removing unit, a conversion formula recalculation for calculating a conversion formula between the corrected image and the one image based on a shift of the corresponding point. Means.

【0028】また,請求項14に係る画像処理装置は,
請求項13記載の画像処理装置において,前記変換式再
算出手段及び前記第3対応点除去手段における処理は,
前記第3対応点除去手段において,対応点の間の距離の
最大値または平均値が所定のしきい値を越えている間,
或いは,除去すべき対応点が存在する間,繰り返し行わ
れるものである。
The image processing apparatus according to claim 14 is:
14. The image processing apparatus according to claim 13, wherein the processing in the conversion formula recalculating unit and the third corresponding point removing unit includes:
In the third corresponding point removing means, while the maximum value or the average value of the distance between the corresponding points exceeds a predetermined threshold value,
Alternatively, it is repeatedly performed while the corresponding point to be removed exists.

【0029】また,請求項15に係る画像処理装置は,
請求項9,10,11,12,13または14記載の画
像処理装置において,前記対応点抽出手段により抽出さ
れる対応点を,補正用のタイミングマークとしたもので
ある。
An image processing apparatus according to claim 15 is
15. The image processing apparatus according to claim 9, wherein the corresponding points extracted by the corresponding point extracting means are used as correction timing marks.

【0030】また,請求項16に係る画像処理装置は,
請求項9,10,11,12,13,14または15記
載の画像処理装置において,前記画像処理装置に,前記
変換式算出手段または前記変換式再算出手段で算出され
た変換式により補正画像を生成し,前記2つの画像の内
の一の画像について予め与えられている文字画像存在領
域の文字データに基づいて,該補正画像から文字画像を
切り出す文字切り出し手段を備えたものである。
An image processing apparatus according to claim 16 is
16. The image processing device according to claim 9, 10, 11, 12, 13, 14, or 15, wherein the image processing device outputs a corrected image using a conversion formula calculated by the conversion formula calculation unit or the conversion formula recalculation unit. The image processing apparatus further includes a character cutout unit that generates and cuts out a character image from the corrected image based on character data in a character image existing area given in advance for one of the two images.

【0031】また,請求項17に係る画像処理装置は,
請求項16記載の画像処理装置において,前記画像処理
装置に,前記文字切り出し手段により得られた文字画像
を認識する文字認識手段を備えたものである。
The image processing device according to claim 17 is:
17. The image processing device according to claim 16, wherein the image processing device includes a character recognition unit that recognizes a character image obtained by the character cutout unit.

【0032】更に,請求項18に係る画像処理装置は,
請求項9,10,11,12,13,14,15,16
または17記載の画像処理装置において,前記2つの画
像の内の他の画像を,ファクシミリを介して入力された
画像としたものである。
Further, the image processing apparatus according to claim 18 is:
Claims 9, 10, 11, 12, 13, 14, 15, 16
Alternatively, in the image processing apparatus according to Item 17, the other of the two images is an image input via a facsimile.

【0033】[0033]

【発明の実施の形態】以下,本発明の画像処理方法及び
画像処理装置の概要について,並びに,本発明の画像処
理方法及び画像処理装置の実施形態について,順に図面
を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The outline of an image processing method and an image processing apparatus according to the present invention and an embodiment of the image processing method and the image processing apparatus according to the present invention will be described in detail with reference to the drawings. .

【0034】〔本発明の画像処理方法及び画像処理装置
の概要〕本発明の請求項1に係る画像処理方法及び請求
項9に係る画像処理装置では,2つの画像間で複数の対
応点を抽出し,抽出された対応点のずれを用いて2つの
画像間の変換式を算出するといった画像処理を行う場合
に,図1に示す如く,先ず対応点抽出手段102によ
り,2つの画像間で複数の対応点を抽出し(対応点抽出
ステップ),次に個別伸縮率算出手段103により,複
数の対応点のグループ毎に2つの画像間の個別伸縮率を
算出し(個別伸縮率算出ステップ),次に第1対応点除
去手段104により,異常な個別伸縮率が算出されるグ
ループに含まれる場合の多い対応点を,複数の対応点か
ら削除し(第1対応点除去ステップ),更に,変換式算
出手段107により,第1対応点除去手段104の処理
結果として残った対応点を用いて,該対応点のずれによ
り2つの画像間の変換式を算出する(変換式算出ステッ
プ)ようにしている。
[Outline of Image Processing Method and Image Processing Apparatus of the Present Invention] In the image processing method and the image processing apparatus according to the present invention, a plurality of corresponding points are extracted between two images. Then, when performing image processing such as calculating a conversion equation between two images by using the shift of the extracted corresponding points, as shown in FIG. Are extracted (corresponding point extraction step), and then the individual expansion / contraction ratio calculating means 103 calculates an individual expansion / contraction ratio between the two images for each group of a plurality of corresponding points (individual expansion / contraction ratio calculating step). Next, the first corresponding point removing means 104 deletes, from the plurality of corresponding points, corresponding points which are often included in the group in which an abnormal individual expansion / contraction ratio is calculated (first corresponding point removing step), and further performs conversion. By the equation calculation means 107 Using the corresponding points remaining as the processing result of the first corresponding point removing unit 104, to calculate the conversion formula between the two images (conversion equation calculation step) by displacement of the corresponding points.

【0035】このように,複数の対応点を用いることか
ら,幾つかの対応点が検出できない場合でも2つの画像
間の位置合わせが可能となり,ノイズに対する頑強性が
強い。また,例えば,誤抽出の対応点を基準とした場合
には,異常に大きいまたは異常に小さい個別伸縮率が算
出される対応点の組合わせの数が多くなり,2つの画像
間の高精度な位置合わせが難しくなるが,本発明のよう
に,異常な個別伸縮率が算出されるグループに含まれる
場合の多い対応点を複数の対応点から削除することによ
り,とり得る個別伸縮率の大まかな範囲を定めることが
可能となり,誤抽出の対応点による影響を抑制すること
ができ,2つの画像間の高精度の位置合わせが可能とな
る。更に,対応点の数は第3の従来例と比較して実用的
な範囲であるので,帳票設計等の自由度を大きくするこ
とができる。
As described above, since a plurality of corresponding points are used, even when some corresponding points cannot be detected, it is possible to position the two images, and the robustness against noise is high. Further, for example, when the corresponding points of erroneous extraction are used as a reference, the number of combinations of corresponding points for which an abnormally large or abnormally small individual expansion / contraction ratio is calculated increases, and a high-accuracy image between two images can be obtained. Although it is difficult to perform positioning, as in the present invention, the corresponding points that are often included in the group in which the abnormal individual expansion / contraction rate is calculated are deleted from a plurality of corresponding points, so that the possible individual expansion / contraction rate can be roughly calculated. The range can be determined, the influence of the corresponding point of the erroneous extraction can be suppressed, and highly accurate positioning between the two images can be performed. Further, since the number of corresponding points is in a practical range as compared with the third conventional example, the degree of freedom in form design and the like can be increased.

【0036】また,請求項2に係る画像処理方法及び請
求項10に係る画像処理装置では,2つの画像間で複数
の対応点を抽出し,抽出された対応点のずれを用いて2
つの画像間の変換式を算出するといった画像処理を行う
場合に,図1に示す如く,先ず対応点抽出手段102に
より,2つの画像間で複数の対応点を抽出し(対応点抽
出ステップ),次に個別伸縮率算出手段103により,
複数の対応点のグループ毎に2つの画像間の個別伸縮率
を算出し(個別伸縮率算出ステップ),また伸縮率算出
手段105により,抽出された全ての対応点を用いて2
つの画像間の伸縮率を算出し(伸縮率算出ステップ),
次に第2対応点除去手段106により,前記伸縮率に近
い個別伸縮率が算出される対応点のグループに含まれる
場合の多い対応点のみが残るように,複数の対応点から
除去し(第2対応点除去ステップ),更に変換式算出手
段107により,第2対応点除去手段106の処理結果
として残った対応点を用いて,該対応点のずれにより2
つの画像間の変換式を算出する(変換式算出ステップ)
ようにしている。
Further, in the image processing method according to the second aspect and the image processing apparatus according to the tenth aspect, a plurality of corresponding points are extracted between two images, and a difference between the extracted corresponding points is used to extract two or more corresponding points.
When performing image processing such as calculating a conversion equation between two images, as shown in FIG. 1, first, a plurality of corresponding points are extracted between two images by a corresponding point extracting means 102 (corresponding point extracting step). Next, by the individual expansion / contraction rate calculation means 103,
The individual scaling ratio between the two images is calculated for each group of a plurality of corresponding points (individual scaling ratio calculating step).
Calculating the expansion and contraction ratio between the two images (expansion and contraction ratio calculation step),
Next, the second corresponding point removing unit 106 removes the plurality of corresponding points from the plurality of corresponding points so that only the corresponding points that are often included in the corresponding point group for which the individual expansion / contraction ratio close to the expansion / contraction ratio is calculated remain (the second corresponding point). (2 corresponding point removing step), and further using the corresponding points remaining as the processing result of the second corresponding point removing means 106 by the conversion formula calculating means 107,
Calculate conversion formula between two images (conversion formula calculation step)
Like that.

【0037】このように,複数の対応点を用いることか
ら,幾つかの対応点が検出できない場合でも2つの画像
間の位置合わせが可能となり,ノイズに対する頑強性が
強い。また,例えば,誤抽出の対応点を基準とした場合
でも,本発明のように,伸縮率に近い個別伸縮率が算出
される対応点のグループに含まれる場合の多い対応点の
みが残るように除去していくことにより,とり得る個別
伸縮率の大まかな範囲を定めることが可能となり,誤抽
出の対応点による影響を抑制することができ,2つの画
像間の高精度の位置合わせが可能となる。更に,対応点
の数は第3の従来例と比較して実用的な範囲であるの
で,帳票設計等の自由度を大きくすることができる。
As described above, since a plurality of corresponding points are used, even when some corresponding points cannot be detected, it is possible to position the two images, and the robustness against noise is high. Also, for example, even when the corresponding points of the erroneous extraction are used as a reference, only the corresponding points that are often included in the group of corresponding points for which the individual expansion and contraction rates close to the expansion and contraction rate are calculated as in the present invention remain. By removing them, it is possible to determine the approximate range of possible individual expansion and contraction ratios, suppress the effects of erroneous extraction corresponding points, and achieve highly accurate alignment between two images. Become. Further, since the number of corresponding points is in a practical range as compared with the third conventional example, the degree of freedom in form design and the like can be increased.

【0038】また,請求項3に係る画像処理方法及び請
求項11に係る画像処理装置では,2つの画像間で複数
の対応点を抽出し,抽出された対応点のずれを用いて2
つの画像間の変換式を算出するといった画像処理を行う
場合に,図1に示す如く,先ず対応点抽出手段102に
より,2つの画像間で複数の対応点を抽出し(対応点抽
出ステップ),次に個別伸縮率算出手段103により,
複数の対応点のグループ毎に2つの画像間の個別伸縮率
を算出して(個別伸縮率算出ステップ),第1対応点除
去手段104により,異常な個別伸縮率が算出されるグ
ループに含まれる場合の多い対応点を,複数の対応点か
ら削除し(第1対応点除去ステップ),次に伸縮率算出
手段105により,第1対応点除去手段104の処理結
果として残った全ての対応点を用いて2つの画像間の伸
縮率を算出して(伸縮率算出ステップ),第2対応点除
去手段106により,前記伸縮率に近い個別伸縮率が算
出される対応点のグループに含まれる場合の多い対応点
のみが残るように,複数の対応点から除去し(第2対応
点除去ステップ),更に変換式算出手段107により,
第2対応点除去手段106の処理結果として残った対応
点を用いて,該対応点のずれにより2つの画像間の変換
式を算出する(変換式算出ステップ)ようにしている。
In the image processing method according to the third aspect and the image processing apparatus according to the eleventh aspect, a plurality of corresponding points are extracted between two images, and two points are extracted by using a shift of the extracted corresponding points.
When performing image processing such as calculating a conversion equation between two images, as shown in FIG. 1, first, a plurality of corresponding points are extracted between two images by a corresponding point extracting means 102 (corresponding point extracting step). Next, by the individual expansion / contraction rate calculation means 103,
An individual expansion / contraction ratio between two images is calculated for each group of a plurality of corresponding points (individual expansion / contraction ratio calculating step), and the first corresponding point removing unit 104 includes the group in which an abnormal individual expansion / contraction ratio is calculated. In many cases, corresponding points are deleted from a plurality of corresponding points (first corresponding point removing step), and then all corresponding points remaining as processing results of the first corresponding point removing means 104 are calculated by the expansion / contraction ratio calculating means 105. The expansion / contraction ratio between the two images is calculated (expansion / contraction ratio calculation step), and the second corresponding point removing unit 106 is used to calculate the individual expansion / contraction ratio close to the above-mentioned expansion / contraction ratio in a group of corresponding points. A plurality of corresponding points are removed from the plurality of corresponding points so that only many corresponding points remain (second corresponding point removing step).
Using a corresponding point remaining as a processing result of the second corresponding point removing means 106, a conversion formula between two images is calculated based on a shift of the corresponding point (conversion formula calculation step).

【0039】このように,複数の対応点を用いることか
ら,幾つかの対応点が検出できない場合でも2つの画像
間の位置合わせが可能となり,ノイズに対する頑強性が
強い。また,例えば,誤抽出の対応点を基準とした場合
でも,本発明のように,異常な個別伸縮率が算出される
グループに含まれる場合の多い対応点を複数の対応点か
ら削除し,また,伸縮率に近い個別伸縮率が算出される
対応点のグループに含まれる場合の多い対応点のみが残
るように更に除去していくことにより,とり得る個別伸
縮率の範囲を的確に定めることが可能となり,誤抽出の
対応点による影響を極力抑制することができ,2つの画
像間の高精度の位置合わせが可能となる。更に,対応点
の数は第3の従来例と比較して実用的な範囲であるの
で,帳票設計等の自由度を大きくすることができる。
As described above, since a plurality of corresponding points are used, even when some corresponding points cannot be detected, it is possible to position the two images, and the robustness against noise is high. Also, for example, even when the erroneous extraction corresponding point is used as a reference, as in the present invention, a corresponding point which is often included in a group in which an abnormal individual expansion / contraction rate is calculated is deleted from a plurality of corresponding points. The range of possible individual expansion / contraction ratios can be accurately determined by further removing only the corresponding points that are often included in the group of corresponding points where the individual expansion / contraction ratios close to the expansion / contraction ratio are calculated. This makes it possible to minimize the influence of erroneous extraction due to corresponding points, thereby enabling highly accurate alignment between two images. Further, since the number of corresponding points is in a practical range as compared with the third conventional example, the degree of freedom in form design and the like can be increased.

【0040】また,請求項4に係る画像処理方法及び請
求項12に係る画像処理装置では,第1対応点除去手段
104において異常な個別伸縮率を判定するためのしき
い値,または,第2対応点除去手段106において伸縮
率に対する個別伸縮率の近さを判定するためのしきい値
を,対応点間の距離に応じて可変として,対応点の除去
を行うようにしている。
In the image processing method according to the fourth aspect and the image processing apparatus according to the twelfth aspect, the first corresponding point removing unit 104 determines a threshold value for judging an abnormal individual expansion / contraction ratio, or a second threshold value. The corresponding point removing means 106 removes the corresponding point by changing the threshold value for judging the closeness of the individual expansion rate to the expansion rate depending on the distance between the corresponding points.

【0041】例えば,対応点間の距離が近いほど算出さ
れる伸縮率の誤差は大きいので,対応点間の距離が小さ
いほど,異常な個別伸縮率であると判定される,或い
は,伸縮率に対する個別伸縮率の近さが遠いと判定され
る範囲が広くなるように,しきい値を変化させる必要が
ある。本発明のように,システムの特徴に適合するよう
しきい値を変化させることで,対応点間の距離が近いた
めに誤差が大きく,異常な個別伸縮率と判定される間違
いや,伸縮率に対して個別伸縮率が遠いと判定される間
違いを減少させることができ,より高精度な2つの画像
間の位置合わせが可能となる。
For example, the error of the expansion / contraction ratio calculated as the distance between the corresponding points is shorter is larger. Therefore, as the distance between the corresponding points is smaller, it is determined that the individual individual expansion / contraction ratio is abnormal. It is necessary to change the threshold value so that the range in which the closeness of the individual expansion / contraction ratio is far is widened. As in the present invention, by changing the threshold value so as to conform to the features of the system, the error between the corresponding points is small because the distance between the corresponding points is short. On the other hand, it is possible to reduce mistakes in which the individual expansion / contraction ratio is determined to be far, thereby enabling more accurate positioning between two images.

【0042】また,請求項5に係る画像処理方法及び請
求項13に係る画像処理装置では,変換式算出手段10
7で算出された変換式により得られる補正画像と2つの
画像の内の一の画像(参照画像)との間について,第3
対応点除去手段108により,変換式算出手段107の
処理時点で残っている対応点の間の距離を算出し,距離
の大きい対応点を残っている対応点から除去し(第3対
応点除去ステップ),変換式再算出手段107により,
第3対応点除去手段108の処理結果として残った対応
点を用いて,該対応点のずれにより補正画像と一の画像
(参照画像)間の変換式を再度算出する(変換式再算出
ステップ)ようにしている。
In the image processing method according to the fifth aspect and the image processing apparatus according to the thirteenth aspect, the conversion formula calculating means
7 between the corrected image obtained by the conversion formula calculated in step 7 and one of the two images (reference image).
The corresponding point removing unit 108 calculates the distance between the corresponding points remaining at the time of processing by the conversion formula calculating unit 107, and removes the corresponding point having a large distance from the remaining corresponding points (third corresponding point removing step). ), By the conversion formula recalculating means 107
Using the corresponding points remaining as the processing result of the third corresponding point removing means 108, the conversion formula between the corrected image and one image (reference image) is calculated again by the shift of the corresponding points (conversion formula recalculation step). Like that.

【0043】このように,第3対応点除去手段108に
より,補正画像と一の画像(参照画像)との間の対応点
の検索範囲を所定範囲内に制限することにより,対応点
の対応付けの誤りを減少させることができ,より高精度
な2つの画像間の位置合わせが可能となる。
As described above, the search range of the corresponding point between the corrected image and one image (reference image) is limited to a predetermined range by the third corresponding point removing means 108, so that the corresponding point can be associated. Can be reduced, and more accurate alignment between two images can be performed.

【0044】また,請求項6に係る画像処理方法及び請
求項14に係る画像処理装置では,変換式再算出手段1
07及び第3対応点除去手段108における処理を,第
3対応点除去手段108において,対応点の間の距離の
最大値または平均値が所定のしきい値を越えている間,
或いは,除去すべき対応点が存在する間,繰り返し行う
ようにしている。これにより,更に対応点の対応付けの
誤りを減少させることができ,より高精度な2つの画像
間の位置合わせが可能となる。
In the image processing method according to the sixth aspect and the image processing apparatus according to the fourteenth aspect, the conversion formula recalculating means 1
07 and the processing by the third corresponding point removing means 108 are performed by the third corresponding point removing means 108 while the maximum value or the average value of the distance between the corresponding points exceeds a predetermined threshold value.
Alternatively, the process is repeated while the corresponding point to be removed exists. As a result, it is possible to further reduce the error of the correspondence of the corresponding points, and it is possible to perform more accurate positioning between the two images.

【0045】また,請求項7に係る画像処理方法及び請
求項15に係る画像処理装置では,対応点抽出手段10
2により抽出される対応点を,補正用のタイミングマー
クとしている。このように,対応点を画一的に「+」形
状等の補正用タイミングマークとすることで,処理が容
易となる。
In the image processing method according to the seventh aspect and the image processing apparatus according to the fifteenth aspect, the corresponding point extracting means
The corresponding points extracted by 2 are used as correction timing marks. As described above, the processing is facilitated by uniformly setting the corresponding points as correction timing marks such as a “+” shape.

【0046】また,請求項8に係るコンピュータにより
読み取り可能な記憶媒体では,請求項1,2,3,4,
5,6または7記載の画像処理方法をコンピュータに実
行させるためのプログラムとして記憶するのが望まし
い。例えば,各ステップをプログラム部品として用意す
れば,画像処理システム設計段階で各プログラム部品の
組み合わせにより,入力画像の特徴に適した画像処理シ
ステムを容易に構築することが可能となる。
According to the storage medium readable by a computer according to the eighth aspect,
It is desirable that the image processing method described in 5, 6, or 7 be stored as a program for causing a computer to execute the method. For example, if each step is prepared as a program part, an image processing system suitable for the characteristics of the input image can be easily constructed by combining the program parts at the image processing system design stage.

【0047】また,請求項16に係る画像処理装置で
は,図1に示す如く,文字切り出し手段109により,
変換式算出手段または変換式再算出手段107で算出さ
れた変換式により補正画像を生成し,2つの画像の内の
一の画像(参照画像)について予め与えられている文字
画像存在領域114の文字データに基づいて,該補正画
像から文字画像を切り出すようにし,更に,請求項17
に係る画像処理装置では,文字認識手段110により,
文字切り出し手段109によって得られた文字画像を認
識して文字コードとして出力するようにしている。本発
明を例えばFAXOCR装置等に適用した場合には,該
出力結果を元に自動的な受発注業務等が可能となり,精
度の高い業務運営が可能となる。
In the image processing apparatus according to the sixteenth aspect, as shown in FIG.
A corrected image is generated based on the conversion formula calculated by the conversion formula calculation unit or the conversion formula recalculation unit 107, and the character in the character image existence area 114 that is given in advance for one of the two images (reference image) 18. A character image is cut out from the corrected image based on the data.
In the image processing apparatus according to
The character image obtained by the character extracting means 109 is recognized and output as a character code. When the present invention is applied to, for example, a FAXOCR device, an automatic ordering operation and the like can be performed based on the output result, and a highly accurate business operation can be performed.

【0048】更に,請求項18に係る画像処理装置で
は,前記2つの画像の内の他の画像(入力画像)を,フ
ァクシミリを介して入力された画像としている。本発明
を例えばFAXOCR装置等に適用した場合には,ファ
クシミリ入力を入力画像とした自動的な受発注業務等が
可能となり,精度の高い業務運営が可能となる。
Further, in the image processing apparatus according to the eighteenth aspect, another image (input image) of the two images is an image input via a facsimile. When the present invention is applied to, for example, a facsimile apparatus or the like, it is possible to perform an automatic order receiving and ordering operation using a facsimile input as an input image, and to perform a business operation with high accuracy.

【0049】本発明の画像処理方法及び画像処理装置が
適用される典型的なシステム構成例を図2に示す。図2
はFAXOCR装置による受発注システムの実際の機器
構成の具体例を示す構成図である。また,図3は,本シ
ステムの処理の流れを概略的に示す説明図である。
FIG. 2 shows a typical system configuration example to which the image processing method and the image processing apparatus of the present invention are applied. FIG.
FIG. 1 is a configuration diagram showing a specific example of an actual device configuration of an ordering / ordering system using a FAXOCR device. FIG. 3 is an explanatory diagram schematically showing the flow of processing of this system.

【0050】本システムは,記入済み帳票205をPC
等203に対してファクシミリ送信して利用されるもの
であり,PC等203では,FAX201から公衆回線
202を介して送られ,画像の回転,伸縮またはノイズ
等を含む入力画像について,必要な記載事項を抽出して
文字を切り出し,文字認識処理を行って文字データとし
て伝票自動処理等に供するものである。
In the present system, the completed form 205 is
For example, the PC 203 sends necessary information about an input image that is sent from the FAX 201 via the public line 202 and includes rotation, expansion, contraction, or noise of the image. Is extracted, characters are cut out, character recognition processing is performed, and the data is provided as character data to a slip automatic processing or the like.

【0051】即ち,図3において,入力画像と保存され
ているマスター画像(参照画像)の2つの画像について
アフィン変換式を算出(ステップS301)し,該アフ
ィン変換式によりマスター画像の文字認識対象領域の変
換(ステップS302)が行われ,該文字認識対象領域
に基づいて入力画像について文字認識対象領域が抽出
(ステップS303)され,文字認識処理(ステップS
304)が行われ,文字データが伝票自動処理等(ステ
ップS305)に供される。
That is, in FIG. 3, an affine transformation equation is calculated for two images, an input image and a stored master image (reference image) (step S301), and the character recognition target area of the master image is calculated based on the affine transformation equation. Is performed (step S302), a character recognition target region is extracted from the input image based on the character recognition target region (step S303), and the character recognition process (step S302) is performed.
304) is performed, and the character data is subjected to slip automatic processing and the like (step S305).

【0052】〔実施形態〕図1は本発明の実施形態に係
る画像処理装置の一例であるFAXOCR装置の構成図
である。
[Embodiment] FIG. 1 is a configuration diagram of a FAX OCR apparatus which is an example of an image processing apparatus according to an embodiment of the present invention.

【0053】同図において,本実施形態の画像処理装置
は,画像入力部101,タイミングマーク検出部10
2,個別伸縮率算出部103,第1タイミングマーク削
除部104,伸縮率算出部105,第2タイミングマー
ク削除部106,画像変換部107,第3タイミングマ
ーク削除部108,文字切り出し部109,文字認識部
110,画像バッファ111,タイミングマークバッフ
ァ112,伸縮率バッファ113及び文字画像領域メモ
リ114を備えて構成されている。
In the figure, the image processing apparatus of this embodiment includes an image input unit 101, a timing mark detection unit 10
2. Individual expansion / contraction ratio calculation unit 103, first timing mark deletion unit 104, expansion / contraction ratio calculation unit 105, second timing mark deletion unit 106, image conversion unit 107, third timing mark deletion unit 108, character cutout unit 109, text It comprises a recognition unit 110, an image buffer 111, a timing mark buffer 112, a scaling buffer 113, and a character image area memory 114.

【0054】尚,本実施形態の画像処理装置の各構成要
素は,特許請求の範囲にいう各手段と対応しており,タ
イミングマーク検出部102は対応点抽出手段に,個別
伸縮率算出部103は個別伸縮率算出手段に,第1タイ
ミングマーク削除部104は第1対応点除去手段に,伸
縮率算出部105は伸縮率算出手段に,第2タイミング
マーク削除部106は第2対応点除去手段に,画像変換
部107は変換式算出手段及び変換式再算出手段に,第
3タイミングマーク削除部108は第3対応点除去手段
に,文字切り出し部109は文字切り出し手段に,文字
認識部110は文字認識手段に,それぞれ対応してい
る。
Each component of the image processing apparatus according to the present embodiment corresponds to each unit described in the claims, and the timing mark detection unit 102 includes an individual expansion / contraction ratio calculation unit 103 as a corresponding point extraction unit. Is an individual expansion / contraction rate calculation unit, the first timing mark deletion unit 104 is a first corresponding point removal unit, the expansion / contraction ratio calculation unit 105 is an expansion / contraction ratio calculation unit, and the second timing mark deletion unit 106 is a second corresponding point removal unit. The image conversion unit 107 is a conversion formula calculation unit and a conversion formula recalculation unit, the third timing mark deletion unit 108 is a third corresponding point removal unit, the character cutout unit 109 is a character cutout unit, and the character recognition unit 110 is a Each corresponds to character recognition means.

【0055】また,本実施形態の画像処理装置の各構成
要素の処理は,特許請求の範囲にいう各ステップと対応
しており,タイミングマーク検出部102の処理は対応
点抽出ステップに,個別伸縮率算出部103の処理は個
別伸縮率算出ステップに,第1タイミングマーク削除部
104の処理は第1対応点除去ステップに,伸縮率算出
部105の処理は伸縮率算出ステップに,第2タイミン
グマーク削除部106の処理は第2対応点除去ステップ
に,画像変換部107の処理は変換式算出ステップ及び
変換式再算出ステップに,第3タイミングマーク削除部
108の処理は第3対応点除去ステップに,それぞれ対
応している。
Further, the processing of each component of the image processing apparatus of the present embodiment corresponds to each step described in the claims, and the processing of the timing mark detection unit 102 includes individual expansion / contraction in the corresponding point extraction step. The processing of the rate calculation unit 103 is an individual expansion / contraction rate calculation step, the processing of the first timing mark deletion unit 104 is a first corresponding point removal step, the processing of the expansion / contraction rate calculation unit 105 is an expansion / contraction rate calculation step, and the second timing mark The process of the deletion unit 106 is a second corresponding point removal step, the process of the image conversion unit 107 is a conversion formula calculation step and a conversion formula recalculation step, and the process of the third timing mark deletion unit 108 is a third correspondence point removal step. , Respectively.

【0056】次に,本実施形態で用いる入力画像(特許
請求の範囲にいう2つの画像の内の他の画像)の例を図
4に,参照画像(2つの画像の内の一の画像)を図5に
それぞれ示す。
Next, FIG. 4 shows an example of an input image (another image of the two images in the claims) used in the present embodiment, and a reference image (one of the two images). Are shown in FIG.

【0057】図4及び図5に示すように,本実施形態で
は,対応点を補正用タイミングマークとし,複数のタイ
ミングマーク(入力画像における411〜418,参照
画像における511〜518)を用いて2つの画像の位
置合わせを行う。
As shown in FIGS. 4 and 5, in the present embodiment, a corresponding point is used as a correction timing mark, and a plurality of timing marks (411 to 418 in the input image, 511 to 518 in the reference image) are used. Align two images.

【0058】以下では,図1に示す本実施形態の画像処
理装置の各構成要素が行う処理について,図6から図1
5を参照して詳細に説明する。
In the following, the processing performed by each component of the image processing apparatus of this embodiment shown in FIG. 1 will be described with reference to FIGS.
This will be described in detail with reference to FIG.

【0059】先ず,画像入力部101では,FAX等か
ら入力された画像を,本実施形態の画像処理装置で処理
可能な形態に変換して,画像バッファ111に取り込
む。
First, the image input unit 101 converts an image input from a facsimile or the like into a form that can be processed by the image processing apparatus of this embodiment, and takes it into the image buffer 111.

【0060】次に,タイミングマーク検出部102で
は,パターンマッチング等によりタイミングマークを検
出する。本実施形態では,図4及び図5に示したよう
に,簡単な例として,タイミングマークとして十字点を
用いる場合の例を示す。
Next, the timing mark detection section 102 detects a timing mark by pattern matching or the like. In this embodiment, as shown in FIGS. 4 and 5, a simple example is shown in which a cross point is used as a timing mark.

【0061】図6は,タイミングマーク検出部102に
おけるタイミングマーク抽出処理の手順を示すフローチ
ャートである。
FIG. 6 is a flowchart showing the procedure of the timing mark extraction process in the timing mark detection unit 102.

【0062】タイミングマークの抽出では,先ずステッ
プS601で元矩型を抽出し,ステップS602ではマ
スク処理を行う。マスク処理は,図7に示すようなマス
クを入力画像に対して適用して行われる。
In extracting a timing mark, first, an original rectangular shape is extracted in step S601, and a mask process is performed in step S602. The mask processing is performed by applying a mask as shown in FIG. 7 to the input image.

【0063】つまり,タイミングマーク抽出用マスク
は,図7に示すように,中央の画素701と,中央の画
素701を囲んで4方に配置される周囲の4画素702
〜705とで形成されている。このタイミングマーク用
マスクを,図9に示すように入力画像に対して配置して
マスク処理が施される。即ち,それぞれのマスクA及び
Bについて,中央の画素が黒画素で且つ周囲の4画素が
白画素となるように配置され,その場合に各マスクの中
央の画素が黒画素とされる。
That is, as shown in FIG. 7, the timing mark extraction mask includes a central pixel 701 and four surrounding pixels 702 surrounding the central pixel 701.
To 705. This timing mark mask is arranged on the input image as shown in FIG. 9 and subjected to mask processing. That is, for each of the masks A and B, the central pixel is arranged so as to be a black pixel and the four surrounding pixels are arranged as white pixels, in which case the central pixel of each mask is made a black pixel.

【0064】次に,ステップS603では,マスク処理
後の入力画像について,十字点抽出用矩型(タイミング
マーク抽出用矩型)の抽出処理が行われる。この十字点
抽出用矩型の抽出処理とは,黒画素の連結成分を囲む外
接矩型を抽出する処理である。図10は,図9の入力画
像に対してマスク処理を行った後の入力画像であり,図
中,矩型1001が十字点抽出用矩型として抽出され
る。
Next, in step S603, a process of extracting a cross point extraction rectangle (timing mark extraction rectangle) is performed on the input image after the mask processing. The process of extracting a cross point extraction rectangle is a process of extracting a circumscribed rectangle surrounding a connected component of black pixels. FIG. 10 is an input image obtained by performing a masking process on the input image of FIG. 9, in which a rectangle 1001 is extracted as a cross point extraction rectangle.

【0065】次に,ステップS604以降の処理は,各
十字点抽出用矩型について行われるループ処理である。
先ず,ステップS604では,その十字点抽出用矩型が
適当な大きさであるかどうかが判断される。またステッ
プS605からS607は,十字点抽出用矩型を含む元
矩型について行われるループ処理であり,その元矩型が
小さく且つ縦横比が不適当である場合に,ステップS6
08に進んでその十字点抽出用矩型の中心座標が抽出さ
れ,ステップS609で十字点(タイミングマーク)と
して抽出される。
Next, the processing after step S604 is a loop processing performed for each cross point extraction rectangle.
First, in step S604, it is determined whether or not the cross point extraction rectangle has an appropriate size. Steps S605 to S607 are a loop process performed on the original rectangle including the cross point extraction rectangle. If the original rectangle is small and the aspect ratio is inappropriate, step S6 is executed.
In step S08, the center coordinates of the cross point extraction rectangular shape are extracted, and the cross coordinates are extracted as cross points (timing marks) in step S609.

【0066】つまり,抽出された十字点抽出用矩型で
は,十字点(タイミングマーク)の部分については,線
分の太さに応じてある一定の大きさの矩型が現れる。従
って,以下の条件を全て満たす十字点抽出用矩型をタイ
ミングマークとして抽出するものである。
In other words, in the extracted cross point extraction rectangle, a rectangle having a certain size appears in the cross point (timing mark) portion in accordance with the thickness of the line segment. Therefore, a cross point extraction rectangle that satisfies all of the following conditions is extracted as a timing mark.

【0067】 CRmn<CRw<CRmx (1) CRmn<CRh<CRmx (2) ここに,CRwはタイミングマーク抽出用矩型の幅[画
素]であり,CRhはタイミングマーク抽出用矩型の高
さ[画素]である。また,CRmn,CRmxはタイミ
ングマークとして用いる十字点の線分の太さによって定
められる定数である。
CRmn <CRw <CRmx (1) CRmn <CRh <CRmx (2) Here, CRw is the width [pixel] of the timing mark extraction rectangular shape, and CRh is the timing mark extraction rectangular height [ Pixel]. CRmn and CRmx are constants determined by the thickness of the line segment of the cross point used as a timing mark.

【0068】以上のようにして,タイミングマーク検出
部102によりタイミングマークが抽出され,タイミン
グマークバッファ112に格納される。ここで,図4の
入力画像及び図5の参照画像に対するタイミングマーク
抽出結果を図8に示す。
As described above, the timing mark is extracted by the timing mark detection unit 102 and stored in the timing mark buffer 112. Here, FIG. 8 shows the timing mark extraction results for the input image of FIG. 4 and the reference image of FIG.

【0069】次に,個別伸縮率算出部103では,3個
のタイミングマークから,入力画像の参照画像に対する
X,Y方向の拡大率または縮小率をそれぞれ算出し,タ
イミングマークの組合わせと伸縮率を伸縮率バッファ1
13に保存する。
Next, the individual expansion / contraction ratio calculation unit 103 calculates the enlargement ratio or reduction ratio in the X and Y directions of the input image with respect to the reference image from the three timing marks, and calculates the combination of the timing marks and the expansion / contraction ratio. To expand / contract buffer 1
13 is stored.

【0070】あるタイミングマークを基準点として,そ
れ以外に2つのタイミングマークを第1参照点及び第2
参照点とした場合,入力画像の参照画像に対するX,Y
方向の拡大率または縮小率は次式を用いて求めることが
できる。
Using a certain timing mark as a reference point, two other timing marks are referred to as a first reference point and a second reference mark.
If a reference point is set, X, Y of the input image with respect to the reference image
The enlargement ratio or reduction ratio in the direction can be obtained using the following equation.

【0071】 Sy={(Li2 ×Lxc1 )−(Lxc2 ×Li1 )} /{(Lyc2 ×Lxc1 )−(Lxc2 ×Lyc1 )} (3) Sx={Li1−(Sy×Lyc1)}/Lxc1 (4) ここに,SxはX方向の伸縮率,SyはY方向の伸縮率
である。また,Lxc1は参照画像上での第1参照点と
基準点のX方向の距離の自乗,Lxc2 は参照画像上で
の第2参照点と基準点のX方向の距離の自乗,Lyc1
は参照画像上での第1参照点と基準点のY方向の距離の
自乗,Lyc2 は参照画像上での第2参照点と基準点の
Y方向の距離の自乗,Li1 は入力画像上での第1参照
点と基準点の距離の自乗,Li2 は入力画像上での第2
参照点と基準点の距離の自乗である。
Sy = {(Li2 × Lxc1) − (Lxc2 × Li1)} / {(Lyc2 × Lxc1) − (Lxc2 × Lyc1)} (3) Sx = {Li1− (Sy × Lyc1)} / Lxc1 (4) Here, Sx is the expansion ratio in the X direction, and Sy is the expansion ratio in the Y direction. Lxc1 is the square of the distance between the first reference point and the reference point on the reference image in the X direction, Lxc2 is the square of the distance between the second reference point and the reference point on the reference image in the X direction, Lyc1
Is the square of the distance in the Y direction between the first reference point and the reference point on the reference image, Lyc2 is the square of the distance in the Y direction between the second reference point and the reference point on the reference image, and Li1 is the square of the distance in the input image. The square of the distance between the first reference point and the reference point, Li2, is the second square on the input image.
This is the square of the distance between the reference point and the reference point.

【0072】次に,第1タイミングマーク削除部104
では,先ず,以下の条件の何れかを満たす参照点の組
を,異常な伸縮率を持つ参照点の組と判断し,その個数
を各基準点毎に集計する。
Next, the first timing mark deletion unit 104
First, a set of reference points satisfying any of the following conditions is determined to be a set of reference points having an abnormal expansion / contraction ratio, and the number of reference points is totaled for each reference point.

【0073】 Sy<Symn (5) Sy>Symx (6) Sx<Sxmn (7) Sx<Sxmx (8) ここに,SxはX方向の伸縮率,SyはY方向の伸縮
率,SxmnはX方向の伸縮率最小値,SymnはY方
向の伸縮率最小値,SxmxはX方向の伸縮率最大値,
SymxはY方向の伸縮率最大値である。
Sy <Symn (5) Sy> Symx (6) Sx <Sxmn (7) Sx <Sxmx (8) Here, Sx is the expansion ratio in the X direction, Sy is the expansion ratio in the Y direction, and Sxmn is the X direction. , Symn is the minimum value of the expansion ratio in the Y direction, Sxmx is the maximum value of the expansion ratio in the X direction,
Symx is the maximum expansion / contraction ratio in the Y direction.

【0074】異常な伸縮率を持つ参照点の組として個数
が各基準点毎に集計されたならば,次に,以下の条件を
満たすタイミングマーク(基準点)を削除する。
When the number of reference points having an abnormal expansion / contraction ratio is counted for each reference point, a timing mark (reference point) satisfying the following condition is deleted.

【0075】 Nf>Ntf (9) ここに,Nfは異常な伸縮率を持つ参照点の組の個数,
Ntfは異常な伸縮率を持つ参照点の組の許容個数であ
る。尚,許容個数Ntfは印字されているタイミングマ
ークの個数等に応じて決定される。
Nf> Ntf (9) where Nf is the number of sets of reference points having an abnormal expansion / contraction ratio,
Ntf is an allowable number of sets of reference points having abnormal expansion and contraction rates. The allowable number Ntf is determined according to the number of printed timing marks and the like.

【0076】図8のタイミングマーク抽出結果に対し
て,第1タイミングマーク削除部104により行われる
削除処理を図11に例示する。
FIG. 11 exemplifies a deletion process performed by the first timing mark deletion unit 104 on the timing mark extraction result of FIG.

【0077】誤ったタイミングマークを基準点として用
いた場合,異常に大きい或いは小さい伸縮率が算出され
る参照点の組合わせの数が多くなる。本実施形態では,
第1タイミングマーク削除部104により,適用される
システム毎に入力画像の参照画像に対する伸縮率の大ま
かな範囲を定めることが可能となる。
When an erroneous timing mark is used as a reference point, the number of combinations of reference points for which an abnormally large or small expansion / contraction ratio is calculated increases. In this embodiment,
The first timing mark deletion unit 104 makes it possible to determine a rough range of the expansion / contraction ratio of the input image with respect to the reference image for each applied system.

【0078】また,許容個数Ntfをタイミングマーク
間の距離の平均値等に応じて可変することで,性能の向
上が見込まれる。つまり,タイミングマーク間の距離が
近いほど算出される伸縮率の誤差は大きいので,タイミ
ングマーク間の距離が小さいほど許容個数Ntfが大き
くなるよう,システムに合った適切な許容個数Ntfの
算出式を用いることにより,タイミングマーク間の距離
が小さいために誤差が大きくなって異常と判断されてし
まうといった間違いを少なくできるからである。
Further, by changing the allowable number Ntf according to the average value of the distance between the timing marks and the like, the performance is expected to be improved. That is, since the error of the expansion / contraction ratio calculated as the distance between the timing marks becomes smaller, the allowable number Ntf suitable for the system is calculated so that the allowable number Ntf becomes larger as the distance between the timing marks becomes smaller. By using this, it is possible to reduce errors such as an error being increased due to a small distance between the timing marks and being determined to be abnormal.

【0079】次に,伸縮率算出部105では,入力画像
の参照画像に対する伸縮率を算出する。
Next, the expansion ratio calculator 105 calculates the expansion ratio of the input image with respect to the reference image.

【0080】先ず,第1タイミングマーク削除部104
において削除されなかった残りの各基準点毎に,X方向
の伸縮率の中央値SX(n) を算出する。次に,SX(n)
に関しその中央値を算出して,入力画像の参照画像に対
するX方向の伸縮率Sximとする。また,Y方向につ
いても,同様の処理によつてY方向の伸縮率Syimを
算出する。このように2段階で中央値を算出することで
正しい伸縮率が求められる確率を向上させることができ
る。
First, the first timing mark deletion unit 104
The median value SX (n) of the expansion and contraction ratio in the X direction is calculated for each of the remaining reference points that have not been deleted in. Next, SX (n)
The median value of the input image is calculated, and is set as the X-direction expansion / contraction ratio Sxim with respect to the reference image. Also, for the Y direction, the expansion / contraction ratio Syim in the Y direction is calculated by the same processing. By calculating the median in two stages in this way, the probability of obtaining the correct expansion / contraction ratio can be improved.

【0081】次に,第2タイミングマーク削除部106
では,入力画像の参照画像に対する伸縮率に近い伸縮率
が算出される参照点の組合わせを多く持つ基準点を選び
出し,それ以外の選出されないタイミングマークを削除
する。
Next, the second timing mark deletion unit 106
In, a reference point having many combinations of reference points for which an expansion ratio close to the expansion ratio of the input image is calculated with respect to the reference image is selected, and other unselected timing marks are deleted.

【0082】第1タイミングマーク削除部104で削除
されなかったタイミングマークに関する各個別伸縮率に
ついて,以下の条件を満たす場合に,入力画像の伸縮率
に近い個別伸縮率であると判断する。
When each of the individual expansion / contraction rates of the timing marks not deleted by the first timing mark deletion unit 104 satisfies the following conditions, it is determined that the individual expansion / contraction rate is close to the input / output expansion rate.

【0083】 Si−α<S<Si+α (10) ここに,Siは入力画像の参照画像に対する伸縮率,α
は定数,Sは(3個のタイミングマークから求めた)個
別伸縮率である。
Si−α <S <Si + α (10) where Si is an expansion / contraction ratio of the input image with respect to the reference image, α
Is a constant, and S is an individual expansion / contraction ratio (determined from three timing marks).

【0084】ここでは,αは定数でも構わないが,3個
のタイミングマーク間の距離等に応じて可変とすること
で,性能の向上が見込まれる。つまり,タイミングマー
ク間の距離が近いほど算出される伸縮率の誤差は大きい
ので,タイミングマーク間の距離が小さいほどαは大き
くする必要がある。システムに合った適切なαの算出式
を用いることで,タイミングマーク間の距離が近いため
に誤差が大きくなって伸縮率が遠いと判断されてしまう
といった間違いを少なくできるからである。
Here, α may be a constant, but performance can be expected to be improved by making it variable according to the distance between the three timing marks and the like. That is, the error of the expansion / contraction ratio calculated as the distance between the timing marks is shorter is larger. Therefore, it is necessary to increase α as the distance between the timing marks is smaller. This is because, by using a calculation formula of α that is appropriate for the system, it is possible to reduce errors such that the distance between the timing marks is short, the error increases, and the expansion / contraction ratio is determined to be long.

【0085】次に,各基準点毎,XY方向毎に,入力画
像の伸縮率に近い個別伸縮率が算出された参照点の組合
わせの個数Nsを計数する。
Next, the number Ns of combinations of reference points for which individual expansion / contraction ratios close to the expansion / contraction ratio of the input image have been calculated is counted for each reference point and each XY direction.

【0086】この組合わせの個数Nsの多い基準点ほ
ど,対応が正しい可能性が大きいと判断できる。従っ
て,この組合わせ個数Nsについて所定のしきい値を定
め,該しきい値よりも組合わせの個数Nsの大きい基準
点(タイミングマーク)を選ぶことで,タイミングマー
クの誤検出を防ぐことができる。
It can be determined that the greater the number Ns of the combinations, the greater the possibility that the correspondence is correct. Therefore, by setting a predetermined threshold value for the number of combinations Ns and selecting a reference point (timing mark) having a larger number of combinations Ns than the threshold value, erroneous detection of the timing mark can be prevented. .

【0087】尚,各基準点については,X方向で画像の
伸縮率に近い伸縮率が算出された参照点の組合わせの個
数Nsxと,Y方向で画像の伸縮率に近い伸縮率が算出
された参照点の組合わせの個数Nsyの内,小さい方を
その基準点のNsとする。従って,次の条件を満たすタ
イミングマークを削除する。
For each reference point, the number Nsx of combinations of reference points for which the expansion / contraction ratio close to the image is calculated in the X direction, and the expansion / contraction ratio close to the image expansion / contraction ratio in the Y direction are calculated. The smaller of the number Nsy of combinations of the reference points is set as Ns of the reference point. Therefore, the timing mark satisfying the following condition is deleted.

【0088】 Ns<Ntsc (11) ここに,Nsは画像の伸縮率に近い伸縮率が算出された
参照点の組合わせの個数,Ntscは画像の伸縮率に近
い伸縮率が算出された参照点の組合わせの個数最小値で
ある。
Ns <Ntsc (11) Here, Ns is the number of combinations of reference points at which the expansion / contraction ratio close to the image is calculated, and Ntsc is the reference point at which the expansion / contraction ratio close to the image is calculated. Is the minimum number of combinations.

【0089】図11の第1タイミングマーク削除部10
4の処理結果に対して,第2タイミングマーク削除部1
06により行われる削除処理を図12に例示する。
First timing mark deletion unit 10 in FIG.
4, the second timing mark deletion unit 1
FIG. 12 shows an example of the deletion process performed in step S06.

【0090】次に,画像変換部107では,入力画像,
参照画像のタイミングマーク間のずれを算出し,例えば
「William H. Press, "Numerical Recipes in C", CAM
BRIDGE UNIVERSITY PRESS, pp59-70, pp671-681 」
(参考文献1)で示されるような方法で補正関数(変換
式)を算出する。つまり,補正関数としては,本実施形
態ではアファイン変換を用いるものとし,参考文献1に
示された手法により,以下にの補正関数(変換式)が得
られたものとする。
Next, in the image conversion unit 107, the input image,
The shift between the timing marks of the reference image is calculated, for example, “William H. Press,“ Numerical Recipes in C ”, CAM
BRIDGE UNIVERSITY PRESS, pp59-70, pp671-681 ''
A correction function (conversion equation) is calculated by a method shown in (Reference Document 1). That is, it is assumed that an affine transformation is used as the correction function in the present embodiment, and the following correction function (conversion equation) is obtained by the method described in Reference 1.

【0091】[0091]

【数1】 (Equation 1)

【0092】ここで,(Xt,Yt)は補正後の座標系
であり,(Xi,Yi)は入力画像の座標系である。例
えば補正画像の(2981,3864)の画素値を算出
する際には,先ず変換式(12)を用いて,対応する入
力画像中の座標を,次のようにして算出する。
Here, (Xt, Yt) is the coordinate system after correction, and (Xi, Yi) is the coordinate system of the input image. For example, when calculating the pixel value of (2981, 3864) of the corrected image, first, using the conversion formula (12), the coordinates in the corresponding input image are calculated as follows.

【0093】[0093]

【数2】 (Equation 2)

【0094】この画素の場合には,入力画像の(315
8,3726)の画素値を補正画像の(2981,38
64)の画素値とする。このように全ての補正画像の画
素について入力画像を参照して画素値を算出すると,補
正画像のフォームは参照画像のフォームと同じ位置に存
在するようになる。
In the case of this pixel, (315) of the input image
8,3726) to the (2981, 38) of the corrected image.
64). When the pixel values of all the pixels of the corrected image are calculated with reference to the input image in this manner, the form of the corrected image exists at the same position as the form of the reference image.

【0095】次に,第3タイミングマーク削除部108
では,補正画像と参照画像のタイミングマーク間の距離
を算出し,タイミングマーク間の距離がしきい値Dth
より大きいタイミングマークを削除する。
Next, the third timing mark deletion unit 108
Calculates the distance between the timing marks of the corrected image and the reference image, and sets the distance between the timing marks to the threshold value Dth.
Remove larger timing marks.

【0096】第3タイミングマーク削除部108により
タイミングマークを削除した場合には,画像変換部10
7における処理を再び行う。また,第3タイミングマー
ク削除部108において,削除されるタイミングマーク
がない場合には,文字切り出し部109の処理に進む。
When the timing mark is deleted by the third timing mark deletion unit 108, the image conversion unit 10
7 is performed again. If there is no timing mark to be deleted in the third timing mark deletion unit 108, the process proceeds to the character cutout unit 109.

【0097】次に,文字切り出し部109では,文字画
像領域メモリ114中から文字画像の存在する領域のデ
ータを参照して,補正画像中から文字画像の部分を切り
出す。文字画像領域メモリ114内に格納されているデ
ータの概念図を図13に示す。また,図14(a)の補
正画像について,文字画像領域メモリ114を参照して
得られた文字画像切り出し結果を図14(b)に示す。
Next, the character extracting section 109 refers to the data of the area where the character image exists from the character image area memory 114, and extracts the character image portion from the corrected image. FIG. 13 shows a conceptual diagram of the data stored in the character image area memory 114. FIG. 14B shows a character image cutout result obtained by referring to the character image area memory 114 for the corrected image in FIG.

【0098】尚,文字認識部110のスキューに対する
頑強性が高い場合には,入力画像から補正画像を求める
のは計算量が多いので,文字画像領域メモリ114内の
の座標を補正して文字画像を切り出す方が好ましい。
When the robustness against skew of the character recognition unit 110 is high, the amount of calculation to obtain the corrected image from the input image is large, so the coordinates in the character image area memory 114 are corrected and the character image is corrected. It is more preferable to cut out.

【0099】最後に,文字認識部110では,文字切り
出し部109から送られてきた文字画像を認識し,文字
コードとして出力する。図15(a)の文字画像切り出
し結果に対する文字認識結果を図15(b)に,この場
合の文字認識部110からの出力データの概念図を図1
5(c)にそれぞれ示す。
Finally, the character recognizing section 110 recognizes the character image sent from the character extracting section 109 and outputs it as a character code. FIG. 15B shows a character recognition result for the character image cutout result of FIG. 15A, and FIG. 1 is a conceptual diagram of output data from the character recognition unit 110 in this case.
5 (c).

【0100】本実施形態の画像処理装置が適用されるF
AXOCR装置等では,文字認識部110からの出力結
果を元に,更に自動的な受発注業務等を行う。この部分
については,本発明とは直接関係ないので説明を割愛す
る。
F to which the image processing apparatus of the present embodiment is applied
The AXOCR device or the like further performs an automatic ordering and ordering operation based on the output result from the character recognition unit 110. Since this part is not directly related to the present invention, the description is omitted.

【0101】以上のような本実施形態の画像処理装置の
構成または画像処理方法によれば,以下のような効果を
奏する。第1に,複数のタイミングマークを用いるの
で,幾つかのタイミングマークが検出できない場合で
も,2つの画像間の位置合わせが可能であり,ノイズに
対する頑強性が強い。第2に,タイミングマークの誤検
出を防ぐことができる。また第3に,広い範囲にわたる
複数のタイミングマークを用いれば,2つの画像間の高
精度な位置合わせが可能である。更に第4に,タイミン
グマークの位置に関する自由度が大きい。
According to the configuration of the image processing apparatus or the image processing method of the present embodiment as described above, the following effects can be obtained. First, since a plurality of timing marks are used, even if some of the timing marks cannot be detected, alignment between two images is possible, and robustness against noise is strong. Second, erroneous detection of timing marks can be prevented. Third, by using a plurality of timing marks over a wide range, highly accurate positioning between two images can be performed. Fourth, the degree of freedom regarding the position of the timing mark is large.

【0102】[0102]

【発明の効果】以上説明したように,本発明の請求項1
に係る画像処理方法及び請求項9に係る画像処理装置に
よれば,2つの画像間で複数の対応点を抽出し,抽出さ
れた対応点のずれを用いて2つの画像間の変換式を算出
するといった画像処理を行う場合に,対応点抽出手段に
より2つの画像間で複数の対応点を抽出し,個別伸縮率
算出手段により複数の対応点のグループ毎に2つの画像
間の個別伸縮率を算出し,第1対応点除去手段により異
常な個別伸縮率が算出されるグループに含まれる場合の
多い対応点を複数の対応点から削除し,更に変換式算出
手段により,第1対応点除去手段の処理結果として残っ
た対応点を用いて該対応点のずれにより2つの画像間の
変換式を算出することとしたので,ノイズに対する頑強
性が強く,タイミングマーク等による対応点の誤検出を
防止でき,高精度の位置合わせが可能で,しかも実用的
な画像の位置合わせを行い得る画像処理方法及び画像処
理装置を提供することができる。
As described above, according to the first aspect of the present invention,
According to the image processing method and the image processing apparatus of the ninth aspect, a plurality of corresponding points are extracted between two images, and a conversion equation between the two images is calculated by using a shift of the extracted corresponding points. In the case of performing image processing such as performing an image processing, a corresponding point extracting unit extracts a plurality of corresponding points between two images, and an individual expansion / contraction ratio calculating unit calculates an individual expansion ratio between the two images for each group of the plurality of corresponding points. The corresponding points that are often included in the group in which the abnormal individual expansion / contraction ratio is calculated by the first corresponding point removing means are deleted from the plurality of corresponding points, and the first corresponding point removing means is further converted by the conversion formula calculating means. By using the corresponding points remaining as a result of the above processing to calculate the conversion formula between the two images based on the shift of the corresponding points, robustness against noise is strong, and erroneous detection of the corresponding points due to timing marks and the like is prevented. High accuracy Positioning is possible, moreover it is possible to provide an image processing method and image processing apparatus capable of performing alignment of practical image.

【0103】また,請求項2に係る画像処理方法及び請
求項10に係る画像処理装置によれば,2つの画像間で
複数の対応点を抽出し,抽出された対応点のずれを用い
て2つの画像間の変換式を算出するといった画像処理を
行う場合に,先ず対応点抽出手段により2つの画像間で
複数の対応点を抽出し,次に個別伸縮率算出手段により
複数の対応点のグループ毎に2つの画像間の個別伸縮率
を算出し,また伸縮率算出手段により抽出された全ての
対応点を用いて2つの画像間の伸縮率を算出し,次に第
2対応点除去手段により,前記伸縮率に近い個別伸縮率
が算出される対応点のグループに含まれる場合の多い対
応点のみが残るように複数の対応点から除去し,更に変
換式算出手段により,第2対応点除去手段の処理結果と
して残った対応点を用いて該対応点のずれにより2つの
画像間の変換式を算出することとしたので,ノイズに対
する頑強性が強く,タイミングマーク等による対応点の
誤検出を防止でき,高精度の位置合わせが可能で,しか
も実用的な画像の位置合わせを行い得る画像処理方法及
び画像処理装置を提供することができる。
According to the image processing method according to the second aspect and the image processing apparatus according to the tenth aspect, a plurality of corresponding points are extracted between two images, and the corresponding points are shifted by using a shift of the extracted corresponding points. When performing image processing such as calculating a conversion formula between two images, first, a plurality of corresponding points are extracted between two images by a corresponding point extracting unit, and then a plurality of groups of corresponding points are extracted by an individual expansion / contraction ratio calculating unit. Each time, the individual expansion / contraction ratio between the two images is calculated, and the expansion / contraction ratio between the two images is calculated using all the corresponding points extracted by the expansion / contraction ratio calculation means. , The corresponding points that are likely to be included in the corresponding point group for which the individual expansion ratios close to the expansion ratio are calculated are removed from the plurality of corresponding points, and the second corresponding point removal is performed by the conversion formula calculating means. Corresponding points left as a result of processing by means Is used to calculate the conversion equation between the two images based on the shift of the corresponding points, so that the robustness against noise is strong, the erroneous detection of the corresponding points due to timing marks and the like can be prevented, and highly accurate positioning can be performed. Thus, it is possible to provide an image processing method and an image processing apparatus capable of performing a practical image alignment.

【0104】また,請求項3に係る画像処理方法及び請
求項11に係る画像処理装置によれば,2つの画像間で
複数の対応点を抽出し,抽出された対応点のずれを用い
て2つの画像間の変換式を算出するといった画像処理を
行う場合に,先ず対応点抽出手段により2つの画像間で
複数の対応点を抽出し,次に個別伸縮率算出手段により
複数の対応点のグループ毎に2つの画像間の個別伸縮率
を算出して,第1対応点除去手段により,異常な個別伸
縮率が算出されるグループに含まれる場合の多い対応点
を複数の対応点から削除し,次に伸縮率算出手段によ
り,第1対応点除去手段の処理結果として残った全ての
対応点を用いて2つの画像間の伸縮率を算出して,第2
対応点除去手段により,前記伸縮率に近い個別伸縮率が
算出される対応点のグループに含まれる場合の多い対応
点のみが残るように複数の対応点から除去し,更に変換
式算出手段により,第2対応点除去手段の処理結果とし
て残った対応点を用いて該対応点のずれにより2つの画
像間の変換式を算出することとしたので,ノイズに対す
る頑強性が強く,タイミングマーク等による対応点の誤
検出を防止でき,高精度の位置合わせが可能で,しかも
実用的な画像の位置合わせを行い得る画像処理方法及び
画像処理装置を提供することができる。
Further, according to the image processing method of the third aspect and the image processing apparatus of the eleventh aspect, a plurality of corresponding points are extracted between two images, and two points are extracted by using a shift of the extracted corresponding points. When performing image processing such as calculating a conversion formula between two images, first, a plurality of corresponding points are extracted between two images by a corresponding point extracting unit, and then a plurality of groups of corresponding points are extracted by an individual expansion / contraction ratio calculating unit. An individual expansion / contraction ratio between the two images is calculated for each image, and the corresponding point which is often included in the group in which the abnormal individual expansion / contraction ratio is calculated is deleted from the plurality of corresponding points by the first corresponding point removing means. Next, the expansion and contraction ratio calculating means calculates the expansion and contraction ratio between the two images using all the corresponding points remaining as the processing result of the first corresponding point removing means,
The corresponding point removing means removes from the plurality of corresponding points such that only the corresponding points which are often included in the corresponding point group for which the individual expansion / contraction ratio close to the expansion / contraction ratio is calculated remain. Since the conversion equation between the two images is calculated by using the corresponding points remaining as the processing result of the second corresponding point removing means based on the shift of the corresponding points, robustness against noise is strong, It is possible to provide an image processing method and an image processing apparatus capable of preventing erroneous detection of points, performing high-accuracy alignment, and performing practical image alignment.

【0105】また,請求項4に係る画像処理方法及び請
求項12に係る画像処理装置によれば,第1対応点除去
手段において異常な個別伸縮率を判定するためのしきい
値,または,第2対応点除去手段において伸縮率に対す
る個別伸縮率の近さを判定するためのしきい値を,対応
点間の距離に応じて可変として,対応点の除去を行うこ
ととしたので,より高精度な2つの画像間の位置合わせ
が可能な画像処理方法及び画像処理装置を提供すること
ができる。
According to the image processing method of the fourth aspect and the image processing apparatus of the twelfth aspect, the threshold value for determining the abnormal individual expansion / contraction ratio in the first corresponding point removing means, or (2) Since the threshold for judging the closeness of the individual expansion / contraction ratio to the expansion / contraction ratio in the corresponding point removing means is made variable according to the distance between the corresponding points, the corresponding points are removed, so that higher accuracy is achieved. It is possible to provide an image processing method and an image processing apparatus capable of performing alignment between two images.

【0106】また,請求項5に係る画像処理方法及び請
求項13に係る画像処理装置によれば,変換式算出手段
で算出された変換式により得られる補正画像と2つの画
像の内の一の画像との間について,第3対応点除去手段
により,変換式算出手段の処理時点で残っている対応点
の間の距離を算出し,距離の大きい対応点を残っている
対応点から除去し,変換式再算出手段により,第3対応
点除去手段の処理結果として残った対応点を用いて該対
応点のずれにより補正画像と一の画像間の変換式を再度
算出することとし,補正画像と一の画像との間の対応点
の検索範囲を所定範囲内に制限するので,対応点の対応
付けの誤りを減少させることができ,より高精度な2つ
の画像間の位置合わせが可能な画像処理方法及び画像処
理装置を提供することができる。
According to the image processing method according to the fifth aspect and the image processing apparatus according to the thirteenth aspect, the corrected image obtained by the conversion formula calculated by the conversion formula calculating means and one of the two images. With respect to the image, the third corresponding point removing means calculates the distance between the corresponding points remaining at the time of processing by the conversion formula calculating means, and removes the corresponding point having a large distance from the remaining corresponding points, The conversion formula recalculating means uses the corresponding points remaining as the processing result of the third corresponding point removing means to calculate again the conversion formula between the corrected image and the one image due to the shift of the corresponding points. Since the search range of the corresponding point with one image is limited within a predetermined range, the error of the correspondence of the corresponding point can be reduced, and the image can be positioned with higher accuracy between the two images. Provided is a processing method and an image processing apparatus. Door can be.

【0107】また,請求項6に係る画像処理方法及び請
求項14に係る画像処理装置によれば,変換式再算出手
段及び第3対応点除去手段における処理を,第3対応点
除去手段において,対応点の間の距離の最大値または平
均値が所定のしきい値を越えている間,或いは,除去す
べき対応点が存在する間,繰り返し行うこととしたの
で,更に対応点の対応付けの誤りを減少させることがで
き,より高精度な2つの画像間の位置合わせが可能な画
像処理方法及び画像処理装置を提供することができる。
According to the image processing method of the sixth aspect and the image processing apparatus of the fourteenth aspect, the processing in the conversion formula recalculating means and the third corresponding point removing means is performed by the third corresponding point removing means. Since the repetition is performed while the maximum value or the average value of the distances between the corresponding points exceeds a predetermined threshold value or while there is a corresponding point to be removed, the correspondence of the corresponding points is further determined. It is possible to provide an image processing method and an image processing apparatus that can reduce errors and can perform more accurate alignment between two images.

【0108】また,請求項7に係る画像処理方法及び請
求項15に係る画像処理装置によれば,対応点抽出手段
により抽出される対応点を補正用のタイミングマークと
したので,容易に処理を行い得る画像処理方法及び画像
処理装置を提供することができる。
According to the image processing method according to the seventh aspect and the image processing apparatus according to the fifteenth aspect, since the corresponding points extracted by the corresponding point extracting means are used as correction timing marks, the processing can be easily performed. An image processing method and an image processing apparatus that can be performed can be provided.

【0109】また,請求項8に係るコンピュータにより
読み取り可能な記憶媒体によれば,請求項1,2,3,
4,5,6または7記載の画像処理方法をコンピュータ
に実行させるためのプログラムとして記憶したので,例
えば,各ステップをプログラム部品とすれば,画像の特
徴に適した画像処理システムを容易に構築することがで
きる。
According to the storage medium readable by a computer according to the eighth aspect, the first, second, third and third aspects are provided.
Since the image processing method described in 4, 5, 6, or 7 is stored as a program for causing a computer to execute the image processing method, for example, if each step is a program component, an image processing system suitable for image characteristics can be easily constructed. be able to.

【0110】また,請求項16に係る画像処理装置によ
れば,文字切り出し手段により,変換式算出手段または
変換式再算出手段で算出された変換式により補正画像を
生成し,2つの画像の内の一の画像について予め与えら
れている文字画像存在領域の文字データに基づいて,該
補正画像から文字画像を切り出すようにし,更に,請求
項17に係る画像処理装置によれば,文字認識手段によ
り,文字切り出し手段によって得られた文字画像を認識
して文字コードとして出力することとしたので,例えば
FAXOCR装置等に適用した場合に,出力結果を元に
自動的な受発注業務等が可能となり,精度の高い業務運
営が可能となる。
According to the image processing apparatus of the sixteenth aspect, the character cutout means generates a corrected image based on the conversion formula calculated by the conversion formula calculation means or the conversion formula recalculation means, and outputs the corrected image from the two images. A character image is cut out from the corrected image based on character data in a character image existing area given in advance for one of the images, and the image processing apparatus according to claim 17, further comprising: Since the character image obtained by the character extracting means is recognized and outputted as a character code, for example, when the present invention is applied to a FAX OCR device or the like, an automatic ordering and ordering operation based on the output result becomes possible. Business operations with high accuracy can be performed.

【0111】更に,請求項18に係る画像処理装置によ
れば,2つの画像の内の他の画像を,ファクシミリを介
して入力された画像としたので,例えばFAXOCR装
置等に適用した場合に,ファクシミリ入力を入力画像と
した自動的な受発注業務等が可能となり,精度の高い業
務運営が可能となる。
Further, according to the image processing apparatus of the eighteenth aspect, since the other of the two images is an image input via a facsimile, for example, when applied to a facsimile apparatus or the like, Automatic ordering and the like using facsimile input as an input image can be performed, and highly accurate business operation can be performed.

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

【図1】本発明の実施形態に係る画像処理装置の一例で
あるFAXOCR装置の構成図である。
FIG. 1 is a configuration diagram of a FAXOCR apparatus which is an example of an image processing apparatus according to an embodiment of the present invention.

【図2】本発明の画像処理方法及び画像処理装置が適用
される典型的システムの構成図である。
FIG. 2 is a configuration diagram of a typical system to which the image processing method and the image processing apparatus of the present invention are applied.

【図3】図2のシステムの処理の流れを概略的に示す説
明図である。
FIG. 3 is an explanatory diagram schematically showing a processing flow of the system of FIG. 2;

【図4】実施形態で用いる入力画像の説明図である。FIG. 4 is an explanatory diagram of an input image used in the embodiment.

【図5】実施形態で用いる参照画像の説明図である。FIG. 5 is an explanatory diagram of a reference image used in the embodiment.

【図6】タイミングマーク検出部におけるタイミングマ
ーク抽出処理の手順を示すフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of a timing mark extraction process in a timing mark detection unit.

【図7】タイミングマーク抽出のマスク処理で使用され
るマスクの説明図である。
FIG. 7 is an explanatory diagram of a mask used in mask processing of timing mark extraction.

【図8】タイミングマーク抽出結果を例示する説明図で
ある。
FIG. 8 is an explanatory diagram illustrating a timing mark extraction result.

【図9】マスク処理の説明図であり,マスク処理前の入
力画像を示す説明図である。
FIG. 9 is an explanatory diagram of a mask process, illustrating an input image before the mask process.

【図10】マスク処理の説明図であり,マスク処理後の
入力画像を示す説明図である。
FIG. 10 is an explanatory diagram of a mask process, and is an explanatory diagram showing an input image after the mask process.

【図11】図8のタイミングマーク抽出結果に対する第
1タイミングマーク削除部の処理を例示する説明図であ
る。
FIG. 11 is an explanatory diagram exemplifying a process of a first timing mark deletion unit for the timing mark extraction result of FIG. 8;

【図12】図11の第1タイミングマーク削除部の処理
結果に対する第2タイミングマーク削除部の処理を例示
する説明図である。
FIG. 12 is an explanatory diagram exemplifying a process of a second timing mark deletion unit with respect to a processing result of the first timing mark deletion unit of FIG. 11;

【図13】文字画像領域メモリ内に格納されているデー
タの概念説明図である。
FIG. 13 is a conceptual explanatory diagram of data stored in a character image area memory.

【図14】図14(a)は補正画像を,図14(b)は
文字画像切り出し結果を,図14(c)は文字画像領域
メモリ内のデータをそれぞれ示す説明図である。
14A is an explanatory diagram illustrating a corrected image, FIG. 14B is an explanatory diagram illustrating a character image cutout result, and FIG. 14C is an explanatory diagram illustrating data in a character image area memory.

【図15】図15(a)は文字画像切り出し結果を,図
15(b)は文字認識結果を,図15(c)は出力デー
タをそれぞれ示す説明図である。
15A is an explanatory diagram showing a character image cutout result, FIG. 15B is an explanatory diagram showing a character recognition result, and FIG. 15C is an explanatory diagram showing output data.

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

101 画像入力部 102 タイミングマーク検出部(対応点抽出手段) 103 個別伸縮率算出部(個別伸縮率算出手段) 104 第1タイミングマーク削除部(第1対応点除去
手段) 105 伸縮率算出部(伸縮率算出手段) 106 第2タイミングマーク削除部(第2対応点除去
手段) 107 画像変換部(変換式算出手段,変換式再算出手
段) 108 第3タイミングマーク削除部(第3対応点除去
手段) 109 文字切り出し部(文字切り出し手段) 110 文字認識部(文字認識手段) 111 画像バッファ 112 タイミングマークバッファ 113 伸縮率バッファ 114 文字画像領域メモリ
Reference Signs List 101 Image input unit 102 Timing mark detection unit (corresponding point extraction unit) 103 Individual expansion / contraction ratio calculation unit (Individual expansion / contraction ratio calculation unit) 104 First timing mark deletion unit (first corresponding point removal unit) 105 Expansion / contraction ratio calculation unit (Extension / contraction) Rate calculating means) 106 second timing mark deleting unit (second corresponding point removing means) 107 image converting unit (conversion formula calculating means, conversion formula recalculating means) 108 third timing mark deleting unit (third corresponding point removing means) 109 Character extraction unit (character extraction unit) 110 Character recognition unit (character recognition unit) 111 Image buffer 112 Timing mark buffer 113 Expansion / contraction ratio buffer 114 Character image area memory

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 2つの画像間で複数の対応点を抽出し,
抽出された対応点のずれを用いて前記2つの画像間の変
換式を算出する画像処理方法において,前記2つの画像
間で複数の対応点を抽出する対応点抽出ステップと,複
数の対応点のグループ毎に前記2つの画像間の個別伸縮
率を算出する個別伸縮率算出ステップと,異常な個別伸
縮率が算出されるグループに含まれる場合の多い対応点
を,前記複数の対応点から削除する第1対応点除去ステ
ップと,前記第1対応点除去ステップの結果として残っ
た対応点を用いて,該対応点のずれにより前記2つの画
像間の変換式を算出する変換式算出ステップと,を有す
ることを特徴とする画像処理方法。
1. A method for extracting a plurality of corresponding points between two images,
An image processing method for calculating a conversion equation between the two images using a shift of the extracted corresponding points, a corresponding point extracting step of extracting a plurality of corresponding points between the two images, An individual expansion / contraction ratio calculating step for calculating an individual expansion / contraction ratio between the two images for each group; and a corresponding point which is often included in a group where an abnormal individual expansion / contraction ratio is calculated is deleted from the plurality of corresponding points. A first corresponding point removing step, and a conversion equation calculating step of calculating a conversion equation between the two images by using a corresponding point remaining as a result of the first corresponding point removing step, based on a shift of the corresponding point. An image processing method comprising:
【請求項2】 2つの画像間で複数の対応点を抽出し,
抽出された対応点のずれを用いて前記2つの画像間の変
換式を算出する画像処理方法において,前記2つの画像
間で複数の対応点を抽出する対応点抽出ステップと,抽
出された全ての対応点を用いて前記2つの画像間の伸縮
率を算出する伸縮率算出ステップと,複数の対応点のグ
ループ毎に前記2つの画像間の個別伸縮率を算出する個
別伸縮率算出ステップと,前記伸縮率に近い個別伸縮率
が算出される対応点のグループに含まれる場合の多い対
応点のみが残るよう,前記複数の対応点から除去する第
2対応点除去ステップと,前記第2対応点除去ステップ
の結果として残った対応点を用いて,該対応点のずれに
より前記2つの画像間の変換式を算出する変換式算出ス
テップと,を有することを特徴とする画像処理方法。
2. Extracting a plurality of corresponding points between two images,
An image processing method for calculating a conversion equation between the two images by using a shift of the extracted corresponding points; a corresponding point extracting step of extracting a plurality of corresponding points between the two images; An expansion / contraction ratio calculating step of calculating an expansion / contraction ratio between the two images using corresponding points; an individual expansion / contraction ratio calculating step of calculating an individual expansion / contraction ratio between the two images for each group of a plurality of corresponding points; A second corresponding point removing step of removing from the plurality of corresponding points so that only corresponding points that are often included in a group of corresponding points for which an individual expansion ratio close to the expansion ratio is calculated; Using a corresponding point remaining as a result of the step to calculate a conversion equation between the two images based on a shift of the corresponding point.
【請求項3】 2つの画像間で複数の対応点を抽出し,
抽出された対応点のずれを用いて前記2つの画像間の変
換式を算出する画像処理方法において,前記2つの画像
間で複数の対応点を抽出する対応点抽出ステップと,複
数の対応点のグループ毎に前記2つの画像間の個別伸縮
率を算出する個別伸縮率算出ステップと,異常な個別伸
縮率が算出されるグループに含まれる場合の多い対応点
を,前記複数の対応点から削除する第1対応点除去ステ
ップと,前記第1対応点除去ステップの結果として残っ
た全ての対応点を用いて前記2つの画像間の伸縮率を算
出する伸縮率算出ステップと,前記伸縮率に近い個別伸
縮率が算出される対応点のグループに含まれる場合の多
い対応点のみが残るよう,前記複数の対応点から除去す
る第2対応点除去ステップと,前記第2対応点除去ステ
ップの結果として残った対応点を用いて,該対応点のず
れにより前記2つの画像間の変換式を算出する変換式算
出ステップと,を有することを特徴とする画像処理方
法。
3. Extracting a plurality of corresponding points between two images,
An image processing method for calculating a conversion equation between the two images using a shift of the extracted corresponding points, a corresponding point extracting step of extracting a plurality of corresponding points between the two images, An individual expansion / contraction ratio calculating step for calculating an individual expansion / contraction ratio between the two images for each group; and a corresponding point which is often included in a group where an abnormal individual expansion / contraction ratio is calculated is deleted from the plurality of corresponding points. A first corresponding point removing step, a stretching ratio calculating step of calculating a stretching ratio between the two images by using all the corresponding points remaining as a result of the first corresponding point removing step, As a result of the second corresponding point removing step of removing from the plurality of corresponding points so that only corresponding points that are often included in the corresponding point group whose expansion ratio is calculated remain, Tsu by using the corresponding points, the image processing method characterized by having a conversion formula calculating a transformation equation between the displacement by the two corresponding points image.
【請求項4】 前記第1対応点除去ステップにおいて異
常な個別伸縮率を判定するためのしきい値,または,前
記第2対応点除去ステップにおいて伸縮率に対する個別
伸縮率の近さを判定するためのしきい値は,対応点間の
距離に応じて可変であることを特徴とする請求項1,2
または3記載の画像処理方法。
4. A threshold value for determining an abnormal individual expansion / contraction ratio in the first corresponding point removing step, or a threshold value for determining an individual expansion / contraction ratio close to the expansion / contraction ratio in the second corresponding point removing step. 3. The threshold value of (1) is variable according to the distance between corresponding points.
Or the image processing method according to 3.
【請求項5】 前記変換式算出ステップで算出された変
換式により得られる補正画像と前記2つの画像の内の一
の画像との間について,前記変換式算出ステップの時点
で残っている対応点の間の距離を算出し,距離の大きい
対応点を残っている対応点から除去する第3対応点除去
ステップと,前記第3対応点除去ステップの結果として
残った対応点を用いて,該対応点のずれにより前記補正
画像と前記一の画像間の変換式を算出する変換式再算出
ステップと,を有することを特徴とする請求項1,2,
3または4記載の画像処理方法。
5. A corresponding point remaining between the corrected image obtained by the conversion formula calculated in the conversion formula calculation step and one of the two images at the time of the conversion formula calculation step. A third corresponding point removing step of calculating a distance between the corresponding points and removing the corresponding point having a larger distance from the remaining corresponding points, and using the corresponding point remaining as a result of the third corresponding point removing step, A conversion formula recalculating step of calculating a conversion formula between the corrected image and the one image based on a point shift.
5. The image processing method according to 3 or 4.
【請求項6】 前記変換式再算出ステップ及び前記第3
対応点除去ステップは,前記第3対応点除去ステップに
おいて,対応点の間の距離の最大値または平均値が所定
のしきい値を越えている間,或いは,除去すべき対応点
が存在する間,繰り返し行われることを特徴とする請求
項5記載の画像処理方法。
6. The conversion formula recalculating step and the third step.
The corresponding point removing step is performed while the maximum value or the average value of the distances between the corresponding points exceeds a predetermined threshold value in the third corresponding point removing step, or while the corresponding point to be removed exists. 6. An image processing method according to claim 5, wherein the processing is repeatedly performed.
【請求項7】 前記対応点抽出ステップにより抽出され
る対応点は,補正用のタイミングマークであることを特
徴とする請求項1,2,3,4,5または6記載の画像
処理方法。
7. The image processing method according to claim 1, wherein the corresponding points extracted in the corresponding point extracting step are timing marks for correction.
【請求項8】 請求項1,2,3,4,5,6または7
記載の画像処理方法をコンピュータに実行させるための
プログラムとして記憶したことを特徴とするコンピュー
タにより読み取り可能な記憶媒体。
8. The method of claim 1, 2, 3, 4, 5, 6, or 7.
A computer-readable storage medium storing a program for causing a computer to execute the image processing method described above.
【請求項9】 2つの画像間で複数の対応点を抽出し,
抽出された対応点のずれを用いて前記2つの画像間の変
換式を算出して,前記2つの画像間で位置合わせを行う
画像処理装置において,前記2つの画像間で複数の対応
点を抽出する対応点抽出手段と,複数の対応点のグルー
プ毎に前記2つの画像間の個別伸縮率を算出する個別伸
縮率算出手段と,異常な個別伸縮率が算出されるグルー
プに含まれる場合の多い対応点を,前記複数の対応点か
ら削除する第1対応点除去手段と,前記第1対応点除去
手段の処理結果として残った対応点を用いて,該対応点
のずれにより前記2つの画像間の変換式を算出する変換
式算出手段と,を有することを特徴とする画像処理装
置。
9. Extracting a plurality of corresponding points between two images,
An image processing apparatus that calculates a conversion equation between the two images by using the shift of the extracted corresponding points and performs positioning between the two images, extracts a plurality of corresponding points between the two images. Corresponding point extraction means, individual expansion rate calculating means for calculating an individual expansion rate between the two images for each group of a plurality of corresponding points, and a group in which an abnormal individual expansion rate is calculated in many cases. Using a first corresponding point removing means for removing a corresponding point from the plurality of corresponding points, and a corresponding point remaining as a processing result of the first corresponding point removing means, a difference between the two images by a shift of the corresponding point. And a conversion formula calculating means for calculating the conversion formula.
【請求項10】 2つの画像間で複数の対応点を抽出
し,抽出された対応点のずれを用いて前記2つの画像間
の変換式を算出して,前記2つの画像間で位置合わせを
行う画像処理装置において,前記2つの画像間で複数の
対応点を抽出する対応点抽出手段と,抽出された全ての
対応点を用いて前記2つの画像間の伸縮率を算出する伸
縮率算出手段と,複数の対応点のグループ毎に前記2つ
の画像間の個別伸縮率を算出する個別伸縮率算出手段
と,前記伸縮率に近い個別伸縮率が算出される対応点の
グループに含まれる場合の多い対応点のみが残るよう,
前記複数の対応点から除去する第2対応点除去手段と,
前記第2対応点除去手段の処理結果として残った対応点
を用いて,該対応点のずれにより前記2つの画像間の変
換式を算出する変換式算出手段と,を有することを特徴
とする画像処理装置。
10. A method for extracting a plurality of corresponding points between two images, calculating a conversion formula between the two images using a shift of the extracted corresponding points, and performing positioning between the two images. A corresponding point extracting unit for extracting a plurality of corresponding points between the two images, and a scaling ratio calculating unit for calculating a scaling ratio between the two images using all the extracted corresponding points. And an individual expansion / contraction ratio calculating means for calculating an individual expansion / contraction ratio between the two images for each group of a plurality of corresponding points; So that only many corresponding points remain
Second corresponding point removing means for removing from the plurality of corresponding points;
Using a corresponding point remaining as a processing result of the second corresponding point removing means, a conversion formula calculating means for calculating a conversion formula between the two images based on a shift of the corresponding point. Processing equipment.
【請求項11】 2つの画像間で複数の対応点を抽出
し,抽出された対応点のずれを用いて前記2つの画像間
の変換式を算出して,前記2つの画像間で位置合わせを
行う画像処理装置において,前記2つの画像間で複数の
対応点を抽出する対応点抽出手段と,複数の対応点のグ
ループ毎に前記2つの画像間の個別伸縮率を算出する個
別伸縮率算出手段と,異常な個別伸縮率が算出されるグ
ループに含まれる場合の多い対応点を,前記複数の対応
点から削除する第1対応点除去手段と,前記第1対応点
除去手段の処理結果として残った全ての対応点を用いて
前記2つの画像間の伸縮率を算出する伸縮率算出手段
と,前記伸縮率に近い個別伸縮率が算出される対応点の
グループに含まれる場合の多い対応点のみが残るよう,
前記複数の対応点から除去する第2対応点除去手段と,
前記第2対応点除去手段の処理結果として残った対応点
を用いて,該対応点のずれにより前記2つの画像間の変
換式を算出する変換式算出手段と,を有することを特徴
とする画像処理装置。
11. A method for extracting a plurality of corresponding points between two images, calculating a conversion formula between the two images using a shift of the extracted corresponding points, and performing positioning between the two images. A corresponding point extracting means for extracting a plurality of corresponding points between the two images, and an individual stretching rate calculating means for calculating an individual stretching rate between the two images for each group of a plurality of corresponding points. And a first corresponding point removing unit that deletes a corresponding point that is often included in a group in which an abnormal individual expansion / contraction rate is calculated from the plurality of corresponding points, and remains as a processing result of the first corresponding point removing unit. Expansion / compression ratio calculating means for calculating the expansion / contraction ratio between the two images using all the corresponding points, and only corresponding points which are often included in a group of corresponding points for which individual expansion / contraction ratios close to the expansion / contraction ratio are calculated. So that
Second corresponding point removing means for removing from the plurality of corresponding points;
Using a corresponding point remaining as a processing result of the second corresponding point removing means, a conversion formula calculating means for calculating a conversion formula between the two images based on a shift of the corresponding point. Processing equipment.
【請求項12】 前記第1対応点除去手段において異常
な個別伸縮率を判定するためのしきい値,または,前記
第2対応点除去手段において伸縮率に対する個別伸縮率
の近さを判定するためのしきい値は,対応点間の距離に
応じて可変であることを特徴とする請求項9,10また
は11記載の画像処理装置。
12. A threshold value for judging an abnormal individual expansion / contraction ratio in the first corresponding point removing means, or a threshold value for judging the proximity of the individual expansion / contraction ratio to the expansion / contraction ratio in the second corresponding point removing means. 12. The image processing apparatus according to claim 9, wherein the threshold value is variable according to a distance between corresponding points.
【請求項13】 前記画像処理装置は,前記変換式算出
手段で算出された変換式により得られる補正画像と前記
2つの画像の内の一の画像との間について,前記変換式
算出手段の処理時点で残っている対応点の間の距離を算
出し,距離の大きい対応点を残っている対応点から除去
する第3対応点除去手段と,前記第3対応点除去手段の
処理結果として残った対応点を用いて,該対応点のずれ
により前記補正画像と前記一の画像間の変換式を算出す
る変換式再算出手段と,を有することを特徴とする請求
項9,10,11または12記載の画像処理装置。
13. The image processing apparatus according to claim 1, wherein the image processing apparatus performs processing of the conversion formula calculation unit between a corrected image obtained by the conversion formula calculated by the conversion formula calculation unit and one of the two images. A third corresponding point removing means for calculating the distance between the corresponding points remaining at the time and removing the corresponding points with a large distance from the remaining corresponding points, and a third corresponding point removing means remaining as a processing result. 13. A conversion formula recalculating means for calculating a conversion formula between the corrected image and the one image based on a shift of the corresponding point by using a corresponding point. The image processing apparatus according to any one of the preceding claims.
【請求項14】 前記変換式再算出手段及び前記第3対
応点除去手段における処理は,前記第3対応点除去手段
において,対応点の間の距離の最大値または平均値が所
定のしきい値を越えている間,或いは,除去すべき対応
点が存在する間,繰り返し行われることを特徴とする請
求項13記載の画像処理装置。
14. The processing in said conversion formula recalculating means and said third corresponding point removing means, wherein the maximum value or average value of the distance between corresponding points is determined by a predetermined threshold value in said third corresponding point removing means. 14. The image processing apparatus according to claim 13, wherein the processing is repeatedly performed while the number of times exceeds a predetermined time period or while a corresponding point to be removed exists.
【請求項15】 前記対応点抽出手段により抽出される
対応点は,補正用のタイミングマークであることを特徴
とする請求項9,10,11,12,13または14記
載の画像処理装置。
15. The image processing apparatus according to claim 9, wherein the corresponding points extracted by the corresponding point extracting means are timing marks for correction.
【請求項16】 前記画像処理装置は,前記変換式算出
手段または前記変換式再算出手段で算出された変換式に
より補正画像を生成し,前記2つの画像の内の一の画像
について予め与えられている文字画像存在領域の文字デ
ータに基づいて,該補正画像から文字画像を切り出す文
字切り出し手段を有することを特徴とする請求項9,1
0,11,12,13,14または15記載の画像処理
装置。
16. The image processing apparatus according to claim 1, wherein the image processing apparatus generates a corrected image based on the conversion formula calculated by the conversion formula calculation unit or the conversion formula recalculation unit, and the correction image is given in advance for one of the two images. And character extracting means for extracting a character image from the corrected image based on character data in the character image existing area.
The image processing apparatus according to 0, 11, 12, 13, 14, or 15.
【請求項17】 前記画像処理装置は,前記文字切り出
し手段により得られた文字画像を認識する文字認識手段
を有することを特徴とする請求項16記載の画像処理装
置。
17. The image processing apparatus according to claim 16, wherein said image processing apparatus has a character recognizing means for recognizing a character image obtained by said character extracting means.
【請求項18】 前記2つの画像の内の他の画像は,フ
ァクシミリを介して入力された画像であることを特徴と
する請求項9,10,11,12,13,14,15,
16または17記載の画像処理装置。
18. The method according to claim 9, wherein the other of the two images is an image input via facsimile.
18. The image processing device according to 16 or 17.
JP27383796A 1996-09-11 1996-10-16 Image processing method and image processing apparatus Expired - Lifetime JP3625245B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP27383796A JP3625245B2 (en) 1996-10-16 1996-10-16 Image processing method and image processing apparatus
US08/927,882 US6018593A (en) 1996-09-11 1997-09-11 Method and system for correcting image position based upon predetermined pattern portions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27383796A JP3625245B2 (en) 1996-10-16 1996-10-16 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
JPH10124685A true JPH10124685A (en) 1998-05-15
JP3625245B2 JP3625245B2 (en) 2005-03-02

Family

ID=17533244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27383796A Expired - Lifetime JP3625245B2 (en) 1996-09-11 1996-10-16 Image processing method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP3625245B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7027624B2 (en) 2001-03-29 2006-04-11 Nec Corporation Pattern collation device and pattern collating method thereof, and pattern collation program
US7110136B1 (en) 1999-11-22 2006-09-19 Sharp Kabushiki Kaisha Reading apparatus and data processing system
EP2105864A3 (en) * 2008-03-27 2010-11-10 Fujitsu Limited Authentication apparatus and authentication method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7110136B1 (en) 1999-11-22 2006-09-19 Sharp Kabushiki Kaisha Reading apparatus and data processing system
US7027624B2 (en) 2001-03-29 2006-04-11 Nec Corporation Pattern collation device and pattern collating method thereof, and pattern collation program
EP2105864A3 (en) * 2008-03-27 2010-11-10 Fujitsu Limited Authentication apparatus and authentication method
US8520914B2 (en) 2008-03-27 2013-08-27 Fujitsu Limited Authentication apparatus and authentication method

Also Published As

Publication number Publication date
JP3625245B2 (en) 2005-03-02

Similar Documents

Publication Publication Date Title
US7889929B2 (en) Image processing apparatus, image processing method, computer readable medium storing program and data signal embedded with the program
US20030016287A1 (en) Image processing apparatus and method
JP3636809B2 (en) Image processing method
KR102471124B1 (en) System and method for detecting fiducial mark on the pcb
US7120316B2 (en) Image processing method and apparatus and storage medium
JPH10124685A (en) Image processing method and storage medium and image processor
JP3600380B2 (en) Image processing method and fax character recognition device
WO2021128242A1 (en) Picture target point correction method, apparatus and device, and storage medium
JP4120795B2 (en) Retouching extraction device and retouching extraction method
US20040146194A1 (en) Image matching method, image matching apparatus, and wafer processor
JP4651876B2 (en) PATTERN IDENTIFICATION DEVICE, PATTERN IDENTIFICATION METHOD, AND PATTERN IDENTIFICATION PROGRAM
JPH1040312A (en) Device for preparing slip picture
JPH09147109A (en) Method and device for specific mark detection
US6721660B2 (en) Road extraction from images using template matching
JP2000076378A (en) Character recognizing method
JP2988994B2 (en) Positioning device
JP2000311244A (en) Matching method for picture
JPH10208040A (en) Image processing method and recording medium
KR20090103475A (en) A Car information Reading System and A Car Information Reading Method Thereof
JP3311551B2 (en) Image data input processing method and apparatus
JP2001236464A (en) Method and device for character extraction and storage medium
JPH10340348A (en) Image aligning method, facsimile character recognizing method and recording medium
JP2000251075A (en) Method and device for processing image and recording medium
KR101021144B1 (en) A Car information Reading System and A Car Information Reading Method Thereof
JP2941322B2 (en) Drawing processing equipment

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040907

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041102

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041126

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 9

EXPY Cancellation because of completion of term