JP2025015911A - Image processing device, image processing method, and program - Google Patents

Image processing device, image processing method, and program Download PDF

Info

Publication number
JP2025015911A
JP2025015911A JP2023118803A JP2023118803A JP2025015911A JP 2025015911 A JP2025015911 A JP 2025015911A JP 2023118803 A JP2023118803 A JP 2023118803A JP 2023118803 A JP2023118803 A JP 2023118803A JP 2025015911 A JP2025015911 A JP 2025015911A
Authority
JP
Japan
Prior art keywords
image
masking
image processing
information
character string
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.)
Pending
Application number
JP2023118803A
Other languages
Japanese (ja)
Inventor
義高 松本
Yoshitaka Matsumoto
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2023118803A priority Critical patent/JP2025015911A/en
Publication of JP2025015911A publication Critical patent/JP2025015911A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Abstract

To properly check a masked image.SOLUTION: An image processing device has acquisition means for acquiring a document image, image processing means for generating a masked image where a target area including a predetermined character string in the document image is masked so that the predetermined character string included in the document image cannot be recognized, and control means for controlling the presentation of the predetermined character string so that it is recognizable by a user on the basis of the user's instruction.SELECTED DRAWING: Figure 12

Description

本開示は、文書画像に係る処理に関する。 This disclosure relates to processing of document images.

請求書などの文書をスキャンして得られたスキャン画像などの文書データを、関連部門や他社に送信することがある。 Document data, such as scanned images obtained by scanning documents such as invoices, may be sent to related departments or other companies.

特許文献1は、文書データ内の個人情報および社外秘情報のような情報を隠すために、当該情報を示す文字列を黒く塗りつぶす処理(マスキング)をする方法が開示されている。 Patent document 1 discloses a method for masking information such as personal information and confidential information in document data by blacking out character strings indicating the information.

特開2021-68023号公報JP 2021-68023 A

特許文献1の方法で文書データにマスキングをして得られたマスキング画像を出力する前に、マスキング画像を確認することが求められることがある。マスキング画像を確認するためにマスキング画像をプレビュー表示すると、マスキング画像におけるマスキングされた文字列はユーザが認識できないように表示される。このため、ユーザは、マスキングされた文字列が誤ってマスキングされているか否かを確認することができなかった。 Before outputting a masked image obtained by masking document data using the method of Patent Document 1, it may be necessary to check the masked image. When a masked image is previewed to check the masked image, the masked character string in the masked image is displayed in such a way that the user cannot recognize it. For this reason, the user is unable to check whether the masked character string has been masked in error.

本開示の画像処理装置は、文書画像を取得する取得手段と、前記文書画像に含まれる所定の文字列をユーザが認識できなくなるように、前記文書画像における前記所定の文字列が含まれる対象領域にマスクがされたマスキング画像を生成する画像処理手段と、ユーザの指示に基づき、前記所定の文字列をユーザが認識できるように提示するための制御をする制御手段と、を有することを特徴とする。 The image processing device disclosed herein is characterized by having an acquisition means for acquiring a document image, an image processing means for generating a masking image in which a target area in the document image containing a predetermined character string is masked so that the user cannot recognize the predetermined character string, and a control means for controlling the presentation of the predetermined character string in a manner that the user can recognize it, based on an instruction from the user.

本開示によれば、マスキング画像の確認を適切に行うことができる。 According to the present disclosure, masking images can be properly checked.

画像処理システムの構成例を示す図。FIG. 1 is a diagram showing an example of the configuration of an image processing system. MFPのハードウェア構成を示すブロック図。FIG. 2 is a block diagram showing the hardware configuration of an MFP. 外部ストレージのハードウェア構成を示すブロック図。FIG. 2 is a block diagram showing a hardware configuration of an external storage device. MFPの機能構成を示すブロック図。FIG. 2 is a block diagram showing the functional configuration of the MFP. マスキング画像を生成し送信するまでの流れを説明するためのフローチャート。11 is a flowchart for explaining a flow from generating a masking image to transmitting the same. 設定画面の一例を示す図。FIG. 13 is a diagram showing an example of a setting screen. マスキング領域特定処理の詳細を説明するためのフローチャート。10 is a flowchart for explaining details of a masking region specifying process. マスキング対象の情報種別の取得の詳細を説明するためのフローチャート。10 is a flowchart for explaining details of acquisition of an information type to be masked. マスキング画像生成処理を説明するためのフローチャート。11 is a flowchart for explaining a masking image generating process. プレビュー表示画面を説明するための図。FIG. 4 is a diagram for explaining a preview display screen. 確認のための印刷処理の詳細を説明するためのフローチャート。10 is a flowchart illustrating details of a printing process for confirmation. マスキング画像の確認用の印刷物の一例を示す図。FIG. 11 is a diagram showing an example of a printed matter for confirming a masking image. 一覧印刷画面の一例を示す図。FIG. 13 is a diagram showing an example of a list print screen. プリセット登録処理の詳細を説明するためのフローチャート。10 is a flowchart for explaining details of a preset registration process. プリセット登録画面の一例を示す図。FIG. 13 is a diagram showing an example of a preset registration screen.

以下、本開示の技術を実施するための形態について図面を用いて説明する。なお、以下の実施形態は特許請求の範囲に係る技術を限定するものでなく、また、以下の実施形態で説明されている特徴の組み合わせの全てが本開示の技術の解決手段に必須のものとは限らない。 Below, the embodiments for implementing the technology of this disclosure are described with reference to the drawings. Note that the following embodiments do not limit the technology related to the claims, and not all of the combinations of features described in the following embodiments are necessarily essential to the solution of the technology of this disclosure.

<第1の実施形態>
[システム構成]
図1は、本実施形態の画像処理システムの構成例を示す図である。画像処理システム1は、MFP(Multifunction Peripheral)110、および外部ストレージ120を含む。MFP110は、LAN(Local Area Network)経由でインターネット上の各種サービスを提供するサーバに対して通信可能に接続されている。
First Embodiment
[System configuration]
1 is a diagram showing an example of the configuration of an image processing system according to the present embodiment. The image processing system 1 includes an MFP (Multifunction Peripheral) 110 and an external storage 120. The MFP 110 is communicably connected to a server that provides various services on the Internet via a LAN (Local Area Network).

MFP110は、スキャナ機能およびプリンタ機能のような複数の機能を有するが画像形成装置であり、情報処理装置および画像処理装置の機能も含まれる。MFP110は、紙の文書をスキャンして得られたスキャン画像の画像ファイルを、ファイル保存が可能な外部ストレージ120に転送する機能も有する。 MFP 110 has multiple functions such as a scanner function and a printer function, but is an image forming device, and also includes the functions of an information processing device and an image processing device. MFP 110 also has a function of transferring an image file of a scanned image obtained by scanning a paper document to external storage 120 where the file can be saved.

外部ストレージ120は、インターネットを介して受信したファイルを保存したり、外部装置からウェブブラウザを介してファイルを取得したりすることができるサービスを提供する装置である。外部ストレージ120が提供するサービスは、例えばクラウドサービスである。ストレージサービスを提供する装置は、外部ストレージ120だけに限らず、画像処理システム1に複数存在してもよい。 The external storage 120 is a device that provides a service that allows files received via the Internet to be stored and files to be obtained from an external device via a web browser. The service provided by the external storage 120 is, for example, a cloud service. The device that provides the storage service is not limited to the external storage 120, and multiple devices may exist in the image processing system 1.

本実施形態の画像処理システム1は、MFP110および外部ストレージ120を有する構成としているが、他にも例えば、MFP110の機能の一部は、インターネット上またはLAN上に配置された他のサーバ装置等で実現されてもよい。また、外部ストレージ120は、インターネット上ではなくLAN上に配置されてもよい。外部ストレージ120の他にメールサーバーが画像処理システム1に含まれてもよい。そのメールサーバーが、MFP110が生成したスキャン画像をメールに添付することでスキャン画像を送信してもよい。MFP110に、外部ストレージ120が有する保存機能が含まれていてもよい。 The image processing system 1 of this embodiment is configured to include an MFP 110 and an external storage 120, but, for example, some of the functions of the MFP 110 may be realized by another server device located on the Internet or a LAN. Also, the external storage 120 may be located on the LAN rather than on the Internet. In addition to the external storage 120, a mail server may be included in the image processing system 1. The mail server may send the scanned image generated by the MFP 110 by attaching the scanned image to an email. The MFP 110 may include a storage function that the external storage 120 has.

[MFPのハードウェア構成]
図2は、MFP110のハードウェア構成を示すブロック図である。MFP110は、制御部210、操作部220、プリンタ221、スキャナ222、モデム223を有する。
[MFP Hardware Configuration]
2 is a block diagram showing the hardware configuration of the MFP 110. The MFP 110 has a control unit 210, an operation unit 220, a printer 221, a scanner 222, and a modem 223.

制御部210は、以下に説明する各部で構成され、MFP110全体の動作を制御する。CPU211は、ROM212またはHDD214に記憶された様々な制御プログラムを読み出して、スキャン、印刷、および通信等のMFP110が有する各種機能を実現するための処理を実行する。RAM213は、CPU211の主メモリ、ワークエリア等の一時記憶領域として用いられる。なお、本実施形態では1つのCPU211が1つのメモリ(RAM213またはHDD214)を用いて後述のフローチャートに示す各処理を実行するものとするが、これに限定されない。例えば、複数のCPUや複数のRAMまたはHDDを協働させて各処理が実行されてもよい。HDD214は、画像データや各種プログラムを記憶する大容量記憶部である。 The control unit 210 is composed of the various units described below, and controls the overall operation of the MFP 110. The CPU 211 reads out various control programs stored in the ROM 212 or HDD 214, and executes processes for implementing various functions of the MFP 110, such as scanning, printing, and communication. The RAM 213 is used as a temporary storage area such as the main memory and work area of the CPU 211. Note that in this embodiment, one CPU 211 executes each process shown in the flowcharts described below using one memory (RAM 213 or HDD 214), but this is not limited to this. For example, each process may be executed by multiple CPUs or multiple RAMs or HDDs working together. The HDD 214 is a large-capacity storage unit that stores image data and various programs.

操作部I/F215は、操作部220と制御部210とを接続するインタフェースである。操作部220には、表示部としても機能するタッチパネル、およびキーボードなどが備えられており、ユーザによる操作、入力、および指示を受け付ける。なお、タッチパネルへのタッチ操作には、人の指による操作やタッチペンによる操作が含まれる。 The operation unit I/F 215 is an interface that connects the operation unit 220 and the control unit 210. The operation unit 220 is equipped with a touch panel that also functions as a display unit, a keyboard, and the like, and accepts operations, inputs, and instructions from the user. Note that touch operations on the touch panel include operations using a person's finger and operations using a touch pen.

プリンタI/F216は、プリンタ221と制御部210とを接続するインタフェースである。印刷用の画像のデータはプリンタI/F216を介して制御部210からプリンタ221へ転送され、紙等の記録媒体上に画像が印刷される。 The printer I/F 216 is an interface that connects the printer 221 and the control unit 210. Image data to be printed is transferred from the control unit 210 to the printer 221 via the printer I/F 216, and the image is printed on a recording medium such as paper.

スキャナI/F217は、スキャナ222と制御部210とを接続するインタフェースである。スキャナ222は、不図示の原稿台やADF(Auto Document Feeder)にセットされた紙の文書(原稿)を光学的に読み取ってスキャン画像を生成し、スキャナI/F217を介して制御部210に入力する。MFP110は、スキャナ222が読み取って生成されたスキャン画像を、プリンタ221で印刷したり(コピー出力)、HDD214に保存したり、LANを介して外部ストレージ120等の外部装置にファイル送信したり、メール送信したりすることができる。 The scanner I/F 217 is an interface that connects the scanner 222 and the control unit 210. The scanner 222 optically reads a paper document (original) set on a platen or ADF (Auto Document Feeder) (not shown) to generate a scanned image, which is then input to the control unit 210 via the scanner I/F 217. The MFP 110 can print (copy output) the scanned image read and generated by the scanner 222 on the printer 221, store it in the HDD 214, or send it as a file or email to an external device such as the external storage 120 via the LAN.

モデムI/F218は、モデム223と制御部210とを接続するインタフェースである。モデム223は、PSTN上のファクシミリ装置(不図示)との間で画像データをファクシミリ通信する。 The modem I/F 218 is an interface that connects the modem 223 to the control unit 210. The modem 223 transmits image data by facsimile between the modem 223 and a facsimile device (not shown) on the PSTN.

ネットワークI/F219は、制御部210(MFP110)をLANに接続するインタフェースである。MFP110は、ネットワークI/F219を用いて、スキャン画像をインターネット上の各サービスを提供する装置に送信したり、各種情報を受信したりする。 The network I/F 219 is an interface that connects the control unit 210 (MFP 110) to a LAN. The MFP 110 uses the network I/F 219 to send scanned images to devices that provide various services on the Internet and to receive various information.

[外部ストレージのハードウェア構成]
図3は、外部ストレージ120のハードウェア構成を示すブロック図である。外部ストレージ120は、CPU311、ROM312、RAM313、HDD314、及びネットワークI/F315を有する。CPU311は、ROM312に記憶された制御プログラムを読み出して各種処理を実行することで、全体の動作を制御する。RAM313は、CPU311の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD314は、画像データや各種プログラムを記憶する大容量記憶部である。ネットワークI/F315は、制御部310をインターネットに接続するインタフェースである。外部ストレージ120は、ネットワークI/F315を介して他の装置(MFP110など)から様々な処理リスエストを受けて各種情報を送受信する。
[Hardware configuration of external storage]
3 is a block diagram showing the hardware configuration of the external storage 120. The external storage 120 includes a CPU 311, a ROM 312, a RAM 313, a HDD 314, and a network I/F 315. The CPU 311 reads out a control program stored in the ROM 312 and executes various processes to control the overall operation. The RAM 313 is used as a temporary storage area such as a main memory and a work area for the CPU 311. The HDD 314 is a large-capacity storage unit that stores image data and various programs. The network I/F 315 is an interface that connects the control unit 310 to the Internet. The external storage 120 receives various processing requests from other devices (such as the MFP 110) via the network I/F 315 and transmits and receives various information.

[MFPの機能構成]
図4は、本実施形態のMFP110の機能構成を示すブロック図である。MFP110が有する諸機能のうち、文書をスキャンして電子化(ファイル化)し、外部ストレージ120に保存を行うまでの処理に関わる機能に絞って説明を行うものとする。
[Functional configuration of MFP]
4 is a block diagram showing the functional configuration of the MFP 110 of this embodiment. Of the various functions of the MFP 110, the following description focuses on functions related to the process of scanning a document, digitizing it (making it into a file), and storing it in the external storage 120.

MFP110の機能には、ネイティブ機能部410および追加機能部420の2つ機能モジュールが含まれる。ネイティブ機能部410は、MFP110に標準的に備えられたアプリケーションであるのに対し、追加機能部420は、MFP110に追加的にインストールされたアプリケーションである。追加機能部420は、Java(登録商標)をベースとしたアプリケーションであり、MFP110への機能追加は容易に実現される。なお、MFP110には図示しない他の追加アプリケーションがインストールされていてもよい。MFP110の機能部は、MFP110のROM212またはHDD214に記憶されているプログラムを、CPU211がRAM213に読み出し、実行することで実現される。 The functions of the MFP 110 include two functional modules: a native function unit 410 and an additional function unit 420. The native function unit 410 is an application that is provided as standard in the MFP 110, whereas the additional function unit 420 is an application that is additionally installed in the MFP 110. The additional function unit 420 is an application based on Java (registered trademark), and functions can be easily added to the MFP 110. Note that other additional applications (not shown) may be installed in the MFP 110. The functional units of the MFP 110 are realized by the CPU 211 reading into the RAM 213 and executing a program stored in the ROM 212 or HDD 214 of the MFP 110.

ネイティブ機能部410は、スキャン実行部411、内部データ保存部412、印刷実行部413、およびUI表示制御部414を有する。 The native function unit 410 has a scan execution unit 411, an internal data storage unit 412, a print execution unit 413, and a UI display control unit 414.

追加機能部420は、メイン処理部421、スキャン指示部422、画像処理部423、データ管理部424、印刷指示部425、インターネットアクセス部426、表示制御部427、情報検出部428、文書種別決定部429を有する。また、マスキング対象特定部430を有する。 The additional function unit 420 has a main processing unit 421, a scan instruction unit 422, an image processing unit 423, a data management unit 424, a print instruction unit 425, an Internet access unit 426, a display control unit 427, an information detection unit 428, and a document type determination unit 429. It also has a masking target identification unit 430.

メイン処理部421は、追加機能部420に含まれる各機能部の全般に係る処理を行う。具体的には、メイン処理部421は、追加機能部420によって実行される処理全体を制御し、追加機能部420に含まれる各機能部に処理を要求する。 The main processing unit 421 performs processing related to all of the functional units included in the additional functional unit 420. Specifically, the main processing unit 421 controls the overall processing executed by the additional functional unit 420, and requests processing from each functional unit included in the additional functional unit 420.

スキャン指示部422は、設定画面600(図6参照)を介して入力されたスキャン設定に応じたスキャン処理をスキャン実行部411に要求する。スキャン指示部422は、設定画面600におけるスキャン実行ボタン601(図6参照)の押下に応じて、スキャン処理を要求する。 The scan instruction unit 422 requests the scan execution unit 411 to perform a scan process according to the scan settings input via the setting screen 600 (see FIG. 6). The scan instruction unit 422 requests a scan process in response to pressing the scan execution button 601 (see FIG. 6) on the setting screen 600.

スキャン実行部411は、スキャン設定を含むスキャン要求をスキャン指示部422から取得する。スキャン実行部411は、原稿台に置かれた紙の文書の読み取り動作を、取得したスキャン要求に従いスキャナI/F217を介してスキャナ222に実行させ、スキャン画像を生成する。このように生成されたスキャン画像のような文書の内容を表す画像を、文書画像とよぶ。 The scan execution unit 411 acquires a scan request including scan settings from the scan instruction unit 422. The scan execution unit 411 causes the scanner 222 to execute a reading operation of a paper document placed on a platen via the scanner I/F 217 in accordance with the acquired scan request, and generates a scanned image. An image representing the contents of a document, such as the scanned image generated in this way, is called a document image.

内部データ保存部412は、文書画像のデータをHDD214に保存する。保存された文書画像を一意に示す画像識別子の情報が、スキャン指示部422へ通知される。画像識別子は、MFP110に保存されている画像を一意に識別するための番号、記号、およびアルファベットなどである。 The internal data storage unit 412 stores the document image data in the HDD 214. Information on an image identifier that uniquely identifies the stored document image is notified to the scan instruction unit 422. The image identifier is a number, symbol, alphabet, or the like that uniquely identifies an image stored in the MFP 110.

画像処理部423は、文書画像に対して解析処理および加工処理を行う機能部である。画像処理部423はスキャン指示部422から画像識別子を取得し、取得した画像識別子に対応する文書画像のデータを内部データ保存部412から取得する。画像処理部423は、取得した文書画像に対して、画像の回転や傾きの補正処理、文字列領域の検出処理、文字認識処理(Optical Character Recognition処理またはOCR処理)を行う。 The image processing unit 423 is a functional unit that performs analysis and processing on the document image. The image processing unit 423 acquires an image identifier from the scan instruction unit 422, and acquires document image data corresponding to the acquired image identifier from the internal data storage unit 412. The image processing unit 423 performs image rotation and tilt correction processing, character string area detection processing, and character recognition processing (Optical Character Recognition processing or OCR processing) on the acquired document image.

本実施形態の画像処理部423は、文書画像における対象領域に、マスクが重畳されるようにマスクを合成し、その結果得られた画像であるマスキング画像のデータの保存を内部データ保存部412に指示する。文書画像にマスクを合成する処理を、マスキング(処理)、または墨消し処理とよぶ。またはマスキング処理のことを、マスクする、ともよぶことがある。また、マスキング処理の対象となる対象領域をマスキング領域とよぶ。即ち、マスキング画像は、文書画像におけるマスキング領域に対してマスキングすることで得られた画像である。マスキング画像におけるマスキング処理されたマスキング領域のことをマスクとよぶこともある。画像処理部423の処理の詳細およびその他の機能については後述する。 The image processing unit 423 of this embodiment synthesizes a mask so that the mask is superimposed on the target area in the document image, and instructs the internal data storage unit 412 to save data of the masked image, which is the image obtained as a result. The process of synthesizing a mask on a document image is called masking (processing) or blackout processing. Alternatively, masking processing may also be called masking. The target area that is the subject of masking processing is called a masking area. In other words, a masking image is an image obtained by masking a masking area in a document image. The masked area in a masking image that has been subjected to masking processing may also be called a mask. Details of the processing of the image processing unit 423 and other functions will be described later.

マスキング領域は、矩形の領域であるものとして本実施形態の説明を行うが、マスキング領域の形状は楕円形や三角形などいかなる形でもよい。矩形のマスキング領域は、始点である左上の位置の座標および終点である右下の位置の座標によりその位置およびサイズが表される。例えば、始点の座標が(441,957)、終点の座標が(1369,1
7)であるマスキング領域の位置およびサイズは、「(441,957)、(1369,1057)」と表される。
In the description of this embodiment, the masking area is assumed to be a rectangular area, but the shape of the masking area may be any shape, such as an ellipse or a triangle. The position and size of a rectangular masking area are represented by the coordinates of the starting point, which is the upper left position, and the coordinates of the end point, which is the lower right position. For example, if the coordinates of the starting point are (441, 957) and the coordinates of the end point are (1369, 1
7), the position and size of the masking region are expressed as "(441, 957), (1369, 1057)."

画像処理部423は、マスキング画像に設定された出力設定に応じて、画像識別子を印刷指示部425、インターネットアクセス部426に送る。 The image processing unit 423 sends the image identifier to the print instruction unit 425 and the Internet access unit 426 according to the output settings set for the masking image.

データ管理部424は、文書画像に対する処理を行うことで得らえる情報である、文書画像の文書種別、文書画像から検出された情報種別に対応する文字列、マスキング情報、マスキング表示情報などの情報を、画像識別子に関連付けて記憶部に記憶する。また、データ管理部424は、マスキング画像を生成する際に設定された、情報種別を文書種別と対応付けてプリセットとしてHDD214に保存する。本実施形態おけるプリセットは、マスキング対象の情報種別が、文書種別に対応付けて保存されているテンプレートである。プリセットには、ファイル名、および保存先などがさらに対応付けられていてもよい。 The data management unit 424 stores information obtained by processing the document image, such as the document type of the document image, a character string corresponding to the information type detected from the document image, masking information, and masking display information, in the storage unit in association with an image identifier. The data management unit 424 also associates the information type set when generating the masking image with the document type and saves it as a preset in the HDD 214. In this embodiment, a preset is a template in which the information type to be masked is saved in association with the document type. A file name, a save destination, and the like may also be associated with the preset.

印刷指示部425は、印刷対象のとなる画像の識別子である画像識別子を画像処理部423から取得する。印刷指示部425は、UI画面を介して入力された印刷設定が含まれる印刷処理の要求、および取得した画像識別子を印刷実行部413に送る。 The print instruction unit 425 acquires an image identifier, which is an identifier of the image to be printed, from the image processing unit 423. The print instruction unit 425 sends a print processing request including the print settings input via the UI screen and the acquired image identifier to the print execution unit 413.

印刷実行部413は、印刷要求および画像識別子を印刷指示部425から取得する。印刷実行部413は、画像識別子に対応する画像を内部データ保存部412から取得する。印刷実行部413は、印刷要求に含まれる印刷設定に従い、取得した画像のデータを印刷用の画像のデータにする処理を行う。印刷実行部413は、プリンタI/F216を介してプリンタ221に印刷用の画像のデータに基づく印刷を実行させ、印刷物を生成する。印刷対象のとなる画像がマスキング画像である場合は、記録媒体上にマスキング画像が印刷される。 The print execution unit 413 acquires a print request and an image identifier from the print instruction unit 425. The print execution unit 413 acquires an image corresponding to the image identifier from the internal data storage unit 412. The print execution unit 413 performs processing to convert the acquired image data into image data for printing according to the print settings included in the print request. The print execution unit 413 causes the printer 221 to execute printing based on the image data for printing via the printer I/F 216, and generates a printed matter. If the image to be printed is a masking image, the masking image is printed on the recording medium.

インターネットアクセス部426は、ストレージ機能(ストレージサービス)のようなクラウドサービスを提供する外部ストレージ120などに対して処理要求を送信する。クラウドサービスでは、一般的にRESTやSOAPなどのプロトコルで、クラウドストレージにファイルを保存したり、保存したファイルを外部装置から取得したりする処理が行われる。クラウドサービスは、そのような処理を実行するための様々なインタフェースを公開している。インターネットアクセス部426は、公開されたクラウドサービスのインタフェースを使用してクラウドサービスに対する操作を行う。インターネットアクセス部426は、画像処理部423から取得した画像識別子に対応する画像のファイルおよび送信情報をデータ管理部424から取得する。インターネットアクセス部426は、データ管理部424から取得した送信情報を用い、ネットワークI/Fを介して、データ管理部424から取得した画像のファイルを外部ストレージ120に送信する。 The Internet access unit 426 transmits a processing request to the external storage 120 that provides a cloud service such as a storage function (storage service). In the cloud service, a process of saving a file in the cloud storage and retrieving the saved file from an external device is generally performed using a protocol such as REST or SOAP. The cloud service publishes various interfaces for executing such a process. The Internet access unit 426 performs operations on the cloud service using the published interface of the cloud service. The Internet access unit 426 acquires an image file and transmission information corresponding to the image identifier acquired from the image processing unit 423 from the data management unit 424. The Internet access unit 426 uses the transmission information acquired from the data management unit 424 to transmit the image file acquired from the data management unit 424 to the external storage 120 via the network I/F.

表示制御部427は、ユーザによる操作を受け付けるためのUI(User interface)画面に含まれるボタン、画像など必要なコンポーネントをどこに表示するかを制御する。表示制御部427は、MFP110の操作部220に含まれるタッチパネルの液晶表示部に、UI表示制御部414を介してUI画面を表示するための制御を行う。UI表示制御部414は、各種のユーザ操作を受け付けるためのUI画面を操作部220のタッチパネルに表示する。例えば、スキャン設定およびスキャン開始の操作をすることが出来る設定画面600(図6参照)を表示するための制御を行う。また、UI表示制御部414は、マスクキング画像のプレビューが表示され、マスクキング領域の修正、出力開始の指示をユーザが行うことができるプレビュー表示画面1000(図10参照)を表示する。 The display control unit 427 controls where necessary components such as buttons and images included in a UI (User interface) screen for accepting user operations are displayed. The display control unit 427 controls the display of a UI screen via the UI display control unit 414 on the liquid crystal display unit of the touch panel included in the operation unit 220 of the MFP 110. The UI display control unit 414 displays a UI screen for accepting various user operations on the touch panel of the operation unit 220. For example, the UI display control unit 414 controls the display of a setting screen 600 (see FIG. 6) on which scan settings and scan start operations can be performed. The UI display control unit 414 also displays a preview display screen 1000 (see FIG. 10) on which a preview of a masking image is displayed and on which the user can correct the masking area and instruct the start of output.

情報検出部428は、文書画像から認識された文字列を画像処理部423から取得し、取得した文字列から、個人情報または機密情報などの所定の項目(情報種別とよぶ)に対応する文字列を検出する情報検出処理を行う。情報検出部428は、検出した文字列と、検出した文字列に対応する情報種別とを対応付けてHDD214に保存するようにデータ管理部424に依頼する。 The information detection unit 428 performs information detection processing to obtain character strings recognized from a document image from the image processing unit 423 and detect character strings corresponding to predetermined items (called information types) such as personal information or confidential information from the obtained character strings. The information detection unit 428 requests the data management unit 424 to associate the detected character strings with the information types corresponding to the detected character strings and store them in the HDD 214.

情報種別とは、文字列が表現する概念の種別であり、マスキング対象の文字列を指定するために利用される。情報検出部428が検出可能な情報種別は、例えば、「会社名」、「氏名」、「電話番号」、「住所」などの個人情報または機密情報の種別を表すがこれに限定されない。 The information type is the type of concept that a character string represents, and is used to specify the character string to be masked. Information types that the information detection unit 428 can detect include, but are not limited to, types of personal information or confidential information, such as "company name," "name," "telephone number," and "address."

情報検出部428による情報検出処理の結果、例えば、情報種別「氏名」に対応する文字列として「山田太郎」の文字列が検出される。本実施形態では、情報検出部428は、所定の検出可能な情報種別の項目を保持しているものとするが、検出可能な情報種別が保持されている場所は情報検出部428に限定されない。 As a result of the information detection process by the information detection unit 428, for example, the character string "Yamada Taro" is detected as a character string corresponding to the information type "Name". In this embodiment, the information detection unit 428 is assumed to hold items of predetermined detectable information types, but the location where the detectable information types are held is not limited to the information detection unit 428.

文書種別決定部429は、文書画像から認識された文字列に基づき文書画像の文書種別を決定する。文書種別は、例えば、「契約書」、「納品書」、「請求書」など文書の用途を表す種別ある。本実施形態では文書種別の決定には、複数の文書種別のサンプルを教師データとして用いて文書種別の特徴量を機械学習することにより生成された学習済みモデルを用いるものとする。本実施形態では、TranSformerをベースとする機械学習により得られる学習済みモデルを用いるものとする。他にも、双方向のLong Short-Term Memory (LSTM) ニューラルネットワーク、Sequence to Sequenceモデル、再帰型ニューラルネットワーク (RNN)などが用いられてもよい。 The document type determination unit 429 determines the document type of the document image based on the character string recognized from the document image. The document type may be, for example, a type that indicates the purpose of the document, such as "contract," "delivery note," or "invoice." In this embodiment, a trained model generated by machine learning the features of the document type using samples of multiple document types as training data is used to determine the document type. In this embodiment, a trained model obtained by machine learning based on Transformer is used. Other examples that may be used include a bidirectional Long Short-Term Memory (LSTM) neural network, a Sequence to Sequence model, and a recurrent neural network (RNN).

マスキング対象特定部430は、プリセット、情報検出部428の処理結果、文書種別決定部429の処理結果からマスキングを行う情報種別を決定する。詳細は後述する。 The masking target identification unit 430 determines the information type to be masked based on the preset, the processing result of the information detection unit 428, and the processing result of the document type determination unit 429. Details will be described later.

[全体の処理フロー]
図5は、文書をスキャンして得られた文書画像からマスキング画像を生成し、マスキング画像を送信するまでの流れを説明するためのフローチャートである。図5のフローチャートで示される一連の処理は、MFP110のCPU211がROM212またはHDD214に記憶されているプログラムコードをRAM213に展開し実行することにより各機能部が実現することで各ステップの処理が実行される。または、図5におけるステップの一部または全部の機能をASICまたは電子回路等のハードウェアで実現してもよい。
[Overall processing flow]
Fig. 5 is a flowchart for explaining a flow of generating a masking image from a document image obtained by scanning a document and transmitting the masking image. The series of processes shown in the flowchart in Fig. 5 are performed by the CPU 211 of the MFP 110 expanding program code stored in the ROM 212 or HDD 214 into the RAM 213 and executing it, thereby realizing each functional unit and executing the process of each step. Alternatively, some or all of the functions of the steps in Fig. 5 may be realized by hardware such as an ASIC or an electronic circuit.

S501において表示制御部は、出力方法、スキャン、およびマスキングについての設定をユーザが選択するための設定画面の生成し、UI表示制御部414を介して操作部220に生成した設定画面を表示させる。 In S501, the display control unit generates a setting screen that enables the user to select settings for the output method, scanning, and masking, and displays the generated setting screen on the operation unit 220 via the UI display control unit 414.

図6は、S501で表示される設定画面の一例を示す図である。設定画面600には、出力方法設定領域610、スキャン設定領域620、マスキング設定領域630、スキャン実行ボタン601、戻るボタン602が含まれる。 Figure 6 is a diagram showing an example of the setting screen displayed in S501. The setting screen 600 includes an output method setting area 610, a scan setting area 620, a masking setting area 630, a scan execution button 601, and a back button 602.

出力方法設定領域610には、出力方法選択ボタン611、出力形式選択プルダウン612、出力先指定ボタン613が含まれる。出力方法選択ボタン611は、マスキング画像の出力方法をユーザが指定するためのボタンである。ユーザは、「印刷のみ」、「保存のみ」、または「印刷および保存」から出力方法を選択することができる。以下の説明では、「保存のみ」が選択されたものとして説明を行う。 The output method setting area 610 includes an output method selection button 611, an output format selection pull-down 612, and an output destination designation button 613. The output method selection button 611 is a button that allows the user to specify the output method for the masking image. The user can select the output method from "print only," "save only," or "print and save." In the following explanation, it is assumed that "save only" has been selected.

出力形式選択プルダウン612は、出力方法選択ボタン611のうち「印刷と保存」または「保存のみ」が選択されている場合、マスキング画像のファイル形式を選択するためのプルダウンである。 The output format selection pull-down 612 is a pull-down for selecting the file format of the masking image when "Print and save" or "Save only" is selected from the output method selection buttons 611.

出力先指定ボタン613は、出力方法選択ボタン611のうち「印刷と保存」または「保存のみ」が選択されている場合、マスキング画像の保存場所がある送信先を選択するためのボタンである。出力先指定ボタン613から、ユーザは、「新規入力」、「アドレス帳」、または「自分へ送信」のいずれかの送信先を選択することができる。 The output destination designation button 613 is a button for selecting a destination where the masking image is saved when "Print and save" or "Save only" is selected from the output method selection buttons 611. From the output destination designation button 613, the user can select one of the destinations: "New input," "Address book," or "Send to self."

出力先指定ボタン613に含まれる「新規入力」は、マスキング画像の送信先をユーザが任意に指定するためのボタンである。ユーザは、送信先として、HDD214または外部ストレージ120のほか、ネットワークI/F219を介してIPアドレスによる送信先を指定することができる。出力先指定ボタン613に含まれる「アドレス帳」は、ユーザが入力したメールアドレスにマスキング画像をメールで送信するためのボタンである。出力先指定ボタン613に含まれる「自分へ送信」は、ユーザが入力したユーザ情報に基づき、認証サーバ(不図示)がユーザを識別して送信する場合のボタンである。認証サーバは、認証されたユーザ情報に基づき登録されたメールアドレスを設定する。ユーザは、操作部220を介して任意の送信先、メールアドレス、ユーザ情報を入力できる。出力先指定ボタン613は、他の保存先ボタンがさらに含まれる構成でもよい。本実施形態では、マスキング画像のファイルの送信先は、外部ストレージ120であるものとして説明を行う。 The "New Input" button included in the output destination designation button 613 is a button for the user to arbitrarily designate the destination of the masking image. In addition to the HDD 214 or the external storage 120, the user can designate a destination by IP address via the network I/F 219 as the destination. The "Address Book" button included in the output destination designation button 613 is a button for sending the masking image by email to an email address entered by the user. The "Send to Me" button included in the output destination designation button 613 is a button for sending the image to an authentication server (not shown) that identifies the user based on the user information entered by the user. The authentication server sets the registered email address based on the authenticated user information. The user can input any destination, email address, and user information via the operation unit 220. The output destination designation button 613 may be configured to further include other save destination buttons. In this embodiment, the description will be given assuming that the destination of the file of the masking image is the external storage 120.

スキャン設定領域620は、ユーザがスキャン設定を選択するための項目が含まれる。例えば、設定変更可能な項目である「原稿サイズ」、「グレー/カラー」、「片面/両面」、「詳細設定」の項目が含まれる。「詳細設定」が押下されると、不図示の画面が表示され、その画面において、解像度、画質、原稿サイズ混載、濃度などの詳細設定の変更が受け付けられる。スキャン実行ボタン601はスキャン設定領域620で選択されたスキャン設定を使用してスキャンを実行するためのボタンである。 The scan settings area 620 includes items that allow the user to select scan settings. For example, it includes items such as "original size," "gray/color," "single-sided/double-sided," and "advanced settings," which are configurable items. When "advanced settings" is pressed, a screen not shown in the figure is displayed, and on this screen, changes to detailed settings such as resolution, image quality, mixed original sizes, and density are accepted. The scan execution button 601 is a button for executing a scan using the scan settings selected in the scan settings area 620.

マスキング設定領域630には、マスキング選択ボタン631、マスキング方法選択ボタン632、マスキングモード選択プルダウン633が含まれる。 The masking setting area 630 includes a masking selection button 631, a masking method selection button 632, and a masking mode selection pull-down 633.

マスキング選択ボタン631は、スキャン実行ボタン601が押下されて生成された文書画像に対してマスキングをするかマスキングしないかの選択を受け付けるボタンである。図5のフローチャートは、マスキング選択ボタン631において「マスキングする」が選択された場合の処理について説明するためのフローチャートである。 The masking selection button 631 is a button that accepts the selection of whether to mask or not mask the document image generated when the scan execution button 601 is pressed. The flowchart in FIG. 5 is a flowchart for explaining the processing when "Masking" is selected in the masking selection button 631.

マスキング方法選択ボタン632は、マスキング選択ボタン631で「マスキングする」が選択された場合、スキャン画像に対するマスキング領域を自動で設定するか手動で設定するかをユーザが選択するボタンである。 The masking method selection button 632 is a button that allows the user to select whether to automatically or manually set a masking area for the scanned image when "Masking" is selected with the masking selection button 631.

マスキングモード選択プルダウン633は、マスキング方法選択ボタン632で「マスキング設定手動選択」が選択されたときにマスキング領域を設定するモードを手動で選択するためのプルダウンである。マスキング方法選択ボタン632で「マスキング設定自動」が押下されてマスキング領域を自動で設定することが選択された場合、マスキングモード選択プルダウン633には「自動」が設定される。以下の説明では、マスキング方法選択ボタン632で「マスキング設定自動」が押下されてマスキング領域を自動で設定することが選択されたものとして説明を行う。 The masking mode selection pull-down 633 is a pull-down for manually selecting a mode for setting a masking area when "Manual masking setting selection" is selected with the masking method selection button 632. When "Automatic masking setting" is pressed with the masking method selection button 632 to select automatically setting a masking area, "Automatic" is set in the masking mode selection pull-down 633. In the following explanation, it is assumed that "Automatic masking setting" is pressed with the masking method selection button 632 to select automatically setting a masking area.

文書画像の一部の領域をマスキングしてクラウドサービスに送信する処理を行うアプリケーション(マスキングアプリと呼ぶ)は、MFP110にインストールすることで利用可能となる。マスキングアプリをMFP110にインストールするとマスキング機能を使用することができるボタンが含まれるマスキング設定領域630が設定画面600に表示される。スキャン実行ボタン601が押下されると、設定画面600で選択された設定の内容が含まれるジョブ情報が生成される。そしてS502へ処理は進む。 An application (called a masking app) that masks a partial area of a document image and transmits it to a cloud service can be used by installing it on the MFP 110. When the masking app is installed on the MFP 110, a masking setting area 630 including a button that enables the masking function is displayed on the setting screen 600. When the scan execution button 601 is pressed, job information including the contents of the settings selected on the setting screen 600 is generated. Then the process proceeds to S502.

S502においてメイン処理部421は、原稿台に置かれた紙の文書をスキャンするようにスキャン指示部422を介してスキャン実行部411に依頼する。スキャンの結果得られたスキャン画像のデータは、RAM213に保持する。 In S502, the main processing unit 421 requests the scan execution unit 411 via the scan instruction unit 422 to scan the paper document placed on the platen. The scanned image data obtained as a result of the scan is stored in the RAM 213.

以下の説明では、文書画像はS502の結果得られたスキャン画像であるもとし、スキャン画像に対してマスキング処理を行うものとして説明するが、マスキングの対象のとなる文書画像は、スキャン画像に限られない。メイン処理部421は、内部データ保存部412を介して、HDD214に記憶されている文書画像のデータを取得し、その文書画像をマスキング処理の対象としてもよい。または、メイン処理部421は、インターネットアクセス部426を介して外部ストレージ120からマスキング処理対象の文書画像のデータを取得してもよい。その他いかなる方法を用いて、マスキング処理対象の文書画像のデータが取得されてもよい。 In the following description, the document image is assumed to be the scanned image obtained as a result of S502, and the masking process is performed on the scanned image, but the document image to be masked is not limited to a scanned image. The main processing unit 421 may obtain data of the document image stored in the HDD 214 via the internal data storage unit 412, and subject the document image to masking process. Alternatively, the main processing unit 421 may obtain data of the document image to be masked from the external storage 120 via the Internet access unit 426. Data of the document image to be masked may be obtained using any other method.

S503においてメイン処理部421は、S501で生成されたジョブ情報とS502で生成された文書画像のデータとに基づきマスキング領域を特定するための処理を行うように画像処理部423に要求し、画像処理部423は要求に基づく処理を行う。S503における画像処理部423の処理の詳細は、後述する。 In S503, the main processing unit 421 requests the image processing unit 423 to perform processing for identifying a masking area based on the job information generated in S501 and the document image data generated in S502, and the image processing unit 423 performs processing based on the request. Details of the processing of the image processing unit 423 in S503 will be described later.

S504において、メイン処理部421は、マスキング画像を作成するよう画像処理部423に対して要求し、画像処理部423はその要求に基づく処理を行う。S504における画像処理部423の処理の詳細は、後述する。 In S504, the main processing unit 421 requests the image processing unit 423 to create a masking image, and the image processing unit 423 performs processing based on the request. Details of the processing of the image processing unit 423 in S504 will be described later.

S505においてメイン処理部421は、S504で作成されたマスキング画像を外部ストレージ120へインターネットアクセス部426を介して出力する。 In S505, the main processing unit 421 outputs the masking image created in S504 to the external storage 120 via the Internet access unit 426.

前述したとおり、生成されたマスキング画像は、外部ストレージ120へ出力されるものとして説明を行うが、マスキング画像の出力方法は外部への送信に限られない。メイン処理部421は、マスキング画像を、任意の宛先にメール送信されるように出力処理してもよい。または、メイン処理部421は、マスキング画像を、内部データ保存部412を介してHDD214を保存してもよい。または、メイン処理部421は、マスキング画像が印刷して出力されるように、印刷指示部425を介して印刷を実行するための処理を行ってもよい。または、メイン処理部421は、その他の方法を用いてマスキング画像が保存されるようにしてもよい。 As described above, the generated masking image is described as being output to the external storage 120, but the method of outputting the masking image is not limited to sending it to the outside. The main processing unit 421 may perform output processing of the masking image so that it is emailed to an arbitrary destination. Alternatively, the main processing unit 421 may store the masking image in the HDD 214 via the internal data storage unit 412. Alternatively, the main processing unit 421 may perform processing to execute printing via the print instruction unit 425 so that the masking image is printed and output. Alternatively, the main processing unit 421 may store the masking image using other methods.

S506においてメイン処理部421は、表示制御部427に対してプリセット登録画面1500(図15参照)を生成する。そしてプリセット登録画面を表示するようUI表示制御部414に要求する。UI表示制御部414は、プリセット登録画面1500を操作部220のタッチパネル上に表示し、ユーザから受け付けた選択をもとにプリセットを登録する。詳細は、後述する。 In S506, the main processing unit 421 generates a preset registration screen 1500 (see FIG. 15) for the display control unit 427. Then, it requests the UI display control unit 414 to display the preset registration screen. The UI display control unit 414 displays the preset registration screen 1500 on the touch panel of the operation unit 220, and registers a preset based on the selection received from the user. Details will be described later.

なお、本実施形態においては、表示制御部427が操作部220のタッチパネル上にUI画面を表示する例を説明するが、表示制御部427が別の装置に本実施形態における各画面を提供し、別の装置の表示部が各画面を表示するように構成してもよい。 In this embodiment, an example is described in which the display control unit 427 displays a UI screen on the touch panel of the operation unit 220, but the display control unit 427 may be configured to provide each screen in this embodiment to another device, and the display unit of the other device may display each screen.

[マスキング領域特定処理]
図7は、本実施形態におけるS503の処理の詳細を説明するためのフローチャートである。
[Masking area identification process]
FIG. 7 is a flowchart for explaining details of the process of S503 in this embodiment.

S701において画像処理部423は、HDD214から文書画像を取得する。画像処理部423は取得した文書画像に対して斜行補正および回転補正等の補正を行う。以下のステップにおける文書画像は、S701で補正された文書画像を指すものとする。補正後の文書画像のデータはRAM213に記憶される。 In S701, the image processing unit 423 acquires a document image from the HDD 214. The image processing unit 423 performs corrections such as skew correction and rotation correction on the acquired document image. The document image in the following steps refers to the document image corrected in S701. The data of the document image after correction is stored in the RAM 213.

S702において画像処理部423は、OCR処理の精度が向上するように文書画像を1チャネルの画像に変換する。そして変換された文書画像に含まれる文字列領域を抽出する。そして、抽出された文字列領域に対して、OCR処理(文字認識処理)を実行して、文書画像に含まれる文字列のデータ(文字列データ)を取得する。認識された文字列と、認識された文字列に対応する文字列領域は、RAM213に記憶される。 In S702, the image processing unit 423 converts the document image into a one-channel image to improve the accuracy of OCR processing. Then, the image processing unit 423 extracts a character string area contained in the converted document image. Then, OCR processing (character recognition processing) is performed on the extracted character string area to obtain data of the character string (character string data) contained in the document image. The recognized character string and the character string area corresponding to the recognized character string are stored in the RAM 213.

文字列領域は、ブロックセレクション(BS)処理を行うことで抽出される。ブロックセレクション(BS)処理では、文書画像をオブジェクト単位に分割して、文書画像内のブロック領域を抽出する処理が行われる。そして、抽出された各ブロック領域の属性を決定する処理が行われる。具体的には、例えば、文字、写真、図表などの属性を決定し、文書画像を、異なる属性を持つブロック領域に分割する。ブロックセレクション処理は、公知の領域判定技術を用いて実現できる。 Character string regions are extracted by performing block selection (BS) processing. In block selection (BS) processing, a document image is divided into object units and block regions within the document image are extracted. Then, the attributes of each extracted block region are determined. Specifically, for example, attributes such as text, photographs, and diagrams are determined, and the document image is divided into block regions with different attributes. Block selection processing can be achieved using known region determination techniques.

S703において情報検出部428は、S702で認識された文字列それぞれに対して情報検出処理を行う。その結果、S702で認識された文字列から、予め定められた情報種別に対応する文字列が検出される。本実施形態の情報種別は、「会社名」、「氏名」、「電話番号」、および「住所」であるものとして説明するが、検出対象となる情報種別は限定されない。 In S703, the information detection unit 428 performs information detection processing on each character string recognized in S702. As a result, character strings corresponding to predetermined information types are detected from the character strings recognized in S702. The information types in this embodiment are described as "company name," "name," "telephone number," and "address," but the information types to be detected are not limited.

表1は、S703で実行される情報検出処理の結果の一例を示す「情報検出処理結果リスト」の一例である。本実施形態の情報検出処理結果リストには、情報種別と、文書画像から検出された情報種別に対応する文字列が対応付けて保持される。情報検出処理結果リストは、RAM213に記憶される。 Table 1 is an example of an "information detection processing result list" showing an example of the results of the information detection processing executed in S703. In this embodiment, the information detection processing result list stores information types and character strings corresponding to the information types detected from the document image in association with each other. The information detection processing result list is stored in RAM 213.

情報検出部428が、情報種別「会社名」に対応する文字列として「いろは株式会社」を検出した場合、表1に示すように、「会社名」の情報種別に対応する文字列として「いろは株式会社」が「会社名」と同じ行に保持される。同様に、「氏名」の情報種別に対応する文字列として「木屋野」「田中」が検出され、「電話番号」の情報種別に対応する文字列として「090-0000-2111」が検出されたため、表1のように情報種別に対応する文字列が対応する行に保持される。「住所」の情報種別に対応する文字列は検出されなかったものとする。本実施形態の情報検出処理結果リストは、文字列が検出されなかった情報種別は含まれないように生成されている。 When the information detection unit 428 detects "Iroha Co., Ltd." as a character string corresponding to the information type "company name," as shown in Table 1, "Iroha Co., Ltd." is stored in the same row as "company name" as a character string corresponding to the information type of "company name." Similarly, "Koyano" and "Tanaka" are detected as character strings corresponding to the information type of "name," and "090-0000-2111" is detected as a character string corresponding to the information type of "telephone number," so the character strings corresponding to the information types are stored in the corresponding rows as shown in Table 1. It is assumed that a character string corresponding to the information type of "address" was not detected. The information detection process result list in this embodiment is generated so as not to include information types for which no character strings were detected.

Figure 2025015911000002
S704において文書種別決定部429は、S702で抽出された文字列から文書画像の文書種別を決定する。本実施形態では、文書種別決定部429は、文字列を入力すると文書種別を出力するように予め学習した学習済みモデルを用いて、文書画像の文書種別を決定するものとして説明するが、その他の方法で文書種別が決定されてもよい。例えば、予め文書種別に対応するキーワードを設定することで文書種別が決定されてもよい。
Figure 2025015911000002
In S704, the document type determination unit 429 determines the document type of the document image from the character string extracted in S702. In this embodiment, the document type determination unit 429 is described as determining the document type of the document image using a trained model that has been trained in advance to output a document type when a character string is input, but the document type may be determined by other methods. For example, the document type may be determined by setting a keyword corresponding to the document type in advance.

S705においてマスキング対象特定部430は、S704において文書種別が決定されたか否かを判定する。マスキング対象特定部430は、文書種別が決定されたと判定した場合(S705がYES)、S706に処理を進め、文書種別が決定できなかったと判定した場合(S705がNO)、本フローチャートを終了する。 In S705, the masking target identification unit 430 determines whether the document type was determined in S704. If the masking target identification unit 430 determines that the document type was determined (YES in S705), the process proceeds to S706, and if the masking target identification unit 430 determines that the document type could not be determined (NO in S705), the process ends this flowchart.

S706においてマスキング対象特定部430は、文書種別に対応するマスキング対象の情報種別を取得する。 In S706, the masking target identification unit 430 obtains the information type to be masked that corresponds to the document type.

図8は、S706の処理の詳細を説明するためのフローチャートである。 Figure 8 is a flowchart explaining the details of the processing of S706.

S801においてマスキング対象特定部430は、データ管理部424に文書種別に対応するプリセットを取得するように依頼する。データ管理部424は、インターネットアクセス部426を介して、S704で決定された文書種別に対応するプリセットを外部ストレージ120から取得する。取得されたプリセットはRAM213に記憶される。プリセットはHDD214に保持されてもよく、その場合はHDD214からプリセットが取得されてもよい。 In S801, the masking target identification unit 430 requests the data management unit 424 to acquire a preset corresponding to the document type. The data management unit 424 acquires the preset corresponding to the document type determined in S704 from the external storage 120 via the Internet access unit 426. The acquired preset is stored in the RAM 213. The preset may be held in the HDD 214, in which case the preset may be acquired from the HDD 214.

プリセットは、文書種別ごとに予め生成されている情報であり、文書種別ごとのマスキングの対象とする情報種別が含まれる。プリセットは、例えば、ユーザが情報種別と文書種別を予め登録することで外部ストレージ120またはHDD214に記憶される。または、プリセットは、プリセット登録画面1500(図15参照)から登録されてもよい。 A preset is information that is generated in advance for each document type, and includes the information type to be masked for each document type. For example, a user may register an information type and a document type in advance, and the preset is stored in the external storage 120 or the HDD 214. Alternatively, the preset may be registered from the preset registration screen 1500 (see FIG. 15).

例えば、文書種別がS704において請求書と決定された場合、請求書に対応付けられたプリセットがS801で取得される。表2は、請求書に対応付けられたプリセットの情報の一例を示すテーブルである。 For example, if the document type is determined to be an invoice in S704, a preset associated with the invoice is obtained in S801. Table 2 shows an example of information about a preset associated with an invoice.

Figure 2025015911000003

S802においてマスキング対象特定部430は、S801で文書画像の文書種別に対応付けられたプリセットを取得できたか否かを判定する。プリセットが取得できた場合(S802がYES)、S803に進み、プリセットが取得できなかった場合(S802がNO)、マスキング対象の情報種別はないとして本フローチャートを終了してS707へ処理を進める。
Figure 2025015911000003

In S802, the masking target identification unit 430 determines whether or not a preset associated with the document type of the document image in S801 has been acquired. If a preset has been acquired (YES in S802), the process proceeds to S803. If a preset has not been acquired (NO in S802), the process ends this flowchart as there is no information type to be masked, and the process proceeds to S707.

S803においてマスキング対象特定部430は、S801で取得されたプリセットに含まれるマスキング対象の情報種別をRAM213に記憶する。そして、本フローを終了し図7のS707へ処理を進める。S704で決定された文書種別が請求書であり、請求書に対応付けられたプリセットが取得された場合、表2に示すように、マスキング対象の情報種別として、「氏名」、「電話番号」、「住所」がRAM213に記憶される。 In S803, the masking target identification unit 430 stores in the RAM 213 the information type to be masked, which is included in the preset acquired in S801. Then, this flow ends and the process proceeds to S707 in FIG. 7. If the document type determined in S704 is an invoice, and a preset associated with the invoice is acquired, as shown in Table 2, "Name", "Telephone number", and "Address" are stored in the RAM 213 as the information types to be masked.

S707において画像処理部423は、S703で検出された文字列に対応する情報種別のうち、S706で取得されたマスキング対象の情報種別と一致する情報種別を決定する。画像処理部423は、文書画像における、一致すると決定した情報種別に対応する文字列が含まれる領域を、マスキング要否が「要」の領域と決定する。マスキング要否が「要」の文字列が含まれる文字列領域は、マスキング領域となる。画像処理部423は、一致しない情報種別に対応する文字列が含まれる文字列領域をマスキン要否が「不要」の領域と決定する。 In S707, the image processing unit 423 determines an information type that matches the information type to be masked obtained in S706, from among the information types corresponding to the character strings detected in S703. The image processing unit 423 determines an area in the document image that includes a character string corresponding to the information type determined to match as an area where masking is required. A character string area that includes a character string indicating that masking is required becomes a masking area. The image processing unit 423 determines a character string area that includes a character string corresponding to an unmatched information type as an area where masking is not required.

例えば、S703において表1のように「会社名」「氏名」「電話番号」の情報種別に対応する文字列が検出されたとする。また、S706においてマスキング対象の情報種別として「氏名」「電話番号」「住所」が取得されたとする。この場合、一致する情報種別は、「氏名」「電話番号」である。このため、S703で検出された文字列のうち「氏名」「電話番号」の情報種別に対応する文字列のマスキング要否が「要」と決定される。一方、「会社名」の情報種別に対応する文字列のマスキング要否は「不要」と決定される。 For example, suppose that character strings corresponding to the information types of "company name", "name", and "phone number" are detected in S703 as shown in Table 1. Also suppose that "name", "phone number", and "address" are acquired as the information types to be masked in S706. In this case, the matching information types are "name" and "phone number". For this reason, it is determined that the masking of the character strings corresponding to the information types of "name" and "phone number" among the character strings detected in S703 is "necessary". On the other hand, it is determined that the masking of the character string corresponding to the information type of "company name" is "not required".

画像処理部423は、マスキング要否が「要」の文字列の文字列領域を、S702で抽出された文字列領域から取得する。画像処理部423は、S707の処理結果としてマスキング情報を生成する。表3は、マスキング情報の一例を示すマスキング情報リストである。 The image processing unit 423 obtains the character string area of the character string indicating whether masking is required from the character string area extracted in S702. The image processing unit 423 generates masking information as the processing result of S707. Table 3 is a masking information list showing an example of masking information.

Figure 2025015911000004
マスキング情報は、S703で情報検出処理の検出対象となる情報種別、S703の情報検出処理の結果検出された情報種別に対応する文字列、マスキングの要否、文字列領域が対応付けられている情報である。表3のマスキング情報リストは、表1の情報検出処理結果情報リスト、表2のプリセットの情報に基づき画像処理部423がS707の処理を行った結果生成されたマスキング情報の一例を表す。
Figure 2025015911000004
The masking information is information in which the information type to be detected in the information detection process in S703, a character string corresponding to the information type detected as a result of the information detection process in S703, whether masking is required, and a character string area are associated with each other. The masking information list in Table 3 shows an example of masking information generated as a result of the image processing unit 423 performing the process in S707 based on the information detection process result information list in Table 1 and the preset information in Table 2.

マスキング情報の文字列領域には、情報種別に対応する文字列が含まれる文字列領域の文書画像における座標情報が保持される。「会社名」「氏名」「電話番号」は、情報種別に対応する文字列は検出されたため文字列領域の情報が保持されている。一方、「住所」の情報種別に対応する文字列は検出されていないため、「住所」の情報種別に対応する文字列領域には、文字列が検出されなかったことを示す「-(なし)」が保持される。画像処理部423は、マスキング情報、文書種別、情報検出結果をRAM213に保存する。 The character string area of the masking information holds coordinate information in the document image of the character string area that contains a character string corresponding to the information type. For "company name", "name", and "phone number", character strings corresponding to the information type were detected, so character string area information is held. On the other hand, since a character string corresponding to the information type of "address" was not detected, "- (none)" is held in the character string area corresponding to the information type of "address", indicating that no character string was detected. The image processing unit 423 saves the masking information, document type, and information detection results in RAM 213.

なお、文書種別が決定できなかったと判定した場合(S705がNO)、および文書種別に対応するプレセットがみつからなかった場合、S503の処理ではマスキング情報は生成されない。 If it is determined that the document type cannot be determined (NO in S705) or if a preset corresponding to the document type is not found, masking information is not generated in the process of S503.

[マスキング画像の生成]
図9は、図5のS504のマスキング画像生成処理を説明するためのフローチャートである。
[Masking image generation]
FIG. 9 is a flowchart for explaining the masking image generation process in S504 of FIG.

S901において画像処理部423は、S701で補正された文書画像、S707で生成されたマスキング情報、および予め保持されているマスキング表示情報をRAM213から取得する。後述するS905でマスキング情報が変更された場合は変更後のマスキング情報が取得される。S908またはS909でマスキング表示情報が変更された場合は、変更後のマスキング表示情報がRAM213から取得される。画像処理部423は、取得したマスキング情報およびマスキング表示情報に基づき、文書画像に対してマスキング処理を行う。 In S901, the image processing unit 423 acquires the document image corrected in S701, the masking information generated in S707, and the masking display information stored in advance from the RAM 213. If the masking information is changed in S905 (described later), the changed masking information is acquired. If the masking display information is changed in S908 or S909, the changed masking display information is acquired from the RAM 213. The image processing unit 423 performs masking processing on the document image based on the acquired masking information and masking display information.

表4は、マスキング表示情報の一例を示す表である。マスキング表示情報には、表示種類、表示色、透明度の情報が含まれる。本実施形態では、表示種類は矩形、表示色は黒であるものとする。画像処理部423は、マスキング表示情報に従って文書画像に対してマスキングを行う。透明度は0.0~1.0の範囲の値であり、数値が低いほど透明度が低くなる。透明度0.0は、マスキングされた文字列が、ユーザが視認できなくなる状態を示す。 Table 4 is a table showing an example of masking display information. The masking display information includes information on the display type, display color, and transparency. In this embodiment, the display type is rectangular and the display color is black. The image processing unit 423 performs masking on the document image in accordance with the masking display information. Transparency is a value in the range of 0.0 to 1.0, and the lower the value, the lower the transparency. A transparency of 0.0 indicates a state in which the masked character string is not visible to the user.

透明度0.0でマスキングする方法は、ユーザがマスキング領域に含まれる文字列が認識できなくなるようになる方法であればよい。例えば、表示色が黒の場合は、黒塗りでマスキング領域を塗りつぶすことでマスキングが実行すればよい。表示色が背景色の場合は、マスキング領域を背景色で隠すことでマスキングが実行されてもよい。その他いかなる方法でマスキングが実行されてもよい。 The method of masking with a transparency of 0.0 may be any method that makes it impossible for the user to recognize the text contained in the masking area. For example, if the display color is black, masking may be performed by filling the masking area with black. If the display color is the background color, masking may be performed by hiding the masking area with the background color. Masking may be performed in any other manner.

Figure 2025015911000005

画像処理部423は、取得したマスキング情報におけるマスキング要否が「要」の文字列領域の座標情報を取得する。画像処理部423は、文書画像上の同座標が示す矩形領域であるマスキング領域に対して、マスキング表示情報に基づくマスクが合成されるようにマスキングを行い、マスキング画像を生成する。画像処理部423は、生成されたマスキング画像をRAM213に記憶させる。マスキング情報が生成されていない場合は、文書画像に対してマスキング処理は行われない。
Figure 2025015911000005

The image processing unit 423 acquires coordinate information of a character string area where the masking necessity in the acquired masking information is "Needed". The image processing unit 423 performs masking on the masking area, which is a rectangular area on the document image indicated by the coordinates, so that a mask based on the masking display information is synthesized, and generates a masked image. The image processing unit 423 stores the generated masked image in the RAM 213. If masking information has not been generated, no masking process is performed on the document image.

S902においてメイン処理部421は、表示制御部427に対して、S901で生成されたマスキング画像をプレビュー表示するよう要求する。具体的には、表示制御部427は、S901で生成されたマスキング画像をRAM213から取得してプレビュー表示画面1000(図10参照)を生成し、UI表示制御部414を介して操作部220のタッチパネル上に表示する。なお、S901の結果として文書画像にマスキング処理が行われなかった場合はマスキング処理が行われていない文書画像がプレビュー表示される。その場合でも、説明の便宜上、プレビュー表示画面1000にプレビュー表示される画像はマスキング画像とよぶものとする。 In S902, the main processing unit 421 requests the display control unit 427 to display a preview of the masked image generated in S901. Specifically, the display control unit 427 retrieves the masked image generated in S901 from the RAM 213, generates a preview display screen 1000 (see FIG. 10), and displays it on the touch panel of the operation unit 220 via the UI display control unit 414. Note that if masking processing was not performed on the document image as a result of S901, a preview of the document image that has not been masked is displayed. Even in this case, for ease of explanation, the image previewed on the preview display screen 1000 will be referred to as a masked image.

図10は、プレビュー表示画面を説明するための図である。図10(a)はS902で生成されるプレビュー表示画面の一例を示す図である。プレビュー表示画面1000は、画像表示領域1010、文書種別表示領域1020、マスキング情報表示領域1030、送信ボタン1041、設定保存ボタン1042、確認印刷ボタン1043、一覧表示ボタン1044が含まれる。 Figure 10 is a diagram for explaining the preview display screen. Figure 10 (a) is a diagram showing an example of the preview display screen generated in S902. The preview display screen 1000 includes an image display area 1010, a document type display area 1020, a masking information display area 1030, a send button 1041, a save settings button 1042, a confirmation print button 1043, and a list display button 1044.

画像表示領域1010に含まれる構成ついて説明をする。プレビュー表示領域1001は、S901に生成されたマスキング画像がプレビュー表示される領域である。プレビュー表示領域1001内に、生成されたマスキング画像が収まらない場合には、自動でスクロールバーが表示される。 The components included in the image display area 1010 will now be described. The preview display area 1001 is an area in which the masking image generated in S901 is displayed as a preview. If the masking image generated does not fit within the preview display area 1001, a scroll bar is automatically displayed.

表示領域拡大ボタン1002は、プレビュー表示領域1001に表示される画像の表示倍率を一定量上げて、生成されたマスキング画像を拡大してプレビュー表示するためのボタンである。表示領域フィットボタン1003は、プレビュー表示領域1001内に生成されたマスキング画像の全体が収まるような最大の倍率に変更するためのボタンである。表示領域縮小ボタン1004は、プレビュー表示領域1001に表示される画像の表示倍率を一定量下げて、生成されたマスキング画像を縮小してプレビュー表示するためのボタンである。 The enlarge display area button 1002 is a button for increasing the display magnification of the image displayed in the preview display area 1001 by a fixed amount, thereby enlarging and previewing the generated masking image. The fit display area button 1003 is a button for changing the magnification to the maximum magnification so that the entire generated masking image fits within the preview display area 1001. The reduce display area button 1004 is a button for decreasing the display magnification of the image displayed in the preview display area 1001 by a fixed amount, thereby reducing and previewing the generated masking image.

前ページボタン1007は、マスキング画像が複数ページ分ある場合に一つ前のページのマスキング画像を表示するためのボタンである。次ページボタン1009は、マスキング画像が複数ページ分ある場合に一つ次のページのマスキング画像を表示するためのボタンである。ページ数表示領域1008は、現在表示しているマスキング画像のページと総ページ数を表示する領域である。 The previous page button 1007 is a button for displaying the masking image of the previous page when there are multiple pages of masking images. The next page button 1009 is a button for displaying the masking image of the next page when there are multiple pages of masking images. The page number display area 1008 is an area for displaying the page of the masking image currently being displayed and the total number of pages.

マスキング領域選択ボタン1013は、プレビュー表示領域1001から新たなマスキング領域を選択するためのボタンである。マスク削除ボタン1011は、プレビュー表示領域1001で選択されているマスキング領域のマスキング要否を「不要」にしてマスクを解除するためのボタンである。プレビュー表示領域1001にプレビュー表示されるマスキング画像には、マスキング対象の文字列に重畳されたマスク1005が含まれる。マスキング領域選択ボタン1013が押下されるとマスク1005などのマスクが選択可能な状態となる。 The masking area selection button 1013 is a button for selecting a new masking area from the preview display area 1001. The mask deletion button 1011 is a button for changing the masking necessity of the masking area selected in the preview display area 1001 to "not required" and releasing the mask. The masking image previewed in the preview display area 1001 includes a mask 1005 superimposed on the character string to be masked. When the masking area selection button 1013 is pressed, a mask such as the mask 1005 becomes selectable.

マスキング指示ボタン1012は、現在のマスキング画像におけるマスキングされていない領域に対してマスキング処理することを指示するためのボタンである。 The masking instruction button 1012 is a button for instructing that masking processing be performed on unmasked areas in the current masking image.

マスク表示チェックボックス1014は、マスキング画像上のマスクを透明にしてマスキングされた文字列をユーザが視認可能になるような確認用のマスキング画像を生成してプレビュー表示するためのチェックボックスである。マスク表示チェックボックス1014は押下される毎にチェックされた状態又はチェックされていない状態に状態が遷移する。詳細は、後述する。 The mask display checkbox 1014 is a checkbox for generating and previewing a confirmation masking image that makes the mask on the masking image transparent so that the user can see the masked character string. Each time the mask display checkbox 1014 is pressed, the state transitions between a checked state and an unchecked state. Details will be described later.

文書種別表示領域1020には、文書種別選択ドロップダウン1021が含まれる。文書種別選択ドロップダウン1021は、S704で決定された文書種別がデフォルトで選択された状態で表示される。文書種別が決定できなかった場合は、文書種別が「未設定」であることを表す不図示の空白がデフォルトで表示された状態で文書種別表示領域1020に表示される。ユーザは、文書種別選択ドロップダウン1021から文書種別を選択することができる。 The document type display area 1020 includes a document type selection dropdown 1021. The document type selection dropdown 1021 is displayed with the document type determined in S704 selected as the default. If the document type cannot be determined, a blank not shown in the figure indicating that the document type is "not set" is displayed as the default in the document type display area 1020. The user can select a document type from the document type selection dropdown 1021.

マスキング情報表示領域1030は、文書種別選択ドロップダウン1021で選択されている文書種別に対応するマスキング情報の内容を表示する領域である。S503でマスキング情報が生成された場合は、生成されたマスキング情報の内容がデフォルトで表示される。 The masking information display area 1030 is an area that displays the contents of the masking information corresponding to the document type selected in the document type selection dropdown 1021. If masking information is generated in S503, the contents of the generated masking information are displayed by default.

文書種別選択ドロップダウン1021において文書種別が未設定であることを示す空白が選択されている場合、マスキング情報は存在しないため、マスキング情報表示領域1030に情報の表示はされない。 If blank is selected in the document type selection dropdown 1021, indicating that the document type is not set, no masking information exists, so no information is displayed in the masking information display area 1030.

文書種別選択ドロップダウン1021から文書種別が選択された場合、マスキング対象特定部430がS706およびS707と同様の処理を行うことで、選択された文書種別に対応するマスキング対象の情報種別が取得され、マスキング情報が生成される。表示制御部427は、新たに生成されたマスキング情報の内容をマスキング情報表示領域1030に表示する。 When a document type is selected from the document type selection dropdown 1021, the masking target identification unit 430 performs processing similar to S706 and S707 to obtain the information type to be masked that corresponds to the selected document type, and generates masking information. The display control unit 427 displays the contents of the newly generated masking information in the masking information display area 1030.

マスキング情報表示領域1030は、親が情報種別、子が情報種別に対応する文字列となるように、情報種別と情報種別に対応する文字列をツリー構造で表示する。即ち、複数の情報種別のそれぞれに対して、情報種別に対応する文字列を1つ以上対応付けて表示する。 The masking information display area 1030 displays information types and character strings corresponding to the information types in a tree structure, with the parent being the information type and the child being the character string corresponding to the information type. In other words, one or more character strings corresponding to each of the multiple information types are displayed in association with each other.

マスキング情報表示領域1030は、各情報種別について対応するチェックボックス1036を有する。また、各情報種別に対応する文字列についても対応するチェックボックス1037を有する。チェックボックス1036、1037がチェックされた状態の場合、そのチェックボックスに対応する情報種別または文字列はマスキング要否が「要」であることを示す。チェックボックス1036、1037がチェックされた状態でない場合、そのチェックボックスに対応する情報種別または文字列はマスキング要否が「不要」であることを示すものとする。視認性向上のためにマスキング要否が「要」となる情報種別が上位になるように表示しているが、表示順番は問わない。 The masking information display area 1030 has a check box 1036 corresponding to each information type. It also has a check box 1037 corresponding to the character string corresponding to each information type. When the check box 1036, 1037 is checked, the information type or character string corresponding to the check box indicates that masking is "required." When the check box 1036, 1037 is not checked, the information type or character string corresponding to the check box indicates that masking is "not required." To improve visibility, information types that require masking are displayed at the top, but the display order is not important.

マスキング情報においてマスキング要否が「要」で、かつ、マスキング領域に座標が保持されている情報種別に対応する文字列のチェックボックス1037については、予めチェックされた状態で表示される。マスキング情報においてマスキング要否が「不要」である情報種別または文字列に対応するチェックボックス1036、1037については、予めチェックが解除された状態で表示される。 Check boxes 1037 for character strings corresponding to information types for which the masking information indicates whether masking is required and coordinates are held in the masking area are displayed in a pre-checked state. Check boxes 1036, 1037 for information types or character strings for which the masking information indicates whether masking is not required are displayed in a pre-unchecked state.

マスキング要否が「不要」であるマスキング対象ではない情報種別は、プリセットに含まれない。しかし、情報検出処理による検出対象となる情報種別は、個人情報または機密情報を示す項目であり、ユーザがマスキングを指示する可能性が高い項目である。このため、マスキング要否が「不要」となるマスキング対象ではない情報種別についてもユーザに提示する目的で表示される。 Information types that are not subject to masking and for which the masking necessity is "not required" are not included in the presets. However, the information types that are subject to detection by the information detection process are items that indicate personal information or confidential information, and are items for which the user is likely to instruct masking. For this reason, information types that are not subject to masking and for which the masking necessity is "not required" are also displayed for the purpose of presenting them to the user.

警告マーク1031は、マスキング要否が「要」であるが、文字列が検出されていない情報種別に対して、ユーザに警告を行うためのマークである。マスキング領域編集ボタン1032~1035は、マスキング領域の編集または追加をするためのボタンである。詳細は後述する。 The warning mark 1031 is a mark for warning the user about an information type for which masking is "necessary" but no character string has been detected. The masking area edit buttons 1032 to 1035 are buttons for editing or adding masking areas. Details will be described later.

S903において表示制御部427は、ユーザによってプレビュー表示画面1000の送信ボタン1041が押下されたか否かを、UI表示制御部414を介して判定する。表示制御部427は、送信ボタン1041が押下されたと判定した場合(S903がYES)、S911へ処理を進める。表示制御部427は、送信ボタン1041が押下されなかったと判定した場合(S903がNO)、S904へ処理を進める。 In S903, the display control unit 427 determines whether or not the user has pressed the Send button 1041 on the preview display screen 1000 via the UI display control unit 414. If the display control unit 427 determines that the Send button 1041 has been pressed (YES in S903), the process proceeds to S911. If the display control unit 427 determines that the Send button 1041 has not been pressed (NO in S903), the process proceeds to S904.

S904において表示制御部427は、プレビュー表示画面1000上でマスキング情報の変更が必要な操作が行われたか否かを、UI表示制御部414を介して判定する。マスキング情報の変更が必要な操作とは、マスク削除ボタン1011、マスキング指示ボタン1012、マスキング領域編集ボタン1032~1035を押下する操作、チェックボックス1036、1037の押下などである。または、文書種別選択ドロップダウン1021から別の文書種別を選択する操作である。 In S904, the display control unit 427 determines via the UI display control unit 414 whether an operation that requires a change to the masking information has been performed on the preview display screen 1000. Operations that require a change to the masking information include operations such as pressing the Delete Mask button 1011, the Masking Instruction button 1012, or the Edit Masking Area buttons 1032 to 1035, or pressing the check boxes 1036 and 1037. Or, an operation of selecting a different document type from the document type selection dropdown 1021.

表示制御部427は、マスキング情報の変更が必要な操作が行われたと判定した場合(S904がYES)、S905へ進む。表示制御部427はマスキング情報の変更が必要な操作が行われなかったと判定した場合(S904がNO)、S906へ進む。 If the display control unit 427 determines that an operation requiring a change to the masking information has been performed (YES in S904), the process proceeds to S905. If the display control unit 427 determines that an operation requiring a change to the masking information has not been performed (NO in S904), the process proceeds to S906.

S905において画像処理部423は、現在のマスキング情報を取得し、プレビュー表示画面1000上でのユーザの操作に基づきマスキング情報を変更する。S707で生成されたマスキング情報または、以前にS905が実行された場合は更新後のマスキング情報が取得され、取得されたマスキング情報を変更する処理が行われる。 In S905, the image processing unit 423 acquires the current masking information and changes the masking information based on the user's operation on the preview display screen 1000. The masking information generated in S707, or the updated masking information if S905 has been executed previously, is acquired, and a process of changing the acquired masking information is performed.

例えば、マスキング領域編集ボタン1032~1035のいずれかがユーザによって押下され、続けて、プレビュー表示領域1001が表示されているタッチパネル上をユーザがドラッグして始点と終点が入力されたとする。表示制御部427は、UI表示制御部414を介して操作部220のタッチパネル上で選択された始点と終点の位置を取得し、マスキング画像上の矩形領域に変換する。具体的には、プレビュー表示領域1001のマスキング画像上が指でタッチされたことを検知すると指でタッチされた点を矩形領域の始点として検知する。表示制御部427は、始点からドラッグして指が離れた点を矩形領域の終点として検知する。この操作は、マスキング情報の変更が必要な操作に該当する。この場合、S905において画像処理部423は、検知された矩形領域が、マスキング領域編集ボタン1032~1035に対応する情報種別のマスキング領域の情報として含まれるようにマスキング情報を更新する。 For example, suppose that the user presses one of the masking area edit buttons 1032 to 1035, and then drags the touch panel on which the preview display area 1001 is displayed to input a start point and an end point. The display control unit 427 acquires the positions of the start point and end point selected on the touch panel of the operation unit 220 via the UI display control unit 414, and converts them into a rectangular area on the masking image. Specifically, when it detects that the masking image in the preview display area 1001 has been touched with a finger, it detects the point touched with the finger as the start point of the rectangular area. The display control unit 427 detects the point where the finger is released after dragging from the start point as the end point of the rectangular area. This operation corresponds to an operation that requires a change of the masking information. In this case, in S905, the image processing unit 423 updates the masking information so that the detected rectangular area is included as information on the masking area of the information type corresponding to the masking area edit buttons 1032 to 1035.

表3のマスキング情報リストにおいて、情報種別「住所」は、マスキング要否が「要」であるが文字列領域(マスキング領域)が特定されていない。情報種別「住所」に対するマスキング領域の情報を追加する場合、ユーザは、マスキング情報表示領域1030の「住所」に対応付けられたマスキング領域編集ボタン1034を押下する。そして、図10(b)の点線の矩形領域1006に示すように、プレビュー表示領域1001上を指でドラッグして矩形領域を指定する。画像処理部423は、マスキング情報の情報種別「住所」に対応する文字列領域に、ユーザが指定した矩形領域の座標情報を保持させて、表5に示すようにマスキング情報を更新する。 In the masking information list of Table 3, the information type "Address" has the masking requirement set to "Required", but the character string area (masking area) is not specified. To add masking area information for the information type "Address", the user presses the masking area edit button 1034 associated with "Address" in the masking information display area 1030. Then, as shown in the dotted rectangular area 1006 in FIG. 10(b) , the user drags his/her finger over the preview display area 1001 to specify a rectangular area. The image processing unit 423 stores the coordinate information of the rectangular area specified by the user in the character string area corresponding to the information type "Address" of the masking information, and updates the masking information as shown in Table 5.

Figure 2025015911000006
他にも例えば、マスキング指示ボタン1012が選択されている場合、表示制御部427は、プレビュー表示領域1001のマスキング画像上が指でタッチされたことを検知すると指でタッチされた点を始点として検知する。表示制御部427は、始点からドラッグして指が離れた点を終点として検知する。この操作は、マスキング情報の変更が必要な操作に該当する。この場合、S905において画像処理部423は、検知された始点と終点で特定される矩形領域を新たなマスキング領域の情報として保持されるようにマスキング情報を更新する。具体的には、画像処理部423は、情報種別「矩形領域」を、取得したマスキング情報に追加する。情報種別「矩形領域」に対応する、情報種別に対応する文字列には「-(なし)」、マスキング要否に「要」を保持させる。そして、情報種別「矩形領域」に対応する文字列領域に、ユーザが指定した矩形領域の始点の座標および終点の座標を保持させる。更新されたマスキング情報はRAM213に記憶される。
Figure 2025015911000006
For example, when the masking instruction button 1012 is selected, the display control unit 427 detects that the masking image in the preview display area 1001 is touched with a finger and detects the point touched with the finger as the start point. The display control unit 427 detects the point where the finger is released after dragging from the start point as the end point. This operation corresponds to an operation that requires a change of the masking information. In this case, in S905, the image processing unit 423 updates the masking information so that the rectangular area specified by the detected start point and end point is held as information of a new masking area. Specifically, the image processing unit 423 adds the information type "rectangular area" to the acquired masking information. The character string corresponding to the information type "rectangular area" holds "- (none)" and the masking necessity "necessary". Then, the character string area corresponding to the information type "rectangular area" holds the coordinates of the start point and the coordinates of the end point of the rectangular area designated by the user. The updated masking information is stored in the RAM 213.

表6は、新たなマスキング領域である「矩形領域」のマスキング要否が「要」の文字列領域が追加された後のマスキング情報を表す。マスキング領域の追加は、他の方法で追加されてもよい。 Table 6 shows the masking information after a character string area in which the masking requirement of the new masking area "rectangle area" is "required" has been added. Masking areas may also be added by other methods.

Figure 2025015911000007
他にも例えば、マスキング領域選択ボタン1013が選択されている場合、表示制御部427は、プレビュー表示領域1001のマスキング画像上のマスクが指でタッチされたことを検知すると、タッチされたマスクが選択されたと認識する。そして、当該選択に続けてマスク削除ボタン1011を押下する操作は、マスキング情報の変更が必要な操作に該当する。この場合、S905において画像処理部423は、マスキング情報における選択されたマスクに対応するマスキング領域に対応付けられたマスキング要否を「不要」に変更する。
Figure 2025015911000007
For another example, when the masking area selection button 1013 is selected, the display control unit 427 recognizes that the touched mask has been selected when it detects that the mask on the masking image in the preview display area 1001 has been touched with a finger. Then, the operation of pressing the mask deletion button 1011 following the selection corresponds to an operation that requires a change of the masking information. In this case, in S905, the image processing unit 423 changes the masking necessity associated with the masking area corresponding to the selected mask in the masking information to "not required."

または、表示制御部427が、チェックボックス1036、1037の押下を受け付けて、チェック状態であったチェックボックスのチェック状態が解除されたとする。この場合、画像処理部423は、マスキング情報における対応するマスキング要否を「要」から「不要」に変更する。または、表示制御部427が、チェックボックス1036、1037の押下を受け付けて、チェック状態が解除されていたチェックボックスがチェック状態に変更されたとする。この場合、画像処理部423は、マスキング情報における対応するマスキング要否を「不要」から「要」に変更する。 Alternatively, suppose that the display control unit 427 receives a press on a check box 1036, 1037, and the checked state of the check box is unchecked. In this case, the image processing unit 423 changes the corresponding masking necessity in the masking information from "required" to "not required." Alternatively, suppose that the display control unit 427 receives a press on a check box 1036, 1037, and the unchecked check box is changed to a checked state. In this case, the image processing unit 423 changes the corresponding masking necessity in the masking information from "not required" to "required."

S905でマスキング情報が更新されるとS901に戻る。S901において画像処理部423は、変更されたマスキング情報に基づきマスキング画像を作成する。そしてS902では生成されたマスキング画像が、プレビュー表示領域1001に表示される。例えば、図10(c)に示すように、情報種別「住所」に対するマスキング領域が新たにユーザによって設定されたとする。この場合、住所の文字列「東京都大田区」がユーザに認識できなくなるようにマスキングされたマスキング画像がプレビュー表示領域1001に表示される。 When the masking information is updated in S905, the process returns to S901. In S901, the image processing unit 423 creates a masking image based on the changed masking information. Then, in S902, the created masking image is displayed in the preview display area 1001. For example, as shown in FIG. 10(c), assume that a masking area for the information type "Address" has been newly set by the user. In this case, a masking image in which the address character string "Ota Ward, Tokyo" is masked so that it cannot be recognized by the user is displayed in the preview display area 1001.

一方、S906において表示制御部427は、マスク表示チェックボックス1014が押下されたか否かを、UI表示制御部414を介して判定する。表示制御部427はマスク表示チェックボックス1014が押下されたと判定した場合(S906がYES)、S907へ処理を進める。表示制御部427は、マスク表示チェックボックス1014が押下されなかったと判定した場合(S906がNO)、S910へ処理を進める。 Meanwhile, in S906, the display control unit 427 determines whether or not the mask display check box 1014 has been pressed via the UI display control unit 414. If the display control unit 427 determines that the mask display check box 1014 has been pressed (YES in S906), the process proceeds to S907. If the display control unit 427 determines that the mask display check box 1014 has not been pressed (NO in S906), the process proceeds to S910.

S907において表示制御部427は、マスク表示チェックボックス1014がチェックされた状態か否かを判定する。表示制御部427はマスク表示チェックボックス1014がチェックされた状態と判定した場合、(S907がYES)、S908へ処理を進める。表示制御部427はマスク表示チェックボックス1014がチェックされていない状態と判定した場合(S907がNO)、S909へ処理を進める。 In S907, the display control unit 427 determines whether the mask display check box 1014 is checked. If the display control unit 427 determines that the mask display check box 1014 is checked (YES in S907), the process proceeds to S908. If the display control unit 427 determines that the mask display check box 1014 is not checked (NO in S907), the process proceeds to S909.

S909において表示制御部427は、マスキング表示情報の透明度を0.5に変更する。そしてS901に戻る。次のS901では透明度が0.5であるマスキング表示情報に基づきマスキング画像が生成され、S902ではマスキング要否が「要」の文字列領域であるマスキング領域が、透明度が0.5でマスキングされたマスキング画像がプレビュー表示される。透明度が0.5でマスキングされたマスキング画像は、ユーザの確認用の画像であり、外部に送信されないように制御される。 In S909, the display control unit 427 changes the transparency of the masking display information to 0.5. Then, the process returns to S901. In the next step S901, a masking image is generated based on the masking display information with a transparency of 0.5, and in S902, a preview of the masking image is displayed in which the masking area, which is the character string area in which the masking requirement is "required", is masked with a transparency of 0.5. The masking image masked with a transparency of 0.5 is an image for the user to confirm, and is controlled so that it is not transmitted to the outside.

図10(d)は、透明度が0.5であるマスキング表示情報に基づき生成されたマスキング画像がプレビュー表示されているプレビュー表示画面1000の画像表示領域1010の一例を示す図である。透明度が0.5ということは、マスクの透明度が増すことになるため、透明なマスクが合成されるようにマスキング画像が生成される。このため、マスキング画像におけるマスキング領域に含まれる文字列は、透けて認識可能な状態で表示されるようになる。このように本実施形態では、マスク表示チェックボックス1014のチェックを解除することでマスキング処理された文字列が視認可能なようにマスキング解除状態でマスキング画像をプレビュー表示することができる。このため、ユーザは、マスキング領域の箇所が確認できるとともに、どの文字列がマスキングされているのかを確認することができ、マスキング領域が誤って設定されていないかを確認できるようになる。 FIG. 10D is a diagram showing an example of an image display area 1010 of a preview display screen 1000 in which a masked image generated based on masking display information with a transparency of 0.5 is previewed. A transparency of 0.5 means that the transparency of the mask is increased, so the masking image is generated so that a transparent mask is synthesized. Therefore, the character string included in the masking area in the masking image is displayed in a state where it can be recognized through the mask. In this manner, in this embodiment, by unchecking the mask display checkbox 1014, the masked image can be previewed in an unmasked state so that the masked character string can be seen. Therefore, the user can confirm the location of the masking area, as well as which character string is masked, and can check whether the masking area has been set erroneously.

なお、本実施形態においては、マスク表示チェックボックス1014にチェックがされていない状態のマスクの透明度は0.5になるように設定されているものとしているが、透明度は、ユーザが視認可能となる透明度であれば0.5以外の値でもよい。 In this embodiment, the transparency of the mask when the mask display checkbox 1014 is not checked is set to 0.5, but the transparency may be a value other than 0.5 as long as it is visible to the user.

一方、S908において表示制御部427は、マスキング表示情報の透明度を0.0に設定する。そしてS901へ戻る。透明度を0.0に設定することで、マスキング画像のマスキングされた領域に含まれる文字列は、プレビュー表示領域1001上では認識することが出来ない状態となる。 On the other hand, in S908, the display control unit 427 sets the transparency of the masking display information to 0.0. Then, the process returns to S901. By setting the transparency to 0.0, the character string included in the masked area of the masking image becomes unrecognizable in the preview display area 1001.

このように、本実施形態では、マスク表示チェックボックス1014がチェック状態の場合、プレビュー表示されたマスキング画像でマスク1005を表示する。マスク表示チェックボックス1014がチェックされていない状態の場合、マスキング解除状態でマスク1005を表示して表示を切り替えることができる。 In this manner, in this embodiment, when the mask display check box 1014 is checked, the mask 1005 is displayed in the masked image displayed as a preview. When the mask display check box 1014 is not checked, the mask 1005 is displayed in an unmasked state, allowing the display to be switched.

一方、S910において、表示制御部427は、S505の外部ストレージ120への出力前にマスキング処理の確認のための処理を行う。 On the other hand, in S910, the display control unit 427 performs processing to check the masking process before outputting to the external storage 120 in S505.

図11は、S910の処理の詳細を説明するためのフローチャートである。 Figure 11 is a flowchart explaining the details of the processing of S910.

S1101において表示制御部427は、プレビュー表示画面1000の確認印刷ボタン1043が押下されたか否かを判定する。表示制御部427は、確認印刷ボタン1043が押下されたと判定した場合(S1101がYES)、S1102へ処理を進める。表示制御部427は、確認印刷ボタン1043が押下されなかったと判定した場合(S1101がNO)、S1103へ処理を進める。 In S1101, the display control unit 427 determines whether the Confirm Print button 1043 on the preview display screen 1000 has been pressed. If the display control unit 427 determines that the Confirm Print button 1043 has been pressed (YES in S1101), the process proceeds to S1102. If the display control unit 427 determines that the Confirm Print button 1043 has not been pressed (NO in S1101), the process proceeds to S1103.

S1102において表示制御部427は、S901で生成されたマスキング画像の確認印刷を行う。はじめに、表示制御部427は、S901にて生成されたマスキング画像をRAM213から取得する。表示制御部427は、印刷実行部413に対してマスキング画像の印刷を、印刷指示部425を介して要求する。印刷実行部413は、取得したマスキング画像の印刷(確認印刷)を実行する。 In S1102, the display control unit 427 performs a confirmation print of the masking image generated in S901. First, the display control unit 427 acquires the masking image generated in S901 from the RAM 213. The display control unit 427 requests the print execution unit 413 to print the masking image via the print instruction unit 425. The print execution unit 413 executes printing (confirmation printing) of the acquired masking image.

図12は、S901で生成されたマスキング画像を確認印刷することで得られた印刷物の一例を示す図である。図12(a)の印刷物1201は、S901において透明度が0.0であるマスキング表示情報に基づき生成されたマスキング画像を確認印刷することで得られた印刷物である。透明度が0.0に設定されているので、マスキング対象である情報種別「氏名」、「電話番号」、「住所」に対応する「木屋野」、「090-0000-2111」、「東京都大田区」がユーザに視認不可能な状態のマスクキング画像の印刷物となっている。 Figure 12 shows an example of a printout obtained by checking and printing the masking image generated in S901. Printout 1201 in Figure 12(a) is a printout obtained by checking and printing the masking image generated in S901 based on masking display information with a transparency of 0.0. Because the transparency is set to 0.0, the masking image is printed in such a way that "Koyano", "090-0000-2111", and "Ota-ku, Tokyo", which correspond to the information types "Name", "Telephone Number", and "Address" that are the targets of masking, are not visible to the user.

図12(b)の印刷物1202は、S901において透明度が0.5であるマスキング表示情報に基づき生成されたマスキング画像を確認印刷することで得られた印刷物である。透明度が0.5に設定されているので、印刷物1201とは異なり、マスキング対象である「木屋野」、「090-0000-2111」、「東京都大田区」の文字列が確認可能な状態のマスクキング画像の印刷物となっている。 Printed material 1202 in FIG. 12(b) is a printed material obtained by checking and printing the masked image generated in S901 based on the masking display information with a transparency of 0.5. Because the transparency is set to 0.5, unlike printed material 1201, it is a printed material of the masked image in which the character strings "Koyano", "090-0000-2111", and "Ota-ku, Tokyo" that are the targets of masking can be seen.

本実施形態では、マスク表示チェックボックス1014がチェックされていない状態(マスク表示解除状態)となった場合、マスキング対象の文字列が視認可能な状態のマスキング画像が生成される方法を説明した。マスク表示解除状態となった場合のマスキング対象の文字列を視認可能となるマスキング画像の生成方法は限定しない。他にも、マスク表示解除状態の場合、表4のマスキング表示情報の表示種類が「下線」に変更されるようにしてもよい。この場合、S901において画像処理部423は、文書画像におけるマスキング領域に下線を合成してマスキング画像を生成するものとする。 In this embodiment, a method has been described for generating a masking image in which the masked character string is visible when the mask display check box 1014 is not checked (mask display released state). There are no limitations on the method for generating a masking image in which the masked character string is visible when the mask display is released. Alternatively, when the mask display is released, the display type of the masking display information in Table 4 may be changed to "underline". In this case, in S901, the image processing unit 423 generates a masking image by combining an underline with the masked area in the document image.

図12(c)の印刷物1203は、表示種類が「下線」であるマスキング表示情報に基づき生成されたマスキング画像を確認印刷することで得られた印刷物の例である。このようにマスキング対象を下線で示すことで、マスキング対象の箇所及びマスキング対象の文字列の内容が視認可能となる。他にも、マスク表示解除状態の場合、マスキング対象の箇所以外を背景色で塗りつぶして、マスキング対象の箇所のみが表示されるような確認用のマスキング画像が生成されてもよい。 Printout 1203 in FIG. 12(c) is an example of a printout obtained by checking and printing a masking image generated based on masking display information with a display type of "underline." By underlining the masking target in this way, the area to be masked and the contents of the text to be masked can be visually confirmed. Alternatively, when the mask display is released, a confirmation masking image may be generated in which the area other than the area to be masked is filled with a background color so that only the area to be masked is displayed.

また、マスク表示解除状態の確認用のマスキング画像の印刷物が速やかに破棄されるように、廃棄することを促す文字列または画像をマスキング画像に重畳させてから、マスキング画像の確認印刷するように制御されてもよい。 In addition, to ensure that the printout of the masking image for confirming the mask display release state is promptly discarded, the system may be controlled so that a character string or image urging the user to discard the masking image is superimposed on the masking image before printing the masking image for confirmation.

S1103において表示制御部427は、図10(a)のプレビュー表示画面1000の一覧表示ボタン1044が押下されたか否かを判定する。表示制御部427は、一覧表示ボタン1044が押下されたと判定した場合(S1103でYES)、S1104へ処理を進める。表示制御部427は一覧表示ボタン1044が押下されなかったと判定した場合(S1103でNO)、本フローチャートを終了して図9のS901へ戻る。 In S1103, the display control unit 427 determines whether the list display button 1044 on the preview display screen 1000 in FIG. 10A has been pressed. If the display control unit 427 determines that the list display button 1044 has been pressed (YES in S1103), the process proceeds to S1104. If the display control unit 427 determines that the list display button 1044 has not been pressed (NO in S1103), the process ends this flowchart and returns to S901 in FIG. 9.

S1104において表示制御部427は、画像処理部423を介して、文書画像のデータおよびマスキング情報をRAM213から取得する。表示制御部427は、文書画像から、マスキング情報のマスキング要否が「要」に対応付けられた文字列領域であるマスキング領域を切り出して部分画像を生成する。部分画像はRAM213に保存される。 In S1104, the display control unit 427 acquires the document image data and masking information from the RAM 213 via the image processing unit 423. The display control unit 427 cuts out a masking area, which is a character string area associated with "needed" as the masking information's masking necessity, from the document image to generate a partial image. The partial image is stored in the RAM 213.

S1105において表示制御部427は、S1104で生成された部分画像及びマスキング情報をRAM213から取得して、ユーザがマスキング領域を確認するための一覧印刷画面を生成する。表示制御部427は、生成した一覧印刷画面を、UI表示制御部414を介して操作部220のタッチパネル上に表示する。 In S1105, the display control unit 427 acquires the partial image and masking information generated in S1104 from the RAM 213, and generates a list print screen for the user to check the masking area. The display control unit 427 displays the generated list print screen on the touch panel of the operation unit 220 via the UI display control unit 414.

図13は、一覧印刷画面の一例を示す図である。一覧印刷画面1300には、マスキング情報リスト1301、戻るボタン1302、一覧印刷ボタン1303が含まれる。戻るボタン1302は一覧印刷画面1300を閉じるためのボタンである。一覧印刷ボタン1303は、マスキング情報リスト1301の印刷を指示するためのボタンである。 Figure 13 is a diagram showing an example of a list print screen. The list print screen 1300 includes a masking information list 1301, a back button 1302, and a list print button 1303. The back button 1302 is a button for closing the list print screen 1300. The list print button 1303 is a button for instructing printing of the masking information list 1301.

マスキング情報リスト1301は、S1104で生成された部分画像、部分画像に対応する情報種別、情報種別に対応する文字列が行ごとに対応付けられている確認用の一覧表示画像である。情報種別は、マスキング情報において、部分画像を切り出す際に参照されたマスキング領域に対応付けている情報種別である。情報種別に対応する文字列は、マスキング情報において、部分画像を切り出す際に参照されたマスキング領域に対応付けられている情報種別に対応する文字列である。 Masking information list 1301 is a confirmation list display image in which the partial images generated in S1104, the information types corresponding to the partial images, and character strings corresponding to the information types are associated with each row. The information types are the information types associated with the masking areas referenced when cutting out the partial images in the masking information. The character strings corresponding to the information types are the character strings associated with the masking areas referenced when cutting out the partial images in the masking information.

S1106において表示制御部427は、戻るボタン1302が押下されたか否かを判定する。表示制御部427は戻るボタン1302が押下されたと判定した場合(S1106がYES)、本フローチャートを終了し図9のS901へ戻る。表示制御部427は、戻るボタン1302が押下されなかったと判定した場合(S1106がNO)、S1107へ進む。 In S1106, the display control unit 427 determines whether or not the back button 1302 has been pressed. If the display control unit 427 determines that the back button 1302 has been pressed (YES in S1106), this flowchart ends and the process returns to S901 in FIG. 9. If the display control unit 427 determines that the back button 1302 has not been pressed (NO in S1106), the process proceeds to S1107.

S1107において表示制御部427は、一覧印刷ボタン1303が押下されたか否かを判定する。表示制御部427は一覧印刷ボタン1303が押下されたと判定した場合(S1107がYES)、S1108へ処理を進める。S1107において表示制御部427は、一覧印刷ボタン1303が押下されなかったと判定した場合(S1107がNO)、S1105へ処理を戻す。 In S1107, the display control unit 427 determines whether the list print button 1303 has been pressed. If the display control unit 427 determines that the list print button 1303 has been pressed (YES in S1107), the process proceeds to S1108. If the display control unit 427 determines that the list print button 1303 has not been pressed (NO in S1107), the process returns to S1105.

S1108において画像処理部423は、マスキング情報リスト1301を表す一覧表示画像を生成しRAM213へ保存する。表示制御部427は、生成された一覧表示画像をRAM213から取得する。表示制御部427は、印刷実行部413に取得した一覧表示画像の印刷の要求を、印刷指示部425を介して行う。印刷実行部413は一覧表示画像の印刷を実行して、S1105へ戻る。 In S1108, the image processing unit 423 generates a list display image representing the masking information list 1301 and stores it in the RAM 213. The display control unit 427 acquires the generated list display image from the RAM 213. The display control unit 427 requests the print execution unit 413 to print the acquired list display image via the print instruction unit 425. The print execution unit 413 prints the list display image and returns to S1105.

なお、一覧表示画像の印刷によって得られた印刷物が速やかに廃棄されるように、廃棄を促す文字列または画像を一覧表示画像に重畳させてから、一覧表示画像の印刷するように制御されてもよい。 In addition, to ensure that the printed matter obtained by printing the list display image is promptly discarded, the list display image may be controlled to be printed after a character string or image encouraging the user to discard the printed matter is superimposed on the list display image.

表示制御部427は、S1108において、一覧表示画像の印刷の要求に加えて、S901で生成したマスキング画像をRAM213から取得し、印刷実行部413に取得したマスキング画像の印刷の要求を、印刷指示部425を介して行ってもよい。 In S1108, in addition to requesting printing of the list display image, the display control unit 427 may also obtain the masking image generated in S901 from the RAM 213 and request the print execution unit 413 to print the obtained masking image via the print instruction unit 425.

このように、マスキング画像を出力する前に確認印刷または一覧表示画像を印刷することができる。例えば、MFP110のタッチパネルが小さく、画面サイズが小さい場合、プレビュー表示された画像のマスキング箇所の表示が小さくなり、閲覧性が低い状態となることがある。このような場合、マスキング箇所の確認漏れが発生する虞がある。本実施形態では、確認印刷または一覧表示画像の印刷を選択すると、ユーザは印刷物で確認をすることができる。このため、ユーザは、マスキング箇所の閲覧性が向上した状態で確認作業を行うことができる。よって、ユーザは、マスキング箇所の過不足、誤りを精度よく確認することができ、社外秘や公開範囲に関わる文字列を適切にマスキングして出力することが可能になる。図9に戻ってフローチャートの続きの説明を行う。 In this way, a confirmation print or a list display image can be printed before outputting the masked image. For example, if the touch panel of the MFP 110 is small and the screen size is small, the masked parts of the preview image may be displayed small, resulting in low visibility. In such a case, there is a risk that the masked parts may not be confirmed. In this embodiment, when confirmation print or printing of the list display image is selected, the user can check the printed matter. Therefore, the user can perform the confirmation work in a state where the visibility of the masked parts is improved. Therefore, the user can accurately check whether the masked parts are excessive or insufficient, or if there are errors, and it is possible to appropriately mask and output character strings related to confidential information or the range of disclosure. Returning to FIG. 9, the rest of the flowchart will be explained.

S911において表示制御部427は、S701で補正された文書画像、S707で生成されたマスキング情報、及びマスキング表示情報を、画像処理部423を介してRAM213より取得する。S905でマスキング情報が変更された場合は、変更後のマスキング情報が取得される。画像処理部423は、取得したマスキング情報のマスキング要否が「要」の文字列領域の始点および終点座標を取得して、文書画像上における同座標位置に対応する領域であるマスキング領域に対してマスキングを行い、マスキング画像を生成する。画像処理部423は、取得したマスキング表示情報に含まれる情報のうち、表示種類、表示色を用いてマスキングを行う。S911において画像処理部423は、取得したマスキング表示情報に含まれる透明度は用いないで、透明度は0.0としてマスキングを行う。即ち、S911では、表4のマスキング表示情報に基づきマスキング画像の生成が行われる。画像処理部423は、生成された送信用のマスキング画像をRAM213に保持する。このように出力用のマスキング画像についてはマスキング領域の文字列が視認されないように透明度0.0にしてマスキングを行う。S911の後、マスキング表示情報は、表2の状態に変更される。 In S911, the display control unit 427 acquires the document image corrected in S701, the masking information generated in S707, and the masking display information from the RAM 213 via the image processing unit 423. If the masking information is changed in S905, the changed masking information is acquired. The image processing unit 423 acquires the start and end coordinates of the character string area in which the masking necessity of the acquired masking information is "necessary", and performs masking on the masking area, which is the area corresponding to the coordinate position on the document image, to generate a masking image. The image processing unit 423 performs masking using the display type and display color among the information included in the acquired masking display information. In S911, the image processing unit 423 performs masking with the transparency set to 0.0 without using the transparency included in the acquired masking display information. That is, in S911, a masking image is generated based on the masking display information in Table 4. The image processing unit 423 holds the generated masking image for transmission in the RAM 213. In this way, the masking image for output is masked with a transparency of 0.0 so that the text in the masking area is not visible. After S911, the masking display information is changed to the state shown in Table 2.

[プリセット登録について]
図14は、本実施形態におけるS506のプリセット登録処理の詳細を説明するためのフローチャートである。
[Registering presets]
FIG. 14 is a flowchart for explaining details of the preset registration process in S506 in this embodiment.

S1401において表示制御部427は、プリセット登録を行うかをユーザに確認する画面(不図示)を、UI表示制御部414を介して操作部220のタッチパネルに表示する。 In S1401, the display control unit 427 displays a screen (not shown) for prompting the user whether to register a preset on the touch panel of the operation unit 220 via the UI display control unit 414.

S1402において表示制御部427は、ユーザの操作を受けてプリセットを登録することが選択されたか否かを判定する。表示制御部427はプリセットを登録することが選択されたと判定した場合(S1402がYES)、S1403に処理を進める。表示制御部427はプリセットを登録することが選択されなかったと判定した場合(S1402がNO)、本フローチャートを終了する。 In S1402, the display control unit 427 determines whether or not a user operation has been performed to register a preset. If the display control unit 427 determines that a user operation has been performed to register a preset (YES in S1402), the process proceeds to S1403. If the display control unit 427 determines that a user operation has not been performed to register a preset (NO in S1402), the process ends this flowchart.

S1403において表示制御部427は、プリセット登録画面を操作部220のタッチパネルに表示するようにUI表示制御部414に依頼する。生成されたマスキング情報の情報種別に「矩形領域」以外の項目が保持されている場合、表示制御部427は、情報種別選択用のプリセット登録画面1500(図15参照)を生成する。マスキング情報の情報種別に「矩形領域」のみが保持されている場合、表示制御部427は、領域選択用のプリセット登録画面(不図示)を生成する。 In S1403, the display control unit 427 requests the UI display control unit 414 to display a preset registration screen on the touch panel of the operation unit 220. If the information type of the generated masking information holds items other than "rectangular area", the display control unit 427 generates a preset registration screen 1500 (see FIG. 15) for selecting an information type. If the information type of the masking information holds only "rectangular area", the display control unit 427 generates a preset registration screen (not shown) for area selection.

図15は、マスキング情報の情報種別に「矩形領域」以外の項目が保持されている場合に表示されるプリセット登録画面の一例を示す図である。図15のプリセット登録画面1500は、プリセット名表示領域1510、文書種別選択領域1520、登録情報表示領域1530、保存ボタン1503、キャンセルボタン1504を有する。キャンセルボタン1504は、プリセット登録処理を実施せずに本フローチャートを終了するためのボタンである。 Figure 15 is a diagram showing an example of a preset registration screen that is displayed when the information type of the masking information holds an item other than "rectangular area." The preset registration screen 1500 in Figure 15 has a preset name display area 1510, a document type selection area 1520, a registration information display area 1530, a save button 1503, and a cancel button 1504. The cancel button 1504 is a button for ending this flowchart without performing the preset registration process.

プリセット名表示領域1510は、登録するプリセットを識別するための名称であるプリセット名を表示する領域である。プリセット名表示領域1510が押下されることでプリセット名を修正するための画面に遷移してプリセット名の修正が受け付けられる。プリセット名は、文書種別を表す文字列が予め設定されているものとする。 The preset name display area 1510 is an area that displays the preset name, which is a name used to identify the preset to be registered. Pressing the preset name display area 1510 transitions to a screen for modifying the preset name, and the modification of the preset name is accepted. The preset name is assumed to be a character string that indicates the document type.

文書種別選択領域1520は、プリセットとして登録する文書種別をユーザが選択するためのプルダウンが含まれる。文書種別選択領域1520に含まれるドロップダウンは、文書種別表示領域1020の文書種別選択ドロップダウン1021で選択された文書種別が、デフォルトで選択された状態で表示される。 The document type selection area 1520 includes a pull-down menu that allows the user to select the document type to be registered as a preset. The drop-down menu included in the document type selection area 1520 displays the document type selected in the document type selection drop-down 1021 of the document type display area 1020 as selected by default.

登録情報表示領域1530には、情報種別ごとに生成された表示領域1531~1533が含まれる。表示領域1531~1533には、対応する情報種別を、マスキング対象の情報種別としてプリセットに登録するか否かを選択するためトグルボタン1535~1537が含まれる。トグルボタン1535~1537がONに選択されると、対応する情報種別は、マスキング対象の情報種別としてプリセットに登録される。トグルボタン1535~1537がOFFに選択されると、対応する情報種別はプリセットに登録されない。プリセットにプリセット登録画面1500におけるトグルボタン1535~1537の初期表示は、マスキング情報のマスキング要否に応じて設定される。 The registration information display area 1530 includes display areas 1531-1533 generated for each information type. The display areas 1531-1533 include toggle buttons 1535-1537 for selecting whether or not to register the corresponding information type in the preset as an information type to be masked. When toggle buttons 1535-1537 are selected to ON, the corresponding information type is registered in the preset as an information type to be masked. When toggle buttons 1535-1537 are selected to OFF, the corresponding information type is not registered in the preset. The initial display of toggle buttons 1535-1537 on the preset registration screen 1500 is set according to whether or not masking of masking information is required.

保存ボタン1503は、文書種別選択領域1520で選択されている文書種別のプリセットとして、登録情報表示領域1530で選択された登録種別をマスキング対象として登録するボタンである。この結果、表2のようなプリセットの情報が生成される。 The save button 1503 is a button for registering the registration type selected in the registration information display area 1530 as a preset for the document type selected in the document type selection area 1520, as a masking target. As a result, preset information such as that shown in Table 2 is generated.

S1404において表示制御部427は、S1403で生成されたプリセットの情報を保存するようにデータ管理部424に依頼する。データ管理部424は、プリセットの情報を、インターネットアクセス部426を介して外部ストレージ120に保存する。または、プリセットの情報は、内部データ保存部412を介してHDD214に保存されてもよい。 In S1404, the display control unit 427 requests the data management unit 424 to save the preset information generated in S1403. The data management unit 424 saves the preset information in the external storage 120 via the Internet access unit 426. Alternatively, the preset information may be saved in the HDD 214 via the internal data saving unit 412.

表示制御部427は、HDD214または外部ストレージ120に同じ文書種別のプリセットが保存されている場合、上書き保存するか否かをユーザに問い合わせる警告表示を操作部220のタッチパネルに要求して表示してもよい。また、表示制御部427は、正常にプリセット登録が完了した場合、プリセット登録が完了した旨の表示を操作部220に要求して表示してもよい。 When a preset of the same document type is saved in the HDD 214 or the external storage 120, the display control unit 427 may request the touch panel of the operation unit 220 to display a warning message asking the user whether or not to overwrite the saved preset. In addition, when the preset registration is completed normally, the display control unit 427 may request the operation unit 220 to display a message indicating that the preset registration is completed.

以上説明したように本実施形態によれば、マスク表示解除状態でマスキング画像を表示することができるため、マスキング画像の出力前に、生成されたマスキング画像のマスキング箇所の内容を確認することが可能になる。このため、マスキング箇所の過不足、または誤りを抑制することができる。また、社外秘や公開範囲に関わる文字列を確実に閲覧できないようにマスキングして送信することが可能になる。 As described above, according to this embodiment, since a masked image can be displayed in a mask-display-off state, it is possible to check the contents of the masked parts of the generated masked image before outputting the masked image. This makes it possible to prevent excesses, shortages, or errors in the masked parts. In addition, it is possible to mask and transmit text related to confidential information or the scope of disclosure so that it cannot be viewed.

<第2の実施形態>
本実施形態では、一覧印刷画面1300でのマスキング処理をより適切に確認できるようにするための方法を説明する。本実施形態については、第1の実施形態からの差分を中心に説明する。特に明記しない部分については第1の実施形態と同じ構成および処理である。
Second Embodiment
In this embodiment, a method for more appropriately checking the masking process on the list print screen 1300 will be described. The present embodiment will be described focusing on the differences from the first embodiment. The configuration and process are the same as those of the first embodiment unless otherwise specified.

本実施形態では、図9のフローチャートのS901において画像処理部423は、第1の実施形態と同様に、文書画像、マスキング情報、マスキング表示情報をRAM213から取得する。さらに本実施形態では、S901において画像処理部423はマスキング表示補正情報をRAM213から取得する。 In this embodiment, in S901 of the flowchart in FIG. 9, the image processing unit 423 acquires the document image, masking information, and masking display information from the RAM 213, as in the first embodiment. Furthermore, in this embodiment, in S901, the image processing unit 423 acquires masking display correction information from the RAM 213.

表7は、マスキング表示補正情報の一例を示す表である。マスキング表示補正情報には、領域補正幅、領域補正高さが含まれる。例えば、表示補正幅は5、領域補正高さは2である。 Table 7 shows an example of masking display correction information. The masking display correction information includes an area correction width and an area correction height. For example, the display correction width is 5 and the area correction height is 2.

Figure 2025015911000008
S901において画像処理部423は、マスキング表示補正情報の数値に従って、取得したマスキング情報に含まれる文字列領域の始点の座標および終点の座標を変更して変更後の座標情報を、変更後の文字列領域の情報として保持する。始点座標のx座標の値を領域補正幅で減算し、y座標の値を領域補正高さで減算する。また、終点座標のx座標の値を領域補正幅で加算し、y座標の値を領域補正高さで減算する。例えば文字列領域が「(341,461)、(997,545)」の場合、変更後の文字列領域は「(336,459)、(1002,547)」となる。なお、S901では、マスキング要否が「要」の文字列については、変更後の座標に基づきマスキングされてもよいし、変更前の座標に基づきマスキングされてもよい。
Figure 2025015911000008
In S901, the image processing unit 423 changes the coordinates of the start point and the end point of the character string area included in the acquired masking information according to the numerical value of the masking display correction information, and holds the changed coordinate information as information of the changed character string area. The x-coordinate value of the start point coordinate is subtracted by the area correction width, and the y-coordinate value is subtracted by the area correction height. In addition, the x-coordinate value of the end point coordinate is added by the area correction width, and the y-coordinate value is subtracted by the area correction height. For example, if the character string area is "(341, 461), (997, 545)", the changed character string area becomes "(336, 459), (1002, 547)". In S901, the character string whose masking necessity is "necessary" may be masked based on the changed coordinates, or may be masked based on the coordinates before the change.

そして、図11のフローチャートにおけるS1104では、表示制御部427は、文書画像から、マスキング情報のマスキング要否が「要」に対応付けられた文字列領域であるマスキング領域を切り出して部分画像を生成する。本実施形態では、S901で変更された文字列領域(マスキング領域)の座標に基づきマスキング領域を切り出して部分画像を生成するものとする。このため、第1の実施形態よりも大きな領域が切り出された部分画像が生成される。 In S1104 in the flowchart of FIG. 11, the display control unit 427 extracts from the document image a masking area, which is a character string area associated with the masking information's masking necessity field set to "required", to generate a partial image. In this embodiment, the masking area is extracted based on the coordinates of the character string area (masking area) changed in S901 to generate a partial image. Therefore, a partial image is generated in which a larger area is extracted than in the first embodiment.

S1105において表示制御部427は、S1104で生成された部分画像及びマスキング情報に基づき一覧印刷画面を生成し、一覧印刷画面を、UI表示制御部414を介して操作部220のタッチパネル上に表示する。 In S1105, the display control unit 427 generates a list printing screen based on the partial image and masking information generated in S1104, and displays the list printing screen on the touch panel of the operation unit 220 via the UI display control unit 414.

このように本実施形態では、マスキング対象の領域を拡張した領域の部分画像を一覧印刷画像として表示することができる。このため、ユーザは、ある情報種別に対応する文字列として検出された文字列が、実際にその情報種別に対応する文字列であるかを確認することができる。例えば、表1に示すように、文字列「木屋野」が、情報種別「氏名」に対応する文字列として検出されたとする。しかしながら、会社名の文字列「木屋野株式会社」に含まれる「木屋野」が、情報種別「氏名」に対応する文字列として検出された可能性がある。そこで本実施形態では、マスキング要否が「要」の文字列領域の周辺の領域が含まれる部分画像を、図13の一覧印刷画面として表示する。このため、ユーザは、ある情報種別に対応する文字列として検出された「木屋野」が、「木屋野株式会社」のように、ある文字列の一部であるかを画像として確認できることができる。このため、適切な文字列がマスキング対象として検出されているかを確認することができる。 In this manner, in this embodiment, a partial image of an area obtained by expanding the area to be masked can be displayed as a list print image. Therefore, the user can confirm whether a character string detected as a character string corresponding to a certain information type is actually a character string corresponding to that information type. For example, as shown in Table 1, assume that the character string "Kiyano" is detected as a character string corresponding to the information type "name". However, there is a possibility that "Kiyano" included in the character string "Kiyano Co., Ltd." of the company name is detected as a character string corresponding to the information type "name". Therefore, in this embodiment, a partial image including a surrounding area of the character string area where the masking necessity is "necessary" is displayed as the list print screen of FIG. 13. Therefore, the user can confirm as an image whether "Kiyano" detected as a character string corresponding to a certain information type is a part of a character string, such as "Kiyano Co., Ltd.". Therefore, it is possible to confirm whether an appropriate character string has been detected as a masking target.

<その他の実施形態>
本開示は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present disclosure can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present disclosure can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

上述した実施形態の開示は、以下の構成を含む。 The disclosure of the above-mentioned embodiment includes the following configurations:

(構成1)
文書画像を取得する取得手段と、
前記文書画像に含まれる所定の文字列をユーザが認識できなくなるように、前記文書画像における前記所定の文字列が含まれる対象領域にマスクがされたマスキング画像を生成する画像処理手段と、
ユーザの指示に基づき、前記所定の文字列をユーザが認識できるように提示するための制御をする制御手段と、
を有することを特徴とする画像処理装置。
(Configuration 1)
An acquisition means for acquiring a document image;
an image processing means for generating a masking image in which a target area including a predetermined character string in the document image is masked so that the predetermined character string included in the document image cannot be recognized by a user;
a control means for controlling the presentation of the predetermined character string in a manner recognizable by the user based on an instruction from the user;
13. An image processing device comprising:

(構成2)
前記制御手段は、前記文書画像における前記対象領域の位置と、前記対象領域が含まれる前記所定の文字列と、を前記ユーザが認識できる確認用の画像を提示する
ことを特徴とする構成1に記載の画像処理装置。
(Configuration 2)
The image processing device according to configuration 1, wherein the control means presents a confirmation image that enables the user to recognize a position of the target area in the document image and the predetermined character string including the target area.

(構成3)
前記マスキング画像は、前記文書画像の前記対象領域にマスクが合成された画像であり、
前記制御手段は、
出力される前記マスキング画像におけるマスクの透明度よりも、透明度が高いマスクが前記文書画像の前記対象領域に合成された前記確認用の画像を前記ユーザに提示する
ことを特徴とする構成2に記載の画像処理装置。
(Configuration 3)
the masking image is an image in which a mask is combined with the target area of the document image,
The control means
The image processing device according to configuration 2, characterized in that the confirmation image in which a mask having a higher transparency than the transparency of the mask in the output masking image is combined with the target area of the document image is presented to the user.

(構成4)
前記制御手段は、
前記文書画像の前記対象領域に下線が合成された前記確認用の画像を提示する
ことを特徴とする構成2に記載の画像処理装置。
(Configuration 4)
The control means
3. The image processing apparatus according to claim 2, wherein the confirmation image is presented in which an underline is synthesized in the target area of the document image.

(構成5)
前記制御手段は、
前記確認用の画像を表示部に表示することで、前記確認用の画像を提示する
ことを特徴とする構成2から4のいずれか1項に記載の画像処理装置。
(Configuration 5)
The control means
5. The image processing device according to claim 2, wherein the confirmation image is displayed on a display unit to present the confirmation image.

(構成6)
前記制御手段は、
前記確認用の画像が印刷されるように処理することで、前記確認用の画像を提示する
ことを特徴とする構成2から5のいずれか1項に記載の画像処理装置。
(Configuration 6)
The control means
6. The image processing device according to any one of configurations 2 to 5, wherein the confirmation image is presented by processing the confirmation image to be printed.

(構成7)
前記制御手段は、
前記文書画像に含まれる前記所定の文字列をユーザが認識できなくなるように前記対象領域にマスクがされた前記マスキング画像と、前記文書画像に含まれる前記所定の文字列を前記ユーザが認識できる前記確認用の画像と、
を前記ユーザの操作に基づきを切り替えて表示する
ことを特徴とする構成5に記載の画像処理装置。
(Configuration 7)
The control means
the masking image in which the target area is masked so that the user cannot recognize the predetermined character string included in the document image; and the confirmation image in which the user can recognize the predetermined character string included in the document image.
and switching between the displayed images based on an operation by the user.

(構成8)
前記画像処理手段は、
前記文書画像における前記対象領域に含まれる前記所定の文字列のリストを表す画面をさらに生成し、
前記制御手段は、
前記画面を前記ユーザに提示することで、前記対象領域に含まれる前記所定の文字列を前記ユーザが認識できるように提示する
ことを特徴とする構成1に記載の画像処理装置。
(Configuration 8)
The image processing means includes:
further generating a screen showing a list of the predetermined character strings included in the target area of the document image;
The control means
2. The image processing device according to configuration 1, wherein the screen is presented to the user, so that the predetermined character string included in the target area is presented so as to be recognizable by the user.

(構成9)
前記画像処理手段は、
前記文書画像における前記対象領域に対応する部分画像を生成し、前記部分画像が含まれる前記画面を生成する
ことを特徴とする構成8に記載の画像処理装置。
(Configuration 9)
The image processing means includes:
9. The image processing device according to configuration 8, further comprising: generating a partial image corresponding to the target region in the document image; and generating the screen including the partial image.

(構成10)
前記画像処理手段は、
前記文書画像における前記対象領域を含み、前記対象領域よりも大きな領域の前記部分画像を生成する
ことを特徴とする構成9に記載の画像処理装置。
(Configuration 10)
The image processing means includes:
10. The image processing apparatus according to claim 9, further comprising: generating the partial image of an area including the target area in the document image and larger than the target area.

(構成11)
前記画面では、前記部分画像と、前記部分画像が表す文字列と、前記文字列の情報種別が対応付けられている
ことを特徴とする構成9または10に記載の画像処理装置。
(Configuration 11)
11. The image processing device according to configuration 9 or 10, wherein on the screen, the partial image, a character string represented by the partial image, and an information type of the character string are associated with each other.

(構成12)
前記制御手段は、
前記画面を表示部に表示する
ことを特徴とする構成8から11のいずれか1項に記載の画像処理装置。
(Configuration 12)
The control means
12. The image processing device according to any one of configurations 8 to 11, wherein the screen is displayed on a display unit.

(構成13)
前記制御手段は、
前記画面が印刷されるように処理をする
ことを特徴とする構成8から12のいずれか1項に記載の画像処理装置。
(Configuration 13)
The control means
13. The image processing device according to any one of configurations 8 to 12, further comprising: a processor for processing the screen so that the screen can be printed.

(構成14)
前記対象領域の変更の指示を前記ユーザから受け付ける受け付け手段をさらに有し
前記画像処理手段は、前記ユーザによって変更された前記対象領域にマスクがされた前記マスキング画像を生成する
ことを特徴とする構成1から13のいずれか1項に記載の画像処理装置。
(Configuration 14)
14. The image processing device according to any one of configurations 1 to 13, further comprising a receiving means for receiving an instruction to change the target area from the user, wherein the image processing means generates the masking image in which the target area changed by the user is masked.

(構成15)
前記マスキング画像は、前記対象領域が所定の色で塗りつぶされた画像である
ことを特徴とする構成1から14のいずれか1項に記載の画像処理装置。
(Configuration 15)
15. The image processing device according to any one of configurations 1 to 14, wherein the masking image is an image in which the target area is filled with a predetermined color.

(構成16)
前記所定の文字列を前記文書画像から検出する検出手段をさらに有する
ことを特徴とする構成1から15のいずれか1項に記載の画像処理装置。
(Configuration 16)
16. The image processing device according to any one of configurations 1 to 15, further comprising a detection unit for detecting the predetermined character string from the document image.

(構成17)
前記ユーザの指示に基づき、前記生成された前記マスキング画像を出力する出力手段をさらに有する
ことを特徴とする構成1から16のいずれか1項に記載の画像処理装置。
(Configuration 17)
17. The image processing apparatus according to any one of configurations 1 to 16, further comprising an output unit that outputs the generated masking image based on an instruction from the user.

(構成18)
文書画像を取得する取得ステップと、
前記文書画像に含まれる所定の文字列をユーザが認識できなくなるように、前記文書画像における前記所定の文字列が含まれる対象領域にマスクがされたマスキング画像を生成する画像処理ステップと、
ユーザの指示に基づき、前記所定の文字列を、ユーザが認識できるように提示するための制御をする制御ステップと、
を有することを特徴とする画像処理方法。
(Configuration 18)
An acquisition step of acquiring a document image;
an image processing step of generating a masking image in which a target area including a predetermined character string in the document image is masked so that the predetermined character string included in the document image cannot be recognized by a user;
a control step of performing control for presenting the predetermined character string in a manner recognizable by the user based on an instruction from the user;
13. An image processing method comprising:

(構成19)
コンピュータに、構成1から17のいずれか1項に記載の画像処理装置の各手段を実行させるためのプログラム。
(Configuration 19)
18. A program for causing a computer to execute each of the means of the image processing device according to any one of configurations 1 to 17.

110 MFP
427 表示制御部
423 画像処理部
110 MFP
427 Display control unit 423 Image processing unit

Claims (19)

文書画像を取得する取得手段と、
前記文書画像に含まれる所定の文字列をユーザが認識できなくなるように、前記文書画像における前記所定の文字列が含まれる対象領域にマスクがされたマスキング画像を生成する画像処理手段と、
ユーザの指示に基づき、前記所定の文字列をユーザが認識できるように提示するための制御をする制御手段と、
を有することを特徴とする画像処理装置。
An acquisition means for acquiring a document image;
an image processing means for generating a masking image in which a target area including a predetermined character string in the document image is masked so that the predetermined character string included in the document image cannot be recognized by a user;
a control means for controlling the presentation of the predetermined character string in a manner recognizable by the user based on an instruction from the user;
13. An image processing device comprising:
前記制御手段は、前記文書画像における前記対象領域の位置と、前記対象領域が含まれる前記所定の文字列と、を前記ユーザが認識できる確認用の画像を提示する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing device according to claim 1 , wherein the control means presents a confirmation image that enables the user to recognize the position of the target area in the document image and the predetermined character string that includes the target area.
前記マスキング画像は、前記文書画像の前記対象領域にマスクが合成された画像であり、
前記制御手段は、
出力される前記マスキング画像におけるマスクの透明度よりも、透明度が高いマスクが前記文書画像の前記対象領域に合成された前記確認用の画像を前記ユーザに提示する
ことを特徴とする請求項2に記載の画像処理装置。
the masking image is an image in which a mask is combined with the target area of the document image,
The control means
3 . The image processing apparatus according to claim 2 , further comprising: a confirmation image in which a mask having a higher transparency than a mask in the output masking image is combined with the target area of the document image, the confirmation image being presented to the user.
前記制御手段は、
前記文書画像の前記対象領域に下線が合成された前記確認用の画像を提示する
ことを特徴とする請求項2に記載の画像処理装置。
The control means
The image processing apparatus according to claim 2 , wherein the confirmation image is presented in which an underline is synthesized in the target area of the document image.
前記制御手段は、
前記確認用の画像を表示部に表示することで、前記確認用の画像を提示する
ことを特徴とする請求項2に記載の画像処理装置。
The control means
The image processing device according to claim 2 , wherein the confirmation image is presented by displaying the confirmation image on a display unit.
前記制御手段は、
前記確認用の画像が印刷されるように処理することで、前記確認用の画像を提示する
ことを特徴とする請求項2に記載の画像処理装置。
The control means
The image processing apparatus according to claim 2 , wherein the confirmation image is presented by performing processing so that the confirmation image is printed.
前記制御手段は、
前記文書画像に含まれる前記所定の文字列をユーザが認識できなくなるように前記対象領域にマスクがされた前記マスキング画像と、前記文書画像に含まれる前記所定の文字列を前記ユーザが認識できる前記確認用の画像と、を前記ユーザの操作に基づきを切り替えて表示する
ことを特徴とする請求項5に記載の画像処理装置。
The control means
6. The image processing device according to claim 5, characterized in that the masking image in which the target area is masked so that the user cannot recognize the specified character string included in the document image, and the confirmation image in which the user can recognize the specified character string included in the document image are switched and displayed based on the user's operation.
前記画像処理手段は、
前記文書画像における前記対象領域に含まれる前記所定の文字列のリストを表す画面をさらに生成し、
前記制御手段は、
前記画面を前記ユーザに提示することで、前記対象領域に含まれる前記所定の文字列を前記ユーザが認識できるように提示する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing means includes:
further generating a screen showing a list of the predetermined character strings included in the target area of the document image;
The control means
The image processing device according to claim 1 , wherein the screen is presented to the user so that the predetermined character string included in the target area is presented in a manner that the user can recognize the predetermined character string.
前記画像処理手段は、
前記文書画像における前記対象領域に対応する部分画像を生成し、前記部分画像が含まれる前記画面を生成する
ことを特徴とする請求項8に記載の画像処理装置。
The image processing means includes:
The image processing apparatus according to claim 8 , further comprising: generating a partial image corresponding to the target region in the document image; and generating the screen including the partial image.
前記画像処理手段は、
前記文書画像における前記対象領域を含み、前記対象領域よりも大きな領域の前記部分画像を生成する
ことを特徴とする請求項9に記載の画像処理装置。
The image processing means includes:
The image processing apparatus according to claim 9 , further comprising: a step of generating the partial image of an area including the target area in the document image and larger than the target area.
前記画面では、前記部分画像と、前記部分画像が表す文字列と、前記文字列の情報種別が対応付けられている
ことを特徴とする請求項9に記載の画像処理装置。
The image processing apparatus according to claim 9 , wherein on the screen, the partial image, a character string represented by the partial image, and an information type of the character string are associated with each other.
前記制御手段は、
前記画面を表示部に表示する
ことを特徴とする請求項8に記載の画像処理装置。
The control means
The image processing device according to claim 8 , wherein the screen is displayed on a display unit.
前記制御手段は、
前記画面が印刷されるように処理をする
ことを特徴とする請求項8に記載の画像処理装置。
The control means
The image processing apparatus according to claim 8, further comprising: a processor for processing the screen so that the screen can be printed.
前記対象領域の変更の指示を前記ユーザから受け付ける受け付け手段をさらに有し
前記画像処理手段は、前記ユーザによって変更された前記対象領域にマスクがされた前記マスキング画像を生成する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing device according to claim 1 , further comprising a receiving unit configured to receive an instruction to change the target area from the user, wherein the image processing unit generates the masking image in which the target area changed by the user is masked.
前記マスキング画像は、前記対象領域が所定の色で塗りつぶされた画像である
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1 , wherein the masking image is an image in which the target area is filled with a predetermined color.
前記所定の文字列を前記文書画像から検出する検出手段をさらに有する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1 , further comprising a detection unit for detecting the predetermined character string from the document image.
前記ユーザの指示に基づき、前記生成された前記マスキング画像を出力する出力手段をさらに有する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1 , further comprising an output unit that outputs the generated masking image based on an instruction from the user.
文書画像を取得する取得ステップと、
前記文書画像に含まれる所定の文字列をユーザが認識できなくなるように、前記文書画像における前記所定の文字列が含まれる対象領域にマスクがされたマスキング画像を生成する画像処理ステップと、
ユーザの指示に基づき、前記所定の文字列を、ユーザが認識できるように提示するための制御をする制御ステップと、
を有することを特徴とする画像処理方法。
An acquisition step of acquiring a document image;
an image processing step of generating a masking image in which a target area including a predetermined character string in the document image is masked so that the predetermined character string included in the document image cannot be recognized by a user;
a control step of performing control for presenting the predetermined character string in a manner recognizable by the user based on an instruction from the user;
13. An image processing method comprising:
コンピュータに、請求項1から17のいずれか1項に記載の画像処理装置の各手段を実行させるためのプログラム。 A program for causing a computer to execute each of the means of an image processing device according to any one of claims 1 to 17.
JP2023118803A 2023-07-21 2023-07-21 Image processing device, image processing method, and program Pending JP2025015911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023118803A JP2025015911A (en) 2023-07-21 2023-07-21 Image processing device, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023118803A JP2025015911A (en) 2023-07-21 2023-07-21 Image processing device, image processing method, and program

Publications (1)

Publication Number Publication Date
JP2025015911A true JP2025015911A (en) 2025-01-31

Family

ID=94378005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023118803A Pending JP2025015911A (en) 2023-07-21 2023-07-21 Image processing device, image processing method, and program

Country Status (1)

Country Link
JP (1) JP2025015911A (en)

Similar Documents

Publication Publication Date Title
JP7034730B2 (en) Devices, methods, and programs for setting information related to scanned images
US8593664B2 (en) Image processing apparatus, image processing system, and program for specifying destinations for image data transmission
US10528679B2 (en) System and method for real time translation
EP2393275B1 (en) Information processing system, information processing apparatus, control method thereof, and program
JP2023164541A (en) Image processing device, method for controlling the same, and program
JP7037310B2 (en) Image processing equipment, its control method, and programs
CN118689356A (en) Information processing system and information processing device
US10656890B2 (en) Image forming apparatus, storage medium, and control method
JP4075430B2 (en) Print control apparatus, print control method, and program
JP6135360B2 (en) Information equipment and computer programs
JP2024134599A (en) IMAGE PROCESSING APPARATUS, CONTROL METHOD AND PROGRAM FOR IMAGE PROCESSING APPARATUS
JP2025015911A (en) Image processing device, image processing method, and program
US20200128146A1 (en) Image forming apparatus, method of processing image, and recording medium storing image processing program
JP2024026571A (en) Image processing device, its control method and program
JP7673130B2 (en) Image processing device, control method for image processing device, and program
JP2024162405A (en) Information processing device, control method for information processing device, and program
US10979579B2 (en) Image processing apparatus, control method, and storage medium that conduct a search for first and second attribute information of which are included in a plurality of destination information registered in an address book
JP6962352B2 (en) Information processing equipment, recording systems, and programs
US20250014375A1 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
US20240176567A1 (en) Image processing apparatus, image processing method, and storage medium capable of storing electronic file including mask region with appropriate name
JP2025084300A (en) Information processing device, control method for information processing device, and program
JP7422471B2 (en) Information processing device, control method for information processing device, and program
JP2021100197A (en) Image processing device, image processing method, and image processing system
JP2024136534A (en) Information processing device, control method for information processing device, and program
JP2024115650A (en) Information processing device, control method for information processing device, and program