JP2008250425A - Business form processor - Google Patents

Business form processor Download PDF

Info

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
Application number
JP2007087946A
Other languages
Japanese (ja)
Other versions
JP4840224B2 (en
Inventor
Katsuhiko Aoki
勝彦 青木
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2007087946A priority Critical patent/JP4840224B2/en
Publication of JP2008250425A publication Critical patent/JP2008250425A/en
Application granted granted Critical
Publication of JP4840224B2 publication Critical patent/JP4840224B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a business form processor capable of improving the identifying performance of the business form format even if the image data excluding an overall business form in the business form processor for extracting a ruled line pattern from the image data of a business form having a ruled line, and for identifying a business form format based on the extracted ruled line pattern. <P>SOLUTION: A business form processor equipped with a generation part for generating characteristic information to be affected by the outer shape dimension of a business form is provided with: a protrusion decision part for deciding whether or not the image of a whole business form has been acquired from the business form image data; and an image complementary processing part for, when it is decided that the image of the whole business form has not been acquired, generating complementary image data by adding complementary image data of predetermined dimension to the business form image data, and for supplying the complementary image data to a generation part. <P>COPYRIGHT: (C)2009,JPO&INPIT

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個の罫線の特徴から成る帳票フォーマットである罫線特徴情報を生成する。そして、上記装置では、処理すべき帳票のイメージデータを受けると、同様の手順で予め帳票を識別するための帳票識別番号と対応させて記憶部に登録した複数の罫線特徴情報と、当該罫線特徴情報とを照合して、照合一致率が閾値以上の帳票識別番号を識別判定の結果として出力する。
特開平9−259221号公報
2. Description of the Related Art Conventionally, a form processing apparatus that extracts a ruled line pattern from image data of a form having a ruled line introduced by a financial institution and identifies the form format based on the extracted ruled line pattern is known. For example, as disclosed in Document 1, first, an image of a ruled line pattern extracted from a predetermined form is divided by an N × M matrix, and features of each ruled line are extracted from the ruled line patterns in each divided region. Ruled line feature information, which is a form format composed of N × M ruled line features, is generated. Then, when receiving the image data of the form to be processed in the apparatus, a plurality of ruled line feature information registered in the storage unit in association with the form identification number for identifying the form in advance in the same procedure, and the ruled line feature Information is collated and a form identification number having a collation matching rate equal to or higher than a threshold is output as a result of identification determination.
Japanese Patent Laid-Open No. 9-259221

しかしながら、帳票には、例えば税公金の帳票のように納入済通知書や原符、領収書などから構成されているため横に長く、スキャナの撮影領域内に帳票の全体が収まらないものがある。このような帳票をスキャナで読み取ると、読み取る毎にイメージデータに含まれる帳票領域のサイズが変動する。そのため、上記装置のように罫線パタンの画像を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 form processing apparatus 100 according to an embodiment of the present invention is connected to an image reading apparatus 200 via a network 10 as shown in FIG. Here, the form processing apparatus 100 is installed in a financial institution, for example, and is used for the process of identifying the form format based on the ruled line pattern described in the form 1.

画像読取装置200は、帳票1を光学的に読み取り、イメージデータとして出力する装置である。即ち、画像読取装置200は、帳票処理装置100から後述する画像要求信号を受けると、装置の図示しない読取部にセットされた帳票1を光学的に走査して、量子化された例えば白黒2値の電気信号から成るイメージデータを生成する。このイメージデータでは、帳票1の罫線及び文字などは黒ビット、帳票1の紙面部分は白ビットで表される。また、上記イメージデータでは、帳票1の領域を除く背景領域は黒ビットで表される。ここで、画像読取装置200は、例えばスタンド型スキャナである。そして、画像読取装置200で生成したイメージデータは、図示しない制御部の制御により、帳票処理装置100に送信される。   The image reading apparatus 200 is an apparatus that optically reads the form 1 and outputs it as image data. In other words, when the image reading apparatus 200 receives an image request signal (to be described later) from the form processing apparatus 100, the image reading apparatus 200 optically scans the form 1 set in a reading unit (not shown) of the apparatus to quantize, for example, black and white binary. The image data consisting of the electrical signal is generated. In this image data, the ruled lines and characters of the form 1 are represented by black bits, and the paper portion of the form 1 is represented by white bits. In the image data, the background area excluding the area of the form 1 is represented by black bits. Here, the image reading apparatus 200 is, for example, a stand type scanner. The image data generated by the image reading apparatus 200 is transmitted to the form processing apparatus 100 under the control of a control unit (not shown).

帳票処理装置100は、オペレータが帳票1のイメージデータから帳票1の帳票形式を登録及び識別するために操作する装置であり、ネットワーク10を介して画像読取装置200と接続されている通信部101と、装置全体を制御する制御部102と、一時記憶部103と、表示部104と、入力部105と、イメージデータ記憶部106と、はみ出し判定部107と、画像補完処理部108と、罫線パタン画像生成部109と、罫線特徴情報生成部110と、登録罫線特徴情報DB111と、登録罫線特徴情報管理部112と、帳票形式判定部113とを備える。   The form processing apparatus 100 is an apparatus operated by an operator for registering and identifying the form format of the form 1 from the image data of the form 1, and the communication unit 101 connected to the image reading apparatus 200 via the network 10. The control unit 102 that controls the entire apparatus, the temporary storage unit 103, the display unit 104, the input unit 105, the image data storage unit 106, the protrusion determination unit 107, the image complement processing unit 108, and a ruled line pattern image A generation unit 109, a ruled line feature information generation unit 110, a registered ruled line feature information DB 111, a registered ruled line feature information management unit 112, and a form format determination unit 113 are provided.

イメージデータ記憶部106は、画像読取装置200から取得したイメージデータを記憶する記憶部である。   The image data storage unit 106 is a storage unit that stores image data acquired from the image reading apparatus 200.

帳票処理装置100を操作するオペレータが入力部105に備えるキーボードを介して画像読取装置200にセットされた帳票1のイメージデータ読み取りを指示すると、制御部102は、画像要求信号を生成し、生成した画像要求信号を画像読取装置200に送信する。   When an operator operating the form processing apparatus 100 instructs to read the image data of the form 1 set in the image reading apparatus 200 via the keyboard provided in the input unit 105, the control unit 102 generates and generates an image request signal. An image request signal is transmitted to the image reading apparatus 200.

制御部102は、上記画像要求信号の返答として、画像読取装置200からイメージデータを取得すると、取得したイメージデータをイメージデータ記憶部106に記憶する。そして、制御部102は、イメージデータを記憶すると、図示しないメモリの制御プログラムを実行し、オペレータに該イメージデータを参照させるためのイメージデータ表示画面を表示部104に備えるディスプレイに表示させる。   When the control unit 102 acquires image data from the image reading apparatus 200 as a response to the image request signal, the control unit 102 stores the acquired image data in the image data storage unit 106. Then, when the image data is stored, the control unit 102 executes a control program in a memory (not shown), and displays an image data display screen for allowing the operator to refer to the image data on a display provided in the display unit 104.

帳票処理装置100を操作するオペレータが上記イメージデータ表示画面に表示された帳票1が登録用帳票の場合、このイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の登録を指示すると、制御部102は、図示しないメモリの制御プログラムを実行し、オペレータに帳票1を識別するための帳票識別番号を入力させるための帳票識別番号入力指示画面を表示部104に備えるディスプレイに表示させる。   When the operator who operates the form processing apparatus 100 indicates that the form 1 displayed on the image data display screen is a registration form, the registration of the form format is instructed to the image data via the keyboard provided in the input unit 105. The control unit 102 executes a memory control program (not shown) to display a form identification number input instruction screen for allowing the operator to input a form identification number for identifying the form 1 on a display provided in the display unit 104.

そして、オペレータが、帳票処理装置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 display unit 104 of the form processing apparatus 100 and inputs the form identification number for identifying the form 1 from the keyboard provided in the input unit 105. When the “registration” button, for example, on the identification number input instruction screen is pressed, the control unit 102 stores the acquired form identification number in the temporary storage unit 103 and also stores the image data of the registration form 1 in the protrusion determination unit 107. Instructs the protrusion judgment. In this embodiment, the operator inputs the form identification number for identifying the form 1 at the time of registration via the input unit 105. However, a form identification number (form ID etc.) is previously stored in the registration form 1 itself. A form identification unit (not shown) that is provided may automatically identify the form 1.

一方、帳票処理装置100を操作するオペレータが上記イメージデータ表示画面に表示された処理対象としての識別用の帳票1のイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の判定を指示すると、制御部102は、はみ出し判定部107に識別用の帳票1のイメージデータのはみ出し判定を指示する。   On the other hand, an operator who operates the form processing apparatus 100 issues an instruction to determine the form format of the image data of the identification form 1 as the processing target displayed on the image data display screen via the keyboard provided in the input unit 105. Then, the control unit 102 instructs the protrusion determination unit 107 to determine whether the image data of the identification form 1 is protruding.

はみ出し判定部107は、イメージデータに含まれる帳票の領域から、画像読取装置200における帳票1の読み取りにおいて、この帳票1の全体が図2に示すように、装置の撮影領域内に収まらずにはみ出していたか否かを判定する判定部である。即ち、はみ出し判定部107は、はみ出し判定の指示を受けると、一時記憶部103で保持するイメージデータを走査して、図3に示すように、イメージデータの画像端に白画素が存在すると、はみ出し有りと判定する。はみ出し判定部107がはみ出し有りと判定すると、制御部102は、画像補完処理部108に画像補完処理を指示する。   When the image reading apparatus 200 reads the form 1 from the form area included in the image data, the protrusion determination unit 107 does not fit within the photographing area of the apparatus as shown in FIG. It is the determination part which determines whether it had been. In other words, when the protrusion determination unit 107 receives an instruction to determine the protrusion, it scans the image data held in the temporary storage unit 103, and if a white pixel exists at the image end of the image data as shown in FIG. Judge that there is. When the protrusion determination unit 107 determines that the protrusion is present, the control unit 102 instructs the image complement processing unit 108 to perform image complement processing.

一方、はみ出し判定部107は、イメージデータの画像端に白画素が存在しないと、はみ出し無しと判定する。はみ出し判定部107がはみ出し無しと判定すると、制御部102は、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、イメージデータ記憶部106で保持するイメージデータを転送する。   On the other hand, the protrusion determination unit 107 determines that there is no protrusion when there is no white pixel at the image end of the image data. When the protrusion determination unit 107 determines that there is no protrusion, the control unit 102 instructs the ruled line pattern image generation unit 109 to generate a ruled line pattern image and transfers the image data held in the image data storage unit 106.

画像補完処理部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 complement processing unit 108 has a protruding portion due to the large length of the form 1, and image data in the middle part of the form as shown in FIG. If it is obtained, a complementary area to be complemented is generated so that the size in the length direction of the middle part of the form becomes a preset size (210 mm) as shown in FIG. It is a processing unit that generates complementary image data combining the complementary regions. That is, when receiving the instruction for the image complementing process, the image complementing processing unit 108 first scans the image data held in the temporary storage unit 103, and the four vertices “LT” constituting the middle part of the form as shown in FIG. (LTx, LTy), LB (LBx, LBy), RT (RTx, RTy), and RB (RBx, RBy) ”, and since a white pixel exists at the right end of the image data, the protruding direction is set to the right. get.

次に、画像補完処理部108は、イメージデータの帳票途中領域の長さ方向のサイズを算出し、予め設定されたA4横のサイズ(210mm)と、該帳票途中領域の長さ方向のサイズとの差分により、補完領域の長さ方向のサイズを算出する。ここで、210mmは、例えば解像度240dpiの画像上では、210×240/25.4≒1984dotになるので、帳票途中領域の長さ方向のサイズが例えば1500dotであると、画像補完処理部108は、補完領域の長さ方向のサイズ:1984dot−1500dot=484dotであると算出する。   Next, the image complementation processing unit 108 calculates the size in the length direction of the mid-form of the image data, and sets the A4 horizontal size (210 mm) set in advance and the size in the length direction of the mid-form area. The size in the length direction of the complementary region is calculated from the difference between the two. Here, 210 mm is, for example, 210 × 240 / 25.4≈1984 dots on an image having a resolution of 240 dpi. Therefore, if the size in the length direction of the intermediate area of the form is, for example, 1500 dots, the image complement processing unit 108 The size of the complementary region in the length direction is calculated to be 1984 dots-1500 dots = 484 dots.

そして、画像補完処理部108は、補完領域の長さ寸法のサイズ(484dot)を算出すると、図5に示すような4頂点の座標「RT(RTx、RTy)、RB(RBx、RBy)、R´T(RTx+484、RTy)、R´B(RBx+484、RBy)」で構成される補完領域を生成する。ここで、補完領域は、全て白画素で構成される。   Then, when the image complement processing unit 108 calculates the size (484 dots) of the length dimension of the complement region, the coordinates of four vertices “RT (RTx, RTy), RB (RBx, RBy), R as shown in FIG. A complementary region constituted by “T (RTx + 484, RTy), R′B (RBx + 484, RBy)” is generated. Here, the complement region is entirely composed of white pixels.

画像補完処理部108は、上記補完領域を生成すると、イメージデータの帳票途中領域に該補完領域を合わせた図6に示すような補完画像データを生成する。ここで、補完画像データでは、帳票領域を除く背景部分は全て黒画素で構成される。   When the complement region is generated, the image complement processing unit 108 generates complement image data as shown in FIG. 6 in which the complement region is combined with the mid-form region of the image data. Here, in the complementary image data, the background part excluding the form area is composed entirely of black pixels.

画像補完処理部108が補完画像データを生成すると、制御部102は、補完画像データを一時記憶部103に記憶する。そして、制御部102は、補完画像データを記憶すると、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、補完画像データを転送する。   When the image complement processing unit 108 generates complement image data, the control unit 102 stores the complement image data in the temporary storage unit 103. Then, after storing the complementary image data, the control unit 102 instructs the ruled line pattern image generation unit 109 to generate a ruled line pattern image and transfers the complementary image data.

罫線パタン画像生成部109は、イメージデータ記憶部106で保持するイメージデータ及び上記補完画像データのいずれかに含まれる文字等を除く罫線部分のみを抽出して罫線パタンのみを示す罫線パタン画像データを生成する生成部である。即ち、罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示と共に登録用の帳票1のイメージデータを受けると、このイメージデータを走査して罫線部分を抽出し、帳票1の罫線を黒ビット、帳票1の紙面部分を白ビット、帳票1の領域を除く背景を黒ビットで表す罫線パタン画像データを生成する。ここで、罫線パタン画像データの生成の詳細については、引用文献1に記載されているので、説明を割愛する。   The ruled line pattern image generation unit 109 extracts ruled line pattern image data indicating only the ruled line pattern by extracting only the ruled line part excluding characters included in either the image data stored in the image data storage unit 106 or the complementary image data. It is the production | generation part to produce | generate. That is, when the ruled line pattern image generation unit 109 receives the image data of the registration form 1 together with an instruction to generate the ruled line pattern image information, the ruled line pattern image generation unit 109 scans the image data to extract the ruled line part, Ruled line pattern image data is generated in which a bit, a paper portion of the form 1 is represented by a white bit, and a background excluding the area of the form 1 is represented by a black bit. Here, details of generation of ruled line pattern image data are described in the cited document 1, and thus description thereof is omitted.

このように、罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示と共に補完画像データを受けると、この補完画像データを走査して罫線部分を抽出し、帳票1の罫線を黒ビット、帳票1の紙面部分を白ビット、帳票1の領域を除く背景を黒ビットで表す罫線パタン画像データを生成する   As described above, when the ruled line pattern image generation unit 109 receives the complementary image data together with the generation instruction of the ruled line pattern image information, the ruled line pattern image generation unit 109 scans the complementary image data to extract the ruled line part, Generate ruled line pattern image data in which the paper portion of the form 1 is represented by white bits and the background excluding the area of the form 1 is represented by black bits.

罫線パタン画像生成部109が罫線パタン画像データを生成すると、制御部102は、生成した罫線パタン画像データを一時記憶部103に記憶すると共に、罫線特徴情報生成部110に罫線特徴情報の生成を指示する。   When the ruled line pattern image generation unit 109 generates ruled line pattern image data, the control unit 102 stores the generated ruled line pattern image data in the temporary storage unit 103 and instructs the ruled line feature information generation unit 110 to generate ruled line feature information. To do.

罫線特徴情報生成部110は、上記罫線パタン画像データの帳票領域をN×Mのマトリクスで分割し、各分割領域毎の罫線パタンの特徴を示す罫線特徴を求め、これらN×M個の罫線特徴から成る罫線特徴情報を生成する生成部である。即ち、罫線特徴情報生成部110は、罫線特徴情報の生成の指示を受けると、一時記憶部103で保持する罫線パタン画像データの帳票領域を予め設定したN×Mのマトリクスに分割し、各分割領域毎の罫線パタンの特徴を示す罫線特徴(罫線の形状、本数、長さ(座標)など)を求め、これらN×M個の罫線特徴から成る罫線特徴情報を生成する。ここで、罫線特徴情報生成の詳細については、引用文献1に記載されているので、説明を割愛する。   The ruled line feature information generating unit 110 divides the form area of the ruled line pattern image data into an N × M matrix, obtains ruled line features indicating the characteristics of the ruled line pattern for each divided area, and these N × M ruled line features. It is a production | generation part which produces | generates the ruled line characteristic information which consists of. That is, when the ruled line feature information generation unit 110 receives an instruction to generate ruled line feature information, the ruled line feature information generation unit 110 divides the form area of the ruled line pattern image data held in the temporary storage unit 103 into preset N × M matrices. Ruled line features (ruled line shape, number of lines, length (coordinates), etc.) indicating the characteristic of the ruled line pattern for each region are obtained, and ruled line feature information including these N × M ruled line features is generated. Here, the details of the ruled line feature information generation are described in the cited document 1, and thus the description thereof is omitted.

罫線特徴情報生成部110が罫線特徴情報を生成すると、制御部102は、罫線特徴情報を一時記憶部103に記憶する。   When the ruled line feature information generation unit 110 generates the ruled line feature information, the control unit 102 stores the ruled line feature information in the temporary storage unit 103.

そして、制御部102は、罫線特徴情報を記憶すると、帳票形式の登録に基づく帳票処理を行っている場合には、登録罫線特徴情報管理部112に罫線特徴情報の登録を指示する。   Then, after storing the ruled line feature information, the control unit 102 instructs the registered ruled line feature information management unit 112 to register the ruled line feature information when performing the form processing based on the registration of the form format.

一方、制御部102は、帳票形式の判定に基づく帳票処理を行っている場合には、帳票形式判定部113に帳票形式の判定を指示する。   On the other hand, when the form processing based on the determination of the form format is performed, the control unit 102 instructs the form format determination unit 113 to determine the form format.

登録罫線特徴情報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 input unit 105 by the operator for identifying various forms. It is a database that is stored as information.

登録罫線特徴情報管理部112は、登録罫線特徴情報DB111で保持する登録罫線特徴情報を管理する管理部である。即ち、登録罫線特徴情報管理部112は、罫線特徴情報の登録の指示を受けると、一時記憶部103で保持する帳票識別番号と、罫線特徴情報とを対応付けた登録罫線特徴情報を登録罫線特徴情報DB111に新規登録する。   The registered ruled line feature information management unit 112 is a management unit that manages registered ruled line feature information held in the registered ruled line feature information DB 111. That is, upon receiving an instruction to register ruled line feature information, the registered ruled line feature information management unit 112 registers registered ruled line feature information in which the form identification number held in the temporary storage unit 103 and the ruled line feature information are associated with each other. New registration is made in the information DB 111.

登録罫線特徴情報管理部112が登録罫線特徴情報を新規登録すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータにある帳票識別番号の罫線特徴情報を登録が完了したことを通知するための罫線特徴情報登録完了通知画面を表示部104に備えるディスプレイに表示させる。   When the registered ruled line feature information management unit 112 newly registers the registered ruled line feature information, the control unit 102 executes a memory program (not shown) to notify the operator that registration of the ruled line feature information of the form identification number has been completed. A ruled line feature information registration completion notification screen is displayed on a display provided in the display unit 104.

そして、オペレータは、帳票処理装置100の表示部104に表示された罫線特徴情報登録完了通知画面を参照すると、ある帳票識別番号の帳票形式の登録が完了したことを把握する。   Then, when the operator refers to the ruled line feature information registration completion notification screen displayed on the display unit 104 of the form processing apparatus 100, the operator grasps that registration of the form format of a certain form identification number has been completed.

帳票形式判定部113は、罫線特徴情報生成部110で生成した罫線特徴情報と、登録罫線特徴情報DB111で保持する登録罫線特徴情報とを照合して、予め設定した閾値以上の一致率になった登録罫線特徴情報の帳票識別番号を判定結果として出力する判定部である。即ち、帳票形式判定部113は、帳票形式の判定の指示を受けると、一時記憶部103で保持する罫線特徴情報と、登録罫線特徴情報DB111で保持する登録罫線特徴情報とを照合して照合一致率が予め設定した閾値以上である登録罫線特徴情報の帳票識別番号を判定結果として出力する。ここで、罫線特徴情報の照合の詳細については、引用文献1に記載されているので、説明を割愛する。   The form format determination unit 113 collates the ruled line feature information generated by the ruled line feature information generation unit 110 with the registered ruled line feature information held in the registered ruled line feature information DB 111, and the matching rate is equal to or higher than a preset threshold value. It is a determination unit that outputs a form identification number of registered ruled line feature information as a determination result. In other words, when the form format determination unit 113 receives an instruction to determine the form format, the form format determination unit 113 compares the ruled line feature information held in the temporary storage unit 103 with the registered ruled line feature information held in the registered ruled line feature information DB 111 to match. A form identification number of registered ruled line feature information whose rate is equal to or higher than a preset threshold is output as a determination result. Here, details of the collation of ruled line feature information are described in the cited document 1, and thus the description thereof is omitted.

一方、帳票形式判定部113は、罫線特徴情報と、登録罫線特徴情報DB111で保持する全ての登録罫線特徴情報の照合一致率が閾値より小さいと、識別不可という判定結果を出力する。   On the other hand, the form format determination unit 113 outputs a determination result indicating that identification is impossible when the matching rate of the ruled line feature information and all the registered ruled line feature information held in the registered ruled line feature information DB 111 is smaller than the threshold.

帳票形式判定部113が帳票識別番号を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として該帳票識別番号を通知するための帳票識別番号通知画面を表示部104に備えるディスプレイに表示する。   When the form format determination unit 113 outputs a determination result indicating the form identification number, the control unit 102 executes a program in a memory (not shown) and notifies the operator of the form identification number as a result of the form format determination. A number notification screen is displayed on a display provided in the display unit 104.

オペレータは、帳票処理装置100の表示部104に表示された帳票識別番号通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる識別用の帳票1の帳票形式を把握する。   The operator grasps the form format of the identification form 1 included in the image data displayed on the display unit 104 by referring to the form identification number notification screen displayed on the display unit 104 of the form processing apparatus 100.

一方、帳票形式判定部113が認証不可を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として帳票1の認証が不可であったことを通知するための帳票形式認証不可通知画面を表示部104に備えるディスプレイに表示する。   On the other hand, when the form format determination unit 113 outputs a determination result indicating that authentication is not possible, the control unit 102 executes a memory program (not shown) and the operator cannot authenticate the form 1 as the determination result of the form format. Is displayed on a display provided in the display unit 104.

オペレータは、帳票処理装置100の表示部104に表示された帳票形式認証不可通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる帳票1の帳票形式が認識不可であることを把握する。   The operator cannot recognize the form format of the form 1 included in the image data displayed on the display unit 104 by referring to the form format authentication impossible notification screen displayed on the display unit 104 of the form processing apparatus 100. To figure out.

<実施例の動作>
次に、本発明の帳票処理装置100の実施例の動作を説明する。
<Operation of Example>
Next, the operation of the embodiment of the form processing apparatus 100 of the present invention will be described.

先ず、登録用の帳票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 form processing apparatus 100 instructs to read the image data of the registration form 1 on which only the ruled lines set in the image reading apparatus 200 are printed via the keyboard provided in the input unit 105, the control unit 102 An image request signal is generated, and the generated image request signal is transmitted to the image reading apparatus 200.

画像読取装置200は、帳票処理装置100から画像要求信号を受けると、装置の図示しない読取部にセットされた登録用の帳票1を光学的に走査して、帳票1の罫線部分が黒ビット、帳票1の紙面部分が白ビットで表される量子化された白黒2値の電気信号から成るイメージデータを生成する。そして、画像読取装置200で生成したイメージデータは、図示しない制御部の制御により、帳票処理装置100に送信される。   When receiving an image request signal from the form processing apparatus 100, the image reading apparatus 200 optically scans a registration form 1 set in a reading unit (not shown) of the apparatus, and the ruled line portion of the form 1 has a black bit. Image data including a quantized black-and-white binary electric signal in which the paper portion of the form 1 is represented by white bits is generated. The image data generated by the image reading apparatus 200 is transmitted to the form processing apparatus 100 under the control of a control unit (not shown).

帳票処理装置100の制御部102は、通信部101を介して上記イメージデータを取得すると、取得した登録用の帳票1のイメージデータをイメージデータ記憶部106に記憶する(ステップS101)。そして、制御部102は、イメージデータを記憶すると、図示しないメモリの制御プログラムを実行し、オペレータに該イメージデータを参照させるためのイメージデータ表示画面を表示部104に備えるディスプレイに表示させる。   When the control unit 102 of the form processing apparatus 100 acquires the image data via the communication unit 101, the control unit 102 stores the acquired image data of the registration form 1 in the image data storage unit 106 (step S101). Then, when the image data is stored, the control unit 102 executes a control program in a memory (not shown), and displays an image data display screen for allowing the operator to refer to the image data on a display provided in the display unit 104.

帳票処理装置100を操作するオペレータが上記イメージデータ表示画面に表示された登録用の帳票1のイメージデータに対し、入力部105に備えるキーボードを介して帳票形式の登録を指示すると、制御部102は、図示しないメモリの制御プログラムを実行し、オペレータに帳票1を識別するための帳票識別番号を入力させるための帳票識別番号入力指示画面を表示部104に備えるディスプレイに表示させる。   When an operator who operates the form processing apparatus 100 instructs the registration of the form format to the image data of the registration form 1 displayed on the image data display screen via the keyboard provided in the input unit 105, the control unit 102 Then, a memory control program (not shown) is executed, and a form identification number input instruction screen for allowing the operator to input a form identification number for identifying the form 1 is displayed on a display provided in the display unit 104.

そして、オペレータが、帳票処理装置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 display unit 104 of the form processing apparatus 100 and inputs the form identification number for identifying the form 1 from the keyboard provided in the input unit 105. When the “registration” button, for example, on the identification number input instruction screen is pressed (step S102), the control unit 102 stores the acquired form identification number in the temporary storage unit 103 and the protrusion determination unit 107 determines whether the image data protrudes. Instruct. In this embodiment, the operator inputs the form identification number for identifying the form 1 at the time of registration via the input unit 105. However, a form identification number (form ID etc.) is previously stored in the registration form 1 itself. A form identification unit (not shown) that is provided may automatically identify the form 1.

はみ出し判定部107は、はみ出し判定の指示を受けると、一時記憶部103で保持するイメージデータを走査して、図3に示すように、イメージデータの画像端に白画素が存在すると(ステップS103)、はみ出し有と判定する(ステップS104)。はみ出し判定部107がはみ出し有と判定すると、制御部102は、画像補完処理部108に画像補完処理を指示する。   When the protrusion determination unit 107 receives an instruction for determination of protrusion, it scans the image data held in the temporary storage unit 103, and if a white pixel exists at the image end of the image data as shown in FIG. 3 (step S103). , It is determined that the protrusion is present (step S104). When the protrusion determination unit 107 determines that the protrusion is present, the control unit 102 instructs the image complement processing unit 108 to perform image complement processing.

一方、はみ出し判定部107は、イメージデータの画像端に白画素が存在しないと、はみ出し無と判定する。はみ出し判定部107がはみ出し無と判定すると(ステップS105)、制御部102は、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、イメージデータ記憶部106で保持するイメージデータを転送する。   On the other hand, the protrusion determination unit 107 determines that there is no protrusion when there is no white pixel at the image end of the image data. When the protrusion determination unit 107 determines that there is no protrusion (step S105), the control unit 102 instructs the ruled line pattern image generation unit 109 to generate a ruled line pattern image and transfers the image data held in the image data storage unit 106. .

罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示及びイメージデータを受けると、このイメージデータを走査して罫線部分を抽出し、罫線パタン画像データを生成する(ステップS106)。   Upon receiving an instruction to generate ruled line pattern image information and image data, the ruled line pattern image generation unit 109 scans the image data to extract a ruled line part, and generates ruled line pattern image data (step S106).

画像補完処理部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 complement processing unit 108 first scans the image data held in the temporary storage unit 103, and the four vertices “LT (LTx LTx) constituting the mid-form area as shown in FIG. , LTy), LB (LBx, LBy), RT (RTx, RTy), and RB (RBx, RBy) ”, and since a white pixel exists at the right end of the image data image, the protruding direction = right is acquired. (Step S107).

次に、画像補完処理部108は、イメージデータの帳票途中領域の長さ方向のサイズを算出し、予め設定されたA4横のサイズ(210mm)と、該帳票途中領域の長さ方向のサイズとの差分により、この210mmは、例えば解像度240dpiの画像上では、210×240/25.4≒1984dotになるので、帳票途中領域の長さ方向のサイズが例えば1500dotであると、補完領域の長さ方向のサイズ:1984dot−1500dot=484dotであると算出する(ステップS108)。   Next, the image complementation processing unit 108 calculates the size in the length direction of the mid-form of the image data, and sets the A4 horizontal size (210 mm) set in advance and the size in the length direction of the mid-form area. Due to this difference, 210 mm, for example, is 210 × 240 / 25.4≈1984 dots on an image with a resolution of 240 dpi. Therefore, if the size in the length direction of the intermediate area of the form is, for example, 1500 dots, the length of the complementary area The size of the direction is calculated to be 1984 dots-1500 dots = 484 dots (step S108).

そして、画像補完処理部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 complement processing unit 108 calculates the size (484 dots) of the length dimension of the complement region, the coordinates of four vertices “RT (RTx, RTy), RB (RBx, RBy), R as shown in FIG. A complementary region constituted by “T (RTx + 484, RTy), R′B (RBx + 484, RBy)” is generated (step S109). Here, the complement region is entirely composed of white pixels.

画像補完処理部108は、上記補完領域を生成すると、イメージデータの帳票途中領域に該補完領域を合わせた図6に示すような補完画像データを生成する(ステップS110)。ここで、補完画像データでは、帳票領域を除く背景部分は全て黒画素で構成される。   When the complement region is generated, the image complement processing unit 108 generates complement image data as shown in FIG. 6 in which the complement region is combined with the mid-form region of the image data (step S110). Here, in the complementary image data, the background part excluding the form area is composed entirely of black pixels.

画像補完処理部108が補完画像データを生成すると、制御部102は、補完画像データを一時記憶部103に記憶する。そして、制御部102は、補完画像データを記憶すると、罫線パタン画像生成部109に罫線パタン画像の生成を指示すると共に、補完画像データを転送する。   When the image complement processing unit 108 generates complement image data, the control unit 102 stores the complement image data in the temporary storage unit 103. Then, after storing the complementary image data, the control unit 102 instructs the ruled line pattern image generation unit 109 to generate a ruled line pattern image and transfers the complementary image data.

罫線パタン画像生成部109は、罫線パタン画像情報の生成の指示及び補完画像データを受けると、補完画像データを走査して罫線部分を抽出し、罫線パタン画像データを生成する(ステップS111)。   Upon receiving an instruction to generate ruled line pattern image information and complementary image data, the ruled line pattern image generation unit 109 scans the complementary image data to extract a ruled line part, and generates ruled line pattern image data (step S111).

罫線パタン画像生成部109が罫線パタン画像データを生成すると、制御部102は、生成した罫線パタン画像データを一時記憶部103に記憶する。そして、制御部102は、罫線パタン画像データを記憶すると、罫線特徴情報生成部110に罫線特徴情報の生成を指示すると共に、罫線パタン画像データを転送する。   When the ruled line pattern image generation unit 109 generates ruled line pattern image data, the control unit 102 stores the generated ruled line pattern image data in the temporary storage unit 103. After storing the ruled line pattern image data, the control unit 102 instructs the ruled line feature information generating unit 110 to generate ruled line feature information and transfers the ruled line pattern image data.

罫線特徴情報生成部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 information generating unit 110 divides the form area of the ruled line pattern image data into a preset N × M matrix, and the ruled line for each divided area. Ruled line features (pattern shape, number, length (coordinates), etc.) indicating pattern characteristics are obtained, and ruled line feature information including these N × M ruled line features is generated (step S112).

罫線特徴情報生成部110が罫線特徴情報を生成すると、制御部102は、罫線特徴情報を一時記憶部103に記憶する。   When the ruled line feature information generation unit 110 generates the ruled line feature information, the control unit 102 stores the ruled line feature information in the temporary storage unit 103.

そして、制御部102は、罫線特徴情報を記憶すると、帳票形式の登録に基づく帳票処理を行っている場合には、登録罫線特徴情報管理部112に罫線特徴情報の登録を指示する。   Then, after storing the ruled line feature information, the control unit 102 instructs the registered ruled line feature information management unit 112 to register the ruled line feature information when performing the form processing based on the registration of the form format.

登録罫線特徴情報管理部112は、罫線特徴情報の登録の指示を受けると、一時記憶部103で保持する帳票識別番号と、罫線特徴情報とを対応付けた登録罫線特徴情報を登録罫線特徴情報DB111に新規登録する(ステップS113)。   Upon receiving an instruction to register ruled line feature information, the registered ruled line feature information management unit 112 registers registered ruled line feature information in which the form identification number held in the temporary storage unit 103 and the ruled line feature information are associated with each other. Is newly registered (step S113).

登録罫線特徴情報管理部112が登録罫線特徴情報を新規登録すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータにある帳票識別番号の罫線特徴情報を登録が完了したことを通知するための罫線特徴情報登録完了通知画面を表示部104に備えるディスプレイに表示させる(ステップS114)。   When the registered ruled line feature information management unit 112 newly registers the registered ruled line feature information, the control unit 102 executes a memory program (not shown) to notify the operator that registration of the ruled line feature information of the form identification number has been completed. For this purpose, a ruled line feature information registration completion notification screen is displayed on a display provided in the display unit 104 (step S114).

そして、オペレータは、帳票処理装置100の表示部104に表示された罫線特徴情報登録完了通知画面を参照すると、ある帳票識別番号の罫線特徴情報の登録が完了したことを把握する。   Then, when the operator refers to the ruled line feature information registration completion notification screen displayed on the display unit 104 of the form processing apparatus 100, the operator grasps that the registration of the ruled line feature information of a certain form identification number has been completed.

次に、識別用の帳票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 form processing apparatus 100 instructs the image data of the identification form 1 displayed on the image data display screen on the display unit 104 to determine the form format via the keyboard provided in the input unit 105 ( In step S202), the control unit 102 instructs the protrusion determination unit 107 to determine whether the image data protrudes.

実施例のステップ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 control unit 102 of the form processing apparatus 100 instructs the form format determination unit 113 to determine the form format when performing the form processing based on the determination of the form format.

帳票形式判定部113は、帳票形式の判定の指示を受けると、一時記憶部103で保持する罫線特徴情報と、登録罫線特徴情報DB111で保持する登録罫線特徴情報とを照合する(ステップS213)。そして、帳票形式判定部113は、上記罫線特徴情報と登録罫線特徴情報とを照合して照合一致率が予め設定した閾値以上である登録罫線特徴情報が存在すると(ステップS214)、その登録罫線特徴情報の帳票識別番号を判定結果として出力する。   When receiving the form format determination instruction, the form format determination unit 113 collates the ruled line feature information held in the temporary storage unit 103 with the registered ruled line feature information held in the registered ruled line feature information DB 111 (step S213). The form format determination unit 113 collates the ruled line feature information with the registered ruled line feature information, and if there is registered ruled line feature information whose collation matching rate is equal to or greater than a preset threshold value (step S214), the registered ruled line feature information The form identification number of information is output as a determination result.

帳票形式判定部113が帳票識別番号を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として該帳票識別番号を通知するための帳票識別番号通知画面を表示部104に備えるディスプレイに表示する(ステップS215)。   When the form format determination unit 113 outputs a determination result indicating the form identification number, the control unit 102 executes a program in a memory (not shown) and notifies the operator of the form identification number as a result of the form format determination. The number notification screen is displayed on the display provided in the display unit 104 (step S215).

オペレータは、帳票処理装置100の表示部104に表示された帳票識別番号通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる識別用の帳票1の帳票形式を把握する。   The operator grasps the form format of the identification form 1 included in the image data displayed on the display unit 104 by referring to the form identification number notification screen displayed on the display unit 104 of the form processing apparatus 100.

一方、帳票形式判定部113は、罫線特徴情報と、登録罫線特徴情報DB111で保持する全ての登録罫線特徴情報の照合一致率が閾値より小さいと、識別不可という判定結果を出力する。   On the other hand, the form format determination unit 113 outputs a determination result indicating that identification is impossible when the matching rate of the ruled line feature information and all the registered ruled line feature information held in the registered ruled line feature information DB 111 is smaller than the threshold.

帳票形式判定部113が認証不可を示す判定結果を出力すると、制御部102は、図示しないメモリのプログラムを実行し、オペレータに帳票形式の判定結果として帳票1の認証が不可であったことを通知するための帳票形式認証不可通知画面を表示部104に備えるディスプレイに表示する(ステップS216)。   When the form format determination unit 113 outputs a determination result indicating that authentication is not possible, the control unit 102 executes a memory program (not shown) and notifies the operator that the form 1 is not authenticated as the determination result of the form format. A form-form-authentication notification screen is displayed on the display provided in the display unit 104 (step S216).

オペレータは、帳票処理装置100の表示部104に表示された帳票形式認証不可通知画面を参照することにより、表示部104に表示されたイメージデータに含まれる識別用の帳票1の帳票形式が認識不可であることを把握する。   The operator cannot recognize the form format of the identification form 1 included in the image data displayed on the display unit 104 by referring to the form format authentication impossible notification screen displayed on the display unit 104 of the form processing apparatus 100. Know that it is.

<実施例の効果>
本発明の実施例の帳票処理装置100によると、画像読取装置200の撮影視野内に帳票の全体が収まらない帳票1のイメージデータの場合、画像補完処理部108において、イメージデータ内の帳票途中領域を予め設定した規定サイズの領域になるよう、補完すべき領域である補完領域を補完して規定サイズの補完帳票領域を有する補完画像データを生成するので、登録罫線特徴情報DB111に記憶する罫線特徴情報及び識別対象の罫線特徴情報の質を向上することができると共に、帳票形式の識別性能を向上することができる。
<Effect of Example>
According to the form processing apparatus 100 of the embodiment of the present invention, in the case of the image data of the form 1 in which the entire form does not fit within the photographing field of view of the image reading apparatus 200, the image complement processing unit 108 uses the form intermediate area in the image data. Is supplemented with the complemented area that is the area to be complemented so that the supplemented image data having the supplemented form area of the prescribed size is generated, so that the ruled line feature stored in the registered ruled line feature information DB 111 The quality of information and ruled line feature information to be identified can be improved, and the identification performance of the form format can be improved.

尚、本実施例では、帳票処理装置100は、画像読取装置200で読み取った帳票1の全体が含まれないイメージデータに含まれる帳票途中領域に対し、画像補完処理部108において予め設定された規定サイズの領域になるよう補完処理を行っていたが、図11に示すように帳票処理装置100を操作するオペレータに罫線の特徴を認識処理すべき領域を入力部105を介して指定させ、指定に基づく領域に対して補完処理を行うという構成にしてもよい。上記構成により、罫線パタン画像生成部109は、認識処理すべき領域のみの罫線パタンを抽出することができるので、これにより帳票処理装置100の帳票形式の識別性能を向上することができる。   In the present exemplary embodiment, the form processing apparatus 100 defines a pre-set rule in the image complement processing unit 108 for a mid-form area included in image data that does not include the entire form 1 read by the image reading apparatus 200. Although the complement processing is performed so as to be the size area, the operator who operates the form processing apparatus 100 designates the area where the feature of the ruled line should be recognized through the input unit 105 as shown in FIG. You may make it the structure which performs a complementation process with respect to the area | region based. With the configuration described above, the ruled line pattern image generation unit 109 can extract the ruled line pattern only for the area to be recognized, thereby improving the form format identification performance of the form processing apparatus 100.

また、本実施例では、帳票処理装置100は、登録罫線特徴情報DB111に罫線特徴情報を登録するために、画像読取装置200からの登録用の帳票1のイメージデータの取得から実行したが、罫線特徴情報生成部110で罫線特徴情報を生成した後に該罫線特徴情報を装置本体のある記憶領域に保存し、その後、この記憶領域に保存された罫線特徴情報のみを読み込み、該罫線特徴情報を登録罫線特徴情報DB111に登録する構成にしてもよい。   In this embodiment, the form processing apparatus 100 is executed from the acquisition of the image data of the form 1 for registration from the image reading apparatus 200 in order to register the ruled line feature information in the registered ruled line feature information DB 111. After the ruled line feature information is generated by the feature information generation unit 110, the ruled line feature information is stored in a storage area of the apparatus main body, and then only the ruled line feature information stored in the storage area is read and the ruled line feature information is registered. It may be configured to be registered in the ruled line feature information DB 111.

更に、本実施例では、イメージデータに帳票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 protrusion determination unit 107 of the form processing apparatus 100 determines whether or not a white pixel exists at the image edge of the image data. Based on this, the process for determining the presence or absence of protrusion is performed. However, when there is a white pixel that is equal to or greater than a preset threshold in the image data, it may be determined that the protrusion is present.

そして、本実施例の帳票処理装置100のはみ出し判定部107の上記構成に代え、帳票処理装置100を操作するオペレータが表示部104に備えるディスプレイに表示されたイメージデータを参照して、目視ではみ出し判定を行い、判定結果を入力部105を介して入力するという構成にしてもよい。   Then, instead of the above-described configuration of the protrusion determination unit 107 of the form processing apparatus 100 according to the present embodiment, an operator operating the form processing apparatus 100 refers to the image data displayed on the display provided in the display unit 104 and visually protrudes. It may be configured such that the determination is performed and the determination result is input via the input unit 105.

前記した実施例では、本発明の実施例の帳票処理装置を金融機関に導入した場合を例に説明したが、本発明は、罫線を有する帳票のイメージデータを罫線の特徴に基づいて識別する場合に適用できるので、金融機関での使用に限定されない。   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.

本発明に係る実施例の帳票処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the form processing apparatus of the Example which concerns on this invention. 本発明に係る実施例の横に長い帳票と画像読取装置の撮影領域との関係を示す図である。It is a figure which shows the relationship between the long form next to the Example which concerns on this invention, and the imaging | photography area | region of an image reading apparatus. 本発明に係る実施例の帳票の全体が含まれないイメージデータを示す図である。It is a figure which shows the image data which the whole form of the Example which concerns on this invention is not included. 本発明に係る実施例の帳票途中領域の構成を示す図である。It is a figure which shows the structure of the document middle area | region of the Example which concerns on this invention. 本発明に係る実施例の補完領域の構成を示す図である。It is a figure which shows the structure of the complementation area | region of the Example which concerns on this invention. 本発明に係る実施例の補完帳票領域の構成を示す図である。It is a figure which shows the structure of the complementary form area | region of the Example which concerns on this invention. 本発明に係る実施例の帳票処理装置の帳票形式登録処理時の動作を示すフローチャート(その1)である。It is a flowchart (the 1) which shows the operation | movement at the time of the form format registration process of the form processing apparatus of the Example which concerns on this invention. 本発明に係る実施例の帳票処理装置の帳票形式登録処理時の動作を示すフローチャート(その2)である。It is a flowchart (the 2) which shows operation | movement at the time of the form format registration process of the form processing apparatus of the Example which concerns on this invention. 本発明に係る実施例の帳票処理装置の帳票形式認識処理時の動作を示すフローチャート(その1)である。It is a flowchart (the 1) which shows the operation | movement at the time of the form format recognition process of the form processing apparatus of the Example which concerns on this invention. 本発明に係る実施例の帳票処理装置の帳票形式認識処理時の動作を示すフローチャート(その2)である。It is a flowchart (the 2) which shows operation | movement at the time of the form format recognition process of the form processing apparatus of the Example which concerns on this invention. 本発明に係る変形例の説明に用いる図である。It is a figure used for description of the modification which concerns on this invention.

符号の説明Explanation of symbols

1 帳票
10 ネットワーク
100 帳票処理装置
101 通信部
102 制御部
103 一時記憶部
104 表示部
105 入力部
106 イメージデータ記憶部
107 はみ出し判定部
108 画像補完処理部
109 罫線パタン画像生成部
110 罫線特徴情報生成部
111 登録罫線特徴情報DB
112 登録罫線特徴情報管理部
113 帳票形式判定部
200 画像読取装置
DESCRIPTION OF SYMBOLS 1 Form 10 Network 100 Form processing apparatus 101 Communication part 102 Control part 103 Temporary memory | storage part 104 Display part 105 Input part 106 Image data memory | storage part 107 Projection determination part 108 Image complementation process part 109 Ruled line pattern image generation part 110 Ruled line characteristic information generation part 111 registered ruled line feature information DB
112 registered ruled line feature information management unit 113 form format determination unit 200 image reading apparatus

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.
前記帳票処理装置は、帳票毎の特徴情報が登録されている特徴情報格納部と、前記生成された特徴情報と前記特徴情報格納部の登録特徴情報とを比較して帳票形式を判定する判定部と、を更に有することを特徴とする請求項1に記載の帳票処理装置。   The form processing device includes a feature information storage unit in which feature information for each form is registered, and a determination unit that determines the form format by comparing the generated feature information with the registered feature information in the feature information storage unit The form processing apparatus according to claim 1, further comprising: 前記特徴情報は、帳票の罫線特徴情報であることを特徴とする請求項1及び2のいずれかに記載の帳票処理装置。   The form processing apparatus according to claim 1, wherein the feature information is ruled line feature information of the form. 前記生成部は、罫線の設けられている帳票から取得した帳票イメージデータをN×Mのマトリクスで複数に分割し、各分割ブロック毎の罫線の特徴を示す罫線特徴情報を生成することを特徴とする請求項1乃至3のいずれかに記載の帳票処理装置。   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 form processing apparatus according to any one of claims 1 to 3. 前記罫線特徴情報格納部の前記登録特徴情報は、前記はみ出し判定部及び前記画像補完処理部を介して得た補完画像データに基づいて生成されていることを特徴とする請求項1乃至4のいずれかに記載の帳票処理装置。   5. 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. The form processing device described in Crab. 前記補完画像データを罫線のみを示す罫線パタン画像に変換して前記生成部に供給する罫線パタン画像生成部と、を更に含むことを特徴とする請求項1乃至5のいずれかに記載の帳票処理装置。   The form processing according to claim 1, further comprising: a ruled line pattern image generation unit that converts the complementary image data into a ruled line pattern image indicating only ruled lines and supplies the ruled line pattern image to the generation unit. apparatus.
JP2007087946A 2007-03-29 2007-03-29 Form processing device Active JP4840224B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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