JP2013029982A - Image processing system and image processing program - Google Patents

Image processing system and image processing program Download PDF

Info

Publication number
JP2013029982A
JP2013029982A JP2011165515A JP2011165515A JP2013029982A JP 2013029982 A JP2013029982 A JP 2013029982A JP 2011165515 A JP2011165515 A JP 2011165515A JP 2011165515 A JP2011165515 A JP 2011165515A JP 2013029982 A JP2013029982 A JP 2013029982A
Authority
JP
Japan
Prior art keywords
image
difference
image information
attribute
information
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
JP2011165515A
Other languages
Japanese (ja)
Other versions
JP5853466B2 (en
Inventor
Teruka Saito
照花 斎藤
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 JP2011165515A priority Critical patent/JP5853466B2/en
Publication of JP2013029982A publication Critical patent/JP2013029982A/en
Application granted granted Critical
Publication of JP5853466B2 publication Critical patent/JP5853466B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To generate image information in which a differential point between a reference image and a comparison image is emphasized adaptively in accordance with difficulty to find it out.SOLUTION: An image processing system comprises: image information capture means which captures reference image information and comparison image information; differential image information capture means which captures differential image information that is a differential between the reference image information and the comparison image information; element capture means which captures positional information on elements contained in the reference image information together with attribute information on the elements in accordance with a feature amount of a reference image; attribute determination means which determines attributes of differential image portions having differential values contained in the differential image information on the basis of positional information on the differential image portions and the positional information on the elements extracted by the element capture means; and output image information generation means which generates output image information corresponding to the attributes of the differential image portions determined by the attribute determination means and a value corresponding to the differential values contained in the differential image portions.

Description

本発明は、画像処理システム、画像処理プログラムに関する。   The present invention relates to an image processing system and an image processing program.

修正前の画像データと修正後の画像データにおける差異点を低解像度のモニタ等で目視にて認識するのは困難である点に鑑み、検出された差異点に相当する画素につき、その周辺画素についても差異点とする、太らせ処理を行った後、解像度を変換する画像データ検査装置が知られている(下記特許文献1参照)。   In view of the fact that it is difficult to visually recognize the difference between the image data before correction and the image data after correction on a low-resolution monitor or the like, about the pixels corresponding to the detected difference, Also known is an image data inspection apparatus that converts the resolution after performing a fattening process (see Patent Document 1 below).

特許第3597408号公報Japanese Patent No. 3597408

基準画像と比較画像との差異点をその見つけにくさに応じて適応的に強調した画像情報を生成することを目的とする。   An object of the present invention is to generate image information in which differences between a reference image and a comparative image are adaptively enhanced according to difficulty in finding the difference.

請求項1に記載の画像処理システムは、基準画像情報及び比較画像情報を取得する画像情報取得手段と、基準画像情報と比較画像情報の差分である差分画像情報を取得する差分画像情報取得手段と、前記基準画像の特徴量に応じて、該基準画像情報に含まれる各要素の属性情報とともに該各要素の位置情報を取得する要素取得手段と、前記差分画像情報に含まれる差分値を有する各差分画像部分の位置情報及び前記要素取得手段により抽出された前記各要素の位置情報に基づいて、前記各差分画像部分の属性を判定する属性判定手段と、前記属性判定手段により判定された各差分画像部分の属性と、前記差分画像部分に含まれる差分値に応じた値と、に応じた出力画像情報を生成する出力画像情報生成手段と、を有することを特徴とする。   The image processing system according to claim 1 includes an image information acquisition unit that acquires reference image information and comparison image information, and a difference image information acquisition unit that acquires difference image information that is a difference between the reference image information and the comparison image information. , Element acquisition means for acquiring position information of each element together with attribute information of each element included in the reference image information according to the feature amount of the reference image, and each having a difference value included in the difference image information Based on the position information of the difference image portion and the position information of each element extracted by the element acquisition unit, an attribute determination unit that determines an attribute of each difference image portion, and each difference determined by the attribute determination unit Output image information generating means for generating output image information corresponding to the attribute of the image portion, a value corresponding to the difference value included in the difference image portion, and the like.

請求項2に記載の画像処理システムは、請求項1記載の画像処理システムにおいて、前記画像処理システムは、更に、前記基準画像情報と前記比較画像情報が重なるように、少なくとも一方の画像情報の位置、角度、及び/またはサイズの補正処理を行う補正手段を有し、前記差分画像情報取得手段は、補正処理が行われた基準画像情報及び/または比較画像情報の差分に基づいて前記差分画像情報を取得することを特徴とする。   The image processing system according to claim 2 is the image processing system according to claim 1, wherein the image processing system further includes a position of at least one of the image information so that the reference image information and the comparison image information overlap each other. The difference image information acquisition means includes a difference image information based on a difference between the reference image information and / or the comparison image information subjected to the correction process. It is characterized by acquiring.

請求項3に記載の画像処理システムは、請求項1または2記載の画像処理システムにおいて、前記各差分画像部分の属性は、文字の属性を示す属性、表中の文字の属性を示す表中の文字属性、線の属性を示す線属性、画像の属性を示す画像属性を含むことを特徴とする。   The image processing system according to claim 3 is the image processing system according to claim 1 or 2, wherein the attribute of each difference image portion includes an attribute indicating a character attribute and a character attribute in the table. It includes a character attribute, a line attribute indicating a line attribute, and an image attribute indicating an image attribute.

請求項4に記載の画像処理システムは、請求項1乃至3のいずれかに記載の画像処理システムにおいて、前記出力画像生成手段は、前記各差分画像部分の属性及び該各差分画像部分が対応する前記各要素の位置情報に基づいて、前記差分画像部分に含まれる差分値に応じた値を取得する差分値取得手段と、前記差分値に応じた値が該属性毎に定められた閾値以上であるか否かを判定する判定手段と、を有し、前記出力画像情報は、更に、前記判定手段の判定結果に応じた画像情報であることを特徴とする。   The image processing system according to claim 4 is the image processing system according to any one of claims 1 to 3, wherein the output image generation unit corresponds to an attribute of each difference image portion and each difference image portion. Based on the position information of each element, difference value acquisition means for acquiring a value corresponding to the difference value included in the difference image portion, and a value corresponding to the difference value is equal to or greater than a threshold value determined for each attribute Determination means for determining whether or not there is, and the output image information is image information corresponding to a determination result of the determination means.

請求項5に記載の画像処理システムは、請求項1乃至4のいずれかに記載の画像処理システムにおいて、前記出力画像生成手段は、前記差分画像部分が表中の文字属性であって、かつ、前記差分画像部分の前記表中の文字属性についてあらかじめ定めた閾値以上であると判定された場合には、前記基準画像情報及び前記比較画像情報で表され、前記差分画像部分を含む表全体を識別表示する画像を表す出力画像情報を生成することを特徴とする。   The image processing system according to claim 5 is the image processing system according to any one of claims 1 to 4, wherein the output image generation means has the difference image portion as a character attribute in a table, and When it is determined that the character attribute in the table of the difference image portion is greater than or equal to a predetermined threshold, the entire table including the difference image portion is identified by the reference image information and the comparison image information. Output image information representing an image to be displayed is generated.

請求項6に記載の画像処理システムは、請求項1乃至5のいずれかに記載の画像処理システムにおいて、前記出力画像生成手段は、前記差分画像部分が表中の文字属性であって、かつ、前記差分画像部分の前記表中の文字属性の閾値より小さいと判定された場合には、前記差分画像部分のうち、前記差分画像部分が対応する表のセルを特定するとともに、当該セルを識別表示する出力画像を生成することを特徴とする。   The image processing system according to claim 6 is the image processing system according to any one of claims 1 to 5, wherein the output image generation means has the difference image portion as a character attribute in a table, and When it is determined that the difference image portion is smaller than the threshold value of the character attribute in the table, the difference image portion is identified with a table cell corresponding to the difference image portion, and the cell is identified and displayed. An output image to be generated is generated.

請求項7に記載の画像処理プログラムは、基準画像情報及び比較画像情報を取得する画像情報取得手段、基準画像情報と比較画像情報の差分である差分画像情報を取得する差分画像情報取得手段、前記基準画像の特徴量に応じて、該基準画像情報に含まれる各要素の属性情報とともに該各要素の位置情報を取得する要素取得手段、前記差分画像情報に含まれる差分値を有する各差分画像部分の位置情報及び前記要素取得手段により抽出された前記各要素の位置情報に基づいて、前記各差分画像部分の属性を判定する属性判定手段、及び、前記属性判定手段により判定された各差分画像部分の属性と、前記差分画像部分に含まれる差分値に応じた値と、に応じた出力画像情報を生成する出力画像情報生成手段、としてコンピュータを機能させることを特徴とする。   The image processing program according to claim 7, image information acquisition means for acquiring reference image information and comparison image information, difference image information acquisition means for acquiring difference image information that is a difference between reference image information and comparison image information, Element acquisition means for acquiring position information of each element together with attribute information of each element included in the reference image information according to the feature amount of the reference image, and each difference image portion having a difference value included in the difference image information Attribute determination means for determining the attribute of each difference image part based on the position information of each element and the position information of each element extracted by the element acquisition means, and each difference image part determined by the attribute determination means The computer is caused to function as output image information generation means for generating output image information corresponding to the attribute of the image and a value corresponding to the difference value included in the difference image portion. And wherein the door.

請求項1、7の発明によれば、取得された差分画像部分の見つけにくさに応じて当該差分画像部分を適応的に識別表示する出力画像情報が生成される。   According to the first and seventh aspects of the invention, output image information for adaptively identifying and displaying the difference image portion is generated according to the difficulty in finding the acquired difference image portion.

請求項2の発明によれば、位置合わせしない場合に比べてより正確な差分画像情報が取得される。   According to the second aspect of the present invention, more accurate difference image information is acquired as compared with the case where the alignment is not performed.

請求項3の発明によれば、差分画像部分の属性(文字、表中の文字、線、画像)に応じて、当該差分画像部分を適応的に識別表示する出力画像情報が生成される。   According to the invention of claim 3, output image information for adaptively identifying and displaying the difference image portion is generated according to the attribute (character, character in table, line, image) of the difference image portion.

請求項4の発明によれば、差分画像部分の有する差分値の特徴や当該差分画像部分の周辺画像に応じた出力画像情報が生成される。   According to the fourth aspect of the present invention, output image information corresponding to the feature of the difference value of the difference image portion and the peripheral image of the difference image portion is generated.

請求項5の発明によれば、表内で差分画像部分の割合が予め設定された閾値以上である場合には、前記差分画像部分を含む表全体を識別表示する出力画像が生成される。   According to the invention of claim 5, when the ratio of the difference image portion in the table is equal to or larger than a preset threshold value, an output image for identifying and displaying the entire table including the difference image portion is generated.

請求項6の発明によれば、表内で差分画像部分の割合が予め設定された閾値より小さい場合には、当該表のうち当該差分画像部分が含まれるセルを識別表示する出力画像が生成される。   According to the invention of claim 6, when the ratio of the difference image portion in the table is smaller than a preset threshold value, an output image for identifying and displaying a cell including the difference image portion in the table is generated. The

本発明の実施の形態における画像処理システムの構成の概要について説明するための図である。It is a figure for demonstrating the outline | summary of a structure of the image processing system in embodiment of this invention. 図1に示した画像処理装置の機能的な構成について説明するための図である。It is a figure for demonstrating the functional structure of the image processing apparatus shown in FIG. 基準画像及び比較画像の一例を示す図である。It is a figure which shows an example of a reference | standard image and a comparison image. 図3に示した基準画像情報と比較画像情報の差分画像情報を示す図である。It is a figure which shows the difference image information of the reference | standard image information shown in FIG. 3, and comparative image information. 図3に示した基準画像について、文字要素を抽出した場合の例を示す図である。It is a figure which shows the example at the time of extracting a character element about the reference | standard image shown in FIG. 図3に示した基準画像について、線要素及び表要素を抽出した場合の例を示す図である。It is a figure which shows the example at the time of extracting a line element and a table | surface element about the reference | standard image shown in FIG. 図3に示した基準画像と比較画像に基づいて生成された出力画像の一例を示す図である。It is a figure which shows an example of the output image produced | generated based on the reference | standard image and comparison image which were shown in FIG. 図2に示した出力画像情報生成部の機能的な構成の一例を示す図である。It is a figure which shows an example of a functional structure of the output image information generation part shown in FIG. 出力画像の一例を説明するための図である。It is a figure for demonstrating an example of an output image. 出力画像の他の一例を説明するための図である。It is a figure for demonstrating another example of an output image. 出力画像の他の一例を説明するための図である。It is a figure for demonstrating another example of an output image. 出力画像の他の一例を説明するための図である。It is a figure for demonstrating another example of an output image. 出力画像の他の一例を説明するための図である。It is a figure for demonstrating another example of an output image. 画像処理装置の処理のフローの概要を説明するための図である。It is a figure for demonstrating the outline | summary of the flow of a process of an image processing apparatus.

以下、本発明の実施形態について、図面を参照しつつ説明する。なお、図面については、同一又は同等の要素には同一の符号を付し、重複する説明は省略する。   Embodiments of the present invention will be described below with reference to the drawings. In addition, about drawing, the same code | symbol is attached | subjected to the same or equivalent element, and the overlapping description is abbreviate | omitted.

図1は、本発明の実施の形態における画像処理システムの構成の概要について説明するための図である。図1に示すように、本実施の形態における画像処理システム100は、例えば、ネットワーク130を介して接続された画像処理装置110と端末装置120とを有する。   FIG. 1 is a diagram for explaining an outline of a configuration of an image processing system according to an embodiment of the present invention. As illustrated in FIG. 1, the image processing system 100 according to the present embodiment includes, for example, an image processing device 110 and a terminal device 120 connected via a network 130.

画像処理装置110は、例えば、CPUやメモリ等で構成されるサーバで構成され、例えば、制御部111、記憶部112、通信部113を有する。なお、制御部111、記憶部112、通信部113は、内部バス114により互いに接続される。   The image processing apparatus 110 is configured by a server including a CPU, a memory, and the like, for example, and includes, for example, a control unit 111, a storage unit 112, and a communication unit 113. The control unit 111, the storage unit 112, and the communication unit 113 are connected to each other via an internal bus 114.

制御部111は、例えば、CPU、MPU等であって、記憶部112に格納されたプログラムに従って動作する。記憶部112は、例えば、ROMやRAM、ハードディスク等の情報記録媒体で構成され、制御部111によって実行されるプログラムを保持する情報記録媒体である。また、記憶部112は、制御部111のワークメモリとしても動作する。なお、当該プログラムは、例えば、ネットワークを介して、ダウンロードされて提供されてもよいし、または、CD−ROMやDVD−ROM等のコンピュータで読み取り可能な各種の情報記録媒体によって提供されてもよい。   The control unit 111 is, for example, a CPU, an MPU, or the like, and operates according to a program stored in the storage unit 112. The storage unit 112 is an information recording medium that includes an information recording medium such as a ROM, a RAM, and a hard disk, and holds a program executed by the control unit 111. The storage unit 112 also operates as a work memory for the control unit 111. The program may be provided by being downloaded through a network, or may be provided by various information recording media that can be read by a computer such as a CD-ROM or a DVD-ROM. .

通信部113は、当該画像処理装置100を、ネットワーク130を介して、後述する端末装置120と接続する。   The communication unit 113 connects the image processing apparatus 100 to a terminal device 120 described later via the network 130.

端末装置120は、例えば、FAX機能やスキャナ機能等を有するいわゆる複合機等であって、図1に示すように、例えば、内部バス127により互いに接続された、制御部121、記憶部122、通信部123、操作部124、表示部125、読み取り部126を有する。   The terminal device 120 is, for example, a so-called multi-function machine having a FAX function, a scanner function, and the like. As shown in FIG. 1, for example, a control unit 121, a storage unit 122, and a communication unit connected to each other via an internal bus 127, for example. A display unit 123, an operation unit 124, a display unit 125, and a reading unit 126.

操作部124は、例えば、複数のボタンやタッチパネル等で構成され、ユーザの指示操作に応じて、当該指示操作の内容を制御部121に出力する。表示部125は、例えば、液晶ディスプレイ、有機ELディスプレイ等であって、制御部121からの指示に従い、情報を表示する。読み取り部126は、媒体の表面を撮像センサでスキャンすることにより、媒体の画像を読み取り、画像情報として取得する。なお、制御部121、記憶部122、通信部123については、上記画像処理装置110と同様であるので、説明を省略する。   The operation unit 124 includes, for example, a plurality of buttons, a touch panel, and the like, and outputs the content of the instruction operation to the control unit 121 in accordance with a user instruction operation. The display unit 125 is a liquid crystal display, an organic EL display, or the like, for example, and displays information in accordance with an instruction from the control unit 121. The reading unit 126 reads the image of the medium by scanning the surface of the medium with an imaging sensor, and obtains it as image information. Note that the control unit 121, the storage unit 122, and the communication unit 123 are the same as those of the image processing apparatus 110, and thus the description thereof is omitted.

なお、上記画像処理システム100の構成は、一例であってこれに限定されるものではない。例えば、図1においては、1の端末装置120のみを示しているが、その他の数であってもよい。また、図1においては、端末装置120のみが、読み取り部126を有する場合を示しているが、画像処理装置110が操作部124、表示部125、読み取り部126等を有するように構成してもよい。   The configuration of the image processing system 100 is an example and is not limited to this. For example, in FIG. 1, only one terminal device 120 is shown, but other numbers may be used. 1 shows the case where only the terminal device 120 has the reading unit 126, the image processing apparatus 110 may be configured to have the operation unit 124, the display unit 125, the reading unit 126, and the like. Good.

図2は、画像処理装置の機能的な構成について説明するための図である。図2に示すように画像処理装置110は、機能的に、画像情報取得部201、位置補正部202、差分画像情報取得部203、要素取得部204、属性判定部205、出力画像情報生成部206を含む。なお、各部201乃至206の機能は、例えば、画像処理装置110の制御部111により実現される。   FIG. 2 is a diagram for describing a functional configuration of the image processing apparatus. As shown in FIG. 2, the image processing apparatus 110 functionally includes an image information acquisition unit 201, a position correction unit 202, a difference image information acquisition unit 203, an element acquisition unit 204, an attribute determination unit 205, and an output image information generation unit 206. including. Note that the functions of the units 201 to 206 are realized by the control unit 111 of the image processing apparatus 110, for example.

画像情報取得部201は、基準画像情報及び比較画像情報を取得する。当該基準画像を表す基準画像情報や比較画像を表す比較画像情報は、例えば、読み取り部126から直接か、ネットワーク130を介して取得される。なお、下記においては、説明の簡略化のため、基準画像情報及び比較画像情報として、図3(A)及び(B)にそれぞれ示した、基準画像及び比較画像が取得された場合を例として説明する。   The image information acquisition unit 201 acquires reference image information and comparison image information. The reference image information representing the reference image and the comparison image information representing the comparison image are acquired directly from the reading unit 126 or via the network 130, for example. In the following, for simplification of description, the case where the reference image and the comparison image shown in FIGS. 3A and 3B are acquired as the reference image information and the comparison image information will be described as an example. To do.

位置補正部202は、基準画像と比較画像の画像が重なるように、画像の位置、角度、サイズ等の補正処理を行う。例えば、基準画像に対して、比較画像の位置を移動、比較画像を回転、比較画像を拡大縮小処理することにより、基準画像と比較画像が最大限重なるように補正する。なお、当該位置補正は、例えば、基準画像及び比較画像にあらかじめ表された基準位置を示す基準位置情報に基づいて、当該基準位置情報が両画像間で合致するように上記位置等を補正してもよいし、または、基準画像と比較画像の差分値の絶対値の総計が最小になるように上記位置等を補正してもよい。   The position correction unit 202 performs correction processing such as the position, angle, and size of the image so that the reference image and the comparison image overlap. For example, the position of the comparison image is moved relative to the reference image, the comparison image is rotated, and the comparison image is enlarged / reduced to correct the reference image and the comparison image so that they overlap at the maximum. The position correction is performed, for example, by correcting the position or the like so that the reference position information matches between both images based on the reference position information indicating the reference position represented in advance in the reference image and the comparison image. Alternatively, the position or the like may be corrected so that the sum of absolute values of difference values between the reference image and the comparison image is minimized.

差分画像情報取得部203は、基準画像と比較画像の差分である差分画像情報を取得する。図4は、図3に示した基準画像情報と比較画像情報の差分画像情報を示す図である。なお、図4においては、色の濃い部分が基準画像から追加された画像情報(以下、追加画像部分と称する)に相当し、色の薄い部分が基準画像から削除された画像情報(以下、削除画像部分と称する)に相当する。例えば、基準画像及び比較画像において0と1の2値画像で表される場合については、追加画像部分は、差分値が−1を有する部分となり、削除画像部分は差分値が+1を有する部分となり、他の部分は、差分値が0を有する部分となる。   The difference image information acquisition unit 203 acquires difference image information that is a difference between the reference image and the comparison image. FIG. 4 is a diagram illustrating difference image information between the reference image information and the comparison image information illustrated in FIG. 3. In FIG. 4, the dark color portion corresponds to image information added from the reference image (hereinafter referred to as an additional image portion), and the light color portion is deleted from the reference image (hereinafter referred to as deletion). This corresponds to the image portion). For example, in the case where the reference image and the comparison image are represented by binary images of 0 and 1, the additional image portion is a portion having a difference value of −1, and the deleted image portion is a portion having a difference value of +1. The other part is a part having a difference value of zero.

要素取得部204は、基準画像から、例えば、基準画像の特徴量に応じて、各要素の属性情報とともにその領域情報を取得する。ここで、各要素とは、例えば、文字の属性を有する文字要素、表の属性を有する線要素、イラストや写真等の属性を有する画像要素、及びその他の要素に相当する。要素取得部204は、当該各属性とともに各属性の要素を含む領域を示す位置情報を取得する。なお、各要素の抽出方法としては、文字要素の抽出には、いわゆるレイアウト解析やラベリング等を用い、線要素の抽出には、いわゆる射影、追跡やフィルタ処理等を用い、また、表要素の抽出には射影処理やラベリング等を用いるが、各要素の抽出処理の詳細については周知であるので説明を省略する。なお、上記においては、要素取得部204は、基準画像情報のみから各要素を抽出する場合について説明したが、ユーザの設定により比較画像からも各要素を抽出するように構成してもよい。例えば、ユーザが基準画像と比較画像を見て、相違が大きいと判断した場合には、比較画像及び基準画像の双方から各要素を抽出するように選択し、一方、相違が小さいと判断した場合には、基準画像からのみ各要素を抽出するように選択する等である。   The element acquisition unit 204 acquires area information along with attribute information of each element from the reference image, for example, according to the feature amount of the reference image. Here, each element corresponds to, for example, a character element having a character attribute, a line element having a table attribute, an image element having an attribute such as an illustration or a photograph, and other elements. The element acquisition unit 204 acquires position information indicating an area including an element of each attribute together with each attribute. As the extraction method of each element, so-called layout analysis or labeling is used for extracting character elements, so-called projection, tracking, filtering, etc. are used for extracting line elements, and table element extraction is also used. Projection processing, labeling, and the like are used for this, but the details of the extraction processing of each element are well known and will not be described. In the above description, the element acquisition unit 204 has been described with respect to extracting each element only from the reference image information. However, the element acquisition unit 204 may be configured to extract each element from the comparison image according to user settings. For example, when the user looks at the reference image and the comparison image and determines that the difference is large, the user selects to extract each element from both the comparison image and the reference image, while the user determines that the difference is small For example, selection is made so that each element is extracted only from the reference image.

具体的には、図5及び図6に示した例を用いて説明する。図5は、図3に示した基準画像について、文字要素を抽出した場合の例を示す図である。また、図6は、図3に示した基準画像について、線要素及び表要素を抽出した場合の例を示す図である。例えば、図5に示すように、文字要素は、1文字ずつ文字要素として抽出される。なお、図5の各文字要素に外接する矩形領域が各文字要素の領域を示す領域情報に相当し、要素取得部204は、当該領域の位置情報、例えば、当該矩形領域の頂点の座標、を取得する。同様に、要素取得部204は、線要素については、線の位置を示す位置情報、例えば、線の両端点の座標を取得し、表要素については、表を示すための位置情報、例えば、表を表す矩形領域の頂点の座標や表に含まれるセルを表すためのセル内部の座標を取得する。   Specifically, description will be made using the example shown in FIGS. FIG. 5 is a diagram illustrating an example when character elements are extracted from the reference image illustrated in FIG. 3. FIG. 6 is a diagram illustrating an example in which line elements and table elements are extracted from the reference image illustrated in FIG. For example, as shown in FIG. 5, character elements are extracted character by character as character elements. Note that the rectangular area circumscribing each character element in FIG. 5 corresponds to area information indicating the area of each character element, and the element acquisition unit 204 obtains position information of the area, for example, the coordinates of the vertex of the rectangular area. get. Similarly, for the line element, the element acquisition unit 204 acquires position information indicating the position of the line, for example, the coordinates of both end points of the line, and for the table element, position information for indicating the table, for example, the table. The coordinates of the vertices of the rectangular area representing the cell and the coordinates inside the cell for representing the cell included in the table are acquired.

属性判定部205は、例えば、各差分画像部分の位置情報及び要素取得部204により抽出された各要素の位置情報に基づいて、各差分画像部分の属性を判定する。具体的には、図4乃至図6に示した例を用いて説明する。   For example, the attribute determination unit 205 determines the attribute of each difference image portion based on the position information of each difference image portion and the position information of each element extracted by the element acquisition unit 204. Specifically, the description will be made using the examples shown in FIGS.

図4及び図5に示した場合、属性判定部205は、例えば、文字要素501の領域(位置)に差分画像部分401が位置することから、差分画像部分401は、文字属性であると判定する。同様に、差分画像部分402は、文字要素502の領域に差分画像部分402が位置することから、文字属性であると判定する。差分画像部分403については、文字要素503の領域及び表要素601の位置に位置することから、表中の文字属性であると判定する等である。   4 and 5, the attribute determination unit 205 determines that the difference image portion 401 is a character attribute because the difference image portion 401 is located in the area (position) of the character element 501, for example. . Similarly, the difference image portion 402 is determined to be a character attribute because the difference image portion 402 is located in the area of the character element 502. Since the difference image portion 403 is located in the area of the character element 503 and the position of the table element 601, it is determined to be a character attribute in the table.

出力画像情報生成部206は、各差分画像部分の有する属性とその差分値に応じた値に基づいて、基準画像と比較画像との差が明確になるような出力画像情報を生成する。当該出力画像情報は、例えば、ユーザが操作している端末装置120の表示部125等に表示される。   The output image information generation unit 206 generates output image information that makes the difference between the reference image and the comparison image clear based on the attribute of each difference image portion and a value corresponding to the difference value. The output image information is displayed on, for example, the display unit 125 of the terminal device 120 operated by the user.

ここで、図7を用いて、出力画像の一例について説明する。図7は、図3(A)及び(B)に示した基準画像と比較画像に基づいて生成された出力画像情報が、例えば、上記ユーザが操作している端末装置120の表示部125に表示された場合の一例を示す図である。図7からわかるように、出力画像においては、比較画像において基準画像に対して、追加、削除、または、変更等された部分(差分画像部分に相当する)が強調される。例えば、画像に対してサイズの小さい文字の変更部分に相当する差分画像部分402は、当該差分画像部分402を有する文字が枠づけされる。また、表中の文字に相当する差分画像部分403は、当該差分画像部分403の属する表のセルが識別表示(例えば、セルが着色される)される。一方、比較的差異が明確である太字の変更部分(差分画像部分401)については、基準画像に対して差分画像部分が識別表示(着色等)される等である。なお、図7に示した例は一例であって、本実施の形態はこれに限定されるものではない。   Here, an example of the output image will be described with reference to FIG. In FIG. 7, output image information generated based on the reference image and the comparison image shown in FIGS. 3A and 3B is displayed on the display unit 125 of the terminal device 120 operated by the user, for example. It is a figure which shows an example at the time of being carried out. As can be seen from FIG. 7, in the output image, a portion (corresponding to the difference image portion) added, deleted, or changed with respect to the reference image in the comparison image is emphasized. For example, a difference image portion 402 corresponding to a change portion of a character having a small size with respect to the image is framed with characters having the difference image portion 402. Also, in the difference image portion 403 corresponding to the characters in the table, the table cell to which the difference image portion 403 belongs is identified and displayed (for example, the cell is colored). On the other hand, for a bold change portion (difference image portion 401) with a relatively clear difference, the difference image portion is identified and displayed (colored or the like) with respect to the reference image. The example shown in FIG. 7 is an example, and the present embodiment is not limited to this.

次に、出力画像情報生成部206の機能的な構成の一例について説明する。出力画像情報生成部206は、図8に示すように、例えば、差分値取得部801、判定部802、強調画像情報生成部803、画像情報合成部804を有する。以下、出力画像情報生成部206の機能的な構成の一例について、差分画像部分が、文字属性を有する場合、表中の文字属性を有する場合、画像属性を有する場合、その他の場合を例に、順に説明する。なお、下記構成は例示にすぎず、本実施の形態はこれに限定されるものではない。   Next, an example of a functional configuration of the output image information generation unit 206 will be described. As illustrated in FIG. 8, the output image information generation unit 206 includes, for example, a difference value acquisition unit 801, a determination unit 802, an emphasized image information generation unit 803, and an image information synthesis unit 804. Hereinafter, regarding an example of the functional configuration of the output image information generation unit 206, the difference image portion has a character attribute, has a character attribute in the table, has an image attribute, and other cases as examples. These will be described in order. In addition, the following structure is only an illustration and this Embodiment is not limited to this.

差分値取得部801は、属性判定部205により文字属性と判定された差分画像部分については、例えば、対応する文字要素の領域内における差分値の絶対値(例えば、画素数に相当する)の割合や対応する文字要素のフォントサイズ等を算出する。より具体的には、例えば、上記のように差分画像部分401は、文字要素501の領域に位置していることから、文字要素501の領域内(例えば、図5に示した要素取得部204により文字要素501として抽出された領域)における差分値の絶対値の割合を算出する。   For the difference image portion determined to be the character attribute by the attribute determination unit 205, the difference value acquisition unit 801, for example, the ratio of the absolute value of the difference value (for example, corresponding to the number of pixels) in the area of the corresponding character element And the font size of the corresponding character element is calculated. More specifically, for example, since the difference image portion 401 is located in the area of the character element 501 as described above, the difference image portion 401 is located in the area of the character element 501 (for example, by the element acquisition unit 204 shown in FIG. 5). The ratio of the absolute value of the difference value in the area extracted as the character element 501 is calculated.

判定部802は、当該割合の示す値やフォントサイズが、文字属性に関連付けてあらかじめ定められた閾値以上であるか否かを判定する。判定部802が、当該閾値以上であると判定した場合には、画像情報合成部804は、基準画像に当該差分画像部分を合成し、当該差分画像部分を識別表示(例えば、着色等)する画像情報を生成する。具体的には、図7に示すように、差分画像部分401を識別表示する画像情報を生成する等である。   The determination unit 802 determines whether the value indicated by the ratio and the font size are equal to or greater than a predetermined threshold associated with the character attribute. If the determination unit 802 determines that the difference is equal to or greater than the threshold, the image information combining unit 804 combines the difference image portion with the reference image, and identifies and displays the difference image portion (for example, coloring). Generate information. Specifically, as shown in FIG. 7, image information for identifying and displaying the difference image portion 401 is generated.

一方、判定部802が閾値より小さいと判定した場合には、強調画像情報生成部803は、差分画像部分を含む文字を囲む枠を表す枠画像情報を生成する。この場合、画像情報合成部804は、基準画像情報に当該差分画像部分及び枠画像情報で表される枠画像を合成した画像情報を生成する。具体的には、例えば、上記図7に示すように、当該差分画像部分402を識別表示(例えば、着色等)するとともに、当該差分画像部分402に対応する文字要素502を囲む枠を表示する画像情報を生成する。   On the other hand, when the determination unit 802 determines that the value is smaller than the threshold value, the emphasized image information generation unit 803 generates frame image information representing a frame surrounding the character including the difference image portion. In this case, the image information synthesis unit 804 generates image information obtained by synthesizing the frame image represented by the difference image portion and the frame image information with the reference image information. Specifically, for example, as shown in FIG. 7, the difference image portion 402 is identified and displayed (for example, colored), and an image displaying a frame surrounding the character element 502 corresponding to the difference image portion 402 is displayed. Generate information.

次に、差分画像部分が表中の文字属性を有する場合について説明する。差分値取得部801は、表中の文字の属性と判定された差分画像部分については、例えば、対応する文字要素を含む表中の文字要素の画素数における差分値の絶対値の割合を算出する。具体的には、例えば、上記のように差分画像部分403は、文字要素503の領域に位置していることから、表要素601内の文字要素の画素数における差分値の絶対値の割合を算出する。   Next, a case where the difference image portion has the character attributes in the table will be described. For the difference image portion determined to be the attribute of the character in the table, for example, the difference value acquisition unit 801 calculates the ratio of the absolute value of the difference value in the number of pixels of the character element in the table including the corresponding character element. . Specifically, for example, since the difference image portion 403 is located in the area of the character element 503 as described above, the ratio of the absolute value of the difference value in the number of pixels of the character element in the table element 601 is calculated. To do.

判定部802は、当該割合の示す値が、表中の文字属性に関連付けてあらかじめ定められた閾値以上であるか否かを判定する。判定部802が閾値より小さいと判定した場合には、画像情報合成部804は、当該差分画像情報の位置情報に基づいて、当該差分画像部分が属する表の領域情報のうち、当該差分画像が属するセルの領域を特定する。そして、画像情報合成部804は、基準画像に当該差分画像部分を合成し、当該差分画像部分を識別表示するとともに、上記特定されたセルを識別表示した画像情報を生成する。具体的には、例えば、図7に示すように、差分画像部分403を識別表示(例えば着色等)するとともに、当該差分画像部分403が属する表のセルを識別表示(例えば着色等)した画像情報を生成するである。   The determination unit 802 determines whether or not the value indicated by the ratio is equal to or greater than a predetermined threshold associated with the character attribute in the table. When the determination unit 802 determines that the difference image information is smaller than the threshold value, the image information composition unit 804 belongs to the difference image information in the area information of the table to which the difference image part belongs based on the position information of the difference image information. Identify the cell area. Then, the image information combining unit 804 combines the difference image portion with the reference image, identifies and displays the difference image portion, and generates image information that identifies and displays the specified cell. Specifically, for example, as shown in FIG. 7, image information in which the difference image portion 403 is identified and displayed (for example, colored) and the table cell to which the difference image portion 403 belongs is identified and displayed (for example, colored). Is to generate.

一方、判定部802が閾値以上であると判定した場合には、画像情報合成部804は、基準画像と比較画像のうち、当該差分画像部分が属する表及び当該表に属する文字要素を位置を予め定められた距離及び方法にずらして表示する画像情報を生成する。具体的には、例えば、図9に示した場合、図9(A)に示した基準画像の表と図9(B)に示した比較画像の表から、図9(C)に示した画像情報を生成する。例えば、基準画像における表等と比較画像における表等を識別表示(例えば、色分けして表示)する。   On the other hand, when the determination unit 802 determines that the threshold value is equal to or greater than the threshold, the image information composition unit 804 positions the table to which the difference image portion belongs and the character elements belonging to the table in advance in the reference image and the comparison image Image information to be displayed with a shift to a predetermined distance and method is generated. Specifically, for example, in the case shown in FIG. 9, from the reference image table shown in FIG. 9A and the comparative image table shown in FIG. 9B, the image shown in FIG. Generate information. For example, a table or the like in the reference image and a table or the like in the comparison image are identified and displayed (for example, displayed in different colors).

次に、差分画像部分が線属性を有する場合について説明する。差分値取得部801は、線属性と判定された差分画像部分については、例えば、対応する線要素の領域内における差分値の絶対値の割合を算出する。   Next, a case where the difference image portion has a line attribute will be described. For the difference image portion determined to be the line attribute, the difference value acquisition unit 801 calculates, for example, the absolute value ratio of the difference value in the area of the corresponding line element.

判定部802は、当該割合の示す値が、線属性に関連付けてあらかじめ定められた閾値以上であるか否かを判定する。判定部802が、閾値より小さいと判定した場合には、例えば、画像情報合成部804は、基準画像に当該差分画像部分を合成した画像情報を生成し、当該差分画像部分と対応する線要素を全体として識別表示する。つまり、この場合は
追加画像部分及び削除画像部分それぞれの識別表示は行わない。具体的には、例えば、基準画像及び比較画像における線要素がそれぞれ図10(A)及び(B)に示した場合、図10(C)または(D)のように表示する画像情報を生成する等である。
The determination unit 802 determines whether the value indicated by the ratio is equal to or greater than a predetermined threshold associated with the line attribute. When the determination unit 802 determines that the difference is smaller than the threshold value, for example, the image information combining unit 804 generates image information obtained by combining the difference image portion with the reference image, and selects a line element corresponding to the difference image portion. The identification is displayed as a whole. That is, in this case, the additional image portion and the deleted image portion are not identified and displayed. Specifically, for example, when the line elements in the reference image and the comparison image are shown in FIGS. 10A and 10B, image information to be displayed is generated as shown in FIG. Etc.

また、基準画像と比較画像における当該線要素の位置情報に基づいて、当該差分画像部分が、当該差分画像部分が属する線要素の端点であるか否かを認識し、端点に存在すると判断した場合には、当該差分画像部分を識別表示しないように構成してもよい。なお、当該差分画像部分の表示または非表示については、ユーザが設定できるように構成してもよい。具体的には、例えば、基準画像及び比較画像の線要素が図11(A)及び(B)に示した場合、図11(C)または(D)のような画像情報を生成する等である。   In addition, based on the position information of the line element in the reference image and the comparison image, when it is determined whether the difference image part is an end point of the line element to which the difference image part belongs, and it is determined that the difference image part exists at the end point Alternatively, the difference image portion may be configured not to be identified and displayed. The display or non-display of the difference image portion may be configured so that the user can set it. Specifically, for example, when the line elements of the reference image and the comparison image are shown in FIGS. 11A and 11B, image information as shown in FIG. 11C or 11D is generated. .

一方、判定部802が閾値以上であると判定した場合には、例えば、強調画像情報生成部803は、当該差分画像部分が属する線要素を囲うあらかじめ定められた大きさの領域を識別表示する画像情報を生成し、画像情報合成部804は、基準画像に当該画像情報を合成した画像情報を生成するようにしてもよい。この場合、上記差分値取得部801は、具体的には、例えば、上記のように差分画像部分404の幅か高さの大きい方に対する、画像全体の幅か高さの割合を算出する。図12(A)または(B)は、判定部802が閾値以上であると判定した場合の例を示す。具体的には、図12(A)は、例えば、当該線要素を囲む領域が着色して表示された場合を示し、図12(B)は、当該線要素を囲む領域がハッチングされて表示された場合を示すものとする。なお、この場合、図7に示すように、例えば、差分画像部分404を単に識別表示(例えば、着色等)するように構成してもよい。また、閾値以下の場合は、枠で囲むなどの強調画像を生成するように構成してもよい。また、上記においては、単に線要素の差分値が閾値以上であるか否かに応じて表示方法を異ならせる構成について説明したが、後述するようにその他の値に基づいて表示方法を異ならせてもよい。具体的には、例えば、その他線要素を表す領域における差分画像部分の分散等に基づいて、識別表示方法を異ならせるように構成してもよい。この場合、より差異が発見しにくい場合ほど、より識別して表示されるように構成すればよい。   On the other hand, when the determination unit 802 determines that the difference is equal to or greater than the threshold, for example, the enhanced image information generation unit 803 identifies and displays an area of a predetermined size that surrounds the line element to which the difference image portion belongs. The information may be generated, and the image information combining unit 804 may generate image information obtained by combining the image information with the reference image. In this case, specifically, the difference value acquisition unit 801 calculates, for example, the ratio of the width or height of the entire image to the larger width or height of the difference image portion 404 as described above. FIG. 12A or 12B shows an example when the determination unit 802 determines that the threshold is equal to or greater than the threshold. Specifically, FIG. 12A shows, for example, a case where a region surrounding the line element is displayed in a colored manner, and FIG. 12B shows the region surrounding the line element hatched. The case shall be indicated. In this case, as shown in FIG. 7, for example, the difference image portion 404 may be configured to be simply identified (for example, colored). Further, when the value is equal to or less than the threshold value, an enhanced image such as a frame may be generated. In the above description, the configuration in which the display method is simply changed depending on whether or not the difference value of the line element is equal to or greater than the threshold value has been described. However, as described later, the display method is changed based on other values. Also good. Specifically, for example, the identification display method may be made different based on, for example, the distribution of the difference image portion in the area representing the other line element. In this case, what is necessary is just to comprise so that it may be identified and displayed, so that a difference is harder to discover.

次に、差分画像部分が画像属性を有する場合の例について説明する。差分値取得部801は、画像属性と判定された差分画像部分については、例えば、対応する画像要素の領域内における差分値の絶対値の割合を算出する。判定部802は、当該割合の示す値が、画像属性に関連付けてあらかじめ定められた閾値以上であるか否かを判定する。   Next, an example in which the difference image portion has an image attribute will be described. For the difference image portion determined to be an image attribute, the difference value acquisition unit 801 calculates, for example, the absolute value ratio of the difference value in the area of the corresponding image element. The determination unit 802 determines whether the value indicated by the ratio is equal to or greater than a predetermined threshold associated with the image attribute.

判定部802が閾値以上であると判定した場合には、強調画像情報生成部803は、当該画像が差し替えられたことを示す画像情報を生成する。例えば、画像情報合成部804は、基準画像に当該差し替えられたことを示す画像情報を生成する。より具体的には、例えば、基準画像及び比較画像の画像要素が図13(A)及び(B)に示した場合、図13(C)に示すように差し替えられたことを示すために元の画像要素を識別表示(例えば、元の画像要素と異なる色に着色するなど)する等である。一方、判定部802が閾値より小さいと判定した場合には、例えば、画像情報合成部804は基準画像に差分画像部分を合成し、差分画像部分が識別表示(例えば、枠づけされて表示される等)される画像情報を生成する。   When the determination unit 802 determines that the value is equal to or greater than the threshold, the enhanced image information generation unit 803 generates image information indicating that the image has been replaced. For example, the image information composition unit 804 generates image information indicating that the reference image has been replaced. More specifically, for example, when the image elements of the reference image and the comparison image are shown in FIGS. 13A and 13B, the original image is displayed to indicate that the image elements have been replaced as shown in FIG. For example, the image element is identified and displayed (for example, colored in a color different from that of the original image element). On the other hand, when the determination unit 802 determines that the difference is smaller than the threshold, for example, the image information combining unit 804 combines the difference image portion with the reference image, and the difference image portion is displayed in an identification display (for example, framed). Etc.) is generated.

次に、その他の属性を有する場合について説明する。ユーザの設定に応じて、出力画像情報生成部206は当該差分画像部分を識別表示または除去した出力画像情報を生成する。例えば、ユーザの設定に応じて、当該差分画像がその他の属性領域からあらかじめ設定された距離以上離れた点(孤立点)や予め設定された面積以下の点の集合等に相当する場合、ノイズとして出力画像情報から除去する。   Next, the case of having other attributes will be described. In accordance with the user setting, the output image information generation unit 206 generates output image information in which the difference image portion is identified and displayed or removed. For example, when the difference image corresponds to a point (isolated point) that is more than a predetermined distance from other attribute regions or a set of points that are equal to or less than a predetermined area, according to user settings, as noise Remove from output image information.

次に、画像処理装置110の処理のフローについて説明する。図14は、画像処理装置110における処理のフローの一例について説明するための図である。   Next, a processing flow of the image processing apparatus 110 will be described. FIG. 14 is a diagram for explaining an example of a processing flow in the image processing apparatus 110.

画像情報取得部201は、基準画像情報及び比較画像情報を取得する(S101)。位置補正部202は、基準画像と比較画像の画像が重なるように、画像の位置、角度、サイズ等の補正処理を行う(S102)。差分画像情報取得部203は、基準画像と比較画像の差分である差分画像情報を取得する(S103)。要素取得部204は、基準画像から、基準画像の特徴量に応じて、各要素の属性情報とともにその領域情報を抽出する(S104)。   The image information acquisition unit 201 acquires reference image information and comparison image information (S101). The position correction unit 202 performs correction processing on the position, angle, size, and the like of the image so that the reference image and the comparison image overlap (S102). The difference image information acquisition unit 203 acquires difference image information that is a difference between the reference image and the comparison image (S103). The element acquisition unit 204 extracts area information along with attribute information of each element from the reference image according to the feature amount of the reference image (S104).

属性判定部205は、各差分画像部分の位置情報及び要素取得部204により抽出された各要素の位置情報に基づいて、各差分画像部分の属性を判定する(S105)。出力画像情報生成部206は、各差分画像部分の有する属性とその差分値に応じた値に基づいて、基準画像と比較画像との差が明確になるような出力画像情報を生成する(S106)。なお、当該出力画像情報は、例えば、端末装置125の表示部125に表示される。   The attribute determination unit 205 determines the attribute of each difference image portion based on the position information of each difference image portion and the position information of each element extracted by the element acquisition unit 204 (S105). The output image information generation unit 206 generates output image information that makes the difference between the reference image and the comparison image clear based on the attribute of each difference image portion and the value corresponding to the difference value (S106). . The output image information is displayed on the display unit 125 of the terminal device 125, for example.

上記処理のフローは一例にすぎず、上記フローと実質的に同一の構成、同一の作用効果を奏する構成又は同一の目的を達成することができる構成で置き換えてもよい。例えば、S102及びS103の前にS104の処理を行ってもよいし、また、S102及びS103の処理とS104の処理を並行して行うように構成してもよい。   The flow of the above process is merely an example, and may be replaced with a configuration that is substantially the same as the above flow, a configuration that exhibits the same operational effects, or a configuration that can achieve the same purpose. For example, the processing of S104 may be performed before S102 and S103, or the processing of S102 and S103 and the processing of S104 may be performed in parallel.

なお、本発明は、上記実施の形態に限定されるものではなく、上記実施の形態で示した構成と実質的に同一の構成、同一の作用効果を奏する構成又は同一の目的を達成することができる構成で置き換えてもよい。   In addition, this invention is not limited to the said embodiment, The structure substantially the same as the structure shown in the said embodiment, the structure which show | plays the same effect, or the same objective is achieved. It may be replaced with a possible configuration.

例えば、出力画像情報生成部206は、基準画像と比較画像との差分に基づく差分結果の大きさ(画素数、外接矩形サイズ、縦横の辺の長さ、文字サイズ等)、長さ、太さ、量に相当する値や、要素の種類(文字、罫線内の文字、線画、表罫線、イラスト、写真等)、差分結果に対する周辺画像や周辺画像に対する差分結果の位置関係等に応じて、差分結果が強調してユーザが容易に基準画像と比較画像の相違点を発見できるような出力画像が形成できる限り異なる構成であってもよい。この場合、差分結果の強調方法としては、例えば、差分結果自体の着色や、差分箇所を囲む枠づけ(当該枠づけの枠の太さや間隔、種類を異ならせてもよい)、表のセル内の背景部分の着色やハッチング、差分結果の背景部分の着色、ハッチング、位置をずらす等を用いてもよい。   For example, the output image information generation unit 206 determines the size of the difference result based on the difference between the reference image and the comparison image (number of pixels, circumscribed rectangle size, length of horizontal and vertical sides, character size, etc.), length, and thickness. Depending on the value corresponding to the amount, the type of element (characters, characters in a ruled line, line drawing, table ruled line, illustration, photo, etc.), the peripheral image for the difference result, the positional relationship of the difference result for the peripheral image, etc. Different configurations may be used as long as the output image can be formed so that the result is emphasized and the user can easily find the difference between the reference image and the comparison image. In this case, as a difference result enhancement method, for example, coloring of the difference result itself, a frame surrounding the difference part (the thickness, interval, and type of the frame of the frame may be different), in a table cell The background portion may be colored or hatched, or the difference result may be colored, hatched, or shifted in position.

上記においては、主に、差分画像部分について、対応する要素の領域内における差分値の絶対値の割合を算出する場合を例として説明したが、その他の差分画像部分の特徴(例えば、各領域における分散や画像全体に対する割合)や、差分画像部分の周辺画像の環境やユーザ設定等に基づいて、出力画像情報を生成するように構成してもよい。   In the above description, the case where the ratio of the absolute value of the difference value in the corresponding element area is mainly calculated for the difference image part has been described as an example. However, the characteristics of other difference image parts (for example, in each area) The output image information may be generated on the basis of the environment of the peripheral image of the difference image portion, user settings, and the like.

具体的には、例えば、差分画像部分が文字属性を有する場合においては、差分の特徴として差分結果が小さく細かいか否か、具体的には、例えば、差分画像部分(差分画像部分に外接する領域)の占める割合に対して差分値を有する割合があらかじめ定められた閾値より小さいか否かを判定し、小さいと判定した場合には、差分画像部分の属する文字要素または隣接する文字要素を含む文字ブロックを識別表示するように構成してもよい。あるいは、差分の特徴として、基準画像において対応する文字と差分画像部分の画素数を比較して、当該差分画像部分の画素数が文字の画素数に応じてあらかじめ定められた閾値よりも大きい場合には、差分画像部分のみを識別表示するように構成してもよい。   Specifically, for example, when the difference image portion has a character attribute, whether or not the difference result is small and fine as a feature of the difference, specifically, for example, the difference image portion (area circumscribing the difference image portion) ) Occupying the difference image portion, it is determined whether or not the ratio having the difference value is smaller than a predetermined threshold. If it is determined that the ratio is small, the character element including the character element to which the difference image portion belongs or the adjacent character element is included. You may comprise so that a block may be identified and displayed. Alternatively, as a feature of the difference, when the number of pixels of the difference image portion is compared with the corresponding character in the reference image, and the number of pixels of the difference image portion is greater than a predetermined threshold according to the number of pixels of the character May be configured to identify and display only the difference image portion.

差分画像部分が表中の文字の属性を有する場合においては、例えば、差分の特徴として差分結果が小さく細かいか否か、より具体的には、例えば、差分画像部分(差分画像部分に外接する領域)の占める割合に対して差分値を有する割合があらかじめ定められた閾値より小さいか否かを判定し、小さいと判定した場合であって、周囲の環境として当該表の密度が高い場合や、枠付けする場合において枠と表を構成する線が干渉する場合等は、差分画像部分の属するセルを識別表示するように構成してもよい。また、表内に占める差分画像部分の割合があらかじめ設定された閾値よりも大きいか否かを判定し、大きいと判定した場合には、表の差し替えを示す出力画像情報を生成、表示されるように構成してもよい。更に、表の行または列を構成する差分画像部分の割合があらかじめ設定された閾値よりも大きいか否かを判定し、大きいと判定した場合には、当該行または列の差し替えを示す出力画像情報を生成、表示されるように構成してもよい。なお、これらの場合、ユーザの設定により差し替えを示すか否かを決定できるように構成してもよい。   In the case where the difference image portion has the character attribute in the table, for example, whether the difference result is small and fine as the difference feature, more specifically, for example, the difference image portion (region circumscribing the difference image portion) ) Occupying the difference ratio is less than a predetermined threshold value, and it is determined that the ratio is small and the surrounding environment has a high density or a frame. In the case of attaching, when the lines constituting the frame and the table interfere with each other, the cell to which the difference image portion belongs may be identified and displayed. In addition, it is determined whether or not the ratio of the difference image portion in the table is larger than a preset threshold value. If it is determined that the ratio is large, output image information indicating replacement of the table is generated and displayed. You may comprise. Further, it is determined whether or not the ratio of the difference image portion constituting the row or column of the table is larger than a preset threshold value, and if it is determined to be large, output image information indicating replacement of the row or column May be generated and displayed. In these cases, it may be configured to be able to determine whether or not to indicate replacement according to user settings.

差分画像部分が線属性を有する場合には、差分画像部分の画素数が、例えば、差分の特徴として、対応する線要素の長さや太さ等に応じて決定される等の閾値以上か否かを決定し、当該閾値以下であると判定した場合には、当該差分画像部分が同一線分または直線状に多数存在するか否か、または、当該線分等における位置に応じて、識別表示方法が異なるように構成してもよい。当該表示方法はユーザが設定できるように構成してもよい。一方、閾値より小さいと判定した場合には、標準の識別表示として設定されている強調方法よりも強調度を抑えて表示(例えば、線を含んだ背景が強調される場合には、当該背景領域をより狭くする等)するよう構成してもよい。   If the difference image part has a line attribute, whether or not the number of pixels of the difference image part is equal to or greater than a threshold value, for example, determined according to the length or thickness of the corresponding line element as a difference feature Is determined, and it is determined that the difference image portion is equal to or less than the threshold value. May be different. You may comprise the said display method so that a user can set. On the other hand, if it is determined that the threshold value is smaller than the threshold value, the display is performed with a lower emphasis level than the emphasis method set as the standard identification display (for example, when the background including the line is emphasized, the background area It is also possible to make the system narrower).

差分画像部分がイラストや写真等の属性を有する場合には、例えば、差分画像部分の差分値が大小多種の値を含むことから、当該イラストや写真等の領域内で差分画像部分の占める割合があらかじめ設定された値以上であるか否かに応じて、イラスト等の差し替えとして表示するか否かを決定するように構成してもよい。また、差分画像部分がその他の属性を有する場合であって、差分画像部分の画素数があらかじめ設定された値よりも小さい場合には、基準画像において当該差分画像部分の対応する領域の面積や、同様の面積を有する差分画像部分が存在するか否かに応じて、当該差分画像部分を表示するか否かを決定してもよい。なお、ユーザが表示の要否につき、設定できるように構成してもよい。   When the difference image portion has an attribute such as an illustration or a photo, for example, since the difference value of the difference image portion includes various values, the proportion of the difference image portion in the region such as the illustration or the photo It may be configured to determine whether or not to display as a replacement of an illustration or the like depending on whether or not the value is greater than a preset value. Further, when the difference image portion has other attributes, and the number of pixels of the difference image portion is smaller than a preset value, the area of the corresponding region of the difference image portion in the reference image, Whether or not to display the difference image portion may be determined according to whether or not there is a difference image portion having a similar area. In addition, you may comprise so that a user can set about the necessity of a display.

100 画像処理システム、110 画像処理装置、111、121 制御部、112、122 記憶部、113、123 通信部、120 端末装置、124 操作部、125 表示部、126 読み取り部、201 画像情報取得部、202 位置補正部、203 差分画像情報取得部、204 要素取得部、205 属性判定部、206 出力画像情報生成部、801 差分値取得部、802 判定部、803 強調画像情報生成部、804 画像情報合成部。   100 image processing system, 110 image processing device, 111, 121 control unit, 112, 122 storage unit, 113, 123 communication unit, 120 terminal device, 124 operation unit, 125 display unit, 126 reading unit, 201 image information acquisition unit, 202 position correction unit, 203 difference image information acquisition unit, 204 element acquisition unit, 205 attribute determination unit, 206 output image information generation unit, 801 difference value acquisition unit, 802 determination unit, 803 enhanced image information generation unit, 804 image information composition Department.

Claims (7)

基準画像情報及び比較画像情報を取得する画像情報取得手段と、
基準画像情報と比較画像情報の差分である差分画像情報を取得する差分画像情報取得手段と、
前記基準画像の特徴量に応じて、該基準画像情報に含まれる各要素の属性情報とともに該各要素の位置情報を取得する要素取得手段と、
前記差分画像情報に含まれる差分値を有する各差分画像部分の位置情報及び前記要素取得手段により抽出された前記各要素の位置情報に基づいて、前記各差分画像部分の属性を判定する属性判定手段と、
前記属性判定手段により判定された各差分画像部分の属性と、前記差分画像部分に含まれる差分値に応じた値と、に応じた出力画像情報を生成する出力画像情報生成手段と、
を有することを特徴とする画像処理システム。
Image information acquisition means for acquiring reference image information and comparison image information;
Difference image information acquisition means for acquiring difference image information that is a difference between the reference image information and the comparison image information;
Element acquisition means for acquiring position information of each element together with attribute information of each element included in the reference image information according to the feature amount of the reference image;
Attribute determination means for determining the attribute of each difference image part based on the position information of each difference image part having a difference value included in the difference image information and the position information of each element extracted by the element acquisition means When,
Output image information generating means for generating output image information according to the attribute of each difference image portion determined by the attribute determining means and a value according to the difference value included in the difference image portion;
An image processing system comprising:
前記画像処理システムは、更に、前記基準画像情報と前記比較画像情報が重なるように、少なくとも一方の画像情報の位置、角度、及び/またはサイズの補正処理を行う補正手段を有し、
前記差分画像情報取得手段は、補正処理が行われた基準画像情報及び/または比較画像情報の差分に基づいて前記差分画像情報を取得することを特徴とする請求項1記載の画像処理システム。
The image processing system further includes a correction unit that performs a correction process on the position, angle, and / or size of at least one of the image information so that the reference image information and the comparison image information overlap.
The image processing system according to claim 1, wherein the difference image information acquisition unit acquires the difference image information based on a difference between the reference image information and / or the comparison image information subjected to correction processing.
前記各差分画像部分の属性は、文字の属性を示す属性、表中の文字の属性を示す表中の文字属性、線の属性を示す線属性、画像の属性を示す画像属性を含むことを特徴とする請求項1または2記載の画像処理システム。   The attribute of each difference image part includes an attribute indicating a character attribute, a character attribute in the table indicating a character attribute in the table, a line attribute indicating a line attribute, and an image attribute indicating an image attribute. The image processing system according to claim 1 or 2. 前記出力画像生成手段は、
前記各差分画像部分の属性及び該各差分画像部分が対応する前記各要素の位置情報に基づいて、前記差分画像部分に含まれる差分値に応じた値を取得する差分値取得手段と、
前記差分値に応じた値が該属性毎に定められた閾値以上であるか否かを判定する判定手段と、を有し、
前記出力画像情報は、更に、前記判定手段の判定結果に応じた画像情報であることを特徴とする請求項1乃至3のいずれかに記載の画像処理システム。
The output image generation means includes
Difference value acquisition means for acquiring a value corresponding to a difference value included in the difference image part based on the attribute of each difference image part and the position information of each element corresponding to the difference image part;
Determination means for determining whether a value corresponding to the difference value is equal to or greater than a threshold value determined for each attribute,
The image processing system according to claim 1, wherein the output image information is image information corresponding to a determination result of the determination unit.
前記出力画像生成手段は、前記差分画像部分が表中の文字属性であって、かつ、前記差分画像部分の前記表中の文字属性についてあらかじめ定めた閾値以上であると判定された場合には、前記基準画像情報及び前記比較画像情報で表され、前記差分画像部分を含む表全体を識別表示する画像を表す出力画像情報を生成することを特徴とする請求項1乃至4のいずれかに記載の画像処理システム。   The output image generation means, when it is determined that the difference image portion is a character attribute in the table and is greater than or equal to a predetermined threshold for the character attribute in the table of the difference image portion, The output image information representing an image that is represented by the reference image information and the comparison image information and that identifies and displays the entire table including the difference image portion is generated. Image processing system. 前記出力画像生成手段は、前記差分画像部分が表中の文字属性であって、かつ、前記差分画像部分の前記表中の文字属性についてあらかじめ定めた閾値より小さいと判定された場合には、前記差分画像部分のうち、前記差分画像部分が対応する表のセルを特定するとともに、当該セルを識別表示する出力画像情報を生成することを特徴とする請求項1乃至5のいずれかに記載の画像処理システム。   The output image generation means, when it is determined that the difference image portion is a character attribute in the table and is smaller than a predetermined threshold for the character attribute in the table of the difference image portion, 6. The image according to claim 1, wherein, among the difference image portions, the cell of the table corresponding to the difference image portion is specified, and output image information for identifying and displaying the cell is generated. Processing system. 基準画像情報及び比較画像情報を取得する画像情報取得手段、
基準画像情報と比較画像情報の差分である差分画像情報を取得する差分画像情報取得手段、
前記基準画像の特徴量に応じて、該基準画像情報に含まれる各要素の属性情報とともに該各要素の位置情報を取得する要素取得手段、
前記差分画像情報に含まれる差分値を有する各差分画像部分の位置情報及び前記要素取得手段により抽出された前記各要素の位置情報に基づいて、前記各差分画像部分の属性を判定する属性判定手段、及び
前記属性判定手段により判定された各差分画像部分の属性と、前記差分画像部分に含まれる差分値に応じた値と、に応じた出力画像情報を生成する出力画像情報生成手段、
としてコンピュータを機能させるための画像処理プログラム。
Image information acquisition means for acquiring reference image information and comparison image information;
Difference image information acquisition means for acquiring difference image information which is a difference between the reference image information and the comparison image information;
Element acquisition means for acquiring position information of each element together with attribute information of each element included in the reference image information in accordance with a feature amount of the reference image;
Attribute determination means for determining the attribute of each difference image part based on the position information of each difference image part having a difference value included in the difference image information and the position information of each element extracted by the element acquisition means And output image information generation means for generating output image information according to the attribute of each difference image portion determined by the attribute determination means and the value according to the difference value included in the difference image portion,
As an image processing program for causing a computer to function.
JP2011165515A 2011-07-28 2011-07-28 Image processing system and image processing program Expired - Fee Related JP5853466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011165515A JP5853466B2 (en) 2011-07-28 2011-07-28 Image processing system and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011165515A JP5853466B2 (en) 2011-07-28 2011-07-28 Image processing system and image processing program

Publications (2)

Publication Number Publication Date
JP2013029982A true JP2013029982A (en) 2013-02-07
JP5853466B2 JP5853466B2 (en) 2016-02-09

Family

ID=47786969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011165515A Expired - Fee Related JP5853466B2 (en) 2011-07-28 2011-07-28 Image processing system and image processing program

Country Status (1)

Country Link
JP (1) JP5853466B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015122019A (en) * 2013-12-25 2015-07-02 富士通株式会社 Image processing apparatus, image processing method, and image processing program
CN105025188A (en) * 2014-04-23 2015-11-04 富士施乐株式会社 Image forming apparatus, image processing apparatus, and image processing method
US9377983B2 (en) 2014-03-13 2016-06-28 Ricoh Company, Ltd. Information processing apparatus, information processing method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7368683B1 (en) 2023-02-20 2023-10-25 株式会社エム・ディ・インスツルメンツ X-ray source device

Citations (4)

* 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
JP2010109479A (en) * 2008-10-28 2010-05-13 Ricoh Co Ltd Image processing apparatus, program, and image processing method
JP2011003995A (en) * 2009-06-16 2011-01-06 Canon Inc Image processing apparatus, image processing method, and computer program
JP2011125402A (en) * 2009-12-15 2011-06-30 Toshiba Corp Image reading report preparation support system

Patent Citations (4)

* 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
JP2010109479A (en) * 2008-10-28 2010-05-13 Ricoh Co Ltd Image processing apparatus, program, and image processing method
JP2011003995A (en) * 2009-06-16 2011-01-06 Canon Inc Image processing apparatus, image processing method, and computer program
JP2011125402A (en) * 2009-12-15 2011-06-30 Toshiba Corp Image reading report preparation support system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015122019A (en) * 2013-12-25 2015-07-02 富士通株式会社 Image processing apparatus, image processing method, and image processing program
US9377983B2 (en) 2014-03-13 2016-06-28 Ricoh Company, Ltd. Information processing apparatus, information processing method, and program
CN105025188A (en) * 2014-04-23 2015-11-04 富士施乐株式会社 Image forming apparatus, image processing apparatus, and image processing method
JP2015215637A (en) * 2014-04-23 2015-12-03 富士ゼロックス株式会社 Image forming apparatus, image processing apparatus, and program
US9215344B2 (en) 2014-04-23 2015-12-15 Fuji Xerox Co., Ltd. Image forming apparatus, image processing apparatus, image forming method, image processing method, and non-transitory computer readable medium
CN105025188B (en) * 2014-04-23 2018-03-06 富士施乐株式会社 Image processing system, image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP5853466B2 (en) 2016-02-09

Similar Documents

Publication Publication Date Title
JP5951367B2 (en) Imaging apparatus, captured image processing system, program, and recording medium
JP5387193B2 (en) Image processing system, image processing apparatus, and program
US8237818B2 (en) Camera
JP3594228B2 (en) Frame erasing device, frame erasing method, and authoring device
JP6194711B2 (en) Image forming apparatus, printing method, and program
JP6426815B2 (en) Image processing apparatus and image processing method
JP2012103790A (en) Object display device and object display method
JP5853466B2 (en) Image processing system and image processing program
JP6117164B2 (en) Image reading apparatus and method, reading area display apparatus and method, and program
JP2012018494A (en) Bar code symbol reader, bar code symbol reading method, and computer program
JP7241506B2 (en) Correction support device and correction support program for optical character recognition results
JP4910635B2 (en) Image processing apparatus and image processing program
JP2007079587A (en) Image processor
JP6414475B2 (en) Computer program and control device
JP5923981B2 (en) Image processing apparatus and image processing program
JP2008269131A (en) Image processor and image processing program
JP6168872B2 (en) Image processing apparatus, image processing method, and program
JP2011053456A (en) Image display method, program, image display device, and imaging apparatus with the image display device
JP4803001B2 (en) Image processing apparatus and image processing program
JP2013178400A (en) Image projection device, image generation method, and program
JP2014112332A (en) Image processor and image processing program
JP2013065164A (en) Image processing device, image processing method, and image processing program
CN112583976B (en) Graphic code display method, equipment and readable storage medium
JP5277750B2 (en) Image processing program, image processing apparatus, and image processing system
JP2008206037A (en) Image processing apparatus and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150324

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150522

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151123

R150 Certificate of patent or registration of utility model

Ref document number: 5853466

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