JP2008131381A - Form generating device, form generating method, program and record medium - Google Patents
Form generating device, form generating method, program and record medium Download PDFInfo
- Publication number
- JP2008131381A JP2008131381A JP2006314605A JP2006314605A JP2008131381A JP 2008131381 A JP2008131381 A JP 2008131381A JP 2006314605 A JP2006314605 A JP 2006314605A JP 2006314605 A JP2006314605 A JP 2006314605A JP 2008131381 A JP2008131381 A JP 2008131381A
- Authority
- JP
- Japan
- Prior art keywords
- mark
- data
- stored
- storage means
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims 5
- 238000001514 detection method Methods 0.000 claims 23
- 230000002194 synthesizing effect Effects 0.000 claims 5
- 238000004519 manufacturing process Methods 0.000 claims 3
- 230000015572 biosynthetic process Effects 0.000 claims 1
- 239000003550 marker Substances 0.000 claims 1
- 238000003786 synthesis reaction Methods 0.000 claims 1
Images
Landscapes
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
- Editing Of Facsimile Originals (AREA)
- Record Information Processing For Printing (AREA)
- Image Processing (AREA)
Abstract
Description
本発明は、データ用紙からデータを読み取り、予め登録されているフォームにオーバレイ印刷する帳票生成装置および帳票生成方法およびプログラムおよび記録媒体に関する。 The present invention relates to a form generation device, a form generation method, a program, and a recording medium that read data from a data sheet and perform overlay printing on a pre-registered form.
従来より、指定された矩形エリア内の画像を取込む技術、あるいはその部分の画像のみを消去する技術が提案されている。 Conventionally, a technique for capturing an image in a designated rectangular area or a technique for erasing only the image of the portion has been proposed.
特許文献1には、原稿のどの領域をスキャナで検出するかを、ユーザが予め一般の蛍光カラーマーカ等を用いて矩形領域で囲んでおき、該囲まれた矩形領域だけを走査する自動走査領域選択装置が提案されている。
In
特許文献2には、マーカ等により囲まれた領域の画像を原稿画像から除いて、該囲まれた領域の画像を除いた原稿画像を用紙の表面に複写し、且つ、前記囲まれた領域の画像を用紙の裏面に作像する複写機が提案されている。
従来より、異なるフォームを用いて、一方のフォームから読み取ったデータを、もう一方のフォームに貼り付けて印刷したいといった要望がある。 Conventionally, there has been a demand for using different forms to print data read from one form by pasting it on the other form.
しかし、このような印刷を行おうとすると、従来の技術では、それぞれのフォームにおける各項目の位置情報と、フォーム間での項目の間連を、ユーザが逐次コンピュータ操作で指定していく必要があり、非常に煩雑な作業が強いられていた。 However, in order to perform such printing, in the conventional technology, it is necessary for the user to sequentially specify the position information of each item in each form and the connection between items between forms by computer operation. It was a very cumbersome task.
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、異なる複数のフォーム間での各項目の関連付けを煩雑なコンピュータ操作なしに行うことができ、一方のフォームから読み取ったデータをもう一方のフォームに自動で貼り付けて(ユーザによる個々の貼り付け操作無しに貼り付けて)印刷する仕組みを提供することである。 The present invention has been made to solve the above-described problems, and an object of the present invention is to associate each item between a plurality of different forms without complicated computer operation. It is to provide a mechanism for automatically pasting the data read from the other form onto the other form (pasting without any individual pasting operation by the user) and printing.
本発明は、フォームデータとフィールドデータとを合成する帳票生成装置において、フォーム用紙からフォーム画像を読み取り、該読み取られたフォーム画像上のマーク付けされた領域を検出する第1の検出手段と、前記第1の検出手段により検出されたマーク付けされた領域の位置を記憶する第1の記憶手段と、前記フォーム画像を記憶する第2の記憶手段と、フィールド用紙からフィールド画像を読み取り、該読み取られたフィールド画像上のマーク付けされた領域を検出する第2の検出手段と、前記第2の検出手段により検出されたマーク付けされた領域の位置を記憶する第3の記憶手段と、前記第3の記憶手段に記憶されたマーク付けされた領域の位置に対応する領域のデータを取得する取得手段と、前記取得手段に取得されたデータを記憶する第4の記憶手段と、前記第2の記憶手段に記憶されるフォーム画像の前記第1の記憶手段に記憶されたマークに対応する領域の位置に対応する領域に、前記第4の記憶手段に記憶されたデータを合成する合成手段と、を有することを特徴とする。 The present invention provides a form generation device for combining form data and field data, wherein a first detection unit that reads a form image from form paper and detects a marked area on the read form image; A first storage means for storing the position of the marked area detected by the first detection means; a second storage means for storing the form image; and a field image read from a field sheet. Second detection means for detecting a marked area on the field image, third storage means for storing the position of the marked area detected by the second detection means, and the third Acquisition means for acquiring the data of the area corresponding to the position of the marked area stored in the storage means, and the data acquired by the acquisition means In the area corresponding to the position of the area corresponding to the mark stored in the first storage means of the form image stored in the second storage means. Synthesizing means for synthesizing data stored in the storage means.
本発明によれば、異なる複数のフォーム間で同一の項目を同一のマーカで指定するといった簡単な準備を行うだけで、従来のような複雑なフォームの登録を必要とせず、コンピュータの知識がないユーザでも容易に、異なる複数のフォーム間で一方のフォームから読み取ったデータをもう一方のフォームに自動で貼り付けて(ユーザによる個々の貼り付け操作無しに貼り付けて)印刷することができる等の効果を奏する。 According to the present invention, simple preparations such as designating the same item between a plurality of different forms with the same marker are not required, registration of a complicated form as in the prior art is not required, and there is no computer knowledge. The user can easily paste the data read from one form between different forms to the other form automatically (without any individual pasting operation by the user) There is an effect.
〔第1実施形態〕
図1は、本発明の一実施形態を示す帳票生成装置を適用可能な多機能周辺機器(MFP:Multi-Function Peripheral)の構成を説明するブロック図である。本実施形態では、MFP(カラーMFP)にてフォーム用紙とデータ用紙をスキャンして、当該MFP内でオーバレイ(合成処理)を行い、印刷を実施するものである。なお、パーソナルコンピュータ,スキャナ,プリンタにより本発明の帳票生成装置を構成してもよい。
[First Embodiment]
FIG. 1 is a block diagram illustrating the configuration of a multi-function peripheral (MFP) to which a form generation device showing an embodiment of the present invention can be applied. In this embodiment, a form sheet and a data sheet are scanned by an MFP (color MFP), and overlay (compositing process) is performed in the MFP to perform printing. The form generation device of the present invention may be configured by a personal computer, a scanner, and a printer.
100は、本発明の帳票生成装置としてのMFPである。このMFP100において、101はCPUであり、ROM103又はハードディスク(HDD)105に格納されたプログラムをRAM102上等で実行して、バス114を介して接続される各部の動作を制御することにより、MFP100全体を統括制御する。
104はハードディスクインタフェース(HDD I/F)であり、HDD105とのアクセスを制御する。
A hard disk interface (HDD I / F) 104 controls access to the
106はスキャン部であり、原稿の画像を読み取り、原稿画像に応じた画像データを出力する。107はプリンタ部であり、画像処理部108からの画像データに応じた画像を記録材上に記録する。
A
画像処理部108は、画像データの合成等の画像処理を実行する(フォームデータに文字データを合成する)。109はOCR処理部であり、画像データから文字情報を認識する。113は文字サイズ変更処理部であり、画像処理部108によりフォームデータに合成される文字データの文字サイズを変更処理する。
The
110はネットワークインタフェース(LAN I/F)で、図示しないネットワークとの通信を制御する。 A network interface (LAN I / F) 110 controls communication with a network (not shown).
111はI/Oであり、操作部112からの入力、操作部112へ出力を制御する。操作部112は、タッチパネルディスプレイ(操作パネル)とハードキーを備え、本MFP100への動作指示や動作設定等を行うためのものである。
以下、図2〜図4を参照して、本発明の帳票生成装置における帳票生成処理の概要について説明する。 The outline of the form generation process in the form generation apparatus of the present invention will be described below with reference to FIGS.
<事前準備>
フォーム用の紙文書に、アンダーライン・マーカ(蛍光ペン等の(半透明な)インク)等の印を付けすることにより(蛍光ペン等の(半透明な)インクを塗布することにより)、差し替える部分を指定する(例えば、図2Aの201a〜201e)。
<Preparation>
Replace a paper document for forms by marking it with an underline marker ((translucent) ink such as a fluorescent pen) (by applying (translucent) ink such as a fluorescent pen) A part is designated (for example, 201a to 201e in FIG. 2A).
データ用の紙文書に、アンダーライン・マーカ等の印を付け、データ部分を指定する(例えば、図3Aの301a〜301e)。 An underline marker or the like is marked on the paper document for data, and the data portion is designated (for example, 301a to 301e in FIG. 3A).
なお、フォームとデータの関連付けは、アンダーライン・マーカ等の印によって関連付けられるものとする。また、矩形領域内にアンダーライン・マーカ等と同一の色で記述されている文字、あるいはマーク等にても関連付けられるものとする。 It is assumed that the form and data are associated with each other by a mark such as an underline marker. In addition, it is assumed that a character or a mark described in the same color as the underline marker or the like in the rectangular area is also associated.
<実現方法>
<オペレーション(フォームの登録)>
図2Aは、本発明の帳票生成装置におけるフォーム登録処理を説明する模式図である。
<Realization method>
<Operation (Form registration)>
FIG. 2A is a schematic diagram for explaining a form registration process in the form generation apparatus of the present invention.
図2Aにおいて、210は本実施形態の操作パネルであり、MFP100の操作部112に設けられたものである。この操作パネル210には、「フォームの登録」ボタン211,「フィールドの登録」ボタン212,「オーバレイの実施」ボタン213,「キャンセル」ボタン214が表示されている。
In FIG. 2A,
ユーザは、MFP100のスキャン部106の原稿台(不図示)にフォーム用の紙文書(フォーム用紙200)をセットし、操作パネル210より「フォームの登録」ボタン211を選択(タッチ)する。
The user sets a paper document for form (form paper 200) on a document table (not shown) of the
これにより、MFP100は、スキャン部106の原稿台にセットされたフォーム用の紙文書(フォーム用紙200)をスキャンする。そして、MFP100は、スキャン部106から出力されるフォーム画像データをRAM102内に保存する。
Accordingly, MFP 100 scans the form paper document (form paper 200) set on the document table of
次に、MFP100は、上記保存されたフォーム画像データよりマーク位置(矩形領域)を認識する(例えば、201a〜201e)。また、MFP100は、矩形内にアンダーライン・マーカ等と同一の色で記述されている文字、マーク(例えば、201a内の星印1)も検出する。
Next, the MFP 100 recognizes the mark position (rectangular region) from the stored form image data (for example, 201a to 201e). The
そして、このマーク検出後、MFP100は、OCR処理部109を有する場合は、検出した矩形領域内のOCR認識(文字、フォントタイプ、フォントサイズの認識)を実行する。そして、項番号を発番し(1,2,3,・・・の順に発番)、該項番号,上記マーク検出及びOCR認識結果をフォームマーク情報202(図2B)としてMFP100のHDD105内に保存する。
After detecting the mark, when the
図2Bは、本実施形態のフォームマーク情報を説明する模式図である。 FIG. 2B is a schematic diagram illustrating form mark information according to the present embodiment.
図2B(a)に示すように、保存対象となる情報は、項目番号,矩形位置情報(左上X座標,左上Y座標,矩形縦サイズ,矩形横サイズ)、色情報(R・G・B)、線種情報(ドットパターン)、フォント情報(フォントタイプ、フォントサイズ、文字色(R・G・B))、紐付け情報等である。なお、フォームマーク情報の一例を図2B(b)に示す。 As shown in FIG. 2B (a), information to be saved includes item number, rectangular position information (upper left X coordinate, upper left Y coordinate, rectangular vertical size, rectangular horizontal size), color information (R, G, B). Line type information (dot pattern), font information (font type, font size, character color (R / G / B)), association information, and the like. An example of the form mark information is shown in FIG. 2B (b).
以下、フォーム登録処理の説明に戻る。 Hereinafter, the description returns to the form registration process.
次に、MFP100は、RAM102内に保持されていたフォーム画像データの矩形領域内から、上記検出したマーク(アンダーライン・マーカ等同一の色で記述されている文字、あるいはマーク)を消去する。
Next, the
そして、MFP100は、上記処理をフォーム画像データ内の全てのマークに対して行い、全てのマークに対して処理が終了すると、フォーム画像データをHDD105に保存する。
Then, the
図2Cは、本実施形態のフォーム画像の保存イメージを説明する模式図である。 FIG. 2C is a schematic diagram illustrating a saved image of the form image according to the present embodiment.
図2Cに示すように、フォーム画像データ(フォーム用紙200に対応)からマークを消去した画像データがフォーム画像203として保存される。そして、フォーム登録処理を終了する。
As shown in FIG. 2C, the image data in which the mark is deleted from the form image data (corresponding to the form paper 200) is stored as the
<オペレーション(フィールドの登録)>
図3Aは、本発明の帳票生成装置におけるフィールド登録処理を説明する模式図である。
<Operation (Register Field)>
FIG. 3A is a schematic diagram for explaining field registration processing in the form generation device of the present invention.
ユーザは、MFP100のスキャン部106の原稿台(不図示)にフィールド用の紙文書(フィールド用紙300a,300b)をセットし、操作パネル210より「フィールドの登録」ボタン212を選択(タッチ)する。
The user sets a field paper document (
これにより、MFP100は、スキャン部106の原稿台にセットされたフィールド用紙(300a,300b等)を1枚スキャンする。そして、MFP100は、スキャン部106から出力されるフィールド画像データをRAM102内に保存する。なお、ここでMFP100は、フィールド用紙番号を発番しRAM102内に保存する。なお、フィールド用紙番号は1,2,3,・・・の順に発番する。
As a result, the
次に、MFP100は、上記保存されたフィールド画像データよりマーク位置(矩形領域)を認識する(例えば、フィールド用紙300aの場合301a〜301c、フィールド用紙300bの場合301d〜301e)。また、MFP100は、矩形内にアンダーライン・マーカ等と同一の色で記述されている文字、マーク(例えば、301a内の星印1)も検出する。以下、これらの認識情報をフィールドマークと呼ぶ。
Next, the
次に、MFP100は、HDD105に保存されたフォームマーク情報202を取得し、上記認識したフィールドマークの色情報,線種情報が一致するものを検出する。そして、一致するものがあった場合は、MFP100は、該一致したフィールドマークをフィールドマーク情報302(図3B)としてMFP100のHDD105内に保存する。
Next, the
図3Bは、本実施形態のフィールドマーク情報を説明する模式図である。 FIG. 3B is a schematic diagram illustrating field mark information according to the present embodiment.
図3B(a)に示すように、保存対象となる情報は、発番されたフィールド用紙番号,一致したフォームマーク情報(図2B)の項目番号,検出された矩形位置情報(左上X座標,左上Y座標,矩形縦サイズ,矩形横サイズ)、色情報(R・G・B)、線種情報(ドットパターン)、紐付け情報等である。なお、フィールドマーク情報の一例を図3B(b)に示す。 As shown in FIG. 3B (a), the information to be saved includes the number of the field sheet number issued, the item number of the matched form mark information (FIG. 2B), the detected rectangular position information (upper left X coordinate, upper left) Y coordinate, rectangular vertical size, rectangular horizontal size), color information (R, G, B), line type information (dot pattern), association information, and the like. An example of field mark information is shown in FIG. 3B (b).
以下、フィールド登録処理の説明に戻る。 Hereinafter, the description returns to the field registration process.
そして、MFP100は、上記処理をフォーム画像データ内の全てのマークに対して行い、全てのマークに対して処理が終了すると、次のフィールド用紙に対する処理を行う。そして、全てのフィールド用紙に対する処理が終了すると、フィールド登録処理を終了する。
Then, the
<オペレーション(オーバレイの実施)>
図4Aは、本発明の帳票生成装置におけるオーバレイの実施処理を説明する模式図である。
<Operation (overlay implementation)>
FIG. 4A is a schematic diagram for explaining overlay execution processing in the form generation device of the present invention.
オーバレイの実施は、データ読取処理,オーバレイ処理,印刷処理の順に実行される。 The overlay is executed in the order of data reading processing, overlay processing, and printing processing.
まず、データ読取処理について説明する。 First, the data reading process will be described.
ユーザは、MFP100のスキャン部106の原稿台(不図示)にデータの紙文書(データ用紙400)をセットし、操作パネル210より「オーバレイの実施」ボタン213を選択(タッチ)する。
The user sets a paper document (data sheet 400) of data on a document table (not shown) of the
これにより、MFP100は、スキャン部106の原稿台にセットされたデータ用紙400を1枚スキャンする。そして、MFP100は、スキャン部106から出力されるデータ画像をRAM102内に保存する。なお、ここでMFP100は、フィールド用紙番号を発番しRAM102内に保存する。なお、フィールド用紙番号は1,2,3,・・・の順に発番する。
As a result, the
次に、MFP100は、発番したフィールド用紙番号に紐つけられたフィールドマーク情報302内のいずれかの項目に対応する位置情報を取得し、該位置情報に基づいて上記データ画像の矩形領域を切り出す。
Next, the
さらに、MFP100は、OCR処理部109を有する場合は、上記切り出した矩形領域内のOCR認識(文字)を実施する。そして、MFP100は、上記切り出しに用いた位置情報に対応する項目番号,上記OCR認識結果,切り出した矩形領域画像データを、矩形画像orOCR結果401(図4B)としてMFP100のHDD105内に保存する。
Further, when the
図4Bは、本実施形態の矩形画像orOCR結果を説明する模式図である。 FIG. 4B is a schematic diagram illustrating a rectangular image or OCR result of the present embodiment.
図4B(a)に示すように、保存対象となる情報は、対応するフィールドマーク情報の項目番号,文字データ(OCR処理部を備える場合のみ),矩形領域画像データである。なお、矩形画像orOCR結果401の一例を図4B(b)に示す。
As shown in FIG. 4B (a), the information to be stored is the item number of the corresponding field mark information, character data (only when an OCR processing unit is provided), and rectangular area image data. An example of the rectangular image or
以下、データ読取処理の説明に戻る。 Hereinafter, the description returns to the data reading process.
そして、MFP100は、フィールド用紙番号に対応する全ての項目に対して上記切り出し処理〜保存処理を行う。そして、前記フィールド用紙番号に対応する全ての項目に対して処理が終了すると、MFP100は、さらにフィールドマーク情報302内の全ての項目に読み取ったデータの紐つけが終了したか判定し、まだ終了していない場合は、次のデータ用紙に対する処理を行う。
Then, the
そして、フィールドマーク情報302内の全ての項目に対して読み取ったデータの紐つけが終了した場合には、オーバレイ処理に処理を移行させる。
When the association of the read data with respect to all items in the
オーバレイ処理では、まず、MFP100は、保存されているフォームマーク情報202,フォーム画像203,矩形画像orOCR結果401を取得する。
In overlay processing, first, the
そして、MFP100がOCR処理部109を備えている場合は、MFP100は、矩形画像orOCR結果401内の各文字データを、項目番号が一致するフォームマーク情報202の矩形領域位置情報に対応する位置に、フォームマーク情報202のフォント情報(フォントタイプ,フォントサイズ,色等)にて貼り付ける。
If the
一方、MFP100がOCR処理部109を備えている場合は、MFP100は、矩形画像orOCR結果401内の各画像データを、項目番号が一致するフォームマーク情報202内の矩形領域位置情報に対応するフォーム画像203内の位置に貼り付ける。
On the other hand, when the
そして、貼り付けが全て終了してフォーム画像203に対して印刷処理を実行する。
Then, all the pasting is completed, and the printing process is executed on the
以上の読み取り処理,オーバレイ処理,印刷処理を、原稿台上のデータ用紙400が無くなるまで繰り返し実行する。
The above reading process, overlay process, and printing process are repeated until the
以下、図5〜図10のフローチャートを参照して、本発明の帳票生成装置における帳票生成処理について詳細に説明する。 Hereinafter, the form generation processing in the form generation apparatus of the present invention will be described in detail with reference to the flowcharts of FIGS.
図5は、本発明における第1の制御処理手順の一例を示すフローチャートであり、図1に示したMFP100における帳票生成処理に対応する。なお、このフローチャートの処理は、図1に示したCPU101がROM103又はHDD105に格納されるプログラムをRAM102上で実行することにより実現される。また、図中、S501〜S511は各ステップを示す。
FIG. 5 is a flowchart showing an example of a first control processing procedure according to the present invention, and corresponds to the form generation processing in the
まず、操作パネル210の「フォームの登録」ボタン211が押下(タッチ)されると、ステップS501において、CPU101は、原稿台にセットされたフォーム用の紙文書(フォーム用紙200)をスキャン部106によりスキャンさせ、スキャン部106から出力されるフォーム画像データをRAM102内に保存する。
First, when the “form registration”
次に、ステップS502において、CPU101は、フォーム登録処理を行い、フォームマーク情報202,フォーム画像203をHDD105に保存する。なお、フォーム登録処理の詳細は後述する図6に示す。
Next, in step S <b> 502, the
次に、操作パネル210の「フィールドの登録」ボタン212が押下(タッチ)されると、ステップS503において、CPU101は、原稿台にセットされたフィールド用紙300の有無を判定し、フィールド用紙300が有ると判定した場合には、ステップS504において、フィールド用紙300をスキャン部106によりスキャンさせ、スキャン部106から出力されるフィールド用紙データをRAM102内に保存する。なお、図示しないが、ここで、CPU101は、フィールド用紙番号を発番しRAM102内に保存する。なお、フィールド用紙番号は1,2,3,・・・の順に発番する。
Next, when the “register field”
次に、ステップS505において、CPU101は、フィールド登録処理を行い、フィールドマーク情報302をHDD105に保存する。なお、フィールド登録処理の詳細は後述する図7に示す。
In step S <b> 505, the
そして、CPU101は、ステップS503に処理を戻す。
Then, the
そして、ステップS503で、原稿台上のフィールド用紙300が終了したと判定した場合には、CPU101は、操作パネル210の「オーバレイの実施」ボタン213が押下(タッチ)されるまで待機する。
If it is determined in step S503 that the field sheet 300 on the document table has been completed, the
そして、操作パネル210の「オーバレイの実施」ボタン213が押下(タッチ)されると、ステップS506において、CPU101は、原稿台にセットされたデータ用紙400の有無を判定し、データ用紙400が有ると判定した場合には、ステップS507において、データ用紙400をスキャン部106によりスキャンさせ、スキャン部106から出力されるデータ画像をRAM102内に保存する。なお、図示しないが、ここで、CPU101は、フィールド用紙番号を発番しRAM102内に保存する。なお、フィールド用紙番号は1,2,3,・・・の順に発番する。
When the “execute overlay”
次に、ステップS508において、CPU101は、データ読取処理を行い、フォームマーク情報内の項目と読み取り情報(矩形情報orOCR情報)とを紐付けた矩形画像orOCR結果401をHDD105に保存する。なお、データ読取処理の詳細は後述する図8に示す。
Next, in step S <b> 508, the
次に、ステップS509において、CPU101は、データ読取処理でフォームマーク情報内の全項目の紐付けが終了したか否かを判定し、まだ終了していないと判定した場合には、ステップS506に処理を戻し、次のデータ用紙のスキャン処理を行う。
Next, in step S509, the
一方、ステップS509で、データ読取処理でフォームマーク情報内の全項目の紐付けが終了したと判断した場合には、ステップS510に処理を進める。 On the other hand, if it is determined in step S509 that all items in the form mark information have been linked in the data reading process, the process proceeds to step S510.
ステップS510では、CPU101は、オーバレイ処理を実行し、オーバレイされたフォーム画像をプリンタ部107に印刷処理させ、印刷結果402を出力させる。そして、ステップS506に処理を戻し、次のデータ用紙に処理を移行させる。
In step S510, the
そして、ステップS506で、原稿台上のデータ用紙400が終了したと判断した場合には、CPU101は、本帳票生成処理を終了する。
If it is determined in step S506 that the
以下、図6を参照して、図5のステップS502に示したフォーム登録処理について詳細に説明する。 Hereinafter, the form registration process shown in step S502 of FIG. 5 will be described in detail with reference to FIG.
図6は、本発明における第2の制御処理手順の一例を示すフローチャートであり、図5のステップS502に示したフォーム登録処理に対応する。なお、このフローチャートの処理は、図1に示したCPU101がROM103又はHDD105に格納されるプログラムをRAM102上で実行することにより実現される。また、図中、S601〜S608は各ステップを示す。
FIG. 6 is a flowchart showing an example of the second control processing procedure in the present invention, and corresponds to the form registration processing shown in step S502 of FIG. Note that the processing in this flowchart is realized by the
まず、ステップS601において、CPU101は、RAM102に保存されているフォーム画像データを取得し、ステップS602において、上記取得したフォーム画像データよりマーク位置検出処理を実行して、マーク位置(矩形領域)の認識を行い、矩形内にアンダーライン・マーカ等と同一の色で記述されている文字、マークも検出する。なお、このマーク位置検出処理の詳細は後述する図10に示す。
First, in step S601, the
次に、ステップS603において、CPU101は、ステップS602で検出された全てのマークに対してS604〜S607の処理が終了したか否かを判定し、まだ終了していないと判定した場合には、ステップS602で検出したマークのうち未処理のいずれかのマークを選択し(以下、このマークを現在のマークと呼ぶ)、ステップS604に処理を進める。
Next, in step S603, the
ステップS604では、CPU101は、MFP100にOCR処理部109が設けられているか否かを判定し、OCR処理部109が設けられていると判定した場合には、ステップS605に処理を進める。
In step S604, the
ステップS605では、CPU101は、現在のマークに対応する矩形領域内のOCR認識(文字、フォントタイプ、フォントサイズの認識)を実行し、ステップS606において、項目番号を発番して、該項目番号とともに上記マーク検出及びOCR認識結果をフォームマーク情報202(図2B)としてHDD105内に保存する。
In step S605, the
一方、ステップS604で、MFP100にOCR処理部109が設けられていないと判定した場合には、CPU101は、そのままステップS606に処理を進め、項目番号を発番して、該項目番号とともに上記マーク検出結果をフォームマーク情報202(図2B)としてHDD105内に保存する。
On the other hand, if it is determined in step S604 that the
次に、ステップS607において、CPU101は、RAM102内に保持されていたフォーム画像データから、現在のマーク(アンダーライン・マーカ等同一の色で記述されている文字、あるいはマーク)に対応する矩形領域を消去する(図2C参照)。そして、CPU101は、ステップS602に処理を戻す。
Next, in step S607, the
そして、ステップS603で、ステップS602で検出された全てのマークに対してS604〜S607の処理が終了したと判定した場合には、CPU101は、ステップS608において、RAM102内に保持され、マーク領域が削除されたフォーム画像203(図2C)をHDD105に保存し、処理を終了する。
If it is determined in step S603 that the processing in steps S604 to S607 has been completed for all the marks detected in step S602, the
以下、図7を参照して、図5のステップS505に示したフィールド登録処理について詳細に説明する。 Hereinafter, the field registration process shown in step S505 of FIG. 5 will be described in detail with reference to FIG.
図7は、本発明における第3の制御処理手順の一例を示すフローチャートであり、図5のステップS503に示したフィールド登録処理に対応する。なお、このフローチャートの処理は、図1に示したCPU101がROM103又はHDD105に格納されるプログラムをRAM102上で実行することにより実現される。また、図中、S701〜S707は各ステップを示す。
FIG. 7 is a flowchart showing an example of the third control processing procedure in the present invention, and corresponds to the field registration processing shown in step S503 of FIG. Note that the processing in this flowchart is realized by the
まず、ステップS701において、CPU101は、RAM102に保存されているフィールド画像データ,フィールド用紙番号を取得する。
First, in step S <b> 701, the
次に、ステップS702において、CPU101は、上記取得したフォーム画像データよりマーク位置検出処理を実行して、マーク位置(矩形領域)の認識を行い、矩形内にアンダーライン・マーカ等と同一の色で記述されている文字、マークも検出する。なお、このマーク位置検出処理の詳細は後述する図10に示す。
In step S702, the
次に、ステップS703において、CPU101は、ステップS702で検出された全てのマークに対してS704〜S707の処理が終了したか否かを判定し、まだ終了していないと判定した場合には、ステップS602で検出したマークのうち未処理のいずれかのマークを選択し(以下、このマークを現在のマークと呼ぶ)、ステップS704に処理を進める。
Next, in step S703, the
ステップS704では、CPU101は、HDD105に保存されているフォームマーク情報202からフォーム情報を1つ取得する処理を行い、ステップS705に処理を進める。
In step S704, the
ステップS705では、CPU101は、全てのフォームマーク情報の読み込みを終了しており、ステップS704でフォームマーク情報を取得できなかった否かを判定する。
In step S705, the
ステップS705では、CPU101は、まだ全てのフォームマーク情報を読み込みが終了しておらず、ステップS704でフォームマーク情報を取得できたと判定した場合には、ステップS706に処理を進める。
In step S705, if the
ステップS706では、CPU101は、ステップS704で取得したフォームマーク情報と現在のマークの色情報,線種等が一致するか否かを判定し、一致しないと判定した場合には、ステップS704に処理を戻し、次のフォームマーク情報を取得する。
In step S706, the
そして、ステップS706で、ステップS704で取得したフォームマーク情報と現在のマークの色情報,線種等が一致すると判断した場合には、ステップS707に処理を進める。 If it is determined in step S706 that the form mark information acquired in step S704 matches the color information, line type, etc. of the current mark, the process proceeds to step S707.
ステップS707において、CPU101は、フィールド用紙番号,項目番頭とともに、現在のマークの検出結果をフィールドマーク情報302(図3B)としてHDD105内に保存する。そして、ステップS703に処理を戻す。
In step S707, the
また、ステップS705では、既に全てのフォームマーク情報の読み込みを終了しており、ステップS704でフォームマーク情報を取得できなかったと判定した場合、ステップS703に処理を戻す。 If it is determined in step S705 that reading of all form mark information has already been completed and form mark information has not been acquired in step S704, the process returns to step S703.
そして、ステップS703で、ステップS702で検出された全てのマークに対してS704〜S707の処理が終了したと判定した場合には、CPU101は、処理を終了する。
If it is determined in step S703 that the processing in steps S704 to S707 has been completed for all the marks detected in step S702, the
以下、図8を参照して、図5のステップS508に示したデータ読取処理について詳細に説明する。 Hereinafter, the data reading process shown in step S508 of FIG. 5 will be described in detail with reference to FIG.
図8は、本発明における第4の制御処理手順の一例を示すフローチャートであり、図5のステップS508に示したデータ読取処理に対応する。なお、このフローチャートの処理は、図1に示したCPU101がROM103又はHDD105に格納されるプログラムをRAM102上で実行することにより実現される。また、図中、S801〜S808は各ステップを示す。
FIG. 8 is a flowchart showing an example of the fourth control processing procedure in the present invention, and corresponds to the data reading processing shown in step S508 of FIG. Note that the processing in this flowchart is realized by the
まず、ステップS801において、CPU101は、RAM102に保存されているデータ画像,フィールド用紙番号を取得し、ステップS802において、CPU101は、ステップS802で取得したフィールド用紙番号に対応するフィールドマーク情報302をHDD105から取得する。
First, in step S801, the
次に、ステップS803において、CPU101は、ステップS802で取得した全てのフィールドマーク情報に対してS804〜S808の処理が終了したか否かを判定し、まだ終了していないと判定した場合には、ステップS802で取得したフィールドマーク情報のうち矩形画像orOCR結果401にデータが格納されていない項目番号の最も小さいフィールドマーク情報を選択し(以下、このフィールドマーク情報を現在のフィールドマーク情報と呼ぶ)、ステップS804に処理を進める。
Next, in step S803, the
ステップS804では、CPU101は、現在のフィールドマーク情報に対応する位置情報に基づいて画像データの矩形領域を切り出し、該切り出した矩形領域からマークを消去する。
In step S804, the
次に、ステップS805において、CPU101は、MFP100にOCR処理部109が設けられているか否かを判定し、OCR処理部109が設けられていると判定した場合には、ステップS806に処理を進める。
In step S805, the
ステップS806では、CPU101は、OCR処理部109を用いて、ステップS804で切り出した矩形領域内のOCR認識(文字)を実行し、ステップS807において、現在のフィールドマーク情報に対応する項目のOCR認識結果を矩形画像orOCR結果401(図4B)の文字データとしてHDD105内に保存する。そして、ステップS808に処理を進める。
In step S806, the
一方、ステップS805で、MFP100にOCR処理部109が設けられていないと判定した場合には、CPU101は、そのままステップS808に処理を進める。
On the other hand, if it is determined in step S805 that the
ステップS808では、CPU101は、ステップS804で切り出した矩形領域画像を現在のフィールドマーク情報に対応する項目のOCR認識結果を矩形画像orOCR結果401(図4B)の画像データとしてHDD105内に保存する。そして、ステップS803に処理を戻す。
In step S808, the
そして、ステップS803で、ステップS802で取得した全てのフィールドマーク情報に対してS804〜S808の処理が終了したと判断した場合には、CPU101は、本データ読み取り処理を終了する。
If it is determined in step S803 that the processes in steps S804 to S808 have been completed for all field mark information acquired in step S802, the
以下、図9を参照して、図5のステップS510に示したオーバレイ処理(合成処理)について詳細に説明する。 Hereinafter, with reference to FIG. 9, the overlay process (synthesis process) shown in step S510 of FIG. 5 will be described in detail.
図9は、本発明における第5の制御処理手順の一例を示すフローチャートであり、図5のステップS510に示したオーバレイ処理(合成処理)に対応する。なお、このフローチャートの処理は、図1に示したCPU101がROM103又はHDD105に格納されるプログラムをRAM102上で実行することにより実現される。また、図中、S901〜S907は各ステップを示す。
FIG. 9 is a flowchart showing an example of the fifth control processing procedure according to the present invention, and corresponds to the overlay processing (synthesis processing) shown in step S510 of FIG. Note that the processing in this flowchart is realized by the
まず、ステップS901において、CPU101は、HDD105に保存されているフォーム画像203を取得する。
First, in step S <b> 901, the
次に、ステップS902において、CPU101は、HDD105から矩形画像orOCR結果401を取得する。
In step S <b> 902, the
次に、ステップS903において、ステップS902で取得した全ての矩形画像orOCR結果に対してS904〜S907の処理が終了したと判定したか否かを判定し、まだ全ての矩形画像orOCR結果に対してS904〜S907の処理が終了していないと判定した場合には、CPU101は、ステップS902で検出した矩形画像orOCR結果のうち未処理のいずれかの矩形画像orOCR結果を選択し(以下、この矩形画像orOCR結果を現在の矩形画像orOCR結果と呼ぶ)、ステップS904に処理を進める。
Next, in step S903, it is determined whether or not the processing of S904 to S907 has been completed for all the rectangular images or OCR results acquired in step S902, and S904 is still performed for all the rectangular images or OCR results. If the
ステップS904では、CPU101は、HDD105からフォーム画像203を取得し、ステップS905に処理を進める。
In step S904, the
次に、ステップS905において、CPU101は、MFP100にOCR処理部109が設けられているか否かを判定し、OCR処理部109が設けられていると判定した場合には、ステップS906に処理を進める。
Next, in step S905, the
ステップS906では、CPU101は、現在の矩形画像orOCR結果と項目番号が一致するフォームマーク情報の矩形領域位置情報に対応する矩形領域に、該フォームマーク情報のフォント情報(フォントタイプ、フォントサイズ、色等)にて、現在の矩形画像orOCR結果内の文字データを貼り付ける。なお、領域サイズが異なる場合は、CPU101は文字サイズ変更処理部113を用いて領域サイズに合わせたフォントサイズにて貼り付ける。また、CPU101は、縦横比を判断して自動的に縦書き、あるいは横書きに変更して貼り付けを行うように制御する。そして、ステップS903に処理を戻す。
In step S906, the
一方、ステップS905で、MFP100にOCR処理部109が設けられていないと判定した場合には、ステップS907に処理を進める。
On the other hand, if it is determined in step S905 that the
ステップS907では、CPU101は、現在の矩形画像orOCR結果と項目番号が一致するフォームマーク情報の矩形領域位置情報に対応する矩形領域に、現在の矩形画像orOCR結果内の画像データを貼り付ける。なお、領域サイズが異なる場合は、CPU101は画像データを領域サイズに合わせて拡縮して貼り付ける。そして、ステップS903に処理を戻す。
In step S907, the
そして、ステップS903で、ステップS902で取得した全ての矩形画像orOCR結果に対してS904〜S907の処理が終了したと判定した場合には、CPU101は、本オーバレイ処理を終了する。
If it is determined in step S903 that the processing in steps S904 to S907 has been completed for all the rectangular images or OCR results acquired in step S902, the
以下、図10を参照して、図6のステップS602,図7のステップS702に示したマーク検出処理について詳細に説明する。 Hereinafter, with reference to FIG. 10, the mark detection process shown in step S602 in FIG. 6 and step S702 in FIG. 7 will be described in detail.
図10は、本発明における第6の制御処理手順の一例を示すフローチャートであり、図6のステップS602,図7のステップS702に示したマーク検出処理に対応する。なお、このフローチャートの処理は、図1に示したCPU101がROM103又はHDD105に格納されるプログラムをRAM102上で実行することにより実現される。また、図中、S1001〜S1005は各ステップを示す。
FIG. 10 is a flowchart showing an example of the sixth control processing procedure in the present invention, and corresponds to the mark detection processing shown in step S602 in FIG. 6 and step S702 in FIG. Note that the processing in this flowchart is realized by the
まず、ステップS1001において、CPU101は、対象となる画像データより色を持つ画素を検出する(特徴抽出(色))。
First, in step S1001, the
次に、ステップS1002において、CPU101は、ステップS1001で抽出した色を持つ画素より線を抽出し、抽出した線から線種(ドットパターン)を特定する(特徴抽出(線種))。
Next, in step S1002, the
次に、ステップS1003において、CPU101は、ステップS1002で抽出した線・線種より形の判断を行う(特徴抽出(形))。例えば、同一の色・線種の線分が4点で重なり、且つ、交わった線分が長方形をなす場合は「長方形」と判断する。また、同一の色・線種の線分が重なっていない場合は「アンダーライン」と判断する。
Next, in step S1003, the
次に、ステップS1004において、CPU101は、ステップS1003の特徴抽出(形)で長方形と判断されたか否かを判定し、長方形と判断されたと判定した場合には、ステップS1005に処理を進める。
Next, in step S1004, the
ステップS1005では、CPU101は、ステップS1003で長方形と判断した各線分の接線が繋がっていない場合、各線分を延長し交差するように補正する(長方形の補正を行う)。そして、本マーク検出処理を終了する。
In step S1005, if the tangents of the line segments determined to be rectangular in step S1003 are not connected, the
一方、ステップS1004で、ステップS1003の特徴抽出(形)で長方形と判断されなかったと判定した場合には、CPU101は、このまま本マーク検出処理を終了させる。
On the other hand, if it is determined in step S1004 that the feature extraction (shape) in step S1003 has not determined to be a rectangle, the
なお、図10には示していないが、同時に矩形内にアンダーライン・マーカ等と同一の色で記述されている文字・マーカの検出については、CPU101が、上記と同様に特徴抽出(色、形等)を実施した後、統計的アプローチにて対象となる識別マークの特徴分布より文字・マークを特定するものとする。
Although not shown in FIG. 10, for the detection of characters / markers described in the same color as the underline / marker in the rectangle at the same time, the
また、文字・マークについては、統計的アプローチを実施することから、予め特定しておくものとする。なお、上述の統計的アプローチとは、事前にシステムにて使用する文字・マークを色,線種,角の数,線分の数等の情報を登録しておくことによって文字・マークを特定していく方法を示す。 The characters and marks are identified in advance because a statistical approach is performed. The statistical approach described above specifies characters / marks by registering information such as color, line type, number of corners, number of line segments, etc. in advance for the characters / marks used in the system. Show how to go.
以上示したように、異なる複数のフォーム間で同一の項目を同一のマーカで指定するといった簡単な準備を行うだけで、異なる複数のフォーム間での各項目の関連付けを可能とし、一方のフォームから読み取ったデータをもう一方のフォームに自動で貼り付けて(ユーザによる個々の貼り付け操作無しに貼り付けて)印刷することができる。 As described above, it is possible to associate each item between multiple different forms by simply preparing the same item with the same marker between different forms. The read data can be automatically pasted on the other form (pasted without any individual pasting operation by the user) and printed.
従って、従来のような複雑なフォームの登録を必要とせず、コンピュータの知識がないユーザでも容易に使用することが可能となる。 Therefore, it is not necessary to register a complicated form as in the conventional case, and even a user without computer knowledge can easily use it.
例えば、本発明を年賀状印刷に用いる場合、ユーザは、年賀状の宛先の郵便番号,住所,氏名の矩形をマーカ等にて指定してフォームの登録を行い、また、昨年受け取った年賀状の送り主の郵便番号,住所,氏名の矩形をマーカ等にて指定してフィールドの登録を行い、続いてオーバレイの実施を指示するだけで、年賀状印刷アプリケーション等を所有していなくても、年賀状の印刷を容易に行うことができる。 For example, when the present invention is used for New Year's card printing, the user registers the form by specifying the postal code, address, and name rectangle of the New Year's card with a marker or the like, and the mail of the sender of the New Year's card received last year Easily print New Year's cards even if you don't have a New Year's card printing application by simply registering fields by specifying the number, address, and name rectangles with markers, etc., and then instructing the implementation of the overlay. It can be carried out.
また、証券あるいはギフト用申込票等においても上記と同様な方法にて申込票から個伝票、あるいは個伝票から次期申込票等が簡単に作成することができる。 In addition, in the application form for securities or gifts, an individual slip from the application slip or the next application slip from the individual slip can be easily created by the same method as described above.
〔他の実施形態1〕
フォーム用紙200に図11に示すような演算を定義したマークを記載することにより、CPU101が定義された演算を行って該演算結果をフィールド画像に貼り付けるように構成してもよい。
[Other embodiment 1]
A mark defining a calculation as shown in FIG. 11 may be written on the
図11は、フォーム用紙200上に記載可能な演算結果を貼り付ける矩形領域を定義するマークの一例を示した模式図である。
FIG. 11 is a schematic diagram showing an example of a mark that defines a rectangular area to which a calculation result that can be written on the
図11において、1101は、((「マーク1111の項目の値」+「マーク1112の項目の値」―「マーク1113の項目の値」)×「マーク1114の項目の値」)の演算結果を貼り付ける矩形領域を定義したマークである。
In FIG. 11, 1101 indicates the calculation result of (“value of item of
また、1102は、(「マーク1111の項目の値」÷「マーク1112の項目の値」)の演算結果を貼り付ける矩形領域を定義したマークである。
さらに、1103は、((「マーク1111の項目の値」+「マーク1112の項目の値」)×1.05)の演算結果を貼り付ける矩形領域を定義したマークである。
Further,
また、1104は、(全ての「マーク1111の項目の値」の合計)の演算結果を貼り付ける矩形領域を定義したマークである。なお、この場合、フィールド用紙300内にマーク1111が複数指定されているものとする。
さらに、1105は、(全ての「マーク1112の項目の値」の乗算)の演算結果を貼り付ける矩形領域を定義したマークである。なお、この場合、フィールド用紙300内にマーク1112が複数指定されているものとする。
Further,
なお、このような演算を定義したマークは、例えば「math」等をマークの右角に記載する等として他のマークと区別可能なものとする。 It should be noted that a mark defining such an operation is distinguishable from other marks by, for example, “math” or the like being written in the right corner of the mark.
そして、CPU101は、フォームの登録の際に、項目番号,矩形位置情報,色情報,フォント情報,紐付け情報とともに、このように定義された演算式を、フォームマーク情報202に、登録するものとする。例えば、1101の場合、演算式として「(項目1+項目2―項目3)×項目4」等を登録するものとする。
When registering the form, the
なお、図11で示した演算の定義は一例であり、あらゆる数式の演算結果の貼り付けを定義可能である。 Note that the definition of the calculation shown in FIG. 11 is an example, and the pasting of the calculation result of any mathematical expression can be defined.
以上のように、フォーム用紙に演算を定義したマークを記載するだけで、単に、あるフォームから読み取ったデータを他のフォームに貼り付けるだけでなく、あるフォームから読み取ったデータの演算結果を他のフォームに貼り付けて印刷することが容易にできるようになる。 As described above, simply writing the mark that defines the calculation on the form paper, not only pasting the data read from one form into another form, but also the calculation result of the data read from one form to another It can be easily pasted and printed on a form.
また、1106は、「マーク1111の項目の値」,「マーク1112の項目の値」,「マーク1113の項目の値」,「マーク1114の項目の値」を用いて作成した円グラフを貼り付ける矩形領域を定義したマークである。このように、グラフ名とそのグラフに用いるデータを定義したマークをフォーム用紙200上に記載することにより、CPU101が定義されたグラフを作成してフィールド画像に貼り付けるように構成してもよい。
Also, 1106 pastes a pie chart created using “item value of
なお、このようなグラフを定義したマークは、例えば「graph」等をマークの右角に記載する等として他のマークと区別可能なものとする。 Note that a mark defining such a graph can be distinguished from other marks by, for example, “graph” or the like being written in the right corner of the mark.
このように、フォーム用紙にグラフを定義したマークを記載するだけで、あるフォームから読み取ったデータを用いたグラフを作成して他のフォームに貼り付けて印刷することが容易にできるようになる。 As described above, it is possible to easily create a graph using data read from a certain form, paste it on another form, and print it by simply describing the mark defining the graph on the form sheet.
〔他の実施形態2〕
「フィールドの登録」の際に、フィールド用紙を1枚毎スキャンする毎に、ユーザに、そのフィールド用紙の枚数(例えば、「1」,「2」,「可変量」等)を指定させてフィールドの登録を行わせるように構成してもよい。
[Other embodiment 2]
When “field registration” is performed, each time a field sheet is scanned, the user specifies the number of field sheets (for example, “1”, “2”, “variable amount”, etc.) You may comprise so that registration may be performed.
例えば、まず図3Aに示したフィールド用紙300aを「1」枚と指定し、続いてフィールド用紙300bを「可変量」と指定してフィールドの登録を行ったとする。これにより、フィールドマーク情報302に、項目番号,矩形位置情報,色情報,線種情報,紐付け情報とともに、上記用紙枚数が登録される。
For example, it is assumed that the
そして、上記の場合、1枚のフィールド用紙300aに対応するデータ用紙,複数枚のフィールド用紙300bを一組のデータ用紙とし、これを複数組、MFPにセットして、オーバレイの実施を指示することにより、上記一組のデータ用紙から読み取ったデータをフォーム画像に貼り付けて印刷することが可能となる。
In the above case, a data sheet corresponding to one
なお、上述のようにフィールド用紙の枚数に「可変量」が指定された場合、CPU101は、各フィールド用紙の特徴(例えば、(X1,Y1)の位置に画像「注文書」が有る等)を登録しておくものとする。そして、データ用紙の読み取りを行った際に、そのデータ用紙がどのフィールド用紙に対応しているかを、マッチング等の方法により判断して、読み取り処理を行うものとする。
Note that when “variable amount” is designated as the number of field sheets as described above, the
なお、上記各図で示した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。 It should be noted that the configuration and contents of the various data shown in the above drawings are not limited to this, and needless to say, they are configured with various configurations and contents depending on applications and purposes.
以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。 Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or recording medium, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device.
以下、図12に示すメモリマップを参照して本発明に係る帳票生成装置で読み取り可能なデータ処理プログラムの構成について説明する。 The configuration of the data processing program that can be read by the form generation device according to the present invention will be described below with reference to the memory map shown in FIG.
図12は、本発明に係る本発明に係る帳票生成装置で読み取り可能な各種データ処理プログラムを格納する記録媒体(記憶媒体)のメモリマップを説明する図である。 FIG. 12 is a diagram for explaining a memory map of a recording medium (storage medium) that stores various data processing programs that can be read by the form generation device according to the present invention.
なお、特に図示しないが、記録媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。 Although not specifically shown, information for managing a program group stored in the recording medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、インストールするプログラムやデータが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。 Further, data depending on various programs is also managed in the directory. In addition, when a program or data to be installed is compressed, a program to be decompressed may be stored.
本実施形態における図5,図6,図7,図8,図9,図10に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記録媒体により、あるいはネットワークを介して外部の記録媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。 The functions shown in FIGS. 5, 6, 7, 8, 9, and 10 in this embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a recording medium such as a CD-ROM, a flash memory, or an FD, or from an external recording medium via a network. Is.
以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 As described above, a recording medium in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the program code.
この場合、記録媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。 In this case, the program code itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program code constitutes the present invention.
プログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,DVD−ROM,磁気テープ,不揮発性のメモリカード,ROM,EEPROM,シリコンディスク等を用いることができる。 As a recording medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, A silicon disk or the like can be used.
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program code read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウェアによって表されるプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program represented by software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
さらに、本発明を達成するためのソフトウェアによって表されるプログラムをネットワーク上のサーバ,データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Furthermore, by downloading and reading out a program represented by software for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. It becomes.
なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。 In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
以上示したように、異なる複数のフォーム間で、煩雑なコンピュータ操作なしに、一方のフォームから読み取ったデータをもう一方のフォームに自動で貼り付けて印刷できるようにする仕組を提供することができる。 As described above, it is possible to provide a mechanism that allows data read from one form to be automatically pasted and printed between different forms without complicated computer operation. .
年賀状の印刷等に利用可能である。まず、ユーザは、年賀状の宛先の郵便番号,住所,氏名の矩形をマーカ等にて指定してフォームの登録を指示する。次に、ユーザは、昨年受け取った年賀状の送り主の郵便番号,住所,氏名の矩形をマーカ等にて指定してフィールドの登録を指示する。最後に、ユーザは、オーバレイの実施を指示する。これにより、年賀状印刷アプリケーション等を所有していなくても、昨年の年賀状から今年の年賀状の印刷を容易に行うことができる。 It can be used for printing New Year's cards. First, the user instructs registration of a form by designating a postal code, address, and name rectangle of the New Year's card with a marker or the like. Next, the user designates the postal code, address, and name rectangle of the sender of the New Year's card received last year with a marker or the like, and instructs field registration. Finally, the user instructs the implementation of the overlay. As a result, even if you do not have a New Year's card printing application, you can easily print this year's New Year's card from last year's New Year's card.
また、証券あるいはギフト用申込票等においても上記と同様な方法にて申込票から個伝票、あるいは個伝票から次期申込票等が簡単に作成することができる。 In addition, in the application form for securities or gifts, an individual slip from the application slip or the next application slip from the individual slip can be easily created by the same method as described above.
100 MFP
101 CPU
102 RAM
103 ROM
105 HDD
106 スキャン部
107 プリンタ部
108 画像処理部
109 OCR処理部
112 操作部
113 文字サイズ変更処理部
200 フォーム用紙
202 フォームマーク情報
203 フォーム画像
210 操作パネル
300 フィールド用紙
302 フィールドマーク情報
400 データ用紙
401 矩形画像orOCR結果
402 印刷結果
100 MFP
101 CPU
102 RAM
103 ROM
105 HDD
106
Claims (14)
フォーム用紙からフォーム画像を読み取り、該読み取られたフォーム画像上のマーク付けされた領域を検出する第1の検出手段と、
前記第1の検出手段により検出されたマーク付けされた領域の位置を記憶する第1の記憶手段と、
前記フォーム画像を記憶する第2の記憶手段と、
フィールド用紙からフィールド画像を読み取り、該読み取られたフィールド画像上のマーク付けされた領域を検出する第2の検出手段と、
前記第2の検出手段により検出されたマーク付けされた領域の位置を記憶する第3の記憶手段と、
前記第3の記憶手段に記憶されたマーク付けされた領域の位置に対応する領域のデータを取得する取得手段と、
前記取得手段に取得されたデータを記憶する第4の記憶手段と、
前記第2の記憶手段に記憶されるフォーム画像の前記第1の記憶手段に記憶されたマークに対応する領域の位置に対応する領域に、前記第4の記憶手段に記憶されたデータを合成する合成手段と、
を有することを特徴とする帳票生成装置。 In the form generation device that combines form data and field data,
First detection means for reading a form image from form paper and detecting a marked area on the read form image;
First storage means for storing the position of the marked area detected by the first detection means;
Second storage means for storing the form image;
Second detection means for reading a field image from field paper and detecting a marked area on the read field image;
Third storage means for storing the position of the marked area detected by the second detection means;
Obtaining means for obtaining data of an area corresponding to the position of the marked area stored in the third storage means;
Fourth storage means for storing data acquired by the acquisition means;
The data stored in the fourth storage means is combined with the area corresponding to the position of the area corresponding to the mark stored in the first storage means of the form image stored in the second storage means. Combining means;
A form generation device characterized by comprising:
前記合成手段は、前記第2の記憶手段に記憶されるフォーム画像の前記第1の記憶手段に記憶されたマークに対応する領域の位置に対応する領域に、前記第4の記憶手段に記憶されたデータを、前記第1の記憶手段に記憶されたマークに対応する領域のサイズに合わせて拡大又は縮小して合成する、ことを特徴とする請求項1乃至5のいずれかに記載の帳票生成装置。 The first storage means stores the position and size of the marked area detected by the first detection means,
The synthesizing means is stored in the fourth storage means in an area corresponding to the position of the area corresponding to the mark stored in the first storage means of the form image stored in the second storage means. The form generation according to any one of claims 1 to 5, characterized in that the data is combined by being enlarged or reduced in accordance with the size of the area corresponding to the mark stored in the first storage means. apparatus.
前記第4の記憶手段は、前記取得手段に取得されたデータと、前記文字認識手段による文字認識結果とを記憶するものであり、
前記合成手段は、前記第2の記憶手段に記憶されるフォーム画像の前記第1の記憶手段に記憶されたマークに対応する領域の位置に対応する領域に、前記第4の記憶手段に記憶された文字認識結果を合成する、ことを特徴とする請求項1乃至6のいずれかに記載の帳票生成装置。 A character recognition unit for performing character recognition of the acquired data in the acquisition unit;
The fourth storage means stores data acquired by the acquisition means and a character recognition result by the character recognition means,
The synthesizing means is stored in the fourth storage means in an area corresponding to the position of the area corresponding to the mark stored in the first storage means of the form image stored in the second storage means. The form generation apparatus according to claim 1, wherein the character recognition results are combined.
前記第1の記憶手段は、前記第1の検出手段により検出されたマーク付けされた領域の位置と、前記フォント情報認識手段によるフォント情報認識結果とを記憶するものであり、
前記合成手段は、前記第2の記憶手段に記憶されるフォーム画像の前記第1の記憶手段に記憶されたマークに対応する領域の位置に対応する領域に、前記第1の記憶手段に記憶されたフォント情報に対応するフォントで、前記第4の記憶手段に記憶された文字認識結果を合成する、ことを特徴とする請求項7に記載の帳票生成装置。 Font information recognition means for recognizing font information of characters existing in the marked area detected by the first detection means;
The first storage means stores the position of the marked area detected by the first detection means and the font information recognition result by the font information recognition means,
The synthesizing unit is stored in the first storage unit in an area corresponding to a position of an area corresponding to the mark stored in the first storage unit of the form image stored in the second storage unit. 8. The form generation apparatus according to claim 7, wherein the character recognition result stored in the fourth storage unit is synthesized with a font corresponding to the font information.
前記合成手段は、前記文字認識手段により認識された文字認識結果を、前記第1の記憶手段に記憶されたマークに対応する領域のサイズに合わせてフォントサイズを拡大又は縮小する、ことを特徴とする請求項7乃至8記載の帳票生成装置。 The first storage means stores the position and size of the marked area detected by the first detection means,
The synthesizing unit enlarges or reduces the font size in accordance with the size of the area corresponding to the mark stored in the first storage unit, the character recognition result recognized by the character recognition unit. The form generation device according to claim 7 to 8.
前記第1の検出手段により検出されたマークに演算が定義されている場合には、前記第1の記憶手段は、該マーク付けされた領域の位置と、前記定義された演算式とを記憶するものであり、
前記合成手段は、前記第2の記憶手段に記憶されるフォーム画像の前記第1の記憶手段に記憶されたマークに対応する領域の位置に対応する領域に、前記第4の記憶手段に記憶された文字認識結果の前記第1の記憶手段に記憶されたマークにより定義された演算式による演算結果を合成する、ことを特徴とする請求項7乃至9のいずれかに記載の帳票生成装置。 The mark detected by the first detection means can define an arithmetic expression using a mark having the same characteristics as the mark detected by the second detection means,
When a calculation is defined for the mark detected by the first detection means, the first storage means stores the position of the marked area and the defined calculation expression. Is,
The synthesizing means is stored in the fourth storage means in an area corresponding to the position of the area corresponding to the mark stored in the first storage means of the form image stored in the second storage means. The form generation device according to claim 7, wherein the calculation result by the arithmetic expression defined by the mark stored in the first storage means of the character recognition result is synthesized.
フォーム用紙からフォーム画像を読み取り、該読み取られたフォーム画像上のマーク付けされた領域を検出する第1の検出ステップと、
前記第1の検出ステップにより検出されたマーク付けされた領域の位置を第1の記憶手段に登録させ、前記フォーム画像を第2の記憶手段に登録させる第1の登録ステップと、
フィールド用紙からフィールド画像を読み取り、該読み取られたフィールド画像上のマーク付けされた領域を検出する第2の検出ステップと、
前記第2の検出ステップにより検出されたマーク付けされた領域の位置を第3の記憶手段に登録させる第2の登録ステップと、
前記第3の記憶手段に登録されたマーク付けされた領域の位置に対応する領域のデータを取得する取得ステップと、
前記取得ステップに取得されたデータを第4の記憶手段を登録する第3の登録ステップと、
前記第2の記憶手段に登録されたフォーム画像の前記第1の記憶手段に登録されたマークに対応する領域の位置に対応する領域に、前記第4の記憶手段に登録されたデータを合成する合成ステップと、
を有することを特徴とする帳票生成方法。 In the form generation method that overlays form data and field data,
A first detection step of reading a form image from form paper and detecting a marked area on the read form image;
A first registration step of registering the position of the marked area detected by the first detection step in a first storage unit and registering the form image in a second storage unit;
A second detection step of reading a field image from field paper and detecting a marked area on the read field image;
A second registration step for registering the position of the marked area detected by the second detection step in a third storage means;
An acquisition step of acquiring data of an area corresponding to the position of the marked area registered in the third storage unit;
A third registration step of registering the data acquired in the acquisition step in a fourth storage means;
The data registered in the fourth storage means is combined with the area corresponding to the position of the area corresponding to the mark registered in the first storage means of the form image registered in the second storage means. A synthesis step;
A form generation method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006314605A JP2008131381A (en) | 2006-11-21 | 2006-11-21 | Form generating device, form generating method, program and record medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006314605A JP2008131381A (en) | 2006-11-21 | 2006-11-21 | Form generating device, form generating method, program and record medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008131381A true JP2008131381A (en) | 2008-06-05 |
Family
ID=39556789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006314605A Withdrawn JP2008131381A (en) | 2006-11-21 | 2006-11-21 | Form generating device, form generating method, program and record medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008131381A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015182328A (en) * | 2014-03-25 | 2015-10-22 | カシオ計算機株式会社 | Layout detection print device and method |
JP2017092947A (en) * | 2015-11-09 | 2017-05-25 | ぺんてる株式会社 | Learning support program, learning support device, learning tool formation notebook, and learning tool formation method |
CN108132762A (en) * | 2016-12-01 | 2018-06-08 | 京瓷办公信息系统株式会社 | Image processing apparatus and image forming apparatus |
JP2018093336A (en) * | 2016-12-01 | 2018-06-14 | 京セラドキュメントソリューションズ株式会社 | Image processing apparatus and image forming apparatus |
JP2018098678A (en) * | 2016-12-14 | 2018-06-21 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
US11531503B2 (en) | 2020-11-09 | 2022-12-20 | Kyocera Document Solutions Inc. | Image processing apparatus and image processing system |
JP7599403B2 (en) | 2021-01-29 | 2024-12-13 | 京セラ株式会社 | Printing method, electronic device, program, server, and image forming apparatus |
-
2006
- 2006-11-21 JP JP2006314605A patent/JP2008131381A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015182328A (en) * | 2014-03-25 | 2015-10-22 | カシオ計算機株式会社 | Layout detection print device and method |
JP2017092947A (en) * | 2015-11-09 | 2017-05-25 | ぺんてる株式会社 | Learning support program, learning support device, learning tool formation notebook, and learning tool formation method |
CN108132762A (en) * | 2016-12-01 | 2018-06-08 | 京瓷办公信息系统株式会社 | Image processing apparatus and image forming apparatus |
JP2018093336A (en) * | 2016-12-01 | 2018-06-14 | 京セラドキュメントソリューションズ株式会社 | Image processing apparatus and image forming apparatus |
US10270934B2 (en) | 2016-12-01 | 2019-04-23 | Kyocera Document Solutions Inc. | Image processing apparatus and image forming apparatus |
CN108132762B (en) * | 2016-12-01 | 2021-07-13 | 京瓷办公信息系统株式会社 | Image processing apparatus and image forming apparatus |
JP2018098678A (en) * | 2016-12-14 | 2018-06-21 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
US11531503B2 (en) | 2020-11-09 | 2022-12-20 | Kyocera Document Solutions Inc. | Image processing apparatus and image processing system |
JP7599403B2 (en) | 2021-01-29 | 2024-12-13 | 京セラ株式会社 | Printing method, electronic device, program, server, and image forming apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3962721B2 (en) | Document processing apparatus and document processing method | |
JP2008131381A (en) | Form generating device, form generating method, program and record medium | |
CN105827893B (en) | Image processing apparatus, image processing method and image formation system | |
US20050237573A1 (en) | Image processing apparatus and method | |
JP2020099030A (en) | Information processing apparatus and information processing method | |
US7444036B2 (en) | Device, method, and recording medium for processing a document having document data and a set of related data | |
JP2000181988A (en) | Optical character reader | |
JP2003046746A (en) | Method and apparatus for processing image | |
JP2010039783A (en) | Device, system, method and program of document processing | |
JP2000168294A (en) | Electronic white board system | |
JP5935376B2 (en) | Copy machine | |
JP6481204B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP2001273509A (en) | Method and device for editing document picture | |
JP2020099031A (en) | Information processing apparatus and information processing method | |
JP6795770B2 (en) | Information processing device and its processing method and program | |
JP2004025576A (en) | Image processor, image processing method, and storage medium and program readable by computer | |
JP2005184261A (en) | Color corrector | |
JP2011146852A (en) | Control apparatus and control method | |
JP2006309622A (en) | Image processor, image processing method, image processing program and recording medium | |
JP2005316665A (en) | Document processor | |
JP2800254B2 (en) | Image single character processing device | |
JP2000029196A (en) | Color proof device | |
JP6520761B2 (en) | Information processing apparatus and program | |
WO2025070083A1 (en) | Image processing device | |
JP2001184349A (en) | Device and method for editing document and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080403 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20100202 |