JP2008250425A - Business form processor - Google Patents
Business form processor Download PDFInfo
- Publication number
- JP2008250425A JP2008250425A JP2007087946A JP2007087946A JP2008250425A JP 2008250425 A JP2008250425 A JP 2008250425A JP 2007087946 A JP2007087946 A JP 2007087946A JP 2007087946 A JP2007087946 A JP 2007087946A JP 2008250425 A JP2008250425 A JP 2008250425A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- ruled line
- feature information
- unit
- image
- 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
Links
Images
Abstract
Description
本発明は、罫線を有する帳票のイメージデータから罫線パタンを抽出し、抽出した罫線パタンに基づいて帳票形式の識別を行う帳票処理装置に関する。 The present invention relates to a form processing apparatus that extracts a ruled line pattern from image data of a form having a ruled line and identifies a form format based on the extracted ruled line pattern.
従来、金融機関等で導入されている罫線を有する帳票のイメージデータから罫線パタンを抽出し、抽出した罫線パタンに基づいて帳票形式を識別する帳票処理装置が知られている。例えば文献1に開示されているように、先ず、所定の帳票から抽出した罫線パタンの画像をN×Mのマトリクスで分割し、各分割領域内の罫線パタンから各罫線の特徴を抽出し、これらN×M個の罫線の特徴から成る帳票フォーマットである罫線特徴情報を生成する。そして、上記装置では、処理すべき帳票のイメージデータを受けると、同様の手順で予め帳票を識別するための帳票識別番号と対応させて記憶部に登録した複数の罫線特徴情報と、当該罫線特徴情報とを照合して、照合一致率が閾値以上の帳票識別番号を識別判定の結果として出力する。
しかしながら、帳票には、例えば税公金の帳票のように納入済通知書や原符、領収書などから構成されているため横に長く、スキャナの撮影領域内に帳票の全体が収まらないものがある。このような帳票をスキャナで読み取ると、読み取る毎にイメージデータに含まれる帳票領域のサイズが変動する。そのため、上記装置のように罫線パタンの画像をN×Mのマトリクスで分割してN×M個の罫線の特徴から成る罫線特徴情報を生成する装置では、帳票の全体が含まれないイメージデータの場合には、罫線パタンの分割寸法が変化するため、識別成功率が低くなる欠点があった。 However, there are some forms that are horizontally long because they are composed of delivery notices, original marks, receipts, etc., as in the case of tax public funds, and the entire form does not fit within the scanning area of the scanner. . When such a form is read by a scanner, the size of the form area included in the image data varies each time the form is read. Therefore, in an apparatus that generates ruled line feature information composed of N × M ruled line features by dividing a ruled line pattern image into an N × M matrix as in the above apparatus, image data that does not include the entire form is stored. In this case, the division size of the ruled line pattern is changed, so that the identification success rate is lowered.
以上の問題点に鑑み、本発明の目的は、罫線を有する帳票のイメージデータから罫線パタンを抽出し、抽出した罫線パタンに基づいて帳票形式を識別する帳票処理装置において、帳票の全体が含まれないイメージデータであっても帳票形式の識別性能を向上し得る帳票処理装置を提供することにある。 In view of the above problems, the object of the present invention is to extract a ruled line pattern from image data of a form having a ruled line, and to identify the form format based on the extracted ruled line pattern, including the entire form. An object of the present invention is to provide a form processing apparatus capable of improving the form-form identification performance even with no image data.
本発明は、以上の点を解決するために、次の構成を採用する。
本発明の帳票処理装置は、帳票の外形寸法によって影響を受ける特徴情報を生成する生成部を備える帳票処理装置において、帳票イメージデータから帳票全体のイメージが取得されているか否かを判定するはみ出し判定部と、帳票全体のイメージが取得されていないと判定すると、帳票イメージデータに所定寸法の補完イメージデータを付加して補完画像データを生成する画像補完処理部とを含み、該補完画像データを生成部に供給することを特徴とする。
The present invention adopts the following configuration in order to solve the above points.
The form processing apparatus according to the present invention is a protrusion determination that determines whether or not an image of the entire form is acquired from the form image data in the form processing apparatus including a generation unit that generates feature information influenced by the external dimensions of the form. A complementary image data processing unit for generating complementary image data by adding complementary image data of a predetermined size to the form image data when it is determined that an image of the entire form has not been acquired. It supplies to a part.
上記構成において、帳票処理装置は、帳票毎の特徴情報が登録されている特徴情報格納部と、生成された特徴情報と特徴情報格納部の登録特徴情報とを比較して帳票形式を判定する判定部と、を更に有することを特徴とする。 In the above configuration, the form processing apparatus determines the form format by comparing the feature information storage unit in which the feature information for each form is registered with the generated feature information and the registered feature information in the feature information storage unit. And a portion.
特徴情報は、帳票の罫線特徴情報であることを特徴とする。 The feature information is characterized by ruled line feature information of the form.
生成部は、罫線の設けられている帳票から取得した帳票イメージデータをN×Mのマトリクスで複数に分割し、各分割ブロック毎の罫線の特徴を示す罫線特徴情報を生成することを特徴とする。 The generation unit divides a form image data acquired from a form provided with ruled lines into a plurality of N × M matrices, and generates ruled line feature information indicating the characteristics of the ruled lines for each divided block. .
罫線特徴情報格納部の登録特徴情報は、はみ出し判定部及び画像補完処理部を介して得た補完画像データに基づいて生成されていることを特徴とする。 The registered feature information in the ruled line feature information storage unit is generated based on complementary image data obtained through the protrusion determination unit and the image complement processing unit.
補完画像データを罫線のみを示す罫線パタン画像に変換して生成部に供給する罫線パタン画像生成部と、を更に含むことを特徴とする。 It further includes a ruled line pattern image generation unit that converts the complementary image data into a ruled line pattern image showing only ruled lines and supplies the ruled line pattern image to the generation unit.
本発明によれば、罫線を有する帳票のイメージデータから罫線パタンを抽出し、抽出した罫線パタンに基づいて帳票形式を識別する帳票処理装置において、帳票の全体が含まれないイメージデータに画像データを補完するようにしたので、帳票形式を識別する場合における識別性能を向上することができる。 According to the present invention, in a form processing apparatus that extracts a ruled line pattern from image data of a form having a ruled line and identifies a form format based on the extracted ruled line pattern, image data is included in the image data that does not include the entire form. Since it complements, the identification performance in identifying a form format can be improved.
以下、本発明の実施形態について実施例を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail using examples.
<実施例の構成>
本発明の実施例の帳票処理装置100は、図1に示すように、ネットワーク10を介して画像読取装置200に接続されている。ここで、帳票処理装置100は、例えば金融機関に設置され、帳票1に記載されている罫線パタンに基づいて、帳票形式を識別する処理に用いられる。
<Configuration of Example>
A
画像読取装置200は、帳票1を光学的に読み取り、イメージデータとして出力する装置である。即ち、画像読取装置200は、帳票処理装置100から後述する画像要求信号を受けると、装置の図示しない読取部にセットされた帳票1を光学的に走査して、量子化された例えば白黒2値の電気信号から成るイメージデータを生成する。このイメージデータでは、帳票1の罫線及び文字などは黒ビット、帳票1の紙面部分は白ビットで表される。また、上記イメージデータでは、帳票1の領域を除く背景領域は黒ビットで表される。ここで、画像読取装置200は、例えばスタンド型スキャナである。そして、画像読取装置200で生成したイメージデータは、図示しない制御部の制御により、帳票処理装置100に送信される。
The
帳票処理装置100は、オペレータが帳票1のイメージデータから帳票1の帳票形式を登録及び識別するために操作する装置であり、ネットワーク10を介して画像読取装置200と接続されている通信部101と、装置全体を制御する制御部102と、一時記憶部103と、表示部104と、入力部105と、イメージデータ記憶部106と、はみ出し判定部107と、画像補完処理部108と、罫線パタン画像生成部109と、罫線特徴情報生成部110と、登録罫線特徴情報DB111と、登録罫線特徴情報管理部112と、帳票形式判定部113とを備える。
The
イメージデータ記憶部106は、画像読取装置200から取得したイメージデータを記憶する記憶部である。
The image
帳票処理装置100を操作するオペレータが入力部105に備えるキーボードを介して画像読取装置200にセットされた帳票1のイメージデータ読み取りを指示すると、制御部102は、画像要求信号を生成し、生成した画像要求信号を画像読取装置200に送信する。
When an operator operating the
制御部102は、上記画像要求信号の返答として、画像読取装置200からイメージデータを取得すると、取得したイメージデータをイメージデータ記憶部106に記憶する。そして、制御部102は、イメージデータを記憶すると、図示しないメモリの制御プログラムを実行し、オペレータに該イメージデータを参照させるためのイメージデータ表示画面を表示部104に備えるディスプレイに表示させる。
When the
帳票処理装置100を操作するオペレータが上記イメージデータ表示画面に表示された帳票1が登録用帳票の場合、このイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の登録を指示すると、制御部102は、図示しないメモリの制御プログラムを実行し、オペレータに帳票1を識別するための帳票識別番号を入力させるための帳票識別番号入力指示画面を表示部104に備えるディスプレイに表示させる。
When the operator who operates the
そして、オペレータが、帳票処理装置100の表示部104に表示された帳票識別番号入力指示画面を参照し、帳票1を識別するための帳票識別番号を入力部105に備えるキーボードから入力して該帳票識別番号入力指示画面上の例えば「登録」ボタンを押下すると、制御部102は、取得した帳票識別番号を一時記憶部103に記憶すると共に、はみ出し判定部107に登録用の帳票1のイメージデータのはみ出し判定を指示する。本実施例では、オペレータが登録時に帳票1を識別するための帳票識別番号を入力部105を介して入力するようにしたが、登録用の帳票1自体に予め帳票識別番号(帳票IDなど)が付与されていて図示しない帳票識別部が帳票1の形式の識別を自動的に行うようにしてもよい。
The operator then refers to the form identification number input instruction screen displayed on the
一方、帳票処理装置100を操作するオペレータが上記イメージデータ表示画面に表示された処理対象としての識別用の帳票1のイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の判定を指示すると、制御部102は、はみ出し判定部107に識別用の帳票1のイメージデータのはみ出し判定を指示する。
On the other hand, an operator who operates the
はみ出し判定部107は、イメージデータに含まれる帳票の領域から、画像読取装置200における帳票1の読み取りにおいて、この帳票1の全体が図2に示すように、装置の撮影領域内に収まらずにはみ出していたか否かを判定する判定部である。即ち、はみ出し判定部107は、はみ出し判定の指示を受けると、一時記憶部103で保持するイメージデータを走査して、図3に示すように、イメージデータの画像端に白画素が存在すると、はみ出し有りと判定する。はみ出し判定部107がはみ出し有りと判定すると、制御部102は、画像補完処理部108に画像補完処理を指示する。
When the
一方、はみ出し判定部107は、イメージデータの画像端に白画素が存在しないと、はみ出し無しと判定する。はみ出し判定部107がはみ出し無しと判定すると、制御部102は、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、イメージデータ記憶部106で保持するイメージデータを転送する。
On the other hand, the
画像補完処理部108は、図2に示すように帳票1が長さ寸法が大きいためにはみ出し部分が生じ、これにより帳票1のサイズが不明な図3に示すような帳票途中領域のイメージデータが得られた場合、この帳票途中領域の長さ方向のサイズが予め設定した例えば図6に示すようなA4横のサイズ(210mm)になるよう、補完すべき補完領域を生成し、帳票途中領域にこの補完領域を合わせた補完画像データを生成する処理部である。即ち、画像補完処理部108は、画像補完処理の指示を受けると、先ず、一時記憶部103で保持するイメージデータを走査して、図4に示すような帳票途中領域を構成する4頂点「LT(LTx、LTy)、LB(LBx、LBy)、RT(RTx、RTy)、RB(RBx、RBy)」を取得すると共に、イメージデータの画像右端に白画素が存在するため、はみ出し方向=右を取得する。
As shown in FIG. 2, the image
次に、画像補完処理部108は、イメージデータの帳票途中領域の長さ方向のサイズを算出し、予め設定されたA4横のサイズ(210mm)と、該帳票途中領域の長さ方向のサイズとの差分により、補完領域の長さ方向のサイズを算出する。ここで、210mmは、例えば解像度240dpiの画像上では、210×240/25.4≒1984dotになるので、帳票途中領域の長さ方向のサイズが例えば1500dotであると、画像補完処理部108は、補完領域の長さ方向のサイズ:1984dot−1500dot=484dotであると算出する。
Next, the image
そして、画像補完処理部108は、補完領域の長さ寸法のサイズ(484dot)を算出すると、図5に示すような4頂点の座標「RT(RTx、RTy)、RB(RBx、RBy)、R´T(RTx+484、RTy)、R´B(RBx+484、RBy)」で構成される補完領域を生成する。ここで、補完領域は、全て白画素で構成される。
Then, when the image
画像補完処理部108は、上記補完領域を生成すると、イメージデータの帳票途中領域に該補完領域を合わせた図6に示すような補完画像データを生成する。ここで、補完画像データでは、帳票領域を除く背景部分は全て黒画素で構成される。
When the complement region is generated, the image
画像補完処理部108が補完画像データを生成すると、制御部102は、補完画像データを一時記憶部103に記憶する。そして、制御部102は、補完画像データを記憶すると、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、補完画像データを転送する。
When the image
罫線パタン画像生成部109は、イメージデータ記憶部106で保持するイメージデータ及び上記補完画像データのいずれかに含まれる文字等を除く罫線部分のみを抽出して罫線パタンのみを示す罫線パタン画像データを生成する生成部である。即ち、罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示と共に登録用の帳票1のイメージデータを受けると、このイメージデータを走査して罫線部分を抽出し、帳票1の罫線を黒ビット、帳票1の紙面部分を白ビット、帳票1の領域を除く背景を黒ビットで表す罫線パタン画像データを生成する。ここで、罫線パタン画像データの生成の詳細については、引用文献1に記載されているので、説明を割愛する。
The ruled line pattern
このように、罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示と共に補完画像データを受けると、この補完画像データを走査して罫線部分を抽出し、帳票1の罫線を黒ビット、帳票1の紙面部分を白ビット、帳票1の領域を除く背景を黒ビットで表す罫線パタン画像データを生成する
As described above, when the ruled line pattern
罫線パタン画像生成部109が罫線パタン画像データを生成すると、制御部102は、生成した罫線パタン画像データを一時記憶部103に記憶すると共に、罫線特徴情報生成部110に罫線特徴情報の生成を指示する。
When the ruled line pattern
罫線特徴情報生成部110は、上記罫線パタン画像データの帳票領域をN×Mのマトリクスで分割し、各分割領域毎の罫線パタンの特徴を示す罫線特徴を求め、これらN×M個の罫線特徴から成る罫線特徴情報を生成する生成部である。即ち、罫線特徴情報生成部110は、罫線特徴情報の生成の指示を受けると、一時記憶部103で保持する罫線パタン画像データの帳票領域を予め設定したN×Mのマトリクスに分割し、各分割領域毎の罫線パタンの特徴を示す罫線特徴(罫線の形状、本数、長さ(座標)など)を求め、これらN×M個の罫線特徴から成る罫線特徴情報を生成する。ここで、罫線特徴情報生成の詳細については、引用文献1に記載されているので、説明を割愛する。
The ruled line feature
罫線特徴情報生成部110が罫線特徴情報を生成すると、制御部102は、罫線特徴情報を一時記憶部103に記憶する。
When the ruled line feature
そして、制御部102は、罫線特徴情報を記憶すると、帳票形式の登録に基づく帳票処理を行っている場合には、登録罫線特徴情報管理部112に罫線特徴情報の登録を指示する。
Then, after storing the ruled line feature information, the
一方、制御部102は、帳票形式の判定に基づく帳票処理を行っている場合には、帳票形式判定部113に帳票形式の判定を指示する。
On the other hand, when the form processing based on the determination of the form format is performed, the
登録罫線特徴情報DB111は、各種登録用の帳票1のイメージデータから取得した罫線特徴情報に各種帳票を識別するためのオペレータが入力部105を介して入力した帳票識別番号を対応させて登録罫線特徴情報として記憶するデータベースである。
The registered ruled line feature information DB 111 associates the ruled line feature information acquired from the image data of the various registration forms 1 with the registered ruled line feature corresponding to the form identification number input via the
登録罫線特徴情報管理部112は、登録罫線特徴情報DB111で保持する登録罫線特徴情報を管理する管理部である。即ち、登録罫線特徴情報管理部112は、罫線特徴情報の登録の指示を受けると、一時記憶部103で保持する帳票識別番号と、罫線特徴情報とを対応付けた登録罫線特徴情報を登録罫線特徴情報DB111に新規登録する。
The registered ruled line feature
登録罫線特徴情報管理部112が登録罫線特徴情報を新規登録すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータにある帳票識別番号の罫線特徴情報を登録が完了したことを通知するための罫線特徴情報登録完了通知画面を表示部104に備えるディスプレイに表示させる。
When the registered ruled line feature
そして、オペレータは、帳票処理装置100の表示部104に表示された罫線特徴情報登録完了通知画面を参照すると、ある帳票識別番号の帳票形式の登録が完了したことを把握する。
Then, when the operator refers to the ruled line feature information registration completion notification screen displayed on the
帳票形式判定部113は、罫線特徴情報生成部110で生成した罫線特徴情報と、登録罫線特徴情報DB111で保持する登録罫線特徴情報とを照合して、予め設定した閾値以上の一致率になった登録罫線特徴情報の帳票識別番号を判定結果として出力する判定部である。即ち、帳票形式判定部113は、帳票形式の判定の指示を受けると、一時記憶部103で保持する罫線特徴情報と、登録罫線特徴情報DB111で保持する登録罫線特徴情報とを照合して照合一致率が予め設定した閾値以上である登録罫線特徴情報の帳票識別番号を判定結果として出力する。ここで、罫線特徴情報の照合の詳細については、引用文献1に記載されているので、説明を割愛する。
The form
一方、帳票形式判定部113は、罫線特徴情報と、登録罫線特徴情報DB111で保持する全ての登録罫線特徴情報の照合一致率が閾値より小さいと、識別不可という判定結果を出力する。
On the other hand, the form
帳票形式判定部113が帳票識別番号を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として該帳票識別番号を通知するための帳票識別番号通知画面を表示部104に備えるディスプレイに表示する。
When the form
オペレータは、帳票処理装置100の表示部104に表示された帳票識別番号通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる識別用の帳票1の帳票形式を把握する。
The operator grasps the form format of the identification form 1 included in the image data displayed on the
一方、帳票形式判定部113が認証不可を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として帳票1の認証が不可であったことを通知するための帳票形式認証不可通知画面を表示部104に備えるディスプレイに表示する。
On the other hand, when the form
オペレータは、帳票処理装置100の表示部104に表示された帳票形式認証不可通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる帳票1の帳票形式が認識不可であることを把握する。
The operator cannot recognize the form format of the form 1 included in the image data displayed on the
<実施例の動作>
次に、本発明の帳票処理装置100の実施例の動作を説明する。
<Operation of Example>
Next, the operation of the embodiment of the
先ず、登録用の帳票1のイメージデータに基づいて帳票形式の登録処理を行う場合の動作について、図7及び図8のフローチャートを用いて説明する。 First, the operation in the case of performing registration processing in the form format based on the image data of the registration form 1 will be described with reference to the flowcharts of FIGS.
帳票処理装置100を操作するオペレータが入力部105に備えるキーボードを介して画像読取装置200にセットされた罫線のみが印刷された登録用の帳票1のイメージデータ読み取りを指示すると、制御部102は、画像要求信号を生成し、生成した画像要求信号を画像読取装置200に送信する。
When an operator operating the
画像読取装置200は、帳票処理装置100から画像要求信号を受けると、装置の図示しない読取部にセットされた登録用の帳票1を光学的に走査して、帳票1の罫線部分が黒ビット、帳票1の紙面部分が白ビットで表される量子化された白黒2値の電気信号から成るイメージデータを生成する。そして、画像読取装置200で生成したイメージデータは、図示しない制御部の制御により、帳票処理装置100に送信される。
When receiving an image request signal from the
帳票処理装置100の制御部102は、通信部101を介して上記イメージデータを取得すると、取得した登録用の帳票1のイメージデータをイメージデータ記憶部106に記憶する(ステップS101)。そして、制御部102は、イメージデータを記憶すると、図示しないメモリの制御プログラムを実行し、オペレータに該イメージデータを参照させるためのイメージデータ表示画面を表示部104に備えるディスプレイに表示させる。
When the
帳票処理装置100を操作するオペレータが上記イメージデータ表示画面に表示された登録用の帳票1のイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の登録を指示すると、制御部102は、図示しないメモリの制御プログラムを実行し、オペレータに帳票1を識別するための帳票識別番号を入力させるための帳票識別番号入力指示画面を表示部104に備えるディスプレイに表示させる。
When an operator who operates the
そして、オペレータが、帳票処理装置100の表示部104に表示された帳票識別番号入力指示画面を参照し、帳票1を識別するための帳票識別番号を入力部105に備えるキーボードから入力して該帳票識別番号入力指示画面上の例えば「登録」ボタンを押下すると(ステップS102)、制御部102は、取得した帳票識別番号を一時記憶部103に記憶すると共に、はみ出し判定部107にイメージデータのはみ出し判定を指示する。本実施例では、オペレータが登録時に帳票1を識別するための帳票識別番号を入力部105を介して入力するようにしたが、登録用の帳票1自体に予め帳票識別番号(帳票IDなど)が付与されていて図示しない帳票識別部が帳票1の形式の識別を自動的に行うようにしてもよい。
The operator then refers to the form identification number input instruction screen displayed on the
はみ出し判定部107は、はみ出し判定の指示を受けると、一時記憶部103で保持するイメージデータを走査して、図3に示すように、イメージデータの画像端に白画素が存在すると(ステップS103)、はみ出し有と判定する(ステップS104)。はみ出し判定部107がはみ出し有と判定すると、制御部102は、画像補完処理部108に画像補完処理を指示する。
When the
一方、はみ出し判定部107は、イメージデータの画像端に白画素が存在しないと、はみ出し無と判定する。はみ出し判定部107がはみ出し無と判定すると(ステップS105)、制御部102は、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、イメージデータ記憶部106で保持するイメージデータを転送する。
On the other hand, the
罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示及びイメージデータを受けると、このイメージデータを走査して罫線部分を抽出し、罫線パタン画像データを生成する(ステップS106)。
Upon receiving an instruction to generate ruled line pattern image information and image data, the ruled line pattern
画像補完処理部108は、画像補完処理の指示を受けると、先ず、一時記憶部103で保持するイメージデータを走査して、図4に示すような帳票途中領域を構成する4頂点「LT(LTx、LTy)、LB(LBx、LBy)、RT(RTx、RTy)、RB(RBx、RBy)」を取得すると共に、イメージデータの画像右端に白画素が存在するため、はみ出し方向=右を取得する(ステップS107)。
Upon receiving an instruction for image complement processing, the image
次に、画像補完処理部108は、イメージデータの帳票途中領域の長さ方向のサイズを算出し、予め設定されたA4横のサイズ(210mm)と、該帳票途中領域の長さ方向のサイズとの差分により、この210mmは、例えば解像度240dpiの画像上では、210×240/25.4≒1984dotになるので、帳票途中領域の長さ方向のサイズが例えば1500dotであると、補完領域の長さ方向のサイズ:1984dot−1500dot=484dotであると算出する(ステップS108)。
Next, the image
そして、画像補完処理部108は、補完領域の長さ寸法のサイズ(484dot)を算出すると、図5に示すような4頂点の座標「RT(RTx、RTy)、RB(RBx、RBy)、R´T(RTx+484、RTy)、R´B(RBx+484、RBy)」で構成される補完領域を生成する(ステップS109)。ここで、補完領域は、全て白画素で構成される。
Then, when the image
画像補完処理部108は、上記補完領域を生成すると、イメージデータの帳票途中領域に該補完領域を合わせた図6に示すような補完画像データを生成する(ステップS110)。ここで、補完画像データでは、帳票領域を除く背景部分は全て黒画素で構成される。
When the complement region is generated, the image
画像補完処理部108が補完画像データを生成すると、制御部102は、補完画像データを一時記憶部103に記憶する。そして、制御部102は、補完画像データを記憶すると、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、補完画像データを転送する。
When the image
罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示及び補完画像データを受けると、補完画像データを走査して罫線部分を抽出し、罫線パタン画像データを生成する(ステップS111)。
Upon receiving an instruction to generate ruled line pattern image information and complementary image data, the ruled line pattern
罫線パタン画像生成部109が罫線パタン画像データを生成すると、制御部102は、生成した罫線パタン画像データを一時記憶部103に記憶する。そして、制御部102は、罫線パタン画像データを記憶すると、罫線特徴情報生成部110に罫線特徴情報の生成を指示すると共に、罫線パタン画像データを転送する。
When the ruled line pattern
罫線特徴情報生成部110は、罫線特徴情報の生成の指示及び罫線パタン画像データを受けると、罫線パタン画像データの帳票領域を予め設定したN×Mのマトリクスに分割し、各分割領域毎の罫線パタンの特徴を示す罫線特徴(罫線の形状、本数、長さ(座標)など)を求め、これらN×M個の罫線特徴から成る罫線特徴情報を生成する(ステップS112)。
Upon receiving the ruled line feature information generation instruction and the ruled line pattern image data, the ruled line feature
罫線特徴情報生成部110が罫線特徴情報を生成すると、制御部102は、罫線特徴情報を一時記憶部103に記憶する。
When the ruled line feature
そして、制御部102は、罫線特徴情報を記憶すると、帳票形式の登録に基づく帳票処理を行っている場合には、登録罫線特徴情報管理部112に罫線特徴情報の登録を指示する。
Then, after storing the ruled line feature information, the
登録罫線特徴情報管理部112は、罫線特徴情報の登録の指示を受けると、一時記憶部103で保持する帳票識別番号と、罫線特徴情報とを対応付けた登録罫線特徴情報を登録罫線特徴情報DB111に新規登録する(ステップS113)。
Upon receiving an instruction to register ruled line feature information, the registered ruled line feature
登録罫線特徴情報管理部112が登録罫線特徴情報を新規登録すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータにある帳票識別番号の罫線特徴情報を登録が完了したことを通知するための罫線特徴情報登録完了通知画面を表示部104に備えるディスプレイに表示させる(ステップS114)。
When the registered ruled line feature
そして、オペレータは、帳票処理装置100の表示部104に表示された罫線特徴情報登録完了通知画面を参照すると、ある帳票識別番号の罫線特徴情報の登録が完了したことを把握する。
Then, when the operator refers to the ruled line feature information registration completion notification screen displayed on the
次に、識別用の帳票1のイメージデータに基づいて帳票形式の認識処理を行う場合の動作について図9及び図10のフローチャートを用いて説明する。 Next, the operation in the case of performing a form format recognition process based on the image data of the identification form 1 will be described with reference to the flowcharts of FIGS.
実施例のステップS201の動作は、実施例のステップS101の動作と同じである。 The operation in step S201 in the embodiment is the same as the operation in step S101 in the embodiment.
帳票処理装置100を操作するオペレータが表示部104上のイメージデータ表示画面に表示された識別用の帳票1のイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の判定を指示すると(ステップS202)、制御部102は、はみ出し判定部107にイメージデータのはみ出し判定を指示する。
When an operator operating the
実施例のステップS203〜212の動作は、実施例のステップS103〜S112の動作と同じである。 The operations in steps S203 to S212 in the embodiment are the same as the operations in steps S103 to S112 in the embodiment.
帳票処理装置100の制御部102は、帳票形式の判定に基づく帳票処理を行っている場合には、帳票形式判定部113に帳票形式の判定を指示する。
The
帳票形式判定部113は、帳票形式の判定の指示を受けると、一時記憶部103で保持する罫線特徴情報と、登録罫線特徴情報DB111で保持する登録罫線特徴情報とを照合する(ステップS213)。そして、帳票形式判定部113は、上記罫線特徴情報と登録罫線特徴情報とを照合して照合一致率が予め設定した閾値以上である登録罫線特徴情報が存在すると(ステップS214)、その登録罫線特徴情報の帳票識別番号を判定結果として出力する。
When receiving the form format determination instruction, the form
帳票形式判定部113が帳票識別番号を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として該帳票識別番号を通知するための帳票識別番号通知画面を表示部104に備えるディスプレイに表示する(ステップS215)。
When the form
オペレータは、帳票処理装置100の表示部104に表示された帳票識別番号通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる識別用の帳票1の帳票形式を把握する。
The operator grasps the form format of the identification form 1 included in the image data displayed on the
一方、帳票形式判定部113は、罫線特徴情報と、登録罫線特徴情報DB111で保持する全ての登録罫線特徴情報の照合一致率が閾値より小さいと、識別不可という判定結果を出力する。
On the other hand, the form
帳票形式判定部113が認証不可を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として帳票1の認証が不可であったことを通知するための帳票形式認証不可通知画面を表示部104に備えるディスプレイに表示する(ステップS216)。
When the form
オペレータは、帳票処理装置100の表示部104に表示された帳票形式認証不可通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる識別用の帳票1の帳票形式が認識不可であることを把握する。
The operator cannot recognize the form format of the identification form 1 included in the image data displayed on the
<実施例の効果>
本発明の実施例の帳票処理装置100によると、画像読取装置200の撮影視野内に帳票の全体が収まらない帳票1のイメージデータの場合、画像補完処理部108において、イメージデータ内の帳票途中領域を予め設定した規定サイズの領域になるよう、補完すべき領域である補完領域を補完して規定サイズの補完帳票領域を有する補完画像データを生成するので、登録罫線特徴情報DB111に記憶する罫線特徴情報及び識別対象の罫線特徴情報の質を向上することができると共に、帳票形式の識別性能を向上することができる。
<Effect of Example>
According to the
尚、本実施例では、帳票処理装置100は、画像読取装置200で読み取った帳票1の全体が含まれないイメージデータに含まれる帳票途中領域に対し、画像補完処理部108において予め設定された規定サイズの領域になるよう補完処理を行っていたが、図11に示すように帳票処理装置100を操作するオペレータに罫線の特徴を認識処理すべき領域を入力部105を介して指定させ、指定に基づく領域に対して補完処理を行うという構成にしてもよい。上記構成により、罫線パタン画像生成部109は、認識処理すべき領域のみの罫線パタンを抽出することができるので、これにより帳票処理装置100の帳票形式の識別性能を向上することができる。
In the present exemplary embodiment, the
また、本実施例では、帳票処理装置100は、登録罫線特徴情報DB111に罫線特徴情報を登録するために、画像読取装置200からの登録用の帳票1のイメージデータの取得から実行したが、罫線特徴情報生成部110で罫線特徴情報を生成した後に該罫線特徴情報を装置本体のある記憶領域に保存し、その後、この記憶領域に保存された罫線特徴情報のみを読み込み、該罫線特徴情報を登録罫線特徴情報DB111に登録する構成にしてもよい。
In this embodiment, the
更に、本実施例では、イメージデータに帳票1の全体が含まれているか否かの判定として、帳票処理装置100のはみ出し判定部107がイメージデータの画像端に白画素が存在するか否かに基づいてはみ出しの有無の判定処理を行っていたが、該イメージデータ内に予め設定した閾値以上の白画素が存在すると、はみ出し有りと判定するという構成にしてもよい。
Furthermore, in this embodiment, as a determination of whether or not the entire form 1 is included in the image data, the
そして、本実施例の帳票処理装置100のはみ出し判定部107の上記構成に代え、帳票処理装置100を操作するオペレータが表示部104に備えるディスプレイに表示されたイメージデータを参照して、目視ではみ出し判定を行い、判定結果を入力部105を介して入力するという構成にしてもよい。
Then, instead of the above-described configuration of the
前記した実施例では、本発明の実施例の帳票処理装置を金融機関に導入した場合を例に説明したが、本発明は、罫線を有する帳票のイメージデータを罫線の特徴に基づいて識別する場合に適用できるので、金融機関での使用に限定されない。 In the above-described embodiment, the case where the form processing apparatus according to the embodiment of the present invention is introduced to a financial institution has been described as an example. However, the present invention recognizes the case where image data of a form having ruled lines is identified based on the characteristics of the ruled lines. Therefore, it is not limited to use in a financial institution.
1 帳票
10 ネットワーク
100 帳票処理装置
101 通信部
102 制御部
103 一時記憶部
104 表示部
105 入力部
106 イメージデータ記憶部
107 はみ出し判定部
108 画像補完処理部
109 罫線パタン画像生成部
110 罫線特徴情報生成部
111 登録罫線特徴情報DB
112 登録罫線特徴情報管理部
113 帳票形式判定部
200 画像読取装置
DESCRIPTION OF SYMBOLS 1 Form 10
112 registered ruled line feature
Claims (6)
前記帳票イメージデータから帳票全体のイメージが取得されているか否かを判定するはみ出し判定部と、
帳票全体のイメージが取得されていないと判定すると、前記帳票イメージデータに所定寸法の補完イメージデータを付加して補完画像データを生成する画像補完処理部とを含み、
該補完画像データを前記生成部に供給することを特徴とする帳票処理装置。 In a form processing apparatus comprising a generation unit that generates feature information that is affected by the external dimensions of the form,
A protrusion determination unit that determines whether an image of the entire form is acquired from the form image data;
When determining that the image of the entire form has not been acquired, an image complement processing unit that generates supplemental image data by adding supplemental image data of a predetermined size to the form image data,
A form processing apparatus, wherein the supplemental image data is supplied to the generation unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007087946A JP4840224B2 (en) | 2007-03-29 | 2007-03-29 | Form processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007087946A JP4840224B2 (en) | 2007-03-29 | 2007-03-29 | Form processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008250425A true JP2008250425A (en) | 2008-10-16 |
JP4840224B2 JP4840224B2 (en) | 2011-12-21 |
Family
ID=39975338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007087946A Active JP4840224B2 (en) | 2007-03-29 | 2007-03-29 | Form processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4840224B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011201100A (en) * | 2010-03-25 | 2011-10-13 | Dainippon Printing Co Ltd | Bankbook printing method and bankbook |
JP2012053519A (en) * | 2010-08-31 | 2012-03-15 | Toshiba Corp | Image processing apparatus and image processing system |
JP2015046027A (en) * | 2013-08-28 | 2015-03-12 | あいおいニッセイ同和損害保険株式会社 | Information acquisition system for insurance policy |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11259597A (en) * | 1998-03-12 | 1999-09-24 | Oki Electric Ind Co Ltd | Format recognition device and character reader |
JP2001325563A (en) * | 2000-03-10 | 2001-11-22 | Fujitsu Ltd | Device and method for image collation and image collation program |
JP2004178108A (en) * | 2002-11-25 | 2004-06-24 | Canon Inc | Slip recognizing device |
-
2007
- 2007-03-29 JP JP2007087946A patent/JP4840224B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11259597A (en) * | 1998-03-12 | 1999-09-24 | Oki Electric Ind Co Ltd | Format recognition device and character reader |
JP2001325563A (en) * | 2000-03-10 | 2001-11-22 | Fujitsu Ltd | Device and method for image collation and image collation program |
JP2004178108A (en) * | 2002-11-25 | 2004-06-24 | Canon Inc | Slip recognizing device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011201100A (en) * | 2010-03-25 | 2011-10-13 | Dainippon Printing Co Ltd | Bankbook printing method and bankbook |
JP2012053519A (en) * | 2010-08-31 | 2012-03-15 | Toshiba Corp | Image processing apparatus and image processing system |
JP2015046027A (en) * | 2013-08-28 | 2015-03-12 | あいおいニッセイ同和損害保険株式会社 | Information acquisition system for insurance policy |
Also Published As
Publication number | Publication date |
---|---|
JP4840224B2 (en) | 2011-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7551753B2 (en) | Image processing apparatus and method therefor | |
US8094946B2 (en) | Image processing system and image tampering assessment method and control program of the same | |
US9159143B2 (en) | Apparatus and method for generating character collage message | |
JP2012199901A (en) | Document modification detecting method by character comparison using character shape feature | |
JP2010028309A (en) | Apparatus, method, program, and storage medium | |
JP4840224B2 (en) | Form processing device | |
EP1770977A2 (en) | Image processing apparatus, control method therefor, computer program, and computer-readable storage medium for encrypting data. | |
JP2019159633A (en) | Image processing apparatus, image processing method, and image processing program | |
JP4557875B2 (en) | Image processing method and apparatus | |
JP2014107685A (en) | Image processing apparatus | |
US11430235B2 (en) | Image processing apparatus, image processing method, and storage medium | |
US7911649B2 (en) | Image outputting apparatus and control method thereof with output of color copy despite setting for black and white copy | |
US9756220B2 (en) | Image data generating apparatus, printer, image data generating method, and non-transitory computer readable medium for extracting one or more pixels corresponding to a metallic-color region | |
JP2005184685A (en) | Image processing device, program, and recording medium | |
JP3019086B1 (en) | Image processing apparatus, image processing method, and image forming apparatus | |
JP4182998B2 (en) | Image generating apparatus, image reading apparatus, unauthorized duplication prevention system, program, and output medium manufacturing method | |
JP4281236B2 (en) | Image recognition apparatus, image recognition method, and computer-readable recording medium storing image recognition program | |
JP2006259795A (en) | Business form for character recognition, and character recognition device, program, and method | |
WO2020199393A1 (en) | Anti-counterfeiting system and anti-counterfeiting method | |
JP2020087320A (en) | Image processing apparatus, image processing method and program | |
JP2008158587A (en) | Document management device, program, and document management system | |
US20230050492A1 (en) | Graphical watermark, method and apparatus for generating same, and method and apparatus for authenticating same | |
US20240146860A1 (en) | Image processing apparatus capable of preventing failure in decoding additional information embedded in print, method of controlling image processing apparatus, and storage medium | |
CN109685708B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
US20220301326A1 (en) | Ocr target area position acquisition system, computer-readable non-transitory recording medium storing ocr target area position acquisition program, hard copy, hard copy generation system, and computer-readable non-transitory recording medium storing hard copy generation program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091214 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110524 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110722 |
|
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: 20110906 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110919 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4840224 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141014 Year of fee payment: 3 |