JP7324305B2 - Electronic form creation device, electronic form creation method, and program - Google Patents

Electronic form creation device, electronic form creation method, and program Download PDF

Info

Publication number
JP7324305B2
JP7324305B2 JP2021558105A JP2021558105A JP7324305B2 JP 7324305 B2 JP7324305 B2 JP 7324305B2 JP 2021558105 A JP2021558105 A JP 2021558105A JP 2021558105 A JP2021558105 A JP 2021558105A JP 7324305 B2 JP7324305 B2 JP 7324305B2
Authority
JP
Japan
Prior art keywords
area
unit
input
color
scanned 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.)
Active
Application number
JP2021558105A
Other languages
Japanese (ja)
Other versions
JPWO2021100158A1 (en
Inventor
志保 木下
政浩 新保
由香里 草開
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Publication of JPWO2021100158A1 publication Critical patent/JPWO2021100158A1/ja
Application granted granted Critical
Publication of JP7324305B2 publication Critical patent/JP7324305B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Character Input (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、電子帳票作成装置、電子帳票作成方法、及びプログラムに関する。 The present invention relates to an electronic form creation apparatus, an electronic form creation method, and a program.

例えば、特許文献1には、入力領域12の内部に現在入力中の文字を淡色の点で表示するとともに、既に入力が完了し、認識された結果得られた文字を濃色の点で表示する文字入力装置が開示されている。 For example, in Japanese Patent Laid-Open No. 2002-100001, characters currently being input are displayed with light colored dots inside the input area 12, and characters that have already been input and are recognized as results are displayed with dark colored dots. A character input device is disclosed.

また、特許文献2には、アプリケーションのイメージに濃淡などの画素値を変換する背景表示手段を用いるか、半透明な文字入力領域を用いることにより、背景表示と筆記された入力文字パターンを区別することを可能にする文字入力装置が開示されている。 In addition, in Patent Document 2, background display means for converting pixel values such as gradation into an image of an application is used, or a semi-transparent character input area is used to distinguish between background display and written input character patterns. A character input device is disclosed that enables

また、特許文献3には、手書き文字入力装置において、座標入力装置からの入力によりストローク情報が更新されるたびに、ストローク情報に基づき、入力領域情報を作成する入力領域情報生成手段と、入力領域情報により特定される領域の画素データを淡色値もしくは半透明に変換した背景表示データを作成する背景表示データ生成手段とを設け、手書き入力表示データと背景表示データとを重ね合わせて表示する手書き文字入力装置が開示されている。 Further, in Patent Document 3, in a handwritten character input device, every time stroke information is updated by input from a coordinate input device, input region information generation means for generating input region information based on stroke information; Background display data generating means for generating background display data obtained by converting pixel data in an area specified by the information into a light color value or semi-transparency is provided, and the handwritten characters are displayed by superimposing the handwritten input display data and the background display data. An input device is disclosed.

特開平4-346120Japanese Patent Laid-Open No. 4-346120 特開平6-223228Japanese Patent Laid-Open No. 6-223228 特開2005-267292JP 2005-267292

タブレット端末などのコンピュータに適した電子帳票を容易に作成することができる電子帳票作成装置を提供することを目的とする。 It is an object of the present invention to provide an electronic form creation device capable of easily creating an electronic form suitable for a computer such as a tablet terminal.

本発明に係る電子帳票作成装置は、帳票のスキャン画像データを取得する画像取得部と、前記画像取得部により取得されたスキャン画像データについて、一部の領域を指定する領域指定部と、前記画像取得部により取得されたスキャン画像データに基づいて、前記領域指定部により指定された領域が特定の色で塗り潰された前記帳票のデータファイルを生成する帳票データ生成部とを有する。 An electronic form creation apparatus according to the present invention includes an image acquisition section that acquires scan image data of a form, an area designation section that designates a partial area of the scan image data acquired by the image acquisition section, and the image a form data generation unit that generates a data file of the form in which the area designated by the area designation unit is filled with a specific color based on the scan image data acquired by the acquisition unit.

好適には、前記領域指定部は、帳票のスキャン画像に含まれる画像要素の形状に基づいて、領域を指定し、前記帳票データ生成部は、前記領域指定部により指定された領域を単色で塗り潰した帳票のデータファイルを生成する。 Preferably, the area designating section designates the area based on the shape of an image element included in the scanned image of the form, and the form data generating section fills the area designated by the area designating section with a single color. generate a data file of the form.

好適には、前記領域指定部は、帳票のスキャン画像に含まれる複数の四角形領域を指定領域の候補として提示し、提示された四角形領域の中から、ユーザにより選択された四角形領域を指定領域とする。 Preferably, the area specifying unit presents a plurality of quadrangular areas included in the scanned image of the form as candidates for the specified area, and selects a quadrangular area selected by the user from among the presented quadrangular areas as the specified area. do.

好適には、前記領域指定部により指定された領域に含まれている色データに基づいて、塗り潰しに用いる色を決定する色決定部をさらに有し、前記帳票データ生成部は、前記色決定部により決定された色で前記領域指定部により指定された領域が塗り潰された前記帳票のデータファイルを生成する。 Preferably, the form data generation unit further includes a color determination unit that determines a color to be used for filling based on color data included in the area designated by the area designation unit. generates a data file of the form in which the area specified by the area specifying unit is filled with the color determined by

好適には、前記領域指定部により指定された領域について、ユーザにより選択された入力方法の入力欄を設定する入力設定部をさらに有し、前記帳票データ生成部は、前記入力設定部により設定された入力欄が含まれた帳票のデータファイルを生成する。 Preferably, the system further includes an input setting unit for setting an input field for the input method selected by the user for the area specified by the area specifying unit, and the form data generation unit is set by the input setting unit. Create a data file of the form that contains the input fields.

好適には、前記帳票データ生成部は、帳票のスキャン画像データのレイヤに、前記領域指定部により指定された領域を単一色で塗り潰し、かつ、入力欄が定義されたレイヤを重ね合わせて、帳票のデータファイルとする。 Preferably, the form data generation unit fills in the area specified by the area specifying unit with a single color and superimposes a layer in which input fields are defined on a layer of the scanned image data of the form to generate the form. data file.

好適には、前記入力設定部は、前記領域指定部により指定された領域のサイズ、又は、指定された領域の近傍に存在する文字画像のサイズに基づいて、入力欄のフォントサイズを決定する。 Preferably, the input setting unit determines the font size of the input field based on the size of the area specified by the area specifying unit or the size of the character image existing in the vicinity of the specified area.

また、本発明に係る電子帳票作成方法は、既存の紙帳票をスキャンして、スキャン画像データを取得する取得ステップと、取得されたスキャン画像データの一部の領域を指定する領域指定ステップと、指定された領域を特定の色で塗り潰した状態で、取得されたスキャン画像データを表示する表示ステップとを有する。 Further, an electronic form creation method according to the present invention includes an obtaining step of scanning an existing paper form to obtain scanned image data, an area designating step of designating a partial area of the obtained scanned image data, and a display step of displaying the acquired scan image data in a state where the designated area is filled with a specific color.

好適には、前記取得ステップにおいて、記入済みの紙帳票をスキャンして、スキャン画像データを取得する。 Preferably, in the obtaining step, the filled-in paper form is scanned to obtain the scanned image data.

また、本発明に係るプログラムは、帳票のスキャン画像データを取得する取得ステップと、前記取得ステップにより取得されたスキャン画像データについて、一部の領域を指定する領域指定ステップと、前記取得ステップにより取得されたスキャン画像データに基づいて、前記領域指定ステップにより指定された領域が特定の色で塗り潰された前記帳票のデータファイルを生成する帳票データ生成ステップとをコンピュータに実行させる。 Further, the program according to the present invention includes an obtaining step of obtaining scanned image data of a form, an area designating step of designating a partial area of the scanned image data obtained by the obtaining step, and an obtaining step of obtaining the scanned image data by the obtaining step. and a form data generation step of generating a data file of the form in which the area designated by the area designation step is filled with a specific color based on the scanned image data.

タブレット端末などのコンピュータに適した電子帳票を容易に作成することができる。 Electronic forms suitable for computers such as tablet terminals can be easily created.

帳票管理システム1の全体構成を例示する図である。1 is a diagram illustrating the overall configuration of a form management system 1; FIG. 編集装置3のハードウェア構成を例示する図である。3 is a diagram illustrating a hardware configuration of an editing device 3; FIG. 編集装置3の機能構成を例示する図である。3 is a diagram illustrating a functional configuration of an editing device 3; FIG. (A)は、領域指定部330をより詳細に説明する図であり、(B)は、色決定部340をより詳細に説明する図である。(A) is a diagram for explaining the area specifying section 330 in more detail, and (B) is a diagram for explaining the color determination section 340 in more detail. 編集装置3による電子帳票作成処理(S10)を説明するフローチャートである。4 is a flowchart for explaining electronic form creation processing (S10) by the editing device 3; 利用者端末9による帳票表示入力処理(S20)を説明するフローチャートである。4 is a flowchart for explaining a form display input process (S20) by the user terminal 9; 紙帳票の記入欄を例示する図である。It is a figure which illustrates the entry column of a paper form. 電子帳票を例示する図である。FIG. 4 is a diagram illustrating an electronic form; 図8の電子帳票に含まれる入力欄の定義情報を例示する図である。9 is a diagram exemplifying definition information of input fields included in the electronic form of FIG. 8; FIG.

以下、本発明の実施形態を、図面を参照して説明する。
図1は、帳票管理システム1の全体構成を例示する図である。
図1に例示するように、帳票管理システム1は、電子帳票ファイルの作成を行うユーザのコンピュータ端末(編集装置3)と、電子帳票に入力を行う一般ユーザのコンピュータ端末(利用者端末9)と、電子帳票及びその入力データを管理する帳票管理サーバ2とを含む。
本例の編集装置3には、スキャナ38がUSBケーブルなどで接続されており、編集装置3のユーザには、スキャナ38により光学的に読み取られた帳票の画像データを用いて、編集装置3で電子帳票のデータファイルを作成し、作成された電子帳票のデータファイル及びその定義情報を帳票管理サーバ2に登録する。なお、編集装置3は、本発明に係る電子帳票作成装置の一例である。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating the overall configuration of a form management system 1. As shown in FIG.
As exemplified in FIG. 1, the form management system 1 includes a computer terminal (editing device 3) of a user who creates an electronic form file, and a computer terminal (user terminal 9) of a general user who inputs data into the electronic form. , and a form management server 2 that manages electronic forms and their input data.
A scanner 38 is connected to the editing device 3 of this example via a USB cable or the like. An electronic form data file is created, and the created electronic form data file and its definition information are registered in the form management server 2 . Note that the editing device 3 is an example of an electronic form creating device according to the present invention.

帳票管理サーバ2は、サーバ装置であり、編集装置3により作成された電子帳票のデータファイル(電子帳票ファイル)及びその定義情報を格納し、利用者端末9からの要求に応じて、電子帳票ファイルを提供する。
利用者端末9は、例えば、タブレット端末やスマートフォンなどのコンピュータ端末であり、帳票管理サーバ2から提供された電子帳票ファイルに基づいて、帳票を表示し、表示された帳票に対する入力操作を受け付ける。入力された情報は、帳票管理サーバ2に送信される。
The form management server 2 is a server device, stores the data file (electronic form file) of the electronic form created by the editing device 3 and its definition information, and in response to a request from the user terminal 9, creates the electronic form file. I will provide a.
The user terminal 9 is, for example, a computer terminal such as a tablet terminal or a smartphone, displays a form based on the electronic form file provided from the form management server 2, and accepts an input operation for the displayed form. The entered information is transmitted to the form management server 2 .

図2は、編集装置3のハードウェア構成を例示する図である。
図2に例示するように、編集装置3は、CPU300、メモリ302、HDD304、ネットワークインタフェース306(ネットワークIF306)、表示装置308、及び、入力装置310を有し、これらの構成はバス312を介して互いに接続している。
CPU300は、例えば、中央演算装置である。
メモリ302は、例えば、揮発性メモリであり、主記憶装置として機能する。
HDD304は、例えば、ハードディスクドライブ装置であり、不揮発性の記録装置としてコンピュータプログラム(例えば、図3の編集プログラム32)やその他のデータファイルを格納する。
ネットワークIF306は、有線又は無線で通信するためのインタフェースであり、例えば、帳票管理サーバ2との通信を実現する。
表示装置308は、例えば、液晶ディスプレイである。
入力装置310は、例えば、キーボード及びマウスである。さらに、入力装置310は、スキャナ38を制御し、スキャナ38により読み取られた画像の入力処理を実行する。
FIG. 2 is a diagram illustrating the hardware configuration of the editing device 3. As shown in FIG.
As illustrated in FIG. 2, the editing device 3 has a CPU 300, a memory 302, an HDD 304, a network interface 306 (network IF 306), a display device 308, and an input device 310. These components are connected via a bus 312. connected to each other.
CPU 300 is, for example, a central processing unit.
The memory 302 is, for example, a volatile memory and functions as a main memory.
The HDD 304 is, for example, a hard disk drive device, and stores computer programs (eg, the editing program 32 in FIG. 3) and other data files as a non-volatile recording device.
The network IF 306 is an interface for wired or wireless communication, and realizes communication with the form management server 2, for example.
The display device 308 is, for example, a liquid crystal display.
Input device 310 is, for example, a keyboard and mouse. Further, the input device 310 controls the scanner 38 and executes input processing of images read by the scanner 38 .

図3は、編集装置3の機能構成を例示する図である。
図3に例示するように、本例の編集装置3には、編集プログラム32がインストールされ、動作する。編集プログラム32は、例えば、CD-ROM等の記録媒体に格納されており、この記録媒体を介して、編集装置3にインストールされる。
編集プログラム32は、画像取得部320、領域指定部330、色決定部340、入力設定部350、定義情報生成部360、及び帳票データ生成部370を有する。
なお、編集プログラム32の一部又は全部は、ASICなどのハードウェアにより実現されてもよく、また、OS(Operating System)の機能を一部借用して実現されてもよい。
FIG. 3 is a diagram illustrating the functional configuration of the editing device 3. As shown in FIG.
As illustrated in FIG. 3, an editing program 32 is installed and operates in the editing device 3 of this example. The editing program 32 is stored in a recording medium such as a CD-ROM, for example, and installed in the editing apparatus 3 via this recording medium.
The editing program 32 has an image acquisition section 320 , an area designation section 330 , a color determination section 340 , an input setting section 350 , a definition information generation section 360 and a form data generation section 370 .
Part or all of the editing program 32 may be implemented by hardware such as ASIC, or may be implemented by partially borrowing functions of an OS (Operating System).

編集プログラム32において、画像取得部320は、帳票のスキャン画像データを取得する。本例では、スキャナ38が、既存の紙帳票をスキャンし、画像取得部320は、スキャナ38により読み取られた紙帳票のスキャン画像データを取得する。 In the editing program 32, an image acquisition unit 320 acquires scanned image data of a form. In this example, the scanner 38 scans an existing paper form, and the image acquisition unit 320 acquires scanned image data of the paper form read by the scanner 38 .

領域指定部330は、画像取得部320により取得されたスキャン画像データについて、一部の領域を指定する。例えば、領域指定部330は、帳票のスキャン画像に含まれる複数の四角形領域を指定領域の候補として提示し、提示された四角形領域の中から、ユーザにより選択された四角形領域を指定領域とする。 The area designating section 330 designates a partial area of the scanned image data acquired by the image acquiring section 320 . For example, the area designating unit 330 presents a plurality of rectangular areas included in the scanned image of the form as candidates for the designated area, and selects a rectangular area selected by the user from among the displayed rectangular areas as the designated area.

色決定部340は、領域指定部330により指定された領域に適用する色を決定する。例えば、色決定部340は、パレットの中からユーザが選択した色を、適用する色として決定してもよいし、領域指定部330により指定された領域に含まれている色を、適用する色として決定してもよい。 Color determining section 340 determines a color to be applied to the area designated by area designating section 330 . For example, the color determination unit 340 may determine the color selected by the user from the palette as the color to be applied, or may select the color included in the area specified by the area specification unit 330 as the color to be applied. may be determined as

入力設定部350は、領域指定部330により指定された領域について、ユーザにより選択された入力方法の入力欄を設定する。例えば、入力設定部350は、ユーザの操作に応じて、領域指定部330により指定された領域それぞれについて、テキストをキーボードで入力する入力欄、ラジオボタンが配置された入力欄、日時を選択する入力欄、又は、タッチパネル等を介して手書き入力を受け付ける入力欄などを設定する。 The input setting unit 350 sets an input field for the input method selected by the user for the area specified by the area specifying unit 330 . For example, the input setting unit 350 provides an input field for inputting text using a keyboard, an input field in which radio buttons are arranged, an input field for selecting a date and time, and an input field for selecting the date and time for each of the regions designated by the region designating unit 330 according to the user's operation. A field or an input field for receiving handwritten input via a touch panel or the like is set.

定義情報生成部360は、画像取得部320により取得された帳票のスキャン画像データに基づいて、帳票の定義情報を生成する。定義情報には、例えば、帳票画像における入力欄の位置を示す情報と、入力欄それぞれに入力される情報の属性(例えば、氏名、年月日、時刻、数量など)を示す情報とが含まれている。 The definition information generation unit 360 generates definition information of the form based on the scan image data of the form acquired by the image acquisition unit 320 . The definition information includes, for example, information indicating the positions of the input fields in the form image, and information indicating the attributes of the information to be input in each input field (for example, name, date, time, quantity, etc.). ing.

帳票データ生成部370は、画像取得部320により取得されたスキャン画像データに基づいて、領域指定部330により指定された領域が特定の色で塗り潰された帳票のデータファイルを生成する。「特定の色で塗り潰す」とは、不透明であれば何色でもよく、単色でも複数色でもグラデーションでもよい。例えば、帳票データ生成部370は、帳票のスキャン画像データのレイヤに、領域指定部330により指定された領域を単一色で塗り潰し、かつ、入力設定部350により入力欄が定義されたレイヤを重ね合わせて、電子帳票のデータファイルとする。 The form data generating unit 370 generates a data file of a form in which the area specified by the area specifying unit 330 is filled with a specific color based on the scanned image data acquired by the image acquiring unit 320 . “Painting with a specific color” may be any color as long as it is opaque, and may be a single color, a plurality of colors, or a gradation. For example, the form data generation unit 370 fills the area specified by the area specifying unit 330 with a single color and superimposes a layer in which input fields are defined by the input setting unit 350 on the layer of the scan image data of the form. and use it as the data file of the electronic form.

図4(A)は、領域指定部330をより詳細に説明する図であり、図4(B)は、色決定部340をより詳細に説明する図である。
図4(A)に例示するように、領域指定部330は、矩形領域抽出部332と、候補提示部334と、領域決定部336とを含む。
矩形領域抽出部332は、画像取得部320により取得されたスキャン画像データの中から、スキャン画像に含まれる画像要素の形状(例えば、水平線及び垂直線に囲まれた領域)に基づいて、四角形の領域を複数抽出する。
候補提示部334は、矩形領域抽出部332により抽出された複数の領域を指定領域の候補としてユーザに提示する。
領域決定部336は、候補提示部334により提示された候補の中から、ユーザにより選択された領域を指定領域に決定する。例えば、ユーザが互いに隣接する複数の候補領域を同時に選択した場合に、領域決定部336は、選択されたこれらの候補領域をまとめた領域を、指定領域に決定する。
FIG. 4A is a diagram for explaining the area designating section 330 in more detail, and FIG. 4B is a diagram for explaining the color determining section 340 in more detail.
As exemplified in FIG. 4A , the area specifying section 330 includes a rectangular area extracting section 332 , a candidate presenting section 334 and an area determining section 336 .
The rectangular area extracting unit 332 extracts a rectangular area from the scanned image data acquired by the image acquiring unit 320 based on the shape of the image element included in the scanned image (for example, an area surrounded by horizontal and vertical lines). Extract multiple regions.
The candidate presenting unit 334 presents the plurality of regions extracted by the rectangular region extracting unit 332 to the user as candidates for the designated region.
The area determination unit 336 determines the area selected by the user from among the candidates presented by the candidate presentation unit 334 as the specified area. For example, when the user simultaneously selects a plurality of candidate areas adjacent to each other, the area determining unit 336 determines an area obtained by combining these selected candidate areas as the specified area.

図4(B)に例示するように、色決定部340は、色抽出部342と、色候補提示部344と、色決定部346とを含む。
色抽出部342は、領域指定部330により指定された領域に含まれている色を抽出する。指定された領域に複数の色が含まれている場合には、色抽出部342は、含まれている複数の色を抽出する。色抽出部342は、指定された領域に含まれる文字及び罫線の色を除外し、領域の下地の色のみを抽出するようにしてもよい。
色候補提示部344は、色抽出部342により抽出された色を、候補としてユーザに提示する。
色決定部346は、色候補提示部344により提示された色の中から、ユーザにより選択された色を、指定領域の塗り潰しに用いる色に決定する。
As illustrated in FIG. 4B, the color determining section 340 includes a color extracting section 342, a color candidate presenting section 344, and a color determining section 346.
The color extraction unit 342 extracts colors included in the area specified by the area specification unit 330 . If the specified area contains multiple colors, the color extractor 342 extracts the multiple colors. The color extraction unit 342 may exclude the colors of characters and ruled lines included in the specified area and extract only the background color of the area.
The color candidate presenting unit 344 presents the colors extracted by the color extracting unit 342 to the user as candidates.
The color determination unit 346 determines the color selected by the user from among the colors presented by the color candidate presentation unit 344 as the color to be used for filling the designated area.

図5は、編集装置3による電子帳票作成処理(S10)を説明するフローチャートである。
図5に例示するように、ステップ100(S100)において、スキャナ38に既存の紙帳票をセットしてスキャンすると、編集装置3の画像取得部320は、スキャナ38から、紙帳票のスキャン画像データを取得する。
ステップ105(S105)において、定義情報生成部360は、画像取得部320により取得されたスキャン画像データに基づいて、帳票の定義情報を生成する。定義情報生成部360は、予め生成された定義情報を取得してもよい。
FIG. 5 is a flowchart for explaining electronic form creation processing (S10) by the editing device 3. As shown in FIG.
As illustrated in FIG. 5, in step 100 (S100), when an existing paper form is set on the scanner 38 and scanned, the image acquisition unit 320 of the editing device 3 acquires the scanned image data of the paper form from the scanner 38. get.
At step 105 ( S<b>105 ), the definition information generating section 360 generates form definition information based on the scanned image data acquired by the image acquiring section 320 . The definition information generator 360 may acquire definition information generated in advance.

ステップ110(S110)において、領域指定部330の矩形領域抽出部332は、画像取得部320により取得されたスキャン画像データの中から、四角形の領域を抽出する。
候補提示部334は、矩形領域抽出部332により抽出された四角形の領域を、指定領域の候補として表示装置308に表示する。
At step 110 ( S<b>110 ), the rectangular area extracting section 332 of the area designating section 330 extracts a rectangular area from the scanned image data acquired by the image acquiring section 320 .
The candidate presenting unit 334 displays the rectangular regions extracted by the rectangular region extracting unit 332 on the display device 308 as candidates for the designated region.

ステップ115(S115)において、領域決定部336は、候補提示部334により提示された候補の中から、ユーザがいずれか選択すると、選択された領域を指定領域に決定する。
編集プログラム32は、ユーザがいずれかの候補を選択した場合に、S120の処理に移行し、ユーザがいずれの候補も選択しない場合に、S130の処理に移行する。
At step 115 (S115), when the user selects one of the candidates presented by the candidate presenting unit 334, the region determination unit 336 determines the selected region as the specified region.
The editing program 32 proceeds to the processing of S120 when the user selects any candidate, and proceeds to the processing of S130 when the user does not select any candidate.

ステップ120(S120)において、色抽出部342は、領域決定部336により決定された指定領域に含まれる色を抽出する。色候補提示部344は、色抽出部342により抽出された色を含む複数の色を候補として表示装置308に表示する。色決定部346は、色候補提示部344により表示された色の候補の中から、ユーザの選択操作に応じて、指定領域の塗り潰しに用いる色を決定する。
ステップ125(S125)において、入力設定部350は、領域決定部336により決定された指定領域について、ユーザの操作に応じて、入力欄の設定を行う。
At step 120 ( S<b>120 ), the color extractor 342 extracts colors included in the designated area determined by the area determiner 336 . The color candidate presenting unit 344 displays a plurality of colors including the color extracted by the color extracting unit 342 as candidates on the display device 308 . The color determining unit 346 determines a color to be used for filling the designated area from among the color candidates displayed by the color candidate presenting unit 344 according to the user's selection operation.
At step 125 (S125), the input setting unit 350 sets the input fields for the specified area determined by the area determining unit 336 according to the user's operation.

ステップ130(S130)において、編集プログラム32は、ユーザが電子帳票の編集終了を指示した場合に、S135の処理に移行し、ユーザが電子帳票の編集終了を指示しない場合に、S110の処理に戻る。
ステップ135(S135)において、帳票データ生成部370は、領域決定部336により決定された指定領域を、色決定部346により決定された色で塗り潰し、かつ、この指定領域に対して入力設定部350により設定された入力欄を配置したレイヤを作成し、作成されたレイヤを、画像取得部320により取得されたスキャン画像の上に重ね合わせて、電子帳票ファイルを生成する。
帳票データ生成部370により生成された電子帳票ファイルは、入力欄の配置及び属性を示す帳票定義情報と共に、帳票管理サーバ2に保存される。
At step 130 (S130), the editing program 32 proceeds to the process of S135 if the user instructs to finish editing the electronic form, and returns to the process of S110 if the user does not give an instruction to finish editing the electronic form. .
At step 135 (S135), the form data generation unit 370 fills the specified area determined by the area determination unit 336 with the color determined by the color determination unit 346, and the input setting unit 350 fills in the specified area. A layer in which the input fields set by is arranged is created, and the created layer is superimposed on the scanned image acquired by the image acquisition unit 320 to generate an electronic form file.
The electronic form file generated by the form data generation unit 370 is stored in the form management server 2 together with form definition information indicating the layout and attributes of input fields.

図6は、利用者端末9による帳票表示入力処理(S20)を説明するフローチャートである。
図6に例示するように、ステップ200(S200)において、利用者端末9は、帳票管理サーバ2から受信した電子帳票ファイルの表示指示が行われると、デフォルト画面を表示して、ユーザからの指示を待つ。デフォルト画面は、例えば、帳票レイアウト画面でもよいし、入力用画面でもよい。
FIG. 6 is a flow chart for explaining the form display input process (S20) by the user terminal 9. As shown in FIG.
As exemplified in FIG. 6, in step 200 (S200), when the user terminal 9 receives an instruction to display the electronic form file received from the form management server 2, the default screen is displayed, and the instruction from the user is displayed. wait for The default screen may be, for example, a form layout screen or an input screen.

ステップ205(S205)において、利用者端末9は、ユーザが電子帳票への入力を指示した場合(例えば、いずれかの入力欄がタップされた場合)に、S210の処理に移行し、ユーザが画面の切り替えを指示した場合に、S215の処理に移行し、ユーザがデータ保存を指示した場合に、S235の処理に移行する。
ステップ210(S210)において、利用者端末9は、電子帳票の指定領域に設定された入力欄で、ユーザの入力操作を受け付ける。
In step 205 (S205), the user terminal 9 shifts to the process of S210 when the user instructs input to the electronic form (for example, when any of the input fields is tapped), and the user touches the screen. If the user instructs to switch between the two, the process proceeds to S215, and if the user instructs to save the data, the process proceeds to S235.
At step 210 (S210), the user terminal 9 accepts the user's input operation in the input field set in the specified area of the electronic form.

ステップ215(S215)において、利用者端末9は、ユーザが画面を帳票レイアウト画面に切り替えた場合に、S220の処理に移行し、ユーザが画面を入力用画面に切り替えた場合に、S225の処理に移行する。
ステップ220(S220)において、利用者端末9は、電子帳票ファイルに基づいて、塗り潰し領域及び入力欄が配置されたレイヤをスキャン画像に重ね合わせた状態で表示する。
ステップ225(S225)において、利用者端末9は、ユーザにより選択された入力欄の設定に従って、ラジオボタン等が配置された入力欄を表示する。
In step 215 (S215), the user terminal 9 proceeds to the processing of S220 when the user switches the screen to the form layout screen, and proceeds to the processing of S225 when the user switches the screen to the input screen. Transition.
At step 220 (S220), the user terminal 9 displays the layer in which the filled areas and input fields are arranged based on the electronic form file in a state superimposed on the scanned image.
At step 225 (S225), the user terminal 9 displays input fields arranged with radio buttons or the like according to the settings of the input fields selected by the user.

ステップ230(S230)において、利用者端末9は、入力欄に入力データを表示した状態で、電子帳票を表示する。
ステップ235(S235)において、利用者端末9は、ユーザのデータ保存指示に応じて、電子帳票ファイル及び入力データを帳票管理サーバ2に保存する。
At step 230 (S230), the user terminal 9 displays the electronic form with the input data displayed in the input fields.
At step 235 (S235), the user terminal 9 saves the electronic form file and the input data in the form management server 2 in accordance with the user's data saving instruction.

図7は、紙帳票の記入欄を例示する図である。
図7に例示するように、紙帳票のスキャン画像に対して、入力欄が単に重畳された場合に、紙帳票に記載されている事項のうち、タブレット等で入力する場合に不要となる事項が見えてしまい、見難い帳票となってしまう。そこで、本実施形態の編集装置3は、各記入欄を指定領域として単一の色で塗り潰し、タブレット入力に適した入力欄を配置する。
具体的には、図7(A)に例示するように、既存の紙帳票が、丸印で期間を選択する記入欄を含む場合、編集装置3は、丸印を記入する記入欄を指定領域として、単一色で塗り潰して見えなくし、期間を選択するための入力欄をその上に重畳する。
また、図7(B)に例示するように、紙帳票が、日付を記入する記入欄を含む場合、編集装置3は、この記入欄を指定領域として単一色で塗り潰して、「平成」、「年」、「月」及び「日」を隠す。この場合、入力設定部350は、例えば、日付入力ダイアログを配置し、表示される日付のフォントサイズを、横書きの場合に指定領域の上下方向のサイズに基づいて設定する。
FIG. 7 is a diagram illustrating an entry column of a paper form.
As shown in FIG. 7, when the input fields are simply superimposed on the scanned image of the paper form, some of the items written on the paper form are unnecessary when inputting with a tablet or the like. It will be visible and the form will be difficult to see. Therefore, the editing device 3 of the present embodiment fills each entry field with a single color as a designated area, and arranges an entry field suitable for tablet input.
Specifically, as exemplified in FIG. 7A, when an existing paper form includes an entry column for selecting a period with a circle, the editing device 3 designates the entry column for entering the circle as a specified area. , it is filled with a single color to make it invisible, and an input field for selecting the period is superimposed on it.
In addition, as illustrated in FIG. 7B, when the paper form includes an entry column for entering the date, the editing device 3 fills in the entry column with a single color as a designated area, and displays "Heisei", " Hide year, month and day. In this case, the input setting unit 350, for example, arranges a date input dialog and sets the font size of the displayed date based on the vertical size of the specified area in the case of horizontal writing.

図7(C)に例示するように、既存の紙帳票が、氏名を記入する記入欄を含む場合、編集装置3は、この記入欄を指定領域として、単一色で塗り潰して、「(ボールペンで記載してください)」という文字列を隠す。この場合、入力設定部350は、手書き入力を受け付ける入力欄を重畳する。
また、図7(D)に例示するように、記入済みの紙帳票に基づいて電子帳票を作成する場合にも、記入済みの文字列等が隠されるため、記入済みの紙帳票であっても利用可能である。
As exemplified in FIG. 7(C), when an existing paper form includes an entry field for entering a name, the editing device 3 fills this entry field with a single color as a designated area, and writes "(with a ballpoint pen Please fill in)" is hidden. In this case, input setting unit 350 superimposes an input field for accepting handwritten input.
Also, as shown in FIG. 7(D), even when an electronic form is created based on a filled-in paper form, since filled-in character strings are hidden, even if the filled-in paper form Available.

図8は、電子帳票を例示する図である。
図9は、図8の電子帳票に含まれる入力欄の定義情報を例示する図である。
図8では、紙の帳票(保険契約申込書)のスキャン画像のうち、入力項目A~入力項目Dが指定領域となっており、単一の色で塗り潰されている。それぞれの入力項目の位置は、図9の定義情報において、「Left」、「Top」、「Width」及び「Height」で定義されている。塗り潰しの色は、「Background-Color」で定義されている。また、入力項目A、入力項目B及び入力項目Dの入力欄は、キーボード等によるテキスト入力に設定されており、入力項目Cの入力欄は、手書き入力に設定されている。
FIG. 8 is a diagram illustrating an electronic form.
FIG. 9 is a diagram exemplifying definition information of input fields included in the electronic form of FIG.
In FIG. 8, of the scanned image of the paper form (insurance policy application form), the input items A to D are designated areas, which are filled with a single color. The position of each input item is defined by "Left", "Top", "Width" and "Height" in the definition information of FIG. The fill color is defined in "Background-Color". The input fields for input item A, input item B, and input item D are set for text input using a keyboard or the like, and the input field for input item C is set for handwriting input.

以上説明したように、本実施形態の帳票管理システム1によれば、既存の紙帳票に基づいて、タブレット端末等のコンピュータ入力に適した電子帳票を容易に作成することができる。記載済の紙帳票であっても、記入された記載欄を隠して、見やすい電子帳票とすることができる。 As described above, according to the form management system 1 of the present embodiment, it is possible to easily create an electronic form suitable for input from a computer such as a tablet terminal based on an existing paper form. Even a paper form that has already been filled in can be made into an easy-to-read electronic form by hiding the filled-in fields.

(変形例)
上記実施形態の変形例を説明する。
上記実施形態では、入力設定部350が、横書きの入力欄について、指定領域(入力欄)の上下方向のサイズに基づいて、この入力欄で入力を受け付ける文字のフォントサイズを決定しているが、これに限定されるものではなく、例えば、指定領域内に記載されている文字のサイズに基づいて、この入力欄のフォントサイズを決定してもよい。
(Modification)
A modification of the above embodiment will be described.
In the above embodiment, the input setting unit 350 determines the font size of characters to be input in the horizontal input field based on the vertical size of the specified area (input field). For example, the font size of the input field may be determined based on the size of characters written in the specified area.

1 帳票管理システム
3 編集装置
32 編集プログラム
38 スキャナ
1 form management system 3 editing device 32 editing program 38 scanner

Claims (8)

帳票のスキャン画像データを取得する画像取得部と、
前記画像取得部により取得されたスキャン画像データについて、一部の領域を指定する領域指定部と、
前記領域指定部により指定された領域について、ユーザにより選択された入力方法の入力欄を設定する入力設定部と、
前記画像取得部により取得されたスキャン画像データのレイヤに、前記領域指定部により指定された領域が単一色で塗り潰され、かつ、前記入力設定部により設定された入力欄が定義されたレイヤを重ね合わせて、前記帳票のデータファイルを生成する帳票データ生成部と
を有する電子帳票作成装置。
an image acquisition unit that acquires scanned image data of a form;
an area specifying unit that specifies a partial area of the scanned image data acquired by the image acquiring unit;
an input setting unit for setting an input field for an input method selected by a user for the area specified by the area specifying unit;
A layer in which the area specified by the area specifying unit is filled with a single color and the input field set by the input setting unit is defined in the layer of the scanned image data acquired by the image acquiring unit. and a form data generation unit that superimposes and generates a data file of the form.
前記領域指定部は、帳票のスキャン画像に含まれる画像要素の形状に基づいて、領域を指定し、
前記帳票データ生成部は、前記領域指定部により指定された領域を単色で塗り潰した帳票のデータファイルを生成する
請求項1に記載の電子帳票作成装置。
The area designating unit designates an area based on a shape of an image element included in a scanned image of a form,
2. The electronic form creation apparatus according to claim 1, wherein the form data generation unit generates a data file of a form in which the area designated by the area designation unit is filled with a single color.
前記領域指定部は、帳票のスキャン画像に含まれる複数の四角形領域を指定領域の候補として提示し、提示された四角形領域の中から、ユーザにより選択された四角形領域を指定領域とする
請求項1に記載の電子帳票作成装置。
2. The area designating unit presents a plurality of rectangular areas included in the scanned image of the form as candidates for the designated area, and selects a rectangular area selected by the user from among the displayed rectangular areas as the designated area. The electronic form creation device according to .
前記領域指定部により指定された領域に含まれている色データに基づいて、塗り潰しに用いる色を決定する色決定部
をさらに有し、
前記帳票データ生成部は、前記色決定部により決定された色で前記領域指定部により指定された領域が塗り潰された前記帳票のデータファイルを生成する
請求項1に記載の電子帳票作成装置。
a color determining unit that determines a color to be used for filling based on color data included in the area specified by the area specifying unit;
2. The electronic form creation apparatus according to claim 1, wherein the form data generating unit generates a data file of the form in which the area specified by the area specifying unit is filled with the color determined by the color determining unit.
前記入力設定部は、前記領域指定部により指定された領域のサイズ、又は、指定された領域の近傍に存在する文字画像のサイズに基づいて、入力桶のフォントサイズを決定する
請求項に記載の電子帳票作成装置。
2. The input setting unit according to claim 1 , wherein the input setting unit determines the font size of the input bucket based on the size of the area specified by the area specifying unit or the size of the character image existing in the vicinity of the specified area. electronic form creation device.
既存の紙帳票をスキャンして、スキャン画像データを取得する取得ステップと、
取得されたスキャン画像データの-部の領域を指定する領域指定ステップと、
前記領域指定ステップにより指定された領域について、ユーザにより選択された入力方法の入力欄を設定する入力設定ステップと、
前記取得ステップにより取得されたスキャン画像データのレイヤに、前記領域指定ステップにより指定された領域が特定の色で塗り潰され、かつ、前記入力設定ステップにより設定された入力欄が定義されたレイヤを重ね合わせて、帳票のデータファイルを生成する帳票データ生成ステップ
を有する電子帳票作成方法。
an acquisition step of scanning an existing paper form to acquire scanned image data;
an area specifying step of specifying a negative area of the acquired scan image data;
an input setting step of setting an input field for an input method selected by a user for the area specified by the area specifying step;
A layer in which the area specified by the area specifying step is filled with a specific color and the input field set by the input setting step is defined is superimposed on the layer of the scanned image data acquired by the acquiring step. In addition, a form data generation step for generating form data files
and an electronic form creation method.
前記取得ステップにおいて、記入済みの紙帳票をスキャンして、スキャン画像データを取得する
請求項に記載の電子帳票作成方法。
7. The method of creating an electronic form according to claim 6 , wherein in said obtaining step, the filled-in paper form is scanned to obtain scanned image data.
帳票のスキャン画像データを取得する取得ステップと、
前記取得ステップにより取得されたスキャン画像データについて、-部の領域を指定する領域指定ステップと、
前記領域指定ステップにより指定された領域について、ユーザにより選択された入力方法の入力欄を設定する入力設定ステップと、
前記取得ステップにより取得されたスキャン画像データのレイヤに、前記領域指定ステップにより指定された領域が特定の色で塗り潰され、かつ、前記入力設定ステップにより設定された入力欄が定義されたレイヤを重ね合わせて、前記帳票のデータファイルを生成する帳票データ生成ステップと
をコンピュータに実行させるプログラム。
an acquisition step of acquiring scanned image data of a form;
a region designation step of designating a negative region of the scanned image data obtained by the obtaining step;
an input setting step of setting an input field for an input method selected by a user for the area specified by the area specifying step;
A layer in which the area specified by the area specifying step is filled with a specific color and the input field set by the input setting step is defined is superimposed on the layer of the scanned image data acquired by the acquiring step. A program for causing a computer to execute a form data generation step of generating a data file of the form.
JP2021558105A 2019-11-20 2019-11-20 Electronic form creation device, electronic form creation method, and program Active JP7324305B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/045493 WO2021100158A1 (en) 2019-11-20 2019-11-20 Electronic form creation device, electronic form creation method, and program

Publications (2)

Publication Number Publication Date
JPWO2021100158A1 JPWO2021100158A1 (en) 2021-05-27
JP7324305B2 true JP7324305B2 (en) 2023-08-09

Family

ID=75980011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021558105A Active JP7324305B2 (en) 2019-11-20 2019-11-20 Electronic form creation device, electronic form creation method, and program

Country Status (2)

Country Link
JP (1) JP7324305B2 (en)
WO (1) WO2021100158A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046746A (en) 2001-07-31 2003-02-14 Canon Inc Method and apparatus for processing image
JP2011015251A (en) 2009-07-03 2011-01-20 Sharp Corp Image reading apparatus
JP2012009000A (en) 2010-05-24 2012-01-12 Pfu Ltd Business form processing system, ocr device, ocr processing program, business form creation device, business form creation program, and business form processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046746A (en) 2001-07-31 2003-02-14 Canon Inc Method and apparatus for processing image
JP2011015251A (en) 2009-07-03 2011-01-20 Sharp Corp Image reading apparatus
JP2012009000A (en) 2010-05-24 2012-01-12 Pfu Ltd Business form processing system, ocr device, ocr processing program, business form creation device, business form creation program, and business form processing method

Also Published As

Publication number Publication date
WO2021100158A1 (en) 2021-05-27
JPWO2021100158A1 (en) 2021-05-27

Similar Documents

Publication Publication Date Title
US7899246B2 (en) Image display device, image display method, and computer product
US9448722B2 (en) Text entry into electronic devices
JP2003298837A (en) Graphical input and display system for creating and manipulating electronic image, method for editing source electronic image inputted to display device to meaningful image object, and product including computer usable medium with computer readable program code incorporated
JP2003288607A (en) Method and device of digital ink image conversion for use in structured text graphic editor
KR20160101683A (en) Formula inputting method, apparatus and electronic device
KR20120054750A (en) Method and apparatus for selective display
US20030214539A1 (en) Method and apparatus for hollow selection feedback
JP5664164B2 (en) Electronic information board device, information display method, program
JP2007188474A (en) User interface device, item setting method and program
CN107133615B (en) Information processing apparatus, information processing method, and computer program
US10210141B2 (en) Stylizing text by replacing glyph with alternate glyph
KR20160064925A (en) Handwriting input apparatus and control method thereof
US10725653B2 (en) Image processing device, image processing system, and image processing method
US8345271B2 (en) Printing control apparatus for assigning parameter selections to specific keys
JP7324305B2 (en) Electronic form creation device, electronic form creation method, and program
JP5330714B2 (en) Search support device and search support program
CN108932054B (en) Display device, display method, and non-transitory recording medium
JP2000194869A (en) Document preparation device
JP6503850B2 (en) Range specification program, range specification method and range specification apparatus
TWI231457B (en) System and method for converting an outline font into a glyph-based font
JP6459470B2 (en) Document management program, method, and document management apparatus
CN109840046A (en) Touch screen writes processing method and processing device
US20240020075A1 (en) Information processing apparatus, control method therefor, and storage medium
Blaney et al. Visualising your data
Steuer The Adobe Illustrator WOW! Book for CS6 and CC

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211202

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20221118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230414

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230728

R150 Certificate of patent or registration of utility model

Ref document number: 7324305

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150