Image processing device and program
Patent Information
- Application Number
- JP2020141819
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2040-08-25
AI Technical Summary
【0007】 本発明によれば、図面や地図等の画像データを自動的に高解像度に変換することができる、という効果を奏する。
Smart Images

Figure 0007571420000003 
Figure 0007571420000004 
Figure 0007571420000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device and a program. [Background technology]
[0002] The scan application of an image processing device such as a color MFP (Multi-Function Peripheral) is equipped with a function for creating a PDF file, etc. Before scanning a document with the scan application, the user sets the resolution for scanning the document in the image processing device, and the document is scanned with the set resolution.
[0003] In addition, an automatic resolution determination device has been developed that automatically determines the resolution of image data according to the contents of the image data after scanning an original with a scan application, and delivers image data converted to the determined resolution. Note that the image data with the converted resolution does not necessarily need to be delivered to an external device, and may be saved in a preset folder or the like. Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the above-mentioned automatic resolution determination device, image data of a drawing including thin lines that are desired to be faithfully reproduced from the original, image data of a busy map, etc. may not be converted into high-resolution image data. For example, when the character size included in the image data of a drawing is readable at low resolution, image data in which it is desired to reduce the jaggies of diagonal thin lines caused by reading the drawing at low resolution, or image data in which it is desired to deliver at high resolution to improve the reproducibility of lines of different thicknesses may not be delivered at high resolution.
[0005] The present invention has been made in view of the above, and an object of the present invention is to provide an image processing device and a program capable of automatically converting image data of drawings, maps, etc. into high resolution. [Means for solving the problem]
[0006] In order to solve the above-mentioned problems and achieve the object, the present invention comprises a reading unit that reads a document, a distribution unit that distributes image data of the document read by the reading unit, a determination unit that determines a resolution of the image data based on a specified area of the document, a discrimination unit that discriminates the document type, which is the type of the document read by the reading unit, and a switching unit that switches the specified area depending on the document type discriminated by the discrimination unit. The discrimination unit discriminates the document type based on a feature amount that is a ratio of each density of a thin line of a preset pixel width. Effect of the Invention
[0007] According to the present invention, it is possible to automatically convert image data such as drawings and maps into high resolution images. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of the overall configuration of a copying machine to which an image processing apparatus according to the present embodiment is applied. [Diagram 2] FIG. 2 is a diagram for explaining an example of a control system built into the copying machine according to the present embodiment. [Diagram 3] FIG. 3 is a diagram showing an example of a hardware configuration of an MFP to which a copying machine according to the present embodiment is applied. [Figure 4] FIG. 4 is a block diagram showing an example of a functional configuration of the MFP according to the present embodiment. [Diagram 5] FIG. 5 is a flowchart showing an example of the flow of a process for determining the resolution of image data in the MFP according to the present embodiment. [Figure 6] FIG. 6 is a flowchart showing an example of the flow of document type discrimination processing in the MFP according to the present embodiment. [Figure 7] FIG. 7 is a diagram showing an example of a document read by the MFP according to the present embodiment. [Figure 8] FIG. 8 is a diagram showing an example of a result of calculation of the feature amount of a document by the MFP according to the present embodiment. [Figure 9] FIG. 9 is a diagram for explaining another example of the process of determining the document type of the original in the MFP according to the present embodiment. [Figure 10] FIG. 10 is a diagram for explaining an example of detection processing for detecting intervals between thin lines in fine characters included in a document in the MFP according to the present embodiment. [Figure 11] FIG. 11 is a diagram for explaining an example of a process for determining the resolution of image data in the MFP according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of an image processing device and a program will be described in detail with reference to the accompanying drawings.
[0010] Fig. 1 is a diagram showing an example of the overall configuration of a copying machine to which an image processing device according to this embodiment is applied. Fig. 2 is a diagram for explaining an example of a control system built into the copying machine according to this embodiment. First, an outline of the mechanism of a copying machine main body 101 according to this embodiment will be explained using Figs. 1 and 2.
[0011] 1 and 2, five photoconductor (OPC) drums 102c to 102d, each having a diameter of 30 mm, are arranged in a line in the approximate center of a copying machine main body 101 as image carriers. Around the drums are a charger for charging the surfaces of the photoconductor drums 102c to 102d, a laser optical system for irradiating the uniformly charged surfaces of the photoconductor drums 102c to 102d with semiconductor laser light to form electrostatic latent images, a transparent toner developing device 105a, a black developing device 105b, a yellow developing device 105c, and a yellow developing device 105d for supplying toner of each color to the electrostatic latent images to develop them and obtain toner images for each color. Arranged in sequence are three color developing devices 105c, 105d, and 105e for yellow, magenta, and cyan, an intermediate transfer belt 109 which sequentially transfers the toner images of each color formed on the photosensitive drums 102c to 102d, bias rollers 110a to 110e which apply a transfer voltage to this intermediate transfer belt 109, a cleaning device 111d which removes toner remaining on the surfaces of the photosensitive drums 102c to 102d after transfer, and a charge removal unit which removes charge remaining on the surfaces of the photosensitive drums 102c to 102d after transfer.
[0012] Further, a transfer bias roller for applying a voltage for transferring the transferred toner image onto a transfer material and a belt cleaning device 114 for cleaning the toner image remaining on the transfer material after transfer are disposed on the intermediate transfer belt 109. Further, a fixing device 116 for fixing the toner image by applying heat and pressure is disposed at the exit end of a pressure roller 115 which conveys the transfer material peeled off from the intermediate transfer belt 109, and a paper discharge tray 117 is attached to the exit portion of this fixing device 116.
[0013] Above the laser optical system 104, there are arranged a contact glass 118 as a document placement platform located on the top of the copying machine body 101, and an exposure lamp 119 for irradiating a document placed on the contact glass 118 with scanning light. The light reflected from the document is guided to an imaging lens by a reflecting mirror and incident on a CCD (Charge Coupled Device) image sensor array, which is a photoelectric conversion element. The image signal converted into an electric signal by the CCD image sensor array passes through an image processing unit (not shown) and controls the laser oscillation of a semiconductor laser in the laser optical system 104.
[0014] Next, an example of a control system built into the copying machine according to this embodiment will be described with reference to FIG.
[0015] 2, the control system of the copying machine according to the present embodiment includes a controller 910 as a main control unit. The controller 910 is connected to a laser optical system driving unit 134, a power supply circuit 135, optical sensors 136a to 136c installed in each of the YMCK image forming units, a toner concentration sensor 137 installed in each of the YMCK developing units, an environment sensor 138, a potential sensor 139, a toner supply circuit 140, an intermediate transfer belt driving unit 141, an operation panel 940, a driving control unit 163, a power supply / bias control unit 161, a variety of sensor control unit 160, a communication control unit 162, a storage control unit 182, and a storage device 181 via an interface I / O 133. The communication control unit 162 is capable of communicating with the Internet or an intranet 512 via a communication interface 518. The laser optical system driving unit 134 is a device that adjusts the laser output of the laser optical system, and the power supply circuit 135 is a circuit that applies a predetermined charging discharge voltage to the charging charger 113, applies a predetermined developing bias voltage to the developing devices 105a to 105e, and applies a predetermined transfer voltage to the bias rollers 110a to 110e.
[0016] The optical sensors 136 shown in the figure are optical sensor 136a, which faces the photoconductors 102c-102d and detects the amount of toner attached to the photoconductors 102c-102d, optical sensor 136b, which faces the intermediate transfer belt 109 and detects the amount of toner attached to the intermediate transfer belt 109, and optical sensor 136c, which faces the conveyor belt and detects the amount of toner attached to the conveyor belt. In practice, it is sufficient to use any one of the optical sensors 136a-136c for detection.
[0017] The optical sensors 136a to 136c consist of a light-emitting element such as a light-emitting diode and a light-receiving element such as a photosensor that are arranged in close proximity to the post-transfer area of the photosensitive drums 102c to 102d, and are configured to detect the amount of toner adhesion in the toner image of the detection pattern latent image formed on the photosensitive drums 102c to 102d and the amount of toner adhesion in the background portion for each color, and also detect the so-called residual potential after the photosensitive drum is neutralized.
[0018] The detection output signals from the optical sensors 136a to 136c are applied to an optical sensor control unit (not shown). The optical sensor control unit obtains the ratio between the amount of toner adhesion in the detection pattern toner image and the amount of toner adhesion in the background, compares the ratio value with a reference value to detect fluctuations in image density, and corrects the control values of the toner density sensors 137 for each of the YMCK colors.
[0019] Furthermore, toner concentration sensor 137 detects the toner concentration based on the change in magnetic permeability of the developer present in developing devices 105a to 105e. Toner concentration sensor 137 has a function of comparing the detected toner concentration value with a reference value, and when the toner concentration falls below a certain value and a toner shortage occurs, applying a toner supply signal of a magnitude corresponding to the shortage to toner supply circuit 140.
[0020] Further, the potential sensor 139 is a sensor that detects the surface potential of each of the photoconductors 102c to 102d, which are image carriers, and the intermediate transfer belt driving unit 141 is a device that controls the driving of the intermediate transfer belt 109.
[0021] The black developing device 105b contains a developer containing black toner and carrier. This developer is stirred by the rotation of a developer stirring member, and the amount of developer pumped up onto the developing sleeve by the developer stirring member is adjusted. This supplied developer is magnetically supported on the developing sleeve and rotates as a magnetic brush in the direction of rotation of the developing sleeve.
[0022] Fig. 3 is a diagram showing an example of the hardware configuration of an MFP to which the copying machine according to the present embodiment is applied. Next, an example of the hardware configuration of an MFP 9 to which the copying machine according to the present embodiment is applied will be described with reference to Fig. 3.
[0023] As shown in FIG. 3, an MFP (Multi-Function Peripheral / Product / Printer) 9 according to this embodiment includes a controller 910, a short-range communication circuit 920, an engine control unit 930, an operation panel 940, and a network I / F 950.
[0024] Of these, the controller 910 has a CPU (Central Processing Unit) 901 which is the main part of the computer, a system memory (MEM-P) 902, a north bridge (NB) 903, a south bridge (SB) 904, an ASIC (Application Specific Integrated Circuit) 906, a local memory (MEM-C) 907 which is a storage unit, an HDD (Hard Disk Drive) controller 908, and an HD 909 which is also a storage unit, and is configured such that the NB 903 and the ASIC 906 are connected by an AGP (Accelerated Graphics Port) bus 921.
[0025] Of these, the CPU 901 is a control unit that performs overall control of the MFP 9. The NB 903 is a bridge for connecting the CPU 901 with the MEM-P 902, the SB 904, and the AGP bus 921, and includes a memory controller that controls reading and writing to the MEM-P 902, a PCI (Peripheral Component Interconnect) master, and an AGP target.
[0026] The MEM-P 902 is composed of a ROM 902a which is a memory for storing programs and data for implementing the various functions of the controller 910, and a RAM 902b which is used for developing the programs and data, and as a drawing memory during memory printing, etc. The programs stored in the RAM 902b may be provided by being recorded in a computer-readable recording medium such as a CD-ROM, CD-R, or DVD in the form of an installable or executable file.
[0027] The SB904 is a bridge for connecting the NB903 to a PCI device and a peripheral device. The ASIC906 is an IC (Integrated Circuit) for image processing purposes having hardware elements for image processing, and plays the role of a bridge connecting the AGP bus 921, the PCI bus 922, the HDD 908, and the MEM-C 907. The ASIC906 includes a PCI target and an AGP master, an arbiter (ARB) that is the core of the ASIC906, a memory controller that controls the MEM-C 907, a plurality of DMACs (Direct Memory Access Controllers) that rotate image data using hardware logic, and a PCI unit that transfers data between the scanner unit 931 (an example of a reading unit that reads an original) and the printer unit 932 via the PCI bus 922. The ASIC906 may be connected to a Universal Serial Bus (USB) interface or an Institute of Electrical and Electronics Engineers 1394 (IEEE1394) interface.
[0028] The MEM-C907 is a local memory used as an image buffer for copying and a code buffer. The HD909 is a storage for storing image data, font data used during printing, and forms. The HD909 controls the reading and writing of data from and to the HD909 under the control of the CPU901. The AGP bus 921 is a bus interface for a graphics accelerator card proposed to speed up graphic processing, and by directly accessing the MEM-P902 at high throughput, the graphics accelerator card can be made faster.
[0029] The short-distance communication circuit 920 includes a short-distance communication circuit 920a. The short-distance communication circuit 920 is a communication circuit such as NFC or Bluetooth (registered trademark). The engine control unit 930 includes a scanner unit 931 and a printer unit 932. The operation panel 940 includes a panel display unit 940a such as a touch panel that displays current setting values and a selection screen and receives input from an operator, and an operation panel 940b including a numeric keypad that receives setting values for image formation conditions such as density setting conditions and a start key that receives a copy start instruction. The controller 910 controls the entire MFP 9, and controls, for example, drawing, communication, and input from the operation panel 940. The scanner unit 931 or the printer unit 932 includes an image processing unit such as error diffusion and gamma conversion.
[0030] The MFP 9 can sequentially switch and select among the document box function, copy function, printer function, and facsimile function using an application switching key on the operation panel 940. When the document box function is selected, the MFP 9 enters document box mode, when the copy function is selected, the MFP 9 enters copy mode, when the printer function is selected, the MFP 9 enters printer mode, and when the facsimile mode is selected, the MFP 9 enters facsimile mode.
[0031] The network I / F 950 includes a communication control unit 162 and a communication interface 518, and is an interface for performing data communication using the communication network 100 (the Internet or an intranet 512). The short-range communication circuit 920 and the network I / F 950 are electrically connected to the ASIC 906 via a PCI bus 922.
[0032] Fig. 4 is a block diagram showing an example of the functional configuration of the MFP according to the present embodiment. Next, an example of the functional configuration of the MFP 9 according to the present embodiment will be described with reference to Fig. 4.
[0033] In the MFP 9 according to the present embodiment, the CPU 901 implements a distribution unit 201, a decision unit 202, a discrimination unit 203, and a switching unit 204 by executing a program stored in a ROM 902a using a RAM 902b as a working area.
[0034] The distribution unit 201 is an example of a distribution unit that distributes image data of a document read by the scanner unit 931. In this embodiment, the distribution unit 201 distributes image data to an external device via the network I / F 950, and stores the image data in a storage unit such as the HD 909 via the HDD controller 908.
[0035] The determination unit 202 is an example of a determination unit (conversion unit) that determines (converts) the resolution of image data based on a predetermined area of a document read by the scanner unit 931. Here, the predetermined area is a preset area in the document, and is an area in the document that is considered important when determining the resolution of the image data. The predetermined area is switched by a switching unit 204, which will be described later.
[0036] In this embodiment, the determination unit 202 determines the resolution of the image data by a first determination method or a second determination method. Here, the first determination method is a method of determining the resolution of the image data based on a predetermined area in a document. Also, the second determination method is a method of determining the resolution of the image data based on the type of document (hereinafter referred to as document type).
[0037] In this embodiment, the second determination method specifies (designates) the readability (rank) corresponding to the importance of the characters in the document included in the manuscript, and determines the default resolution corresponding to the specified rank as the resolution of the image data. Here, the importance of the characters in the document included in the manuscript is an example of the manuscript type. In addition, in this embodiment, the second determination method can also adjust the determined resolution of the image data based on the size, number, and density of the characters in the document included in the manuscript. For example, when the characters in the document included in the manuscript are very small and difficult to read at the default resolution, the second determination method adjusts the determined resolution based on the size, number, and density of the characters in the document included in the manuscript.
[0038] The discrimination unit 203 is an example of a discrimination unit that discriminates the document type of the document read by the scanner unit 931. Here, the document type is the type of document as described above, and includes, for example, at least one of the types of line thickness included in the document, the spacing between the lines, the spacing between thin lines in characters included in the document, and the importance of the characters. The discrimination unit 203 can also adjust the importance of characters in a document included in the document in response to an operation by the user of the MFP 9 input via the operation panel 940.
[0039] The switching unit 204 is an example of a switching unit that switches a predetermined area according to the document type discriminated by the discrimination unit 203. This allows the image data of a drawing, map, etc. to be automatically converted to a high resolution even if the character size included in the image data of a drawing, map, etc. is readable at a low resolution. In this embodiment, the switching unit 204 switches a predetermined area according to at least one of the types of line thickness and the spacing between the lines included in the document. Alternatively, in this embodiment, the switching unit 204 switches a predetermined area according to the spacing between thin lines in characters included in the document. Furthermore, the switching unit 204 switches the method of determining the resolution of the image data to a first determination method or a second determination method based on the result of the discrimination of the document type by the discrimination unit 203.
[0040] Fig. 5 is a flow chart showing an example of the flow of the process of determining the resolution of image data in the MFP according to the present embodiment. Next, an example of the flow of the process of determining the resolution of image data in the MFP according to the present embodiment will be described with reference to Fig. 5.
[0041] First, the scanner unit 931 reads an original document and generates image data of the original document (step S501). Next, the discrimination unit 203 discriminates the document type (original type) of the original document read by the scanner unit 931 (step S502).
[0042] In this embodiment, the discrimination unit 203 discriminates the document read by the scanner unit 931 into four document types, document types A to D. Here, document type A is a document of a drawing or map. Document type B is a general office document. Document type C is a document that includes fine characters in part of the document. Document type D is a photograph document.
[0043] Next, if the document type determined by the determination unit 203 is document type A (step S503: Yes), the switching unit 205 switches to the second determination method. Then, the determination unit 202 determines the resolution of the image data generated by the scanner unit 931 to a resolution at which drawings or maps are readable (high resolution) according to the document type A, which is the document type determined by the determination unit 203 (step S504).
[0044] Furthermore, if the document type determined by the determination unit 203 is not document type A (step S503: No) but is document type D (step S505: Yes), the switching unit 205 switches to the second determination method. Then, the determination unit 202 determines the resolution of the image data generated by the scanner unit 931 to a resolution at which a photograph is readable (low resolution) according to the document type D, which is the document type determined by the determination unit 203 (step S506).
[0045] Furthermore, if the document type determined by the determination unit 203 is not document type D (step S505: No) but is document type B (step S507: Yes), the switching unit 205 switches to the second determination method. Then, the determination unit 202 determines, by machine learning or the like, the resolution of the image data generated by the scanner unit 931 according to the document type B, which is the document type determined by the determination unit 203, to a resolution at which fine characters in the document are legible (step S508).
[0046] Furthermore, if the document type determined by the determination unit 203 is not document type B (step S507: No) but is document type C, the switching unit 205 switches to the first determination method. Then, the switching unit 205 identifies an area including fine characters in the document read by the scanner unit 931 (i.e., an area in the document that is important when determining the resolution of the image data), and switches the predetermined area to the identified area (step S509). Then, the determination unit 202 determines, by machine learning or the like, the resolution of the image data generated by the scanner unit 931 to a resolution at which fine characters in the predetermined area are readable (step S508).
[0047] Here, machine learning is a technology for making a computer acquire human-like learning capabilities, in which the computer autonomously generates algorithms required for judgments such as data identification from learning data that is previously loaded, and applies these to new data to make predictions. The learning method for machine learning may be any of supervised learning, unsupervised learning, semi-supervised learning, reinforcement learning, and deep learning, or may be a combination of these learning methods; any learning method for machine learning is acceptable.
[0048] 6 is a flowchart showing an example of the flow of document type discrimination processing in the MFP according to the present embodiment. Next, an example of the flow of document type discrimination processing by the MFP 9 according to the present embodiment will be described with reference to FIG.
[0049] First, the discrimination unit 203 calculates the feature amount of the image data generated by the scanner unit 931 (step S601). In this embodiment, the discrimination unit 203 calculates the ratio (density histogram) of the density of the thin line of the width (hereinafter referred to as pixel width) of a preset number of pixels (for example, 1 pixel, 3 pixels, 7 pixels, non-edge pixels) as the feature amount, as shown in the following Table 1. Here, non-edge pixels are pixels with a pixel count other than 1, 3, and 6 pixels. [Table 1]
[0050] Next, the discrimination unit 203 discriminates the document type (original type) of the original read by the scanner unit 931 based on the calculation result of the feature amount (step S602).
[0051] Fig. 7 is a diagram showing an example of an original document read by the MFP according to the present embodiment. Fig. 8 is a diagram showing an example of a calculation result of the feature amount of the original document by the MFP according to the present embodiment. In Fig. 8, the vertical axis represents the feature amount of the original document, and the horizontal axis represents the read value of the original document. Next, an example of an original document type discrimination process by the MFP 9 according to the present embodiment will be described with reference to Figs. 7 and 8.
[0052] For example, when the document of the drawing shown in Fig. 7 is read by the scanner unit 931, the discrimination unit 203 calculates the ratio (frequency) of each density of thin lines of a preset pixel width as a feature amount, as shown in Fig. 8. Then, the discrimination unit 203 discriminates the document type (document type) of the document based on the feature amount of each density of thin lines of a preset pixel width.
[0053] In this embodiment, the discrimination unit 203 discriminates the importance of characters contained in a document as a document type based on the feature amount for each density of a thin line of a preset pixel width. For example, as shown in Table 2 below, when the size of characters in a document is large and the characters exist in a block, the discrimination unit 203 discriminates the document type as a document type with high importance of characters (for example, a general text document). Also, as shown in Table 2 below, when the size of characters in a document is large and the characters do not exist in a block, but the ratio of characters in the document is large or medium, the discrimination unit 203 discriminates the document type as a document type with high importance of characters (for example, characters on a form). Also, as shown in Table 2 below, when the size of characters in a document is large and the characters do not exist in a block, but the ratio of characters in the document is small, the discrimination unit 203 discriminates the document type as a document type with high importance of characters (for example, title characters on a photo).
[0054] Also, for example, as shown in Table 2 below, when the size of characters in a document is small and the characters exist in a block, the discrimination unit 203 discriminates the document type as one in which the importance of characters is high (for example, small characters in a catalog or specification sheet). Also, as shown in Table 2 below, when the size of characters in a document is small and the characters do not exist in a block, but the proportion of characters in the document is large, the discrimination unit 203 discriminates the document type as one in which the importance of characters is high (for example, characters on a map). Also, as shown in Table 2 below, when the size of characters in a document is small and the characters do not exist in a block, but the proportion of characters in the document is medium, the discrimination unit 203 discriminates the document type as one in which the importance of characters is medium (for example, characters in a catalog picture). Furthermore, as shown in Table 2 below, when the size of characters in a document is small and the characters do not exist in a block, but the proportion of characters in the document is small, the discrimination unit 203 discriminates the document type as one in which the importance of characters is low (for example, characters in a catalog picture or very slight annotations). [Table 2]
[0055] In this embodiment, the discrimination unit 203 can also allow the user to adjust the criteria for switching the importance of characters via the operation panel 940. This makes it possible to make it easier for the importance of characters in a document included in a manuscript to be high or to be low. Also, in this embodiment, the discrimination unit 203 classifies document types into four document types when the size of characters in a manuscript is small and when the size of characters is large, but this is not limited to this, and it is also possible to classify into five or more document types.
[0056] Fig. 9 is a diagram for explaining another example of the process of determining the document type of the original in the MFP according to the present embodiment. Next, with reference to Fig. 9, another example of the process of determining the document type of the original in the MFP 9 according to the present embodiment will be explained.
[0057] For example, as shown in FIG. 9, when the document to be discriminated is a drawing document in which the size of the characters in the document included in the document is small and the number of characters is small, that is, when it is a drawing document including only a very small amount of annotation, the discrimination unit 203 discriminates it as a document type with a low importance of characters. Then, when the determination unit 202 determines the resolution of the image data of the document by the second determination method, the determination unit 202 specifies the readability rank corresponding to the discriminated importance, and sets the default resolution (low resolution) corresponding to the specified readability rank as the resolution of the image data of the drawing document.
[0058] FIG. 10 is a diagram for explaining an example of a process of detecting the interval between thin lines in fine characters included in a document of an MFP according to the present embodiment. FIG. 10(a) is a diagram showing an example of characters in a document included in the document. Further, FIG. 10(b) is a diagram showing an example of the read values of the characters in the document included in the document. In FIG. 10(b), the vertical axis represents the vertical position (relative value of the Y coordinate) of the characters in the document included in the document, and the horizontal axis represents the read values of the characters in the document included in the document. Next, an example of a process for specifying readability in the MFP 9 according to the present embodiment will be described with reference to FIG. 10.
[0059] In the present embodiment, when the resolution of the image data is determined by the second determination method, the determination unit 202 detects the interval between thin lines in fine characters included in the document. For example, as shown in FIG. 10(a), when the character in the document included in the document is "rao", the determination unit 202 detects the number of pixels (for example, 5 pixels) that is the interval of the thin line 1001 of the character in the document included in the document based on the read value and the relative value (number of pixels) of the Y coordinate. Then, the determination unit 202 specifies the rank at which the fine characters become more readable based on the detected number of pixels.
[0060] FIG. 11 is a diagram for explaining an example of a process of determining the resolution of image data in the MFP according to the present embodiment. In FIG. 11, the vertical axis represents the readability of the characters in the document, and the horizontal axis represents the interval between the thin lines in the characters included in the document. Next, an example of a process of determining the resolution of the image data in the MFP 9 according to the present embodiment will be described with reference to FIG. 11.
[0061] When determining the resolution of image data using the second determination method, the determination unit 202 identifies a rank at which fine characters are easy to read, and then, as shown in FIG. 11, identifies the spacing between thin lines in characters (e.g., 4 pixels) that corresponds to the identified rank (e.g., "4"), and determines the resolution of the image data of the original so that the spacing between thin lines in characters becomes the identified spacing.
[0062] In this way, according to the MFP 9 of the present embodiment, by switching the specified area depending on the document type determined by the determination unit 203, even if the character size contained in the image data of a drawing, map, etc. is readable at a low resolution, it is possible to automatically convert the image data of a drawing, map, etc. to a high resolution.
[0063] The programs executed by the MFP 9 of this embodiment are provided by being pre-installed in the ROM 902a etc. The programs executed by the MFP 9 of this embodiment may be provided by being recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a digital versatile disk (DVD) in the form of an installable or executable file.
[0064] Furthermore, the program executed by the MFP 9 of the present embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the program executed by the MFP 9 of the present embodiment may be provided or distributed via a network such as the Internet.
[0065] The program executed by the MFP9 of this embodiment has a modular structure including the above-mentioned units (distribution unit 201, decision unit 202, discrimination unit 203, switching unit 204), and in terms of actual hardware, the CPU901 (an example of a processor) reads out the program from the above-mentioned ROM902a and executes it, thereby loading the above-mentioned units onto the main memory device, and the distribution unit 201, decision unit 202, discrimination unit 203, and switching unit 204 are generated on the main memory device.
[0066] In the above embodiment, an example is described in which the image processing device of the present invention is applied to a multifunction peripheral (MFP9) having at least two of the functions of a copy function, a printer function, a scanner function, and a facsimile function. However, the image processing device can be applied to any image processing device such as a copier, a printer, a scanner device, or a facsimile device.
[0067] Each function of the above-described embodiments can be realized by one or more processing circuits. Here, the term "processing circuit" in this specification includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and a device such as an ASIC (Application Specific Integrated Circuit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), or a conventional circuit module designed to execute each function described above. [Explanation of symbols]
[0068] 9 MFP 901 CPU 902a ROM 902b RAM 931 Scanner section 201 Distribution Department 202 Decision Section 203 Discrimination part 204 Switching section [Prior art documents]
Chartered Documents
[0069] [Patent Document 1] Patent No. 6262102
Claims
1. A reading unit that reads a document; a distribution unit that distributes image data of the document read by the reading unit; a determination unit that determines a resolution of the image data based on a predetermined area of the document; a discrimination unit that discriminates a type of the document to be read by the reading unit; a switching unit that switches the predetermined area in accordance with the document type determined by the determination unit; Equipped with The discrimination unit discriminates the document type based on a feature amount that is a ratio of each density of a thin line of a preset pixel width.
2. the determination unit determines the resolution by a first determination method that determines the resolution based on the predetermined area or a second determination method that determines the resolution in accordance with the document type; The image processing apparatus according to claim 1 , wherein the switching section further switches between the first determination method and the second determination method depending on the document type.
3. the document type includes a type of line thickness included in the document and a spacing between the lines; The image processing apparatus according to claim 1 , wherein the switching section switches the predetermined area in accordance with at least one of a type of thickness of lines included in the document and a spacing between the lines.
4. The document type includes a spacing between thin lines in characters included in the document, The image processing device according to claim 1 , wherein the switching unit switches the predetermined area depending on an interval between the thin lines.
5. The document type includes the importance of characters in a document included in the document, The image processing device according to claim 2 , wherein the second determination method includes identifying a readability corresponding to the importance level, and determining a default resolution corresponding to the identified readability as the resolution.
6. The image processing apparatus according to claim 5 , wherein the second determination method further adjusts the determined resolution based on a size of characters, a number of characters, and a density of characters in a document included in the original.
7. The image processing device according to claim 5 , wherein the determining section further adjusts the importance level in response to a user operation.
8. Computer, a distribution unit that distributes image data of the document read by the reading unit; a determination unit that determines a resolution of the image data based on a predetermined area of the document; a discrimination unit that discriminates a type of the document to be read by the reading unit; a switching unit that switches the predetermined area in accordance with the document type determined by the determination unit; and make it work. The discrimination unit discriminates the document type based on a feature amount that is a ratio for each density of thin lines of a preset pixel width.
Citation Information
Patent Citations
Surface combustion type once-through boiler
JP1987062102A
Image processor, image processing method, image reader equipped with that, image forming apparatus, program, and recording medium
JP2004102551A
Image processing device, method and computer program for checking character quality of electronic data
JP2006060590A
