JP2015114734A - Image forming apparatus and program - Google Patents

Image forming apparatus and program Download PDF

Info

Publication number
JP2015114734A
JP2015114734A JP2013254526A JP2013254526A JP2015114734A JP 2015114734 A JP2015114734 A JP 2015114734A JP 2013254526 A JP2013254526 A JP 2013254526A JP 2013254526 A JP2013254526 A JP 2013254526A JP 2015114734 A JP2015114734 A JP 2015114734A
Authority
JP
Japan
Prior art keywords
difference
document
extraction area
image
difference image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013254526A
Other languages
Japanese (ja)
Other versions
JP6176099B2 (en
Inventor
惇 安藤
Andojun
惇 安藤
俊男 鐵
Toshio Tetsu
俊男 鐵
匡広 岩田
Masahiro Iwata
匡広 岩田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2013254526A priority Critical patent/JP6176099B2/en
Publication of JP2015114734A publication Critical patent/JP2015114734A/en
Application granted granted Critical
Publication of JP6176099B2 publication Critical patent/JP6176099B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image forming apparatus and a program, which designate a part of a document to be written to, as a target of computation for forming a differential image.SOLUTION: An image forming apparatus performs: storing at least a part of a pre-update document to be written to as a differential extraction zone; reading a post-update document; generating a differential image that is a difference between the differential extraction zone of the pre-update document and the differential extraction zone in the post-update document; and, in a case where a differential image is formed by differential image forming-means, updating the differential extraction zone on the basis of the differential image.

Description

本発明は画像処理装置及びプログラムに関する。   The present invention relates to an image processing apparatus and a program.

従来、手書きで作成される診療カルテ等の文書は、紙文書として管理されると共に、当該紙文書をスキャナ等で読み込むことで電子文書として管理されることもあった。   Conventionally, documents such as medical charts created by handwriting are managed as paper documents, and are sometimes managed as electronic documents by reading the paper documents with a scanner or the like.

下記特許文献1には、既に文書管理サーバに格納されている文書を再度スキャンする場合に、差分情報を抽出して元電子文書に関連付けて差分情報を格納する文書管理システムが記載されている。   Patent Document 1 below describes a document management system that extracts difference information and stores the difference information in association with the original electronic document when a document already stored in the document management server is scanned again.

下記特許文献2には、手書き文字や汚れ等が付加された印刷物の画像データを元画像データと比較し、差分データを抽出し、反映を希望する差分データを選択させる画像形成装置が記載されている。   The following Patent Document 2 describes an image forming apparatus that compares image data of a printed matter to which handwritten characters and dirt are added with original image data, extracts difference data, and selects difference data desired to be reflected. Yes.

特開2006−164109号公報JP 2006-164109 A 特開2010−62998号公報JP 2010-62998 A

しかし、文書更新のたびに文書全体を差分画像生成のための演算対象とすると、書き込む予定の無い部分まで演算対象にすることになり、演算効率が悪い。   However, if the entire document is a calculation target for generating a difference image every time the document is updated, a portion that is not scheduled to be written is calculated, and the calculation efficiency is poor.

そこで、本発明は、文書の書き込み予定部分を差分画像生成のための演算対象とする画像処理装置及びプログラムの提供を目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and a program that use a scheduled writing portion of a document as a calculation target for generating a difference image.

上記課題を解決するために、請求項1に記載の画像処理装置は、更新前文書のうち少なくとも書き込み予定部分を差分抽出領域として記憶する文書記憶手段と、更新後文書を読み取る文書読み取り手段と、前記更新前文書の前記差分抽出領域と、前記更新後文書における前記差分抽出領域の差分画像を生成する差分画像生成手段と、前記差分画像生成手段により差分画像が生成された場合に、前記差分画像に基づいて差分抽出領域を更新する差分抽出領域更新手段と、を備えることを特徴とする。   In order to solve the above problem, the image processing apparatus according to claim 1, a document storage unit that stores at least a portion to be written as a difference extraction area in a document before update, a document reading unit that reads an updated document, The difference image is generated when the difference image is generated by the difference extraction area of the pre-update document, the difference image generation means for generating the difference image of the difference extraction area in the updated document, and the difference image generation means. And a difference extraction area updating means for updating the difference extraction area based on.

また、請求項2に記載の発明は、前記文書記憶手段は、複数の前記差分抽出領域を記憶することを特徴とする請求項1に記載の画像処理装置である。   The invention according to claim 2 is the image processing apparatus according to claim 1, wherein the document storage means stores a plurality of the difference extraction areas.

また、請求項3に記載の発明は、前記画像処理装置は、前記差分画像生成手段により生成した差分画像を、当該差分画像に関連する元差分抽出領域により分類して表示する表示手段をさらに備えることを特徴とする請求項2に記載の画像処理装置である。   The image processing apparatus may further include a display unit that classifies and displays the difference image generated by the difference image generation unit according to an original difference extraction area related to the difference image. The image processing apparatus according to claim 2.

また、請求項4に記載の発明は、前記表示手段は、前記差分画像生成手段により生成した差分画像を、当該差分画像の生成時により分類して表示することを特徴とする請求項3に記載の画像処理装置である。   The invention according to claim 4 is characterized in that the display means classifies and displays the difference images generated by the difference image generation means at the time of generation of the difference image. This is an image processing apparatus.

また、請求項5に記載の発明は、画像処理装置に備えられたコンピュータを、更新前文書のうち少なくとも書き込み予定部分を差分抽出領域として記憶する文書記憶手段、更新後文書を読み取る文書読み取り手段、前記更新前文書の前記差分抽出領域と、前記更新後文書における前記差分抽出領域の差分画像を生成する差分画像生成手段、前記差分画像生成手段により差分画像が生成された場合に、前記差分画像に基づいて差分抽出領域を更新する差分抽出領域更新手段、として機能させることを特徴とするプログラムである。   According to a fifth aspect of the present invention, there is provided a computer provided in the image processing apparatus, a document storage unit that stores at least a portion to be written in a pre-update document as a difference extraction area, a document reading unit that reads a post-update document, When the difference image is generated by the difference extraction area of the pre-update document, the difference image generation means for generating the difference image of the difference extraction area in the updated document, and the difference image generation means, It is a program characterized by functioning as a difference extraction area updating means for updating a difference extraction area based on the program.

請求項1及び5に記載の発明によれば、文書の書き込み予定部分を差分画像生成のための演算対象とする。   According to the first and fifth aspects of the present invention, the scheduled writing portion of the document is a calculation target for generating a difference image.

請求項2に記載の発明によれば、複数の領域を差分画像生成のための演算対象とする。   According to the invention described in claim 2, a plurality of regions are set as calculation targets for generating a difference image.

請求項3に記載の発明によれば、差分画像を当該差分画像に関連する差分抽出領域により分類して表示する。   According to invention of Claim 3, a difference image is classified and displayed by the difference extraction area | region relevant to the said difference image.

請求項4に記載の発明によれば、差分画像を当該差分画像の生成時により分類して表示する。   According to invention of Claim 4, a difference image is classified and displayed by the time of the said difference image production | generation.

本発明の実施例における画像処理装置を示すブロック図である。It is a block diagram which shows the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置に読み込む文書の例を示す図である。It is a figure which shows the example of the document read into the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の記憶部の内容を示す図である。It is a figure which shows the content of the memory | storage part of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の差分抽出領域記憶部の内容を示す図である。It is a figure which shows the content of the difference extraction area | region memory | storage part of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の差分抽出領域の例を示す図である。It is a figure which shows the example of the difference extraction area | region of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の差分画像記憶部の内容を示す図である。It is a figure which shows the content of the difference image memory | storage part of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の文書記憶部の内容を示す図である。It is a figure which shows the content of the document memory | storage part of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の差分生成処理を示すフローチャートである。It is a flowchart which shows the difference production | generation process of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の差分抽出領域更新を示す図である。It is a figure which shows the difference extraction area update of the image processing apparatus in the Example of this invention. 本発明の実施例における画像処理装置の差分表示画面を示す図である。It is a figure which shows the difference display screen of the image processing apparatus in the Example of this invention.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る画像処理装置1の構成例を示す図である。画像処理装置1は、図1に示すように、表示部20と、記憶部30、制御部40、スキャナ部50、入力部60を含んで構成されている。なお、制御部40と、表示部20、記憶部30、入力部60は一体となってコンピュータとして機能する。   FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus 1 according to an embodiment of the present invention. As shown in FIG. 1, the image processing apparatus 1 includes a display unit 20, a storage unit 30, a control unit 40, a scanner unit 50, and an input unit 60. In addition, the control part 40, the display part 20, the memory | storage part 30, and the input part 60 function as a computer integrally.

表示部20は、例えば液晶ディスプレイであり、画像処理装置1に読み込まれた文書画像や生成した差分画像等を表示する。また、画像処理装置1を操作するために必要な情報等を表示する。   The display unit 20 is, for example, a liquid crystal display, and displays a document image read into the image processing apparatus 1, a generated difference image, and the like. Further, information necessary for operating the image processing apparatus 1 is displayed.

記憶部30は、例えばRAM(Random Access Memory)やROM(Read Only Memory)を含んでいる。記憶部30は制御部40が実行するプログラムを格納するとともに、制御部40のワークメモリとしても機能する。本実施の形態では、記憶部30は上記プログラムの実行に必要となる情報を記憶する差分抽出領域記憶部31等を含む。なお、記憶部30に格納される制御部40が実行するプログラムは、電気通信回線を介して提供されるものであってもよいし、半導体記憶素子等のコンピュータで読み取り可能な情報記憶媒体に格納されて提供されるものであってもよい。   The storage unit 30 includes, for example, a RAM (Random Access Memory) and a ROM (Read Only Memory). The storage unit 30 stores a program executed by the control unit 40 and also functions as a work memory for the control unit 40. In the present embodiment, the storage unit 30 includes a difference extraction area storage unit 31 that stores information necessary for executing the program. Note that the program executed by the control unit 40 stored in the storage unit 30 may be provided via a telecommunication line or stored in a computer-readable information storage medium such as a semiconductor storage element. And may be provided.

制御部40は、例えばCPU(Central Processing Unit)を含んでおり、記憶部30に格納されているプログラムを実行することにより、画像処理装置1の全体を制御する。例えば、制御部40は、読み込んだ文章を表示する場合等に表示部20の制御を行う。また、制御部40は、記憶部30に格納されている情報に基づき差分画像生成プログラムを実行することにより差分画像の生成を行う。当該処理の具体的内容については後述する。   The control unit 40 includes, for example, a CPU (Central Processing Unit), and controls the entire image processing apparatus 1 by executing a program stored in the storage unit 30. For example, the control unit 40 controls the display unit 20 when displaying the read sentence. Further, the control unit 40 generates a difference image by executing a difference image generation program based on the information stored in the storage unit 30. Specific contents of the processing will be described later.

スキャナ部50は、紙文書を読み込み、文書を電子データとして画像処理装置1に取り込む。取り込まれた文書の電子データは記憶部30に含まれる文書記憶部33に記憶される。   The scanner unit 50 reads a paper document and takes the document into the image processing apparatus 1 as electronic data. The electronic data of the captured document is stored in the document storage unit 33 included in the storage unit 30.

入力部60は例えばキーボードやマウス等であり、ユーザの指示を制御部40に出力する。   The input unit 60 is, for example, a keyboard or a mouse, and outputs a user instruction to the control unit 40.

図2は、本実施の形態において読み込まれる文書70の一例を示すものである。文書70は、具体的には診療カルテ等である。文書70は個人情報等記入欄80を含んでいる。個人情報等記入欄80に書き込まれる情報は、例えば患者の氏名や生年月日等であり、一度書き込まれた後は書き替えが行われないような情報である。従って、追記や変更の可能性が無い欄である。   FIG. 2 shows an example of a document 70 read in the present embodiment. The document 70 is specifically a medical chart or the like. The document 70 includes a personal information entry field 80. The information written in the personal information entry field 80 is, for example, the name and date of birth of the patient, and is information that cannot be rewritten once written. Therefore, it is a column with no possibility of additional writing or change.

なお、個人情報等記入欄80に住所等を記入する場合において、後に住所等が変更となる可能性を考慮するならば、後述する差分抽出領域を個人情報等記入欄80の特定の領域に設定するなどしてもよい。   In addition, when entering an address in the personal information entry field 80, if considering the possibility that the address will be changed later, a differential extraction area described later is set as a specific area in the personal information entry field 80. You may do it.

個人情報等記入欄80には二次元コード90が付されている。二次元コード90は、文書70の文書様式や用途等をコード化したものである。コード化された情報として上記個人情報等記入欄80に書かれた内容を含んでもよく、その場合は個人情報等記入欄80に記載があった後に二次元コード90を印刷することとしてもよい。   A two-dimensional code 90 is attached to the personal information entry field 80. The two-dimensional code 90 is obtained by coding the document format and usage of the document 70. The coded information may include the contents written in the personal information entry field 80. In this case, the two-dimensional code 90 may be printed after the information is entered in the personal information entry field 80.

本実施の形態では、一連の文書に同一コードが付されるものとする。例えば、個人の診療カルテに追記を重ねていき余白が無くなった場合等、新たな用紙に追記する必要が生じる場合が考えられるため、そのような場合には新たな用紙には当該文書が一連の文書の一であることを認識できるような同一コードを付すものとする。   In the present embodiment, it is assumed that the same code is attached to a series of documents. For example, it may be necessary to add additional information to a personal medical chart and there is no need for additional information on a new sheet. In such a case, a series of documents are included on the new sheet. The same code that can be recognized as one of the documents is attached.

文書70は第1記入欄100、第2記入欄110、第3記入欄120を含む。各記入欄は記載する内容に応じて使い分けられるものとし、図2に示した文書70の場合、「あいう」なる文字が第1記入欄に書き込まれ、「イロハ」なる文字が第2記入欄に書き込まれ、「ABC」なる文字が第3記入欄に書き込まれている。本実施の形態では、書き込まれている文字として上記のような文字の羅列を例として挙げたが、当然ながら意味のある文が書き込まれることを想定している。また、書き込まれる内容は文字に限られず、図であってもよい。   The document 70 includes a first entry field 100, a second entry field 110, and a third entry field 120. Each entry field is properly used according to the contents to be described. In the case of the document 70 shown in FIG. 2, the letters “A” are written in the first entry field, and the letters “Iloha” are entered in the second entry field. Written and the letters “ABC” are written in the third entry field. In the present embodiment, the list of characters as described above is given as an example of written characters, but it is assumed that meaningful sentences are written. Further, the written contents are not limited to characters, and may be diagrams.

各記入欄を取り囲む点線の枠は、それぞれ第1差分抽出領域130、第2差分抽出領域140、第3差分抽出領域150を表す。これらの枠線は文書70の紙面上に印刷されているものではなく、本実施の形態を説明する目的で仮想的に示したものである。   The dotted frame surrounding each entry field represents the first difference extraction area 130, the second difference extraction area 140, and the third difference extraction area 150, respectively. These frame lines are not printed on the paper surface of the document 70, but are virtually shown for the purpose of explaining the present embodiment.

各差分抽出領域は、文書70の左上頂点を原点とする座標を用いて枠線の四隅が指定されている。例えば、第1差分抽出領域130の場合、領域の左上隅の座標は(x1、y1)、左下の座標は(x1、y2)、右下の座標は(x2、y2)、右上の座標は(x2、y1)と指定されている。他の差分抽出領域についても同様である。なお、文書70に付された座標軸及び座標を示す実線は仮想的に付したものである。   In each difference extraction area, the four corners of the frame line are designated using coordinates with the upper left vertex of the document 70 as the origin. For example, in the case of the first difference extraction area 130, the coordinates of the upper left corner of the area are (x1, y1), the coordinates of the lower left are (x1, y2), the coordinates of the lower right are (x2, y2), and the coordinates of the upper right are ( x2, y1). The same applies to the other difference extraction areas. In addition, the solid line which shows the coordinate axis and coordinate attached | subjected to the document 70 is attached | subjected virtually.

上記差分抽出領域の座標は、記憶部30に含まれる差分抽出領域記憶部31に記憶されているものである。図3に本実施の形態における記憶部30の内容を示す。記憶部30は、差分抽出領域記憶部31の他に、差分画像記憶部32、文書記憶部33を含む。   The coordinates of the difference extraction area are stored in the difference extraction area storage unit 31 included in the storage unit 30. FIG. 3 shows the contents of the storage unit 30 in the present embodiment. The storage unit 30 includes a difference image storage unit 32 and a document storage unit 33 in addition to the difference extraction area storage unit 31.

図4に、差分抽出領域記憶部31の内容を示す。差分抽出領域記憶部31には、前述のように、各差分抽出領域を指定する座標が記憶されている。本実施の形態では差分抽出領域は矩形であるとし、差分抽出領域は四隅の座標で指定されるものとしたが、差分抽出領域は多角形でもよいし、円形等であってもよい。円形とする場合は中心点と直径により差分抽出領域を指定することになる。   FIG. 4 shows the contents of the difference extraction area storage unit 31. The difference extraction area storage unit 31 stores coordinates for designating each difference extraction area as described above. In the present embodiment, the difference extraction area is assumed to be a rectangle, and the difference extraction area is designated by the coordinates of the four corners. However, the difference extraction area may be a polygon, a circle, or the like. In the case of a circle, the difference extraction area is designated by the center point and the diameter.

差分抽出領域記憶部31には、複数の文書様式に関する差分抽出領域座標群が記憶されているものとする。画像処理装置1は、スキャナ部50で読み込んだ文書70の二次元コード90をデコードし、読み込まれた文書70の文書様式を特定し、適切な差分抽出領域座標群を選び出す。   The difference extraction area storage unit 31 stores difference extraction area coordinate groups related to a plurality of document formats. The image processing apparatus 1 decodes the two-dimensional code 90 of the document 70 read by the scanner unit 50, specifies the document format of the read document 70, and selects an appropriate difference extraction area coordinate group.

また、本実施の形態では二次元コード90により文書70の文書様式を特定することとしたが、スキャナ部50によって文書70を読み込んだ際に、記入欄等の枠線を判別し、当該判別された枠線の頂点を差分抽出領域座標群としてもよい。また、ユーザが適宜差分抽出領域を指定することとしてもよい。   In the present embodiment, the document format of the document 70 is specified by the two-dimensional code 90. However, when the document 70 is read by the scanner unit 50, a frame line such as an entry field is determined, and the determination is made. The apex of the frame line may be set as a difference extraction area coordinate group. Further, the user may appropriately designate the difference extraction area.

図5に差分抽出領域の取り方の例を2種類示す。図5(a)は、第3記入欄120と第3差分抽出領域150を示した図であり、この場合、第3記入欄120には「ABCDEFG」なる文字が書き込まれている。図5(a)に示す第3差分抽出領域150の取り方は図2によるものと同じである。   FIG. 5 shows two examples of how to take the difference extraction area. FIG. 5A shows the third entry field 120 and the third difference extraction area 150. In this case, the letters “ABCDEFG” are written in the third entry field 120. FIG. The way of taking the third difference extraction area 150 shown in FIG. 5A is the same as that shown in FIG.

一方、図5(b)に示す場合においては、拡大した第3差分抽出領域160が用いられている。この場合、第3記入欄120を大きく取り囲むように差分抽出領域が設定されており、「ABCDEFG」なる文字が第3記入欄120をはみ出して書き込まれている場合であっても、文字全体を差分抽出領域に含めることができる。   On the other hand, in the case shown in FIG. 5B, the enlarged third difference extraction area 160 is used. In this case, the difference extraction area is set so as to largely surround the third entry field 120, and even if the character “ABCDEFG” is written outside the third entry field 120, the entire character is differentiated. It can be included in the extraction area.

このように、差分抽出領域の取り方を複数用意しておき、画像処理装置1のユーザが適宜選択することとしてもよい。その場合、差分抽出領域記憶部31に複数の差分抽出領域座標群が記憶されているものとし、ユーザに選択を委ねることとすればよい。その場合、図5(a)のような取り方と図5(b)のような取り方を記入欄によって使い分ける選択ができるものとしてもよい。   As described above, a plurality of methods for taking the difference extraction area may be prepared, and the user of the image processing apparatus 1 may select as appropriate. In this case, it is assumed that a plurality of difference extraction region coordinate groups are stored in the difference extraction region storage unit 31, and the selection is entrusted to the user. In that case, it may be possible to select a method as shown in FIG. 5A and a method as shown in FIG.

図6は、差分画像記憶部32の内容を示すものである。差分画像記憶部32には、画像処理装置1により取得された差分画像が、取得元の記入欄及び生成日とともに記憶されている。本実施の形態において、図2に示した文書70は、2013年2月1日に書き込まれた後、2013年4月1日に更新される前に読み込まれた場合の状態である。文書70の最終更新は2013年5月1日に行われており、その際に書き込まれた欄は第3記入欄のみであることが読み取れる。なお、本実施の形態では生成日を記憶することとしたが、さらに時分秒を記憶することとしてもよいし、追記を行った者の氏名等とともに記憶することとしてもよい。例えば診療カルテの場合、追記を行った者とは、医師や看護師等である。   FIG. 6 shows the contents of the difference image storage unit 32. The difference image storage unit 32 stores a difference image acquired by the image processing apparatus 1 together with an acquisition source entry field and a generation date. In this embodiment, the document 70 shown in FIG. 2 is in a state in which it is read before being updated on April 1, 2013 after being written on February 1, 2013. The last update of the document 70 was performed on May 1, 2013, and it can be read that the column written at that time is only the third entry column. In the present embodiment, the generation date is stored. However, the hour, minute, and second may be stored, or may be stored together with the name of the person who made the additional writing. For example, in the case of a medical chart, the person who has added information is a doctor, a nurse, or the like.

図7は、文書記憶部33の内容を示す図である。文書記憶部33には、記入前文書及び更新後の各文書が更新日とともに記憶されている。本実施の形態では、2013年5月1日の更新において、文書70の第3記入欄120に「GHI」なる文字を書き込んだところで余白がなくなり、同一コードが付された新たな用紙に「abcd」なる文字を書き込んでいる。そのため、2013年5月1日の更新においては、2つの文書が記憶されている。   FIG. 7 is a diagram showing the contents of the document storage unit 33. The document storage unit 33 stores the pre-entry document and each updated document along with the update date. In the present embodiment, in the update on May 1, 2013, when the character “GHI” is written in the third entry field 120 of the document 70, the blank space disappears and “abcd” is added to a new sheet with the same code. "Is written. Therefore, two documents are stored in the update on May 1, 2013.

ここで図6を振り返ると、2013年5月1日の第3記入欄から得られた差分画像は、「GHI」なる文字と「abcd」なる文字であることがわかる。このように、用紙を変えて書き込んだとしても、差分画像の取得元が同じ記入欄であれば、一連の差分画像が連続して記憶される。   Looking back at FIG. 6, it can be seen that the difference image obtained from the third entry field on May 1, 2013 is the characters “GHI” and “abcd”. In this way, even if the paper is changed and written, if the difference image acquisition source is the same entry field, a series of difference images are continuously stored.

なお、用紙を変更して書き込みを行う場合、文書に付された二次元コード90により一連の文書であることを判別することとしてもよいし、スキャナ部50により文書を取り込んだ際に、記憶済み文書の続きであることを指定できることとしてもよい。   In addition, when writing by changing the paper, it may be determined that the document is a series of documents based on the two-dimensional code 90 attached to the document, or stored when the scanner unit 50 captures the document. It may be possible to specify that it is a continuation of the document.

図8は、制御部40により実行される差分生成プログラムの処理をフローチャートにより示したものである。以下で、当該処理の具体的な内容を説明する。   FIG. 8 is a flowchart showing the processing of the difference generation program executed by the control unit 40. Below, the specific content of the said process is demonstrated.

はじめに、制御部40はスキャナ部50でスキャンした文書70のデータを読み込む(S1)。読み込まれる文書70は記入前の場合もあるし、記入済みで幾度か更新されている場合もある。   First, the control unit 40 reads the data of the document 70 scanned by the scanner unit 50 (S1). The document 70 to be read may be before entry or may have been entered and updated several times.

次に、制御部40は、読み込んだ文書70を記憶部30に含まれる文書記憶部33に記憶する(S2)。この際、図7に示したように更新日とともに記憶することとし、追記を行った者の氏名等、他の情報を付加することとしてもよい。   Next, the control unit 40 stores the read document 70 in the document storage unit 33 included in the storage unit 30 (S2). At this time, as shown in FIG. 7, it may be stored together with the update date, and other information such as the name of the person who made the addition may be added.

制御部40は、読み込まれた文書70に付された二次元コード90を検出し、デコードを行う(S3)。これにより、読み込まれた文書70の文書様式等の情報が得られる。   The control unit 40 detects and decodes the two-dimensional code 90 attached to the read document 70 (S3). Thereby, information such as the document format of the read document 70 is obtained.

次に、制御部40は、読み込まれた文書70と同一コードが付された記入済み文書が既に文書記憶部33に記憶されているか判断する(S4)。ここでは、既に記入済み文書がある場合、すなわち当該判断がYESである場合の流れを先に追うこととする。   Next, the control unit 40 determines whether a completed document with the same code as the read document 70 is already stored in the document storage unit 33 (S4). Here, it is assumed that the flow in the case where there is an already filled document, that is, the case where the determination is YES, is followed first.

読み込まれた文書70と同一コードが付された記入済み文書が既に文書記憶部33に記憶されている場合、読み込まれた文書70に付された二次元コード90から判別される適切な差分抽出領域座標群を差分抽出領域記憶部31から読み込む(S5)。本実施の形態では、例えば図2に示したような複数の差分抽出領域が指定されることとなる。   When a completed document with the same code as that of the read document 70 is already stored in the document storage unit 33, an appropriate difference extraction area discriminated from the two-dimensional code 90 attached to the read document 70 The coordinate group is read from the difference extraction area storage unit 31 (S5). In the present embodiment, for example, a plurality of difference extraction areas as shown in FIG. 2 are designated.

次に、制御部40は、読み込まれた文書70の更新履歴の中から、直前の更新前文書を文書記憶部33から読み込む(S6)。例えば、2013年2月1日と2013年4月1日に更新された文書に対し2013年5月1日にさらに書き込みを行い、画像処理装置1に読み込んだ場合、制御部40は2013年4月1日時点の文書を直前の更新前文書として読み込むこととなる。   Next, the control unit 40 reads the immediately preceding pre-update document from the document storage unit 33 from the update history of the read document 70 (S6). For example, when the document updated on February 1, 2013 and April 1, 2013 is further written on May 1, 2013 and read into the image processing apparatus 1, the control unit 40 The document as of the first day of the month is read as the immediately preceding document before update.

そして、制御部40は、更新前後の文書の差分抽出領域を比較し、差分画像を生成する(S9)。上記の例でいえば、2013年5月1日時点の文書に書き込まれているが、2013年4月1日時点の文書には書き込まれていない文字等を差分画像として生成することとなる。   And the control part 40 compares the difference extraction area | region of the document before and behind an update, and produces | generates a difference image (S9). In the above example, characters or the like that are written in the document as of May 1, 2013 but not written in the document as of April 1, 2013 are generated as a difference image.

一方、読み込まれた文書70と同一コードが付された記入済み文書が文書記憶部33に記憶されていない場合、読み込まれた文書70と同一コードが付された記入前文書の差分抽出領域座標群を差分抽出領域記憶部31より読み込む(S7)。   On the other hand, if the completed document with the same code as the read document 70 is not stored in the document storage unit 33, the difference extraction area coordinate group of the pre-entry document with the same code as the read document 70 is stored. Is read from the difference extraction area storage unit 31 (S7).

さらに、読み込まれた文書70と同一コードが付された記入前文書を文書記憶部33より読み込む(S8)。   Further, the pre-entry document with the same code as the read document 70 is read from the document storage unit 33 (S8).

そして、制御部40は、更新前後の文書、すなわち記入前文書と読み込まれた文書70、の差分抽出領域を比較し、差分画像を生成する(S9)。   Then, the control unit 40 compares the difference extraction areas of the document before and after the update, that is, the pre-entry document and the read document 70, and generates a difference image (S9).

そのようにして制御部40によって生成された差分画像を、記入欄番号及び生成日とともに差分画像記憶部32に記憶する(S10)。前述のように、差分画像とともに記憶する情報については種々の追加が考えられる。   The difference image thus generated by the control unit 40 is stored in the difference image storage unit 32 together with the entry column number and the generation date (S10). As described above, various additions can be considered for information stored together with the difference image.

最後に、制御部40は、差分抽出領域を更新する(S11)。この処理について次に説明する。   Finally, the control unit 40 updates the difference extraction area (S11). This process will be described next.

図9(a)に更新前の第3差分抽出領域150、図9(b)に更新した第3差分抽出領域170をそれぞれ示す。ここで、図9(a)に示す第3差分抽出領域150は、文書70を読み込み、差分抽出領域座標群を差分抽出領域記憶部31から読み込んだ段階(図8に示すフローチャートにおけるS5もしくはS7の段階)の状態を示すものとする。一方、図9(b)に示す更新した第3差分抽出領域170は、差分画像生成を終え、図8に示すフローチャートにおけるS11の処理を終えた状態を示すものとする。   FIG. 9A shows the third difference extraction area 150 before update, and FIG. 9B shows the updated third difference extraction area 170. Here, the third difference extraction area 150 shown in FIG. 9A reads the document 70 and reads the difference extraction area coordinate group from the difference extraction area storage unit 31 (in S5 or S7 in the flowchart shown in FIG. 8). Stage) state. On the other hand, the updated third difference extraction area 170 shown in FIG. 9B shows a state where the difference image generation is finished and the process of S11 in the flowchart shown in FIG. 8 is finished.

第3記入欄120には「ABCDEFG」なる文字が書き込まれているが、差分抽出領域の更新処理(S11)により、更新した第3差分抽出領域170には当該文字部分は含まれていない。差分抽出領域の更新処理(S11)の際、制御部40は、差分画像を生成した部分を第3差分抽出領域120から差し引き、更新した第3差分抽出領域170とする。   The character “ABCDEFG” is written in the third entry field 120, but the character portion is not included in the third difference extraction area 170 updated by the difference extraction area update process (S11). During the update process of the difference extraction area (S11), the control unit 40 subtracts the part that generated the difference image from the third difference extraction area 120 and sets it as the updated third difference extraction area 170.

このような差分抽出領域の更新処理は、差分抽出領域記憶部31に記憶される差分抽出領域座標群を更新することにより行われる。本実施の形態の場合、図4に示した第3記入欄の4つの差分抽出領域座標を更新し、図9(b)に示す六角形の各頂点を左上から反時計回りに追った6つの座標を新たに記憶することとする。   Such update processing of the difference extraction area is performed by updating the difference extraction area coordinate group stored in the difference extraction area storage unit 31. In the case of the present embodiment, the four difference extraction area coordinates in the third entry column shown in FIG. 4 are updated, and the six vertices of the hexagon shown in FIG. 9B are traced counterclockwise from the upper left. Coordinates are newly stored.

このように差分抽出領域を更新することにより、既に記載があった部分を差分生成のための演算対象から外すことができるため、差分抽出処理にかかる時間を逐次削減していくことが可能となる。   By updating the difference extraction area in this way, the already described portion can be excluded from the calculation target for difference generation, so that the time required for the difference extraction processing can be sequentially reduced. .

本実施の形態では、文字を囲む矩形領域により差分画像の生成を行う。その際、文字を囲む最小面積の矩形を選ぶこととするが、余白を持たせることとしてもよい。また、文字を囲む多角形領域により差分画像の生成を行なってもよいし、円形としてもよい。さらに、差分抽出領域の更新を行うかどうかをユーザが適宜選択できることとしてもよい。   In the present embodiment, a difference image is generated by a rectangular area surrounding a character. At this time, a rectangle having a minimum area surrounding the character is selected, but a margin may be provided. Further, the difference image may be generated by a polygonal region surrounding the character or may be circular. Furthermore, it is good also as a user being able to select suitably whether a difference extraction area | region is updated.

図10に、差分画像記憶部32に記憶された一連の差分画像を表示部20により表示する方法の例を示す。本実施の形態では、記入欄毎に、当該記入欄から生成された差分画像を全表示するか、生成日の期間を指定して表示するか、一切表示しないか、選択できることとする。   FIG. 10 shows an example of a method for displaying a series of difference images stored in the difference image storage unit 32 on the display unit 20. In the present embodiment, for each entry field, it is possible to select whether to display all of the difference images generated from the entry field, specify the generation date period, or not display it at all.

図10(a)は、第1記入欄100及び第3記入欄120において生成された全ての差分画像を生成日順に表示した場合を示す図である。選択差分画像表示欄(1)190には第1記入欄100から生成された差分画像が表示され、選択差分画像表示欄(2)200には第3記入欄120から生成された差分画像が表示されている。ここで、選択差分画像表示欄(2)200には、別用紙の第3記入欄120に書き込まれた「abcd」なる文字も連続して表示されており、紙文書による場合よりも一覧性が向上していることがわかる。   FIG. 10A is a diagram illustrating a case where all the difference images generated in the first entry column 100 and the third entry column 120 are displayed in the order of generation date. The difference image generated from the first entry field 100 is displayed in the selection difference image display field (1) 190, and the difference image generated from the third entry field 120 is displayed in the selection difference image display field (2) 200. Has been. Here, in the selection difference image display field (2) 200, the characters “abcd” written in the third entry field 120 of another sheet are also displayed in succession, and the list property is more than that in the case of a paper document. It can be seen that it has improved.

図10(b)は、第1記入欄100において生成された全ての差分画像を表示し、かつ2013年4月中に第2記入欄110及び第3記入欄120において生成された差分画像を表示することとした場合を示す図である。選択差分画像表示欄(3)210には、第1記入欄100から生成された差分画像が表示され、選択差分画像表示欄(4)220には、第2記入欄110において4月中に生成された差分画像が表示され、選択差分画像表示欄(5)230には、第3記入欄120から生成された差分画像が表示されている。   FIG. 10B displays all the difference images generated in the first entry column 100 and the difference images generated in the second entry column 110 and the third entry column 120 during April 2013. It is a figure which shows the case where it is supposed to do. The difference image generated from the first entry field 100 is displayed in the selected difference image display field (3) 210, and the difference image display field (4) 220 is generated in April in the second entry field 110. The selected difference image is displayed, and the difference image generated from the third entry field 120 is displayed in the selected difference image display field (5) 230.

この他に、例えば追記を行った者の氏名等とともに差分画像を記憶している場合、追記を行った者により差分画像を分類し、表示する差分画像を選択できることとしてもよい。   In addition to this, for example, when the difference image is stored together with the name of the person who performed the additional recording, the difference image may be classified by the person who performed the additional recording and the difference image to be displayed can be selected.

このように表示する差分画像を選択できるようにすることで、紙文書におけるレイアウトとは異なる形で更新履歴を閲覧することが可能になる。これにより、閲覧の目的に応じたレイアウト構成が可能となり、一覧性や検索性が向上した表示を行うことができる。   By making it possible to select the difference image to be displayed in this way, it becomes possible to view the update history in a form different from the layout in the paper document. Thereby, a layout configuration according to the purpose of browsing is possible, and display with improved listability and searchability can be performed.

以上により、本実施の形態に係る画像処理装置1における差分画像の生成及び表示が行われる。   As described above, the difference image is generated and displayed in the image processing apparatus 1 according to the present embodiment.

なお、本発明の実施の形態は以上に説明したものに限られない。例えば、画像処理装置1は通信ネットワークに接続され、当該通信ネットワークを介して取得した文書等について差分画像を生成及び表示することとしてもよい。   The embodiments of the present invention are not limited to those described above. For example, the image processing apparatus 1 may be connected to a communication network and generate and display a difference image for a document or the like acquired via the communication network.

1 画像処理装置、20 表示部、30 記憶部、31 差分抽出領域記憶部、32 差分画像記憶部、33 文書記憶部、40 制御部、50 スキャナ部、60 入力部、70 文書、80 個人情報等記入欄、90 二次元コード、100 第1記入欄、110 第2記入欄、120 第3記入欄、130 第1差分抽出領域、140 第2差分抽出領域、150 第3差分抽出領域、160 拡大した第3差分抽出領域、170 更新した第3差分抽出領域、180 差分閲覧画像、190 選択差分画像表示欄(1)、200 選択差分画像表示欄(2)、210 選択差分画像表示欄(3)、220 選択差分画像表示欄(4)、230 選択差分画像表示欄(5)。   DESCRIPTION OF SYMBOLS 1 Image processing apparatus, 20 Display part, 30 Storage part, 31 Difference extraction area storage part, 32 Difference image storage part, 33 Document storage part, 40 Control part, 50 Scanner part, 60 Input part, 70 Document, 80 Personal information etc. Entry field, 90 Two-dimensional code, 100 First entry field, 110 Second entry field, 120 Third entry field, 130 First difference extraction area, 140 Second difference extraction area, 150 Third difference extraction area, 160 Enlarged Third difference extraction area, 170 Updated third difference extraction area, 180 Difference browsing image, 190 Selected difference image display field (1), 200 Selected difference image display field (2), 210 Selected difference image display field (3), 220 Selection difference image display field (4), 230 Selection difference image display field (5).

Claims (5)

更新前文書のうち少なくとも書き込み予定部分を差分抽出領域として記憶する文書記憶手段と、
更新後文書を読み取る文書読み取り手段と、
前記更新前文書の前記差分抽出領域と、前記更新後文書における前記差分抽出領域の差分画像を生成する差分画像生成手段と、
前記差分画像生成手段により差分画像が生成された場合に、前記差分画像に基づいて差分抽出領域を更新する差分抽出領域更新手段と、
を備えることを特徴とする画像処理装置。
Document storage means for storing at least a part to be written in the pre-update document as a difference extraction area;
A document reading means for reading the updated document;
Difference image generation means for generating a difference image of the difference extraction area of the pre-update document and the difference extraction area of the post-update document;
A difference extraction area update means for updating a difference extraction area based on the difference image when a difference image is generated by the difference image generation means;
An image processing apparatus comprising:
前記文書記憶手段は、
複数の前記差分抽出領域を記憶する
ことを特徴とする請求項1に記載の画像処理装置。
The document storage means includes
The image processing apparatus according to claim 1, wherein a plurality of the difference extraction areas are stored.
前記画像処理装置は、
前記差分画像生成手段により生成した差分画像を、当該差分画像に関連する元差分抽出領域により分類して表示する表示手段をさらに備える
ことを特徴とする請求項2に記載の画像処理装置。
The image processing apparatus includes:
The image processing apparatus according to claim 2, further comprising a display unit that classifies and displays the difference image generated by the difference image generation unit according to an original difference extraction area related to the difference image.
前記表示手段は、
前記差分画像生成手段により生成した差分画像を、当該差分画像の生成時により分類して表示する
ことを特徴とする請求項3に記載の画像処理装置。
The display means includes
The image processing apparatus according to claim 3, wherein the difference images generated by the difference image generation unit are classified and displayed according to the time of generation of the difference image.
画像処理装置に備えられたコンピュータを、
更新前文書のうち少なくとも書き込み予定部分を差分抽出領域として記憶する文書記憶手段、
更新後文書を読み取る文書読み取り手段、
前記更新前文書の前記差分抽出領域と、前記更新後文書における前記差分抽出領域の差分画像を生成する差分画像生成手段、
前記差分画像生成手段により差分画像が生成された場合に、前記差分画像に基づいて差分抽出領域を更新する差分抽出領域更新手段、
として機能させることを特徴とするプログラム。
A computer provided in the image processing apparatus,
Document storage means for storing at least a portion to be written in the pre-update document as a difference extraction area,
Document reading means for reading the updated document,
Difference image generation means for generating a difference image of the difference extraction area of the pre-update document and the difference extraction area of the post-update document;
A difference extraction area update means for updating a difference extraction area based on the difference image when a difference image is generated by the difference image generation means;
A program characterized by functioning as
JP2013254526A 2013-12-09 2013-12-09 Image processing apparatus and program. Expired - Fee Related JP6176099B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013254526A JP6176099B2 (en) 2013-12-09 2013-12-09 Image processing apparatus and program.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013254526A JP6176099B2 (en) 2013-12-09 2013-12-09 Image processing apparatus and program.

Publications (2)

Publication Number Publication Date
JP2015114734A true JP2015114734A (en) 2015-06-22
JP6176099B2 JP6176099B2 (en) 2017-08-09

Family

ID=53528515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013254526A Expired - Fee Related JP6176099B2 (en) 2013-12-09 2013-12-09 Image processing apparatus and program.

Country Status (1)

Country Link
JP (1) JP6176099B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001283231A (en) * 2000-03-29 2001-10-12 Toshiba Corp Document image filing device and document image updating method
JP2002197101A (en) * 2000-12-25 2002-07-12 Sharp Corp Document management system
JP2007122210A (en) * 2005-10-26 2007-05-17 Oki Electric Ind Co Ltd Update history management device and update history management method
JP2010061449A (en) * 2008-09-04 2010-03-18 Fuji Xerox Co Ltd Device and program for searching original image
JP2011022896A (en) * 2009-07-17 2011-02-03 Sharp Corp Document management system
JP2013041539A (en) * 2011-08-19 2013-02-28 Kyocera Document Solutions Inc Information extraction device
JP2013045437A (en) * 2011-08-26 2013-03-04 Konica Minolta Business Technologies Inc Difference extraction system of document file, image processing device, difference extraction method of document file and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001283231A (en) * 2000-03-29 2001-10-12 Toshiba Corp Document image filing device and document image updating method
JP2002197101A (en) * 2000-12-25 2002-07-12 Sharp Corp Document management system
JP2007122210A (en) * 2005-10-26 2007-05-17 Oki Electric Ind Co Ltd Update history management device and update history management method
JP2010061449A (en) * 2008-09-04 2010-03-18 Fuji Xerox Co Ltd Device and program for searching original image
JP2011022896A (en) * 2009-07-17 2011-02-03 Sharp Corp Document management system
JP2013041539A (en) * 2011-08-19 2013-02-28 Kyocera Document Solutions Inc Information extraction device
JP2013045437A (en) * 2011-08-26 2013-03-04 Konica Minolta Business Technologies Inc Difference extraction system of document file, image processing device, difference extraction method of document file and program

Also Published As

Publication number Publication date
JP6176099B2 (en) 2017-08-09

Similar Documents

Publication Publication Date Title
CN100429646C (en) Method and apparatus for displaying electronic document including handwritten data
US11455460B2 (en) Method for displaying handwritten note in electronic book, electronic device and computer storage medium
WO2012037721A1 (en) Handwritten character font library
US20160132215A1 (en) Alternative People Charting for Organizational Charts
JP2019028094A (en) Character generation device, program and character output device
JP2022066321A (en) Information processing device and program
JP2020187493A (en) Information processing device, and information processing program
JP6176099B2 (en) Image processing apparatus and program.
JP5434053B2 (en) Summary creation support device, summary creation support system, and summary creation support program
CN103377325A (en) Electronic book content protection
CN113096217B (en) Picture generation method and device, electronic equipment and storage medium
CN106598315B (en) Touch display device and background image replacement method thereof
JP2018092419A (en) Information display device, information display method, and recording medium
JP5114249B2 (en) Display device and display method
US20110316878A1 (en) Computer Implemented Process for Interactive Appreciation of Fine Art
US10248916B2 (en) Organizational chart exporting with layout preview and customization
JP2015114806A (en) Image processor and program
JP6264951B2 (en) Drawing apparatus, program, and drawing method
CN115630622B (en) Drawing method implementation method and device based on vector graphics primitives
JP6918252B2 (en) Ink data generator, method and program
JP2006113630A (en) Information display
Guttormsen Visual calamity: Exploring interactive information visualization for tablet interfaces
CN112836469A (en) Information rendering method and device
JP2014038152A (en) Display device and control method for display device
JP3848928B2 (en) Structured document creation apparatus and method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170426

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170626

R150 Certificate of patent or registration of utility model

Ref document number: 6176099

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees