Image processing apparatus, method for controlling image processing apparatus, and program
The image processing apparatus allows users to specify mask areas through touch operations and character string identification, addressing the limitations of existing methods and enhancing redaction flexibility and accuracy.
Patent Information
- Application Number
- JP2023044871
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing image processing apparatuses allow users to specify mask areas only through touch operations, lacking flexibility in methods for masking sensitive information like character strings.
The apparatus provides two methods for specifying mask areas: through touch operations and by identifying character strings, enabling more precise and flexible masking of scanned images.
Enhances user convenience by allowing additional methods to specify mask areas, improving accuracy and efficiency in redacting sensitive information.
Smart Images

Figure 2024134599000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for masking a scanned image. [Background technology]
[0002] When documents including personal information or confidential information, such as identity documents, application documents, or drawings, are shared with others, some parts of the document may be masked by filling them in (also called "erasing" or "masking"). As disclosed in Patent Document 1, an image processing device is known that, when a user specifies a position to be masked by touching a scanned image displayed on an operation panel, masks the specified position. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-34030 Summary of the Invention [Problem to be solved by the invention]
[0004] In the image processing device described in Patent Document 1, the only method available for specifying a mask area is a method in which a user specifies a position to be masked by a touch operation.
[0005] The object of the present invention is to provide an image processing device that allows a user to specify an area to be masked by two methods: specifying the position to be masked by a touch operation, and another method, specifically, specifying a character string. [Means for solving the problem]
[0006] In order to achieve the above-mentioned object, the image processing device of the present invention is an image processing device equipped with a scanner, and has a display control means for displaying a scanned image acquired by the scanner, a first receiving means for receiving a first instruction for designating a first area on the scanned image, a second receiving means for accepting a second instruction for designating a character string, and a generation means for generating a composite image in which the first area designated by the first instruction and a second area corresponding to the character string designated by the second instruction are masked in the scanned image. Effect of the Invention
[0007] According to the image processing device of the present invention, in addition to the method in which the user specifies the position to be masked by a touch operation, the area to be masked can be specified by two other methods, specifically, by specifying a character string. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing the overall configuration of the present system. [Diagram 2] FIG. 2 is a diagram illustrating the hardware configuration of an MFP. [Diagram 3] FIG. 2 is a hardware configuration diagram of a storage device. [Figure 4] FIG. 2 is a diagram illustrating the software configuration of the present system. [Diagram 5] 4 is a flowchart showing the flow of processing performed by the MFP in the present system. [Figure 6] 11 is a flowchart of an area designation process performed by the MFP in this system. [Figure 7] 13 is a diagram showing an example of a mask designation method selection screen displayed by the MFP. [Figure 8] FIG. 13 is a diagram showing an example of a preset selection screen displayed by the MFP. [Figure 9] FIG. 13 is a diagram showing an example of a scan screen displayed by the MFP. [Figure 10] FIG. 13 is a diagram showing an example of a preview screen displayed by the MFP. [Figure 11]FIG. 13 is a diagram showing an example of a preview screen displayed by the MFP. [Figure 12] 13 is a diagram showing an example of an execution confirmation screen displayed by the MFP. [Figure 13] 11 is a diagram showing an example of area information stored in the MFP. [Figure 14] 11 is a diagram illustrating an example of preset information stored in the MFP. [Figure 15] 11 is a flowchart of an area designation process performed by the MFP in this system. [Figure 16] FIG. 13 is a diagram showing an example of a preview screen displayed by the MFP. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments of the present invention will be described with reference to the drawings. Note that the following embodiments do not limit the invention according to the claims, and all of the combinations of features described in the embodiments are not necessarily essential to the solution of the invention.
[0010] <First embodiment> <Overall composition> Fig. 1 is a diagram showing the overall configuration of this system. The image processing system in Fig. 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).
[0011] The MFP 110 is a multifunction peripheral having multiple functions such as a scanner and a printer, and is an example of an image forming apparatus. The MFP 110 also has a function of transferring a scanned image file to a service that allows file storage, such as an external storage service.
[0012] The external storage (service) 120 is a service that can save files received via the Internet or acquire files from an external device via a web browser. The external storage 120 is, for example, a cloud service. There are not only one but also multiple external storages.
[0013] The image processing system of this embodiment is configured to include the MFP 110, the external storage 120, and the external storage 130, but is not limited thereto. For example, a part of the functions and processes of the MFP 110 may be implemented on another server arranged on the Internet or a LAN. Also, the external storage 120 may be arranged on a LAN instead of the Internet. Further, the external storage 120 may be replaced with a mail server or the like, and the scanned image may be attached to and sent by mail. The MFP 110 may also have the storage function of the external storage 120.
[0014] <Hardware Configuration of MFP> FIG. 2 is a hardware configuration diagram of the MFP 110. The MFP 110 is composed of a control unit 210, an operation unit 220, a printer unit 221, a scanner unit 222, and a modem 223. The control unit 210 is composed of the following units 211 to 219 and controls the overall operation of the MFP 110.
[0015] The CPU 211 reads out control programs stored in the ROM 212 and the HDD 214 and executes and controls various functions of the MFP 110 such as reading / printing / communication. The RAM 213 is used as a temporary storage area such as the main memory and work area of the CPU 211. In this embodiment, it is assumed that one CPU 211 uses one memory (RAM 213 or HDD 214) to execute each process shown in the flowchart below, but it is not limited thereto. For example, a plurality of CPUs, a plurality of RAMs, or HDDs may cooperate to execute each process. The HDD 214 is a large-capacity storage unit that stores image data and various programs.
[0016] 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 provided with a touch panel, a keyboard, and the like, and accepts operations / inputs / instructions by a user. The printer I / F 216 is an interface that connects the printer unit 221 and the control unit 210. Image data for printing is transferred from the control unit 210 to the printer unit 221 via the printer I / F 216 and printed on a recording medium. The scanner I / F 217 is an interface that connects the scanner unit 222 and the control unit 210. The scanner unit 222 reads an original placed on a document tray or an ADF (Auto Document Feeder), not shown, generates image data, and inputs the image data to the control unit 210 via the scanner I / F 217. The MFP 110 can print (copy) the image data generated by the scanner unit 222 from the printer unit 221, as well as transmit the image data as a file or by e-mail. The modem I / F 218 is an interface that connects the modem 223 and the control unit 210. The modem 223 communicates image data by facsimile with a facsimile device on the PSTN. 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 transmit image data and information to various services on the Internet and to receive various information.
[0017] <Hardware configuration of external storage> FIG. 3 is a hardware configuration diagram of the external storage 120. The external storage 120 is composed of a CPU 311, a ROM 312, a RAM 313, an HDD 314, and a network I / F 315. The CPU 311 controls the overall operation by reading out the control program stored in the ROM 312 and executing various processes. The RAM 313 is used as a temporary storage area such as the main memory and work area of 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 for connecting the external storage 120 to the Internet. The external storage 120 receives a process request from another device (such as the MFP 110) via the network I / F 315 and transmits and receives various information.
[0018] <Software Configuration of MFP> FIG. 4 is a software configuration diagram of the image processing system according to the present embodiment. The MFP 110 is roughly divided into two major parts: a native function unit 410 and an additional function unit 420. Each function unit is realized by the CPU 211 reading out the program stored in the ROM 212 or HDD 214 of the MFP 110 and executing it in the RAM 213. Each part included in the native function unit 410 is standardly provided in the MFP 110, while the additional function unit 420 is an application additionally installed in the MFP 110. The additional function unit 420 is an application based on Java (registered trademark), and can easily realize the addition of functions to the MFP 110. Note that other additional applications (not shown) may be installed in the MFP 110.
[0019] The native function unit 410 has a scan execution unit 411, an image data storage unit 412, and a print execution unit 413. The additional function unit 420 has a display control unit 421, a scan instruction unit 422, an image processing unit 423, a data management unit 424, a print instruction unit 425, a data conversion unit 426, and an external storage access unit 427.
[0020] The display control unit 421 displays a UI (user interface) screen for accepting operations by a user on a liquid crystal display unit having a touch panel function of the operation unit 220 of the MFP 110. For example, it displays an operation screen for accepting operations for scan setting and scan start, a preview of a scanned image and a designation operation of a mask area described later, a preview of a mask composite image, and an operation for output setting and output start.
[0021] The scan instruction unit 422 requests the scan execution unit 411 to perform a scan process according to the scan settings input via the UI screen. The scan execution unit 411 receives a scan request including the scan settings from the scan instruction unit 422. In accordance with the scan request, the scan execution unit 411 generates scan image data by reading a document placed on a platen glass with the scanner 222 via the scanner I / F 217. The generated scan image data is sent to the image data storage unit 412. The scan execution unit 411 sends an image identifier that uniquely identifies the stored scan image data to the scan instruction unit 422. The image identifier is a number, symbol, alphabet, or the like (not shown) for uniquely identifying an image scanned in the MFP 110. The image data storage unit 412 stores the scan image data received from the scan execution unit 411 in the HDD 214.
[0022] The image processing unit 423 performs analysis and processing on the scanned image. The image processing unit 423 receives an image identifier from the scan instruction unit 422, and acquires scanned image data corresponding to the image identifier from the image data storage unit 412. The image processing unit 423 performs recognition processing on the image, such as character area analysis, OCR (Optical Character Recognition), barcode area analysis, and image rotation and tilt correction within the acquired image data.
[0023] Furthermore, the image processing unit 423 has in advance learning data for determining whether a scanned document is a fixed form document or an unfixed form document, and if the scanned image is similar to a learned fixed form document based on the analysis result of the scanned image, it is determined to be a fixed form document. More specifically, this will be described later in the second embodiment.
[0024] The image processing unit 423 also synthesizes a mask image in accordance with area designation processing (described later in FIG. 6) according to the mask area input via the UI screen, and instructs the image data storage unit 412 to store the generated mask synthesis image data. The image processing unit 423 sends an image identifier to the print instruction unit 425, data conversion unit 426, and external storage access unit 427 according to the output settings set for the image after mask synthesis.
[0025] The data management unit 424 holds information such as coordinates, character strings, file names, and save destinations specified in the area designation process in association with image identifiers. The data management unit 424 also saves the coordinates, character strings, file names, and save destinations specified in the area designation process as presets in the HDD 214. In this embodiment, a preset is a template in which information indicating the coordinates and character strings of the area to be masked in the scanned image, the file name and save destination of the file including the scanned image, is stored in association with the type of document. By selecting an item indicating the type of document displayed as a preset button on a screen 800 described later, it is possible to perform processing using the settings stored in the template without having to set the settings individually again.
[0026] The print instruction unit 425 sends to the print execution unit 413 a print processing request according to the print settings input via the UI screen and the image identifier received from the image processing unit 423. The print execution unit 413 receives the print request including the print settings and the image identifier from the print instruction unit 425. The print execution unit 413 obtains from the image data storage unit 412 corresponding to the image identifier and generates image data for printing according to the print request. The print execution unit 413 prints the mask composite image on a recording medium by the printer 221 via the printer I / F 216 according to the generated image data for printing.
[0027] The data conversion unit 426 obtains an image corresponding to the image identifier received from the image processing unit 423 from the image data storage unit 412, and converts it into a file format according to the output settings input via the UI screen. The data conversion unit 426 obtains a file name corresponding to the image identifier received from the image processing unit 423 from the data management unit 424, and sets it as the file name of the converted file. The data conversion unit 426 sends the converted file and the corresponding image identifier to the data management unit 424, and the data management unit 424 holds the received file in association with the image identifier.
[0028] The external storage access unit 427 transmits a processing request to a cloud service or the like that provides a storage function (storage service). Cloud services generally publish various interfaces using protocols such as REST and SOAP for saving files in cloud storage and retrieving saved files from external devices. The external storage access unit 426 operates the cloud service using the published interface of the cloud service. The external storage access unit 427 acquires a file and transmission information corresponding to the image identifier received from the image processing unit 423 from the data management unit 424. The external storage access unit 426 transmits the file acquired from the data management unit 424 to the external storage 120 via the network I / F using the transmission information acquired from the data management unit 424.
[0029] <Overall process flow> In the processing described below, the CPU 211 of the MFP 110 reads out a control program stored in the ROM 212 or HDD 214, and executes and controls various functions of the MFP 110 and functions of additional applications.
[0030] FIG. 5 is a flowchart showing a process flow when a mask image is combined with an image scanned by the MFP 110, the resulting file is sent to the cloud storage (external storage 120).
[0031] The MFP 110 displays a main screen (not shown) on a touch panel of the operation unit 220, on which buttons for executing applications provided by the MFP 110 are arranged.
[0032] An additional application of the present invention that masks a part of a scanned image and transmits it to a cloud service (hereinafter, referred to as a masking application) can be used by installing it on the MFP 110. When the masking application is installed on the MFP 110, a button for using the functions of the application is displayed on the main screen of the MFP 110.
[0033] When the pressing of the masking application button is detected, the flow of FIG. 5 starts, and in S501, the MFP 110 starts the masking application (reads and executes the program). When the masking application starts, in S502, the display control unit 421 of the MFP 110 displays the mask setting method selection screen 700 of FIG. 7 as the initial screen of the masking application. 701 is a button for instructing the MFP 110 to display a screen 800, which will be described later. The preset is a function for saving the setting values, such as the scan setting, mask area, and file saving information, once set, in the HDD 214 of the MFP 110 and reusing them. 702 is a button for instructing a process of manually setting various items from the initial value setting of the masking application. When the display control unit 421 detects that the user has selected any button on the mask setting method selection screen 700, in S503, the display control unit 421 determines whether the "preset" of 701 or the "manual" of 702 has been selected.
[0034] When the selection of "Manual" in 702 is detected, the determination in S503 becomes "No", and in S505 the display control unit 421 displays the scan screen 900 in FIG. 9. 901 is an item for specifying the output method of the masked scanned image. The output method can be selected from print only, save only, or print and save. 902 is an item for specifying the file format at the time of saving that is valid when the setting of 901 is set to "print and save" or "save only". 903 is an item for specifying the scan settings, and accepts setting changes of "original size", "color", "double-sided", and "detailed settings". In "detailed settings", settings such as resolution, image quality, mixed original sizes, and density are accepted. 904 is a button for executing a scan using the scan settings set in 903. 905 is an area for displaying the number of pages scanned. 906 is a button for returning to the previous screen. If the determination in S503 is "No", the scan screen 900 is displayed with the output settings and scan settings held by the MFP 110 as the initial values of the masking application set to 901 to 903.
[0035] On the other hand, when the selection of "Preset" 701 is detected, S503 becomes "Yes", and in S504, the display control unit 421 displays the preset list screen 800 of FIG. 8. 801 is an example of a registered preset button. The preset button is a button of an item corresponding to a document type. When it is detected that any preset button is selected, the setting value of the template associated with the button ID of the preset button and saved is used in the subsequent process. The button ID is an ID generated by the data management unit 424 when the preset button is registered, and is a number, symbol, alphabet, etc. for uniquely identifying a group of registered setting values (not shown). 802 is a button for returning to the mask setting method selection screen 700 of FIG. 7. For example, when it is detected that "Insurance Card" 801 is selected, the MFP 110 reads out the setting associated with the button ID of "Insurance Card" and displays the scan screen 900. At this time, the setting associated with the button ID is reflected in the output setting and scan setting of 901 to 903.
[0036] When the operation unit 220 detects that the user has placed a document to be scanned on the document glass or ADF and pressed the "scan" button 904, the MFP 110 executes scanning in S506 and generates an image identifier that uniquely indicates image data obtained by digitizing the document. The generated scanned image and image identifier are associated with each other and stored in the HDD 214. Each time the MFP 110 completes the generation of a scanned image for one page, the number of scanned pages 905 increases.
[0037] When scanning of the document to be scanned is completed and pressing of "Next" 907 is detected, the image processing unit 423 executes analysis processing of the scanned image in S507. In the scanned image analysis processing, the MFP 110 analyzes the text area present in the image, acquires the coordinates of the text area and the text within the text area, associates the result of the analysis with an image identifier, and stores it in the HDD 214. In the scanned image analysis processing, if a two-dimensional barcode or three-dimensional barcode area is detected in the image, the coordinates and information corresponding to the barcode are also acquired, and associates the result of the analysis with an image identifier and stores it in the HDD 214.
[0038] When the scanned image analysis process in S507 is completed, the MFP 110 executes an area designation process in S508. Figure 6 is a flowchart of the process executed in the area designation process in S508. In the area designation process in S508, the process differs depending on whether "preset" has been selected on the mask setting method selection screen 700. First, in S601, the display control unit 421 determines whether "preset" has been selected on the mask setting method selection screen 700. If "preset" has been selected in S601, the display control unit 421 acquires preset information from the data management unit 424 in S602. If "manual" has been selected in S601, the process proceeds to S604 without acquiring preset information.
[0039] In S604, the display control unit 421 displays the preview screen 1000 of FIG. 10. In the flowchart shown in FIG. 6, the process of setting the mask area by coordinate specification, S604, is performed first, and the process of specifying the mask area by character string specification, S606, is performed later, but the order may be reversed. Furthermore, in this embodiment, the screen is divided into two screens, a screen shown in FIG. 10 and a screen shown in FIG. 11. That is, the user specifies the mask area by the coordinate specification method on the screen shown in FIG. 10, and the user specifies the mask area by the character string specification method on the screen shown in FIG. 11. However, the present invention is not limited to this, and both the coordinate specification method and the character string specification method may be operated on one screen.
[0040] Fig. 10(a) is an example of a case where a preset is not selected in S601 and the initial values of the masking application are displayed. That is, it is displayed when "Manual" is selected on the mask setting method selection screen 700. Fig. 10(b) is displayed when "Preset" is selected on the mask setting method selection screen 700. It is displayed with the setting information saved in the preset reflected in advance. Unlike "Manual", it is convenient because it saves the trouble of specifying areas and saving settings.
[0041] When "Manual" is selected on the mask setting method selection screen 700, the preview screen 1000 is displayed in the state shown in FIG. 10(a). Reference numeral 1001 denotes an area in which a preview of the image scanned in S506 is displayed. Reference numeral 1002 denotes a preview image of the image scanned in S506. If the preview image does not fit on the screen, a scroll bar is automatically displayed. Reference numeral 1003 denotes a button for deleting a mask region or a character string region selected on the preview image 1002, which will be described later. Reference numeral 1004 denotes a button for reducing the display magnification of the preview image 1002 by a certain amount. Reference numeral 1005 denotes a button for changing the magnification to the maximum magnification at which the entire preview image 1002 fits within the preview area 1001. Reference numeral 1006 denotes a button for increasing the display magnification of the preview image 1002 by a certain amount and enlarging the image. Reference numeral 1007 denotes a button for displaying the previous page of the scanned image when there are multiple pages of scanned images. Reference numeral 1008 denotes the page of the scanned image currently being displayed and the total number of pages. A button 1009 is used to display the next page of scanned images when there are multiple pages of scanned images.
[0042] Reference numeral 1010 denotes a mask color designation button for designating the color of a mask area, which will be described later. Through the button 1010, the display control unit 421 accepts the designation of the color of the mask area. The color for filling the mask area may include not only a single color but also a fill effect such as a mosaic or stamp. That is, in this embodiment, the button 1010 is described as a mask color designation button, but is not limited to this. It may also be a button for selecting the type of mask image. For example, it may be configured so that the color and pattern of the mask image can be selected. Reference numeral 1011 denotes a toggle button for semi-transparently displaying a mask area, which will be described later, on a preview. By enabling the button 1011, it is possible to display a character string, etc., hidden under the mask on the preview in a form visible to the user. Reference numerals 1012 to 1013 denote toggle buttons for switching between modes for adding a mask area to the preview. The buttons 1012 to 1013 are switched exclusively. The button 1012 is a button for switching between modes for selecting an area already added to the preview area 1001. A button 1013 is used to switch to a mode in which a new mask area is inserted in the preview area 1001 by specifying coordinates on the preview image.
[0043] In the coordinate specification mode, the user touches the preview area 1001 with his / her finger to specify an area. When the operation unit 220 detects a touch operation in the preview area 1001, the display control unit 421 starts drawing a rectangle with the touch operation as the starting point. When the user moves the finger while touching the touch panel, and detects that the finger has been removed from the touch panel, a rectangle with the point as the end point is displayed. The color set in the mask color specification button 1010 is reflected in the displayed rectangle, and the coordinates and color of the start point and end point of the rectangle are stored. Note that, when the user touches only one point, the touched point and color may be stored. In that case, the display control unit 421 may be configured to set a rectangle with sides of a predetermined length surrounding the touched point as the mask area. That is, the display control unit 421 receives an instruction from the user to specify at least one coordinate in the scan image displayed in the preview area 1001. Then, the display control unit 421 stores in the data management unit 424 information on the coordinates indicated by the received instruction and information on the color selected by the button 1010. The area to be masked by the touch operation may be not only a character string but also a barcode, a photograph, etc. 1018 is a button for returning to the previous process, and in the first embodiment, transitions to the scan screen 900. 1019 is a button for proceeding to the next process, and in the first embodiment, transitions to the preview screen 1100 in FIG. 11.
[0044] Here, we will briefly explain how the user specifies various areas. When the preview screen in Fig. 10(a) is displayed, the user uses the button 1013 to specify the area to be masked on the scanned image by touching and dragging.
[0045] The user can specify the mask area as shown in FIG. 10(b), for example. 1020 to 1022 indicate the mask areas inserted by the user. 1020 to 1022 are usually displayed as rectangles filled with a color specified as the mask color, but here, it shows a state in which the transparent display 1011 button is selected. When the transparent display 1011 button is deselected, the mask areas 1020 to 1022 are displayed in a non-transparent color when actually synthesized as a mask image. Furthermore, the mask areas may be surrounded by a frame of a different color or type (not shown) so that the type of area included in 1302, such as coordinates or text, which will be described later, can be identified.
[0046] The mask area 1020 indicates a state selected in the selection mode of 1012. The selected mask area, such as 1020, is highlighted by displaying a thick frame, so that the selected state can be easily understood. In addition, square icons are displayed on the four sides and four corners to make the user aware that the area can be re-edited. The user can adjust the area by dragging and moving the square icon. When the user drags and moves the square icon, the point or line on the diagonal where the square is displayed becomes the starting point, and the square can be expanded / reduced in the direction from there. When the user drags the other mask area, the mask area can be moved while maintaining its current size. Note that the mask areas 1020 to 1022 may be configured so that the icons can be moved using hard keys or soft arrow keys. In addition, when there is an area selected in the selection mode, the delete area button 1003 becomes effective. For example, when the display control unit 421 detects that the delete area button 1003 is pressed in the state of FIG. 10(b), it deletes the masking of 1020 from the preview area 1001. Additionally, the coordinate information and mask color stored in association with the masked area are also deleted from the data management unit 424.
[0047] FIG. 13(a) shows area information 1300 such as coordinates stored in the RAM 213 in relation to an area specified on the preview screen in FIG. 10(b). 1301 is an ID that uniquely indicates each area information. 1302 is the type of area. In addition to "coordinates," the types of 1302 include "text." "Coordinates" indicates the type of mask area specified by specifying coordinates on the screen 1000. "Text" indicates the type of mask area specified by specifying a character string on the screen 1100. 1303 is the start point of the area. The horizontal and vertical coordinates are shown in the (X,Y) format with the upper left corner of the scanned image as the origin. 1304 is the end point of the area. In other words, the target area is a rectangle with the coordinates of 1303 as the upper left point and the coordinates of 1304 as the lower right point. 1305 is the RGB value of the color. 1306 is a text character string. If the type of area is coordinates, this is left blank. In FIG. 13(a), it can be seen that three mask areas (MSK1 to 3) corresponding to the area information of the preview area 1001 in FIG. 10(b) are stored.
[0048] In S606, in order to specify a mask region by specifying a character string, the display control unit 421 displays the preview screen 1100 in Fig. 11. There are two methods for specifying a character string: selecting a character string on the preview screen, and receiving a character string input from the user and searching for it. Here, only the differences from Fig. 10 will be explained.
[0049] FIG. 11(a) is an example of a preview screen 1100, in which mask areas 1020 to 1022 set in the previous process S604 are reflected. 1101 is a button for switching to a mode in which a new mask area is inserted in the preview area 1001 by selecting a character string. When the display control unit 421 detects that the character string selection button 1101 is pressed, the display control unit 421 displays the screen 1100 so that the character string on the preview image 1002 can be selected. As a method for the user to select a character string on the preview image 1002, there is a method of dragging over the characters to select each character, and a method of long pressing the character string detected by the image analysis in S507. When the display control unit 421 accepts a user operation by these methods, the display control unit 421 displays the character string selected by the user operation so that it can be identified as being in a selected state by highlighting it, and displays it in a mask character string field 1102 (described later).
[0050] A mask character string field 1102 is used to directly input a character string to be masked or to display a character string selected by a character string selection button. When "Manual" is selected on the mask setting method selection screen 700, or when "Preset" is selected but the character string to be searched is not included in the template, the mask character string field 1102 is blank. A plurality of characters can be input into the mask character string field 1102. When the display control unit 421 detects a tap on the area of each character string, it displays a keyboard (not shown) for text input on the touch panel and accepts input of any text from the user. When it detects that the user has finished inputting text and returned to the original screen, the image processing unit 423 searches whether the input character string is included in the OCR result. When the character string is included in the OCR result, the image processing unit 423 identifies the coordinate position of the character string, and the display control unit 421 displays the character string in the preview area 1001 surrounded by a selection frame. If the character string is not included in the OCR results, the user is notified by displaying the character string in red in the mask character string field 1102 (not shown) or by displaying a pop-up message (not shown) on the operation unit 220.
[0051] The color used to mask the character string input or selected on the screen 1100 reflects the color preset by the mask color designation button 1010, but the initial value of the mask color takes over the mask color used in S604. For example, when the display control unit 421 receives an instruction to change the color of the mask image from black to white on the button 1010 on the screen 1000 displayed in S604, the button 1010 on the screen 1100 displayed in S606 displays white as a default. Then, the masking color setting by designating the character string on the screen 1100 is set to white. The display control unit 421 also accepts a change in color via the button 1010. That is, the user can further change the masking color setting on the button 1010 on the screen 1100.
[0052] A check box 1120 is used to set whether or not to apply redaction to the same character string in other positions on the preview image. When the display control unit 421 determines that the check box is checked, the display control unit 421 also redacts the same character string in other positions. For example, when a user specifies a mask character string by selecting a character string on the preview image, redaction is also applied to the same character string in positions other than the position where the selection operation was performed. Furthermore, when a user directly inputs a character string into the mask character string field 1102, redaction is also applied to the character string in the area not displayed in the preview.
[0053] A button 1118 is for returning to the previous process, and in the first embodiment, transitions to the preview screen 1000. A button 1119 is for proceeding to the next process, and in the first embodiment, transitions to the execution confirmation screen 1200 in FIG.
[0054] FIG. 11B is an example of a preview screen 1100 reflecting the character string designation process. When "preset" is selected on the mask setting method selection screen 700, the display control unit 421 acquires template information corresponding to the selected preset button from the data management unit 424. When "text" is included as the preset area information, the screen 1100 is displayed with the set character string reflected in the mask character string field 1102 as shown in FIG. 11B. When "preset" is not selected on the screen 700, the display control unit 421 displays FIG. 11A, and when the user designates a character string, a screen such as that shown in FIG. 11B is displayed. Here, an example is displayed in which the character strings "YYY" and "BBB" are entered in the mask character string field 1102. 1103 to 1106 on the preview image 1002 are mask areas set by the character string search.
[0055] Fig. 13(b) shows area information 1300 stored in RAM 213 in relation to the mask area by the character string search specified on the preview screen in Fig. 11(b). Here, only the differences from Fig. 13(a) will be explained. 1306 is a text character string that was entered into the mask character string field 1102 in Fig. 11 and matched in the search of the OCR results. Fig. 13(b) shows that in addition to the three mask areas (MSK1-3) corresponding to the area information of the preview area 1001 in Fig. 10(b), character strings set by the character string search in Fig. 11(b) are stored in MSK4-7.
[0056] In S607, the image processing unit 423 synthesizes an image of the specified color for the area specified as the mask area in the processes of S604 to S606 for the scanned image, and saves the image in the HDD 214. In S608, the mask area information used in the mask synthesis in S607 is associated with the image identifier of the scanned image data and saved in the HDD 214. The saved mask area information is the information shown in Fig. 13. The above is the detailed process executed in the area designation process of S508.
[0057] When the area designation process in S508 is completed, in S509 the display control unit 421 displays the execution confirmation screen 1200 in FIG. 12. Reference numeral 1201 denotes a print setting display area that is displayed when an item including print is selected in the output method 901 in FIG. 9. In the print setting display area 1201, the setting of the number of copies and a button for "other print settings" are arranged. In addition, when the "other print settings" button is pressed, a screen (not shown) is displayed in which settings such as double-sided printing, paper size, and imposition can be changed. Reference numeral 1202 denotes a save setting confirmation display area that is displayed when an item including save is selected in the output method 901 in FIG. 9. The save setting confirmation display area 1202 displays the setting values of the save destination and file name set in FIG. 12(b) or FIG. 12(c).
[0058] A button 1206 is for displaying an edit screen for setting the external storage destination and the folder path. When the save destination edit button 1206 is detected as being pressed, the MFP 110 displays a save destination setting screen 1210 shown in FIG.
[0059] An item 1211 is for setting the external storage to which the scanned image is to be sent, and in this example, "Cloud A" is selected. When it is detected that a storage has been selected by the operation in 1211, the MFP 110 starts connecting to the external storage set in 1211. If authentication is required to access the external storage set in 1211, a screen required for authentication (not shown) is displayed. When authentication is complete, a list 1213 (described below) of folders that can be used under the external storage in 1211 is displayed, and the user can select a desired folder and change the folder path.
[0060] An area 1212 displays the currently selected folder path under the external storage set in the area 1211. In the example of FIG. 12(b), it can be seen that "Investigation Report" is set as the folder path.
[0061] Reference numeral 1213 denotes a list of folders that can be used under the external storage. The user can select a desired folder and change the folder path. When a folder is selected, the folder path is displayed in a folder path display area 1212.
[0062] A button 1214 is used to discard the changes made on the save destination setting screen 1210 and return to the execution confirmation screen 1200.
[0063] A button 1215 is used to confirm and save the changes made on the save destination setting screen 1210 and return to the execution confirmation screen 1200. When it detects that the decision button 1215 is pressed, the MFP 110 saves the settings and displays the set information in the save setting confirmation display area 1202. At this time, the storage name and folder path are concatenated into one and displayed so that the save destination path is clear to the user. In the save setting confirmation display area 1202 in FIG. 12(b), it can be seen that "Cloud A" is set as the external storage and "Investigation Report" is set as the save destination folder path.
[0064] A button 1207 is for displaying an edit screen for changing the file name settings. When the file name edit button 1207 is pressed, the MFP 110 displays a name input screen 1220 shown in FIG.
[0065] 1221 is an area that displays the set file name. 1222 to 1223 are areas that display buttons used to input the file name. 1222 is an area that displays buttons for inputting fixed text. Any text or a pre-prepared delimiter (such as a hyphen, underscore, or blank) can be input into the file name. When "Text" is selected, a keyboard (not shown) for inputting text is displayed on the touch panel, and the user can input any text. 1223 is an area that displays buttons for inputting the date and time information at the time of scanning into the file name. By inputting the date and time information into the file name using the button in this date and time area 1223, it is possible to easily input the date and time information into the file name. 1224 is a name rule display area that displays which button in the areas 1222 to 1223 was used for input. When input is made from the button in the fixed value area 1222, the corresponding text is displayed as is in the name rule display area 1224, but when input is made from any other area, it is displayed in the format of [variable name]. [Variable name] is filled with information related to the name of the button in each area. In FIG. 12C, it can be seen from name rule display area 1224 that the "year", "month", and "day" buttons in date and time area 1223 have been used as information other than fixed values.
[0066] 1225 is a button for deleting a character string entered in a file name. The delete button 1225 deletes from the last character string of a file name, but if the deletion target is not a fixed value, the character string corresponding to the [variable name] in the name rule display area is deleted in one deletion. That is, when it is detected that the user has pressed the delete button 1225 on the screen of FIG. 10(c), the character string "05" is deleted in one go. At that time, the [day] corresponding to the deleted character string is also deleted from the name rule display area 1224. 1226 is a button for canceling the editing on the name input screen 1220 and returning to the execution confirmation screen 1200. 1227 is a button for confirming and saving the editing on the name input screen 1220 and returning to the execution confirmation screen 1200. The confirmed file name is displayed in the save setting confirmation display area 1202. The setting contents of the name rule display area 1224 are stored as the setting values of the preset button when the preset button is registered as described later. Therefore, values input using variable values other than fixed values can change depending on the date and time of the actual scan and information obtained from the scanned image.
[0067] Reference numeral 1203 denotes an option for registering the current various areas and various setting information as a preset. Reference numeral 1204 denotes a button for returning to the preview screen 1100 of FIG. 10 or FIG. 11. Reference numeral 1205 denotes a button for executing printing, saving, and registering a preset. When it is detected that the execute button 1205 is pressed, the MFP 110 determines in S510 whether the preset registration option 1203 is set. When the preset registration option 1203 is ON, the determination in S510 becomes "Yes," and in S511 the MFP 110 displays a preset name setting screen (not shown). The user can register an arbitrary preset name from the preset name setting screen. When it is detected that a name has been input, the MFP 110 stores the currently set various areas, setting information, and preset name in the HDD 214 by linking them to a button ID in S512.
[0068] FIG. 14 shows an example of preset information 1400 to be saved. 1401 is a preset button ID. 1402 is a preset name input by the user in S511. 1403 and 1404 are output methods and scan settings set on the scan screen 900 in FIG. 9. 1405 is area information and save settings set on the preview screen 1000 in FIG. 10 and the preview screen 1100 in FIG. 11. As can be seen from the area information 1405, coordinate information and character strings of the mask area are stored. When the type of area information is "text", the position of the character string may change depending on the scanned image, so the coordinate information does not necessarily need to be saved as preset information, but it may be saved. 1406 is a save setting set on the execution confirmation screen 1200 in FIG. 12. The save setting 1406 stores a name rule and a folder path rule for the save destination. The print setting 1407 is a print setting set on the execution confirmation screen 1200 in FIG. 12. As described above, by registering the various areas and settings you have set as presets, you can easily reuse the same settings next time.
[0069] When the saving in S512 is completed, the print instruction unit 425 judges in S513 whether or not the print setting is set. If the print setting is set, S513 becomes "Yes", and in S514, the print instruction unit 425 instructs the print execution unit 413 to execute a print process of the image combined with the mask, and the print execution unit 413 executes the print. Next, in S515, the external storage access unit 427 judges whether or not the save setting is set. If the save setting is set, S515 becomes "Yes", and in S516, the external storage access unit 427 executes a save process of the image combined with the mask. At this time, the data conversion unit 426 converts the image combined with the mask into a file format specified on the scan screen 900 in FIG. 9. Then, the external storage access unit 427 transmits the image to the save destination specified on the preview screen 1000 in FIG. 10 with the specified file name. Then, the transmitted file is saved in the external storage 120.
[0070] When the save execution in S516, i.e., the transmission execution, is completed, all the processing of the masking application is completed. In other words, a screen transition is executed, such as returning to the main screen of the MFP 110, or returning to the mask setting method selection screen in FIG. 7 for the next scan.
[0071] As described above, by allowing a means for specifying a mask area on an image processing device to be not only a method using coordinates but also a method using character string specification, convenience is improved.
[0072] <Second embodiment> In this embodiment, a method for improving convenience by automatically changing the display order of the mask area specification screen such as coordinate specification and character string specification will be described with reference to the flowchart in Fig. 15. Descriptions of processes similar to those in the first embodiment will be omitted.
[0073] In S1501, the image processing unit 423 determines whether the scanned image is a standard document.
[0074] Scanned documents are broadly divided into standard documents that follow a certain format and non-standard documents, but in the case of standard documents, the area to be erased is often determined to be a specific coordinate position. On the other hand, in the case of non-standard documents, the position of the area to be erased is not determined, and it is necessary to search for where in the document the characters to be erased are located. Therefore, it is more convenient to change the display order of the mask area specification screen depending on whether the document is standard, so it is judged whether the scanned image is a standard document.
[0075] In this embodiment, it is determined whether or not the scanned image is a fixed form document based on the analysis result of the scanned image. Specifically, the image processing unit 423 stores learning data in advance for determining whether the scanned document is a fixed form document or an unfixed form document. The learning data is, for example, information indicating the layout of a character string area included in the scanned document. Alternatively, it is information on character strings included in the scanned document. The image processing unit 423 performs image analysis processing and character recognition processing on the acquired scanned image, detects character string areas included in the scanned image, and extracts character strings. It is determined whether or not the scanned image is a fixed form document by comparing the position of the detected character string area and character string information with information in the learning data.
[0076] Alternatively, whether or not the scanned image is a fixed-form document may be determined based on whether "preset" or "manual" is selected on screen 700. When the user selects "preset", the scanned image is considered to be a scanned image of a document of the type displayed on preset button 810. Therefore, when image processing unit 423 determines that "preset" has been selected on screen 700, it determines that the scanned image is a fixed-form document, and when it determines that "manual" has been selected, it determines that the scanned image is an unfixed-form document.
[0077] If it is determined in S1501 that the document is a standard form document, the process proceeds to S604 to specify a mask area by coordinate specification as shown in Fig. 10. For standard form documents where coordinate specification is sufficient, it is cumbersome to display the character string search screen first, so in the case of standard form documents, the coordinate specification setting screen is displayed first. The character string specification screen in the subsequent step S606 may be used or may be skipped.
[0078] If it is determined in S1501 that the document is not a fixed form document, the process proceeds to S1502 to specify a mask area by specifying a character string as shown in Fig. 11. In the case of an unfixed form document, it is bothersome that the coordinate specification screen is displayed first, so in the case of an unfixed form document, the character string specification setting screen is displayed first. The coordinate specification screen in the subsequent step of S1503 may be used to specify a mask area. Alternatively, a button for skipping the subsequent step screen may be configured on the area specification setting screen displayed first, and when pressing of the button is detected, the display control unit 421 may proceed to the next flow without displaying the subsequent step area specification screen.
[0079] In S1502, the display control unit 421 displays the preview screen 1100 of Fig. 11. When it is detected that the back button 1118 is pressed, the display control unit 421 displays the scan screen 900 of Fig. 9. When it is detected that the next button 1119 is pressed, the display control unit 421 displays the preview screen 1000 of Fig. 10.
[0080] In S1503, the display control unit 421 displays the preview screen 1000 of Fig. 10. When it is detected that the back button 1018 is pressed, the display control unit 421 displays the preview screen 1100 of Fig. 11. When it is detected that the next button 1019 is pressed, the display control unit 421 transitions to the execution confirmation screen 1200 of Fig. 12.
[0081] As described above, by switching the display order of the mask area designation screen depending on whether the scanned document is a standard document or not, convenience is further improved.
[0082] <Application Examples> When mask areas are specified by two methods, that is, by specifying a mask area by coordinate designation and by specifying a character string, as in the present invention, there is a possibility that the areas specified by each method may overlap. A case in which areas overlap will be explained using FIG. 16(a). An area including the characters "at XXX Market" is specified by coordinate designation on screen 1000 displayed in S604. Then, the character string "XXX Market" is specified on screen 1100 displayed in S606. The screen on which these two areas are specified is screen 1100 shown in FIG. 16(a).
[0083] In the first embodiment, since the user first specifies the mask area by coordinate specification, it is conceivable that the area that should be specified by character string specification may be specified by coordinate specification first. Also, as shown in the example of FIG. 16(a), the user may want to mask only "XXX Market" by specifying coordinates, but may not be able to operate properly and may end up specifying an area larger than the area that was originally intended to be masked. In particular, when accepting operations from the user on the operation unit 220 of the image processing device, it is difficult to operate due to the small surface area of the panel of the operation unit 220, and it is conceivable that the area specified may extend beyond the area that was originally intended to be masked.
[0084] In this application example, when a mask area specified by coordinate specification overlaps with a mask area specified by character string specification, the mask area specified by coordinate specification is automatically deleted, and the mask area specified by character string specification is prioritized. Specifically, when it is detected in S606 that a character string has been selected or input, the image processing unit 423 specifies the coordinates of the area to mask the character string. Then, the display control unit 421 displays the area in the preview area 1001 surrounded by a selection frame (1601). Furthermore, the display control unit 421 determines whether the area overlaps with the area specified in S604. Specifically, the coordinates of the area specified in S604 stored in the data management unit 424 are obtained, and compared with the area of the character string specified in S606. If it is determined that they overlap, the display control unit 421 deletes the mask area specified by coordinate specification (1602) displayed in the preview area 1001. The display control unit 421 displays only the mask area 1601 masked without masking the mask area 1602.
[0085] The image processing unit 423 performs masking processing on the area specified on the screen 1100 by the above processing to create a composite image. That is, if the area specified by coordinate specification and the area specified by character string specification overlap, the area specified by coordinate specification is not masked, but the area specified by character string specification is masked to generate a masked composite image. By the above processing, it is possible to neatly mask the area intended by the user.
[0086] In addition, a configuration may be made in which the user can select whether or not to prioritize the area specified by character string specification. The display control unit 421 displays a check box 1600 for each character string in the mask character string column displayed in 1102, for setting whether or not to prioritize the character string specification. If 1600 is checked, the display control unit 421 prioritizes the area specified by character string specification and deletes the area specified by coordinate specification. If 1600 is unchecked, the display control unit 421 leaves the area specified by coordinate specification without deleting it. The image processing unit 423 performs a masking process on the area specified on the screen 1100 by the above process, and creates a composite image.
[0087] Furthermore, as shown in FIG. 16(b), there may be a case where a part of the area specified by the coordinate specification and a part of the area specified by the character string specification overlap. In this case, the area 1603 including the character string "XXX City" is specified by the coordinate specification in S604. Furthermore, the character string "XXX Market" is specified in S606. At this time, it is considered that the user could not correctly specify the area that he / she originally wanted to mask when specifying the area by the coordinate specification. According to this application example, even in such a case, it is possible to appropriately mask the area intended by the user. Specifically, the display control unit 421 prioritizes the mask area by the character string specification, and displays only the mask area 1601 without masking the mask area 1603. Then, the image processing unit 423 generates a mask composite image in which only the mask area 1601 is masked without masking the mask area 1603. By the above processing, a beautiful mask composite image can be generated.
[0088] <Other embodiments> The present invention can also be realized by supplying a program that realizes one or more functions of each of the above-mentioned embodiments to a system or device via a network or a storage medium, and having one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC or FPGA) that realizes one or more functions. [Explanation of symbols]
[0089] 110 MFP 421 Display control unit 423 Image Processing Unit
Claims
1. An image processing device including a scanner, a display control means for displaying a scanned image acquired by the scanner; a first receiving means for receiving a first instruction for designating a first area on the scanned image; a second receiving means for receiving a second instruction specifying a character string; a generating means for generating a composite image by masking the first area specified by the first instruction and a second area corresponding to the character string specified by the second instruction in the scanned image; An image processing device comprising:
2. 2 . The image processing apparatus according to claim 1 , wherein the first instruction is issued by a user specifying the range of the first area on the scanned image.
3. 2 . The image processing apparatus according to claim 1 , wherein the second instruction is given by a user selecting the character string on the scanned image.
4. 2. The image processing apparatus according to claim 1, wherein the second instruction is given by a user inputting the character string.
5. a first setting means for setting a type of image to be used for masking the first region; a second setting means for setting a type of image to be used for masking the second region; The image processing apparatus according to claim 1 , further comprising:
6. a third receiving means for receiving a selection of an image type to be set by the first setting means; and 6. The image processing apparatus according to claim 5, wherein the second setting means sets the same type as the type selected by the third reception means as the type of image to be used for masking the second area.
7. 7. The image processing apparatus according to claim 6, further comprising a fourth accepting unit for accepting a change in the setting of the type of image set by said second setting unit.
8. the display control means displays a first screen including the scanned image for receiving the first instruction; The display control means further displays a second screen for receiving the second instruction.
2. The image processing device according to claim 1,
9. The scanning method further includes a determination unit for determining whether the scanned image is a standard document or not. The display control means If the scanned image is determined to be a standard document, displaying the first screen in front of the second screen; If the scanned image is determined not to be a standard document, the second screen is displayed before the first screen.
9. The image processing device according to claim 8,
10. 2. The image processing device according to claim 1, wherein the generating means generates a composite image in which, when the first region and the second region at least partially overlap, the first region is not masked and the second region is masked.
11. The image processing device further includes a printer. a printing means for printing the generated composite image by the printer; The image processing apparatus according to claim 1 , further comprising:
12. The image processing device is capable of communicating with another device, A transmitting means for transmitting the generated composite image to the other device; The image processing apparatus according to claim 1 , further comprising:
13. A method for controlling an image processing device including a scanner, comprising: a display control step of displaying a scanned image acquired by the scanner; a first receiving step of receiving a first instruction to designate a first area on the scanned image; a second receiving step of receiving a second instruction specifying a character string; a generating step of generating a composite image by masking the first area specified by the first instruction and a second area corresponding to the character string specified by the second instruction in the scanned image; The control method includes:
14. On the computer, A display control procedure for displaying a scanned image acquired by a scanner included in the image processing device; a first receiving step of receiving a first instruction to designate a first area on the scanned image; a second receiving procedure for receiving a second instruction specifying a character string; a generating step of generating a composite image by masking the first area specified by the first instruction and a second area corresponding to the character string specified by the second instruction in the scanned image; A program for executing the above.
Citation Information
Patent Citations
Image processing device, method, and program
JP2022034030A
Cited By
Print setting system, print setting method, and program
JP2026068295A
Print setting system, print setting method, and program
JP7677687B1
