Image processing apparatus, image forming apparatus, image processing method, and image processing program
The image processing device addresses the issue of incorrect show-through correction by dividing images into foreground and background regions, extracting components, and using similar color differences to correct show-through areas, thereby reducing abnormal images.
Patent Information
- Application Number
- JP2023060425
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
Existing show-through correction methods based on pixel value differences in brightness and saturation can incorrectly correct non-show-through areas or fail to correct show-through areas, leading to abnormal images.
An image processing device that divides input images into foreground and background regions, extracts brightness and color components, determines similarity between regions, and corrects show-through areas using reference regions with similar color differences, thereby generating a show-through removed image.
The method effectively corrects show-through areas while minimizing the occurrence of abnormal images by using reference regions with similar color differences, ensuring accurate correction.
Smart Images

Figure 2024147419000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing apparatus, an image forming apparatus, an image processing method, and an image processing program. [Background technology]
[0002] When a scanner is used to read the front side of a sheet of paper that contains images, characters, etc. on both sides, the image data of the front side acquired by scanning may include the images, characters, etc. on the back side, which is called show-through. Therefore, various correction methods have been proposed to remove show-through from the image data of the front side that includes show-through.
[0003] For example, the show-through components are removed by detecting edges included in image data acquired by a scanner, estimating background color from parts with low edge strength, and replacing the low edge strength parts, which are show-through components, with the background color (see, for example, Patent Document 1). Also, the show-through components are reduced by calculating a representative color (background color) from an area where the difference in pixel values including lightness (luminance) and saturation between an attention area and a reference area in image data acquired by a scanner is equal to or less than a threshold, and replacing the attention area with the representative color (see, for example, Patent Document 2). Summary of the Invention [Problem to be solved by the invention]
[0004] However, in most cases, the brightness of the show-through and the background are different but the saturation is similar. Therefore, when the show-through correction is performed based on the difference in pixel values including brightness such as RGB, there is a risk that the non-show-through area is corrected and an abnormal image is generated, or the show-through area is not corrected.
[0005] The disclosed technology has been developed in consideration of the above-mentioned problems, and aims to perform correction processing on areas with show-through while suppressing the occurrence of abnormal images that occur when show-through correction processing is performed on areas without show-through. [Means for solving the problem]
[0006] In order to solve the above technical problems, an image processing device of one embodiment of the present invention has a foreground / background determination unit that divides multiple regions in an input image into a foreground region including a foreground image and a background region including a background image, a component extraction unit that extracts the brightness component and color component of each of the multiple regions, a similarity determination unit that determines whether the region of interest and each of the multiple reference regions are similar based on the difference between the color component of a region of interest among the multiple regions and the color component of each of multiple reference regions located around the region of interest, and a show-through correction unit that corrects the region of interest using the reference region that is determined to be similar when it is determined that the region of interest is included in the background region, and is characterized in that a show-through removed image in which the show-through component of the input image has been removed is generated by sequentially shifting the region of interest and correcting the region of interest using the show-through correction unit. Effect of the Invention
[0007] It is possible to perform correction processing on areas with show-through while suppressing the occurrence of abnormal images that occur when show-through correction processing is performed on areas without show-through. [Brief description of the drawings]
[0008] [Figure 1] 1 is an overall configuration diagram showing an example of an image forming apparatus including an image processing apparatus according to a first embodiment of the present invention. [Diagram 2] 2 is a perspective cross-sectional view showing an example of the image reading unit of FIG. 1. [Diagram 3] 2 is a block diagram showing an example of a functional configuration of the image processing device in FIG. 1. [Figure 4] 2 is a block diagram showing an example of a hardware configuration of the image processing device in FIG. 1. [Diagram 5] 3 is an explanatory diagram showing how show-through occurs in the image reading unit of FIG. 2. [Figure 6] 4 is a functional block diagram showing an overview of a show-through correction process performed by the image processing device of FIG. 3. [Figure 7]7A and 7B are diagrams illustrating an example of an attention area and a reference area used in the show-through correction process of FIG. 6. [Figure 8] 7 is a flowchart showing an example of a show-through correction process performed by the show-through correction unit in FIG. 6. [Figure 9] FIG. 11 is a functional block diagram showing an overview of a show-through correction process performed by an image processing device according to a second embodiment of the present invention. [Figure 10] 10 is a diagram showing an example of a result of a same background determination made by the same background determination unit in FIG. 9; [Figure 11] 10 is a flow diagram showing an example of a show-through correction process performed by the show-through correction unit in FIG. 9. [Figure 12] FIG. 11 is a functional block diagram showing an overview of a show-through correction process performed by an image processing device according to a third embodiment of the present invention. [Figure 13] 13 is a flowchart showing an example of a show-through correction process performed by the show-through correction unit in FIG. 12. [Figure 14] FIG. 13 is a functional block diagram showing an overview of a show-through correction process performed by an image processing device according to a fourth embodiment of the present invention. [Figure 15] 15 is a flowchart showing an example of a show-through correction process performed by the show-through correction unit in FIG. 14. [Figure 16] FIG. 13 is a flowchart showing an example of a calculation process of a representative color in a show-through correction process performed by an image processing device according to a fifth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments will be described with reference to the drawings. In the drawings, the same components are denoted by the same reference numerals, and duplicated descriptions may be omitted.
[0010] (First embodiment) Fig. 1 is a diagram showing an overall configuration of an example of an image forming apparatus including an image processing apparatus according to a first embodiment of the present invention. The image forming apparatus 100 shown in Fig. 1 is, for example, a digital multifunction peripheral (MFP: Multi-Function Printer) having a copy function, a print function, a scanner function, a facsimile function, and the like.
[0011] Image forming apparatus 100 can switch between operation modes that respectively realize copy function, print function, scanner function, facsimile function, etc., by using an application switching key or the like on an operation unit (not shown). When the copy function is selected, image forming apparatus 100 goes into copy mode, when the print function is selected, it goes into print mode, when the scanner function is selected, it goes into scanner mode, and when the facsimile function is selected, it goes into facsimile mode.
[0012] In addition, the image forming apparatus 100 switches its internal state to a normal mode, an energy saving mode (power saving mode), etc., depending on the state of the internal circuit. For example, the normal mode has an operating mode (operating state) and a standby mode (standby state).
[0013] For example, the operating mode includes a copy mode or a print mode in which an image or text data is printed on a paper medium. The print mode includes an operation in a facsimile mode in which received data is printed on a paper medium. The operating mode also includes a transmission / reception operation in a scanner mode in which an original document is scanned or a facsimile mode. The state of the internal circuitry is switched by the operation of an operation unit by a user of the image forming apparatus 100 or by control within the image forming apparatus 100.
[0014] The image forming apparatus 100 includes an image reading unit 101, an ADF (Automatic Document Feeder) 102, and an image forming unit 103. In FIG. 1, the image forming unit 103 is shown in a see-through state for ease of explanation. The image forming unit 103 includes a manual feed roller 104, an image creating unit 105, an image creating element 106, a recording paper supply unit 107, and a plurality of recording paper feed cassettes 107a. The image forming unit 103 also includes a registration roller 108, an optical writing device 109, a fixing device 110, a reversing mechanism 111, a secondary transfer belt 112, an intermediate transfer belt 113, a transfer unit 114, and an image processing device 200. The image processing device 200 may be provided in a location other than the image forming unit 103 in the image forming apparatus 100.
[0015] The ADF 102 automatically transports the document placed on the placement table to a position for reading the image. The image reading unit 101 is, for example, a scanner having an image sensor, and reads the image of the document transported to the reading position by the ADF 102. An example of the image reading unit 101 is shown in FIG. 2. The image processing device 200 processes the image data of the document read by the image reading unit 101. An example of the image processing device 200 is shown in FIG. 3.
[0016] The image forming unit 103 has a function of printing an image on recording paper by an electrophotographic method based on image data of a document read by the image reading unit 101 and processed by the image processing device 200. Note that the image forming unit 103 is not limited to the electrophotographic method, and may print an image on recording paper by an inkjet method.
[0017] The manual feed rollers 104 have a function of feeding the recording paper set by the user into the image forming section 103. The recording paper supply unit 107 has a function of feeding the recording paper from one of a plurality of recording paper feed cassettes 107a in which the recording paper is set. The registration rollers 108 transport the recording paper fed from the manual feed rollers 104 or the recording paper supply unit 107 to the secondary transfer belt 112.
[0018] The optical writing device 109 converts image data read by the image reading unit 101 and processed by the image processing device 200 into optical information. The imaging unit (Y, M, C, K) 105 has four photoconductor drums (Y, M, C, K) and imaging elements 106 including a charging roller, a developing unit, a primary transfer roller, a cleaner unit, a static eliminator, etc., provided around each photoconductor drum. Here, the symbol Y indicates yellow, the symbol M indicates magenta, the symbol C indicates cyan, and the symbol K indicates black.
[0019] The image creating elements 106 form toner images on each photoconductor drum, which correspond to the image information for each color converted by the optical writing device 109. The toner images formed on each photoconductor drum are transferred onto an intermediate transfer belt 113 by a primary transfer roller. The full-color toner image transferred onto the intermediate transfer belt 113 moves to a transfer section 114 as the intermediate transfer belt 113 travels, and is transferred to a recording paper positioned on the secondary transfer belt 112 at the transfer section 114.
[0020] The recording paper onto which the toner image has been transferred is transported to the fixing device 110 along with the movement of the secondary transfer belt 112. The fixing device 110 then fixes the toner image on the recording paper onto the recording paper. The recording paper onto which the toner image has been fixed is then discharged from a discharge section, completing the process of printing the color image onto the recording paper.
[0021] In double-sided printing, in which images are printed on both sides of a recording sheet, a reversing mechanism 111 reverses the recording sheet, and the reversed recording sheet is sent onto a secondary transfer belt 112 .
[0022] Fig. 2 is a perspective cross-sectional view showing an example of the image reading unit 101 in Fig. 1. The image reading unit 101 has a main body 11, a contact glass 1 arranged on the upper part of the main body 11, a reference white plate 13 having a reference white color, and a background plate 14 that sandwiches an original 12 between the contact glass 1 and the main body 11. A first carriage 6 including a light source 2 and a mirror 3, a second carriage 7 including mirrors 4 and 5, a lens unit 8, and a sensor board 10 on which an image sensor 9 is mounted are arranged in the main body 11.
[0023] For example, the light source 2 is an LED (Light Emitting Diode). The image sensor 9 is a line sensor such as a CCD (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor) image sensor. The image sensor 9 has a plurality of pixels arranged along a main scanning direction (a direction perpendicular to the sub-scanning direction, which is the depth direction in FIG. 2).
[0024] In an image reading operation, the image reading unit 101 irradiates light from the light source 2 onto the original 12 placed on the contact glass 1 and sandwiched between the background plates 14. While the image reading unit 101 is irradiating the original 12 with light, it moves the first carriage 6 and the second carriage 7 from a standby position (home position) in the sub-scanning direction. The first carriage 6 and the second carriage 7 moving in the sub-scanning direction sequentially guide reflected light from an area of the original 12 facing the mirror 3 to the lens unit 8. The lens unit 8 forms an image on the image sensor 9 of the reflected light sequentially received via the first carriage 6 and the second carriage 7. The image sensor 9 photoelectrically converts the reflected light image of the original 12 formed via the lens unit 8 and outputs it as read image data.
[0025] Furthermore, when the power is turned on, for example, the image reading unit 101 moves the first carriage 6 to a position facing the reference white plate 13 and turns on the light source 2. Then, the image reading unit 101 forms an image of the reflected light from the reference white plate 13 on the image sensor 9, obtains white distribution data in the main scanning direction, and sets reference data by performing gain adjustment. The reference data is stored in a memory unit (not shown) and is used for shading correction to correct color unevenness, etc. of the read image.
[0026] Fig. 3 is a block diagram showing an example of a functional configuration of the image processing device 200 shown in Fig. 1. For example, the image processing device 200 performs image processing on a document image read by the image reading unit 101.
[0027] The image processing device 200 includes a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, a chipset 203, a main memory 204, an I / O interface unit 205, a controller 206, a main memory 207, and an image processing unit 208. For example, the I / O interface unit 205, the controller 206, and the image processing unit 208 are designed by hardware such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).
[0028] The CPU 201 controls the overall operation of the image processing device 200. The CPU 201 is an example of a computer. The CPU 201 may control the overall operation of the image forming device 100 in Fig. 1. The CPU 201 executes an image processing program to perform various types of image processing. The ROM 202 holds a boot loader and the like that is executed by the CPU 201 when the power supply of the image forming device 100 in Fig. 1 is turned on or reset.
[0029] The chipset 203 is connected to the CPU 201 , the main memory 204 , the I / O interface 205 , and the controller 206 , and controls the transfer of data and the like between the CPU 201 , the main memory 204 , the I / O interface 205 , and the controller 206 .
[0030] The main memory 204 holds an image processing program executed by the CPU 201, work data used by the CPU 201, image data processed by the CPU 201, etc. For example, the image processing program may be loaded into the main memory 204 from a hard disk drive (HDD) 211 connected to the image processing device 200. The HDD 211 may also be used to temporarily store image data that has been subjected to image processing.
[0031] The I / O interface 205 is a network interface, a PCI (Peripheral Component Interconnect), a serial interface, or an interface for various memory cards (not shown). The image processing device 200 can realize additional functions such as an optional image processing function, an accelerator function, or an encryption processing function, depending on a device connected to the I / O interface 205.
[0032] The controller 206 inputs and outputs image data between the image processing unit 208, the main memories 207 and 204, or the HDD 211. For example, the controller 206 executes a rotation process or an edit process on image data transferred from the image processing unit 208 or the main memory 204, and outputs the processed image data to the HDD 211, the image processing unit 208, the main memory 207, or the like. The main memory 207 may be used as an image memory when the controller 206 executes image processing.
[0033] The image processing unit 208 performs image processing on the image data generated by the image reading unit 101, and outputs the processed image data to the controller 206. The image processing unit 208 also performs image processing on the image data transferred from the controller 206, and outputs the processed image data to the image forming unit 103.
[0034] The image processing program executed by the image processing device 200 may be stored in a recording medium connected to the I / O interface 205 and transferred from the recording medium to the HDD 211 or the main memory 204. For example, the recording medium in which information such as the image processing program is stored is a computer-readable CD-ROM (Compact Disc Read Only Memory), a flexible disk (FD), a CD-R (Compact Disc Recordable), a DVD (Digital Versatile Disk), or the like. The image processing program executed by the image processing device 200 may be downloaded from a network such as the Internet connected via the I / O interface 205.
[0035] Fig. 4 is a block diagram showing an example of a hardware configuration of the image processing device 200 in Fig. 1. The image processing device 200 has a CPU 221, a ROM 222, and a RAM (Random Access Memory) 223. The image processing device 200 also has an input interface unit 224, an output interface unit 225, an input / output interface unit 226, and a communication interface unit 227. The CPU 221, the ROM 222, the RAM 223, and the I / O interface unit 226 correspond to the CPU 201, the ROM 202, the main memory 204, and the I / O interface unit 205 in Fig. 3, respectively.
[0036] For example, the CPU 221, the ROM 222, the RAM 223, the input interface unit 224, the output interface unit 225, the input / output interface unit 226, and the communication interface unit 227 are connected to one another via a bus BUS. Note that the image processing device 200 may be mounted on a computer device such as a PC or a server having the hardware configuration shown in FIG.
[0037] The CPU 221 executes various programs such as an OS (Operating System) and applications. The ROM 222 holds basic programs and various parameters for enabling the CPU 221 to execute the various programs. The RAM 223 stores the various programs executed by the CPU 221 and data used by the programs. For example, the various programs may include an image processing program that performs image processing of an original image read by the image reading unit 101 in FIG. 1.
[0038] The input interface unit 224 is connected to an input device 310 such as the image reading unit 101 and an operation unit of the image forming apparatus 100. The output interface unit 225 is connected to an output device 320 such as the image forming unit 103. The input / output interface unit 226 is connected to an input / output device 330 such as the HDD 211 and a recording medium.
[0039] When various programs such as an image processing program are stored in the recording medium, the programs are transferred from the recording medium to the RAM 223 or the like via the input / output interface unit 226. The communication interface unit 227 can connect the image processing device 200 to a network or the like.
[0040] Fig. 5 is an explanatory diagram showing how show-through occurs in the image reading unit 101 of Fig. 2. Show-through occurs when a part of the incident light for scanning passes through the original 12, passes through the printed portion on the back side of the original 12, is reflected by the background plate 14, and is input to the image sensor 9. At this time, the reflected light from the front side of the original 12, which is the original read image, is also input to the image sensor 9, so that the image data after scanning the printed portion on the back side that causes show-through has the characteristic of being close to the color (hue, saturation) of the front side of the original 12 (for example, the background image).
[0041] Fig. 6 is a functional block diagram showing an overview of the show-through correction process performed by the image processing device 200 in Fig. 3. The dashed arrows in Fig. 6 indicate the transmission of information showing the determination result. Hereinafter, image data and pixel data may be referred to as images and pixels, respectively.
[0042] The image processing device 200 that performs the show-through correction process has a foreground / background determination unit 21, a color conversion unit 22, a similarity determination unit 23, and a show-through correction unit 24. For example, show-through can be eliminated if the show-through portion of the scanned image can be made the background color of the image on the front side of the document 12.
[0043] For example, the functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, and backlight correction unit 24 are realized by hardware such as image processing unit 208 in Fig. 3. Note that one or more functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, and backlight correction unit 24 may be realized by an image processing program executed by CPU 201.
[0044] Foreground / background determination unit 21 receives RGB input image data generated by image reading unit 101 reading document 12, and performs foreground / background determination processing to determine whether each of a plurality of regions included in the input image is a background region or a foreground region. The region to be determined is a pixel unit or a unit of multiple pixels. In the following description, an example in which a background region or a foreground region is determined on a pixel unit basis will be described.
[0045] An area determined as a background area is a show-through portion or a background portion of a document, and an area determined as a foreground area is an area not determined as a background area (i.e., an image area of characters, a pattern, etc.). For example, the foreground / background determination unit 21 calculates an edge amount (e.g., an amount of change in luminance) using an image of an attention area for determining whether it is foreground or background and an area surrounding the attention area. If the calculated edge amount is equal to or less than a threshold, the foreground / background determination unit 21 determines it as a background (flat area), and if the calculated edge amount is greater than the threshold, determines it as a foreground (characters, a pattern, etc.). Note that the foreground / background determination unit 21 may distinguish between the background and the foreground by a method other than the determination based on the edge amount.
[0046] The foreground / background determination unit 21 divides a plurality of regions in the RGB input image that may include show-through into a foreground region including a foreground image and a background region including a background image. The foreground / background determination unit 21 then outputs a region determination result that determines whether the region of interest is a foreground region or a background region to the show-through correction unit 24. For example, the region determination result is transmitted to the show-through correction unit 24 as a 1-bit signal indicating whether the region of interest is the background or not.
[0047] The color conversion unit 22 converts the input image in the RGB color space into the YUV color space, thereby separating the pixels contained in each of the multiple regions into a luminance component Y and color difference components U and V, and outputs the result as a color-converted image (YUV) to the similarity determination unit 23. The color conversion unit 22 is an example of a component extraction unit that performs a component extraction process to extract the luminance component and color component of each of the multiple regions contained in the input image. For example, the conversion from the RGB color space to the YUV color space is performed according to equations (1)-(3).
[0048] Y= 0.299R+0.587G+0.114B ‥(1) U=-0.169R-0.331G+0.500B+128 ‥(2) V= 0.500R-0.419G-0.081B+128 ‥(3)
[0049] Note that color conversion unit 22 may convert the RGB color space into another color space, such as the YCbCr color space or the Lab color space, as long as the RGB color space can be separated into a lightness component (luminance) and color difference components (saturation, hue).
[0050] The similarity determination unit 23 calculates the difference in color components (U, V) not including the luminance component (Y) between the attention area and multiple reference areas located around the attention area in the color-converted image received from the color conversion unit 22. The similarity determination unit 23 performs a similarity determination process to determine whether or not the attention area and each of the multiple reference areas are similar based on the difference in color components, and outputs the similarity determination result to the back-off correction unit 24.
[0051] For example, when the foreground / background determination unit 21 determines that the attention area is the background, the surrounding area determined to be similar to the attention area by the similarity determination unit 23 is the background. The attention area is an area including pixels for which the backlight correction process is performed, and the reference area is an area including pixels used in the backlight correction process. Examples of the attention area and the reference area are shown in FIG. 7.
[0052] The show-through correction unit 24 receives the input image, the region determination result from the foreground / background determination unit 21, and the similarity determination result from the similarity determination unit 23, and performs show-through correction processing. When the foreground / background determination unit 21 determines that the region of interest is included in the background region, the show-through correction unit 24 calculates a representative color using the reference region determined to be similar by the similarity determination unit 23, and replaces the pixel value of the region of interest with the calculated representative color.
[0053] The show-through correction unit 24 sequentially shifts the attention area and corrects the attention area using the reference area to generate a show-through removed image in which the show-through components of the input image have been removed, and outputs the image as an RGB output image. Note that the pixel value of the area with the highest brightness in the reference area may be used as the representative color, or a value smoothed based on the tendency of change in the pixel values of the reference area may be used.
[0054] Fig. 7 is a diagram showing an example of the attention area and reference area used in the show-through correction process of Fig. 6. For example, when the show-through correction process is performed using the reference area directly adjacent to the attention area, the reference area becomes 8 pixels indicated by numbers 0 to 7 around the attention area. The show-through correction unit 24 performs the show-through correction process while sequentially shifting, by one pixel, a pixel group including 9 pixels centered on the attention area among the multiple pixels included in the image.
[0055] For example, the show-through correction unit 24 performs the determination shown in formulas (4) and (5) for the values of the color difference components U and V of each reference area, and determines that a reference area that satisfies both the conditions of formulas (4) and (5) is similar. Formula (4) is used to determine whether the difference (absolute value) between the value Utg of the color difference component U of the attention area tg and the value Uref of the color difference component U of the reference area ref is smaller than the threshold value THo of the color difference component U. Formula (5) is used to determine whether the difference (absolute value) between the value Vtg of the color difference component V of the attention area tg and the value Vref of the color difference component V of the reference area ref is smaller than the threshold value THv of the color difference component V. The threshold values THo and THv can be set to any values as parameters used in the show-through correction process.
[0056] |Utg-Uref| <THu ‥(4) |Vtg-Vref| <THv ‥(5)
[0057] Show-through has the characteristic that the color of the area where the show-through occurs is similar to the background color, but different from the brightness of the background. Therefore, by dividing the input image (RGB) into brightness components and color difference components, and selecting a reference area with a similar color difference to the area of interest as the area to be used for the show-through correction process, the possibility of an abnormal image being generated by the show-through correction process can be reduced. In addition, by performing the show-through correction process using a reference area with similar color difference components excluding the brightness component, the show-through portion can be appropriately erased. Here, an abnormal image is an image in which faint characters on a color background have become even fainter or have disappeared due to the show-through correction process.
[0058] In addition, when an area having a similar color including a brightness component to the attention area is used as the reference area, an area that should be the reference area may be determined to be dissimilar. In this case, the image with the show-through correction process is not performed and the image remains as it is.
[0059] Fig. 8 is a flow diagram showing an example of the show-through correction process by the show-through correction unit 24 of Fig. 6. That is, Fig. 8 shows an example of an image processing method performed by the image processing device 200. The process shown in Fig. 8 is performed for each attention area while sequentially shifting the attention area. Note that, when the function of the show-through correction unit 24 is realized by an image processing program, the process shown in Fig. 8 is performed by the image processing program.
[0060] First, in step S200, the offset correction unit 24 receives the foreground / background region determination result from the foreground / background determination unit 21 and the similarity determination result from the similarity determination unit 23. Note that in step S200, the offset correction unit 24 may collectively receive the region determination results and the similarity determination results for all regions for which the offset correction process is to be performed.
[0061] Next, in step S210, the image-showing correction unit 24 determines whether the region of interest is determined to be the background based on the region determination result. If the region of interest is determined to be the background, the image-showing correction unit 24 moves the process to step S220. If the region of interest is not determined to be the background, that is, if the region of interest is determined to be the foreground without image-showing, the image-showing correction unit 24 ends the process of the current region of interest since the image-showing correction process is not necessary, and ends the process shown in FIG. 8 to perform the image-showing correction process of the next region of interest.
[0062] In step S220, the back-reflection correction unit 24 calculates a representative color using pixels determined to be similar according to the similarity determination result among the multiple pixels in the reference area. For example, the back-reflection correction unit 24 calculates the color (brightest color) of the brightest area among the reference areas determined to be similar as the representative color. Note that the representative color may be the average value of the colors of the areas determined to be similar.
[0063] Next, in step S230, the show-through correction unit 24 replaces the pixel values of the region of interest with the representative color calculated in step S220, ends the show-through correction process shown in FIG. 8, and performs the show-through correction process for the next region of interest.
[0064] As described above, in the first embodiment, the input image (RGB) is divided into a brightness component (Y) and color difference components (U, V), and a reference area having a similar color difference to the attention area is selected as an area to be used for the show-through correction process. This makes it possible to perform correction processing on an area with show-through while suppressing the occurrence of abnormal images that occur when show-through correction processing is performed on an area without show-through. Also, by performing show-through correction processing using a reference area having a similar color difference component excluding the brightness component, the show-through portion can be appropriately erased.
[0065] Second embodiment Fig. 9 is a functional block diagram showing an overview of the show-through correction process performed by an image processing device according to a second embodiment of the present invention. The same elements as those in Figs. 1 to 3 and 6 are given the same reference numerals, and detailed description thereof will be omitted. The dashed arrows shown in Fig. 9 indicate the transmission of information showing the determination result. An image processing device 200A that performs the show-through correction process shown in Fig. 9 is mounted on, for example, the image forming device 100 instead of the image processing device 200 in Fig. 1. The functional configuration of the image processing device 200A is the same as that in Fig. 3, and the hardware configuration of the image processing device 200A is the same as that in Fig. 4.
[0066] The image processing device 200A has a function block of a show-through correction unit 24A instead of the show-through correction unit 24 in Fig. 6, and has a configuration similar to that of the function block of the image processing device 200 in Fig. 6, except that a same background determination unit 25A is added. Note that the image processing device 200A performs determination on a unit basis of an area including one pixel, but may perform determination on a unit basis of an area including multiple pixels.
[0067] For example, the functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, backlight correction unit 24A, and same background determination unit 25A are realized by hardware such as image processing unit 208 in Fig. 3. Note that one or more functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, backlight correction unit 24A, and same background determination unit 25A may be realized by CPU 201 executing an image processing program.
[0068] The same background determination unit 25A receives the region determination result from the foreground / background determination unit 21 and performs a same background determination process to determine whether or not each of a plurality of reference regions included in the input image is an same reference region that has the same background as the attention region. For example, the same background determination unit 25A determines, among the reference regions determined to be background by the foreground / background determination unit 21, a reference region located on the attention region side relative to the region determined to be foreground by the foreground / background determination unit 21, as the same reference region.
[0069] Then, the same background determination unit 25A outputs a same background determination result indicating whether or not each reference area is the same reference area to the show-through correction unit 24A. For example, the same background determination result is transmitted to the show-through correction unit 24A as a 1-bit signal indicating whether or not each reference area is the same background area.
[0070] The foreground / background determination unit 21 determines whether each of a plurality of reference areas located around the attention area is the foreground or the background. For this reason, for example, if the reference area has a boundary between the foreground and the background, a plurality of areas sandwiching the area determined to be the foreground may be determined to be the background. A reference area that has an area determined to be the foreground between it and the attention area is preferably not included in the target of the back-reflection correction process because it is located outside the boundary with respect to the attention area.
[0071] Show-through correction unit 24A receives the input image, the region determination result from foreground / background determination unit 21, the similarity determination result from similarity determination unit 23, and the same background determination result from same background determination unit 25A. When foreground / background determination unit 21 determines that the attention region is included in the background region, show-through correction unit 24A performs show-through correction processing for the attention region based on the similarity determination result by similarity determination unit 23 and the same background determination result by same background determination unit 25A.
[0072] For example, the ghosting correction unit 24A extracts a reference area located closer to the attention area than the reference area determined to be the foreground from among the same reference areas determined by the same background determination unit 25A to be the same background as the attention area. The ghosting correction unit 24A then calculates a representative color using an area determined to be similar to the attention area by the similarity determination unit 23 from among the extracted same reference areas, and replaces the pixel value of the attention area with the calculated representative color. By performing the ghosting correction process using only an area of the same reference area that does not straddle a reference area determined to be the foreground, the effect of the ghosting correction can be improved and the possibility of an abnormal image occurring can be reduced.
[0073] FIG. 10 is a diagram showing an example of the result of the same background determination by the same background determination unit 25A in FIG. 9. FIG. 9 shows an example in which the reference area is 24 pixels around the attention area. When the foreground / background determination unit 21 determines that the attention area is the background, the same background determination unit 25A searches for the reference area determined to be the foreground by the foreground / background determination unit 21. Then, the same background determination unit 25A extracts a reference area located between the attention area and the reference area determined to be the foreground from the same reference area, which is an area other than the reference area determined to be the foreground. In the example shown in FIG. 10, the extracted reference areas are nine reference areas indicated by numbers 0 to 8. Then, the back-reflection correction unit 24A calculates a representative color using the extracted reference area and replaces the pixel value of the attention area with the representative color.
[0074] For multiple reference areas around the attention area, multiple patterns indicating the positions of the foreground area and the background area, respectively, and position information of the area used for calculating the representative color corresponding to each of the multiple patterns may be prepared in advance. Then, when the pattern determined by the same background determination unit 25A matches any of the multiple patterns prepared in advance, the back-reflection correction unit 24A may calculate the representative color by treating the area indicated by the position information associated with the pattern as the same reference area. In this case, since it is not necessary to determine whether each of the multiple reference areas is an area to be calculated for the representative color, the process of the back-reflection correction unit 24 can be simplified, and for example, the hardware scale can be reduced.
[0075] Fig. 11 is a flow diagram showing an example of the show-through correction process by the show-through correction unit 24A in Fig. 9. That is, Fig. 11 shows an example of an image processing method performed by the image processing device 200A. The same processes as in Fig. 8 are given the same step numbers as in Fig. 8, and detailed descriptions are omitted.
[0076] The process shown in Fig. 11 is performed for each attention area while sequentially shifting the attention area, similarly to Fig. 8. When the function of the back-reflection correction unit 24A is realized by an image processing program, the process shown in Fig. 11 is performed by the image processing program.
[0077] The process shown in Fig. 11 is the same as the process shown in Fig. 8, except that step S221 is performed instead of step S220 in Fig. 8. If the attention area is determined to be the background in step S210, in step S221, the back-off correction unit 24A extracts a reference area located closer to the attention area than the reference area determined to be the foreground, from among the areas determined to be the same reference area by the same background determination unit 25A. Then, the back-off correction unit 24A calculates a representative color using the reference area determined to be similar by the similarity determination unit 23, from among the extracted reference areas. After that, in step S230, the back-off correction unit 24 replaces the pixel value of the attention area with the representative color.
[0078] As described above, in the second embodiment, among the regions determined to be the same reference region, a representative color to be replaced with the pixel value of the attention region is calculated using a reference region that is closer to the attention region side than the reference region determined to be the foreground and has a similar color difference to the attention region. This makes it possible to further reduce the possibility that an abnormal image is generated by the backlight correction process, and to improve the effect of the backlight correction, compared to the case where a representative color is calculated using all reference regions determined to be the background.
[0079] (Third embodiment) Fig. 12 is a functional block diagram showing an overview of the show-through correction process performed by an image processing device according to a third embodiment of the present invention. The same elements as those in Figs. 1 to 3, 6 and 9 are given the same reference numerals, and detailed description will be omitted. The dashed arrows shown in Fig. 12 indicate the transmission of information showing the determination result. An image processing device 200B that performs the show-through correction process shown in Fig. 12 is mounted on, for example, the image forming device 100 instead of the image processing device 200 in Fig. 1. The hardware configuration of the image processing device 200B is the same as that in Fig. 3.
[0080] The image processing device 200B has a function block of a show-through correction unit 24B instead of the show-through correction unit 24A in Fig. 9, and has a configuration similar to that of the function block of the image processing device 200A in Fig. 9, except that a brightness determination unit 26B is added. Note that the image processing device 200B performs determination on an area including one pixel as a unit, but may perform determination on an area including multiple pixels as a unit.
[0081] For example, the functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, back-bleeding correction unit 24, same background determination unit 25A, and brightness determination unit 26B are realized by hardware such as image processing unit 208 in Fig. 3. Note that one or more functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, back-bleeding correction unit 24, same background determination unit 25A, and brightness determination unit 26B may be realized by CPU 201 executing an image processing program.
[0082] The brightness determination unit 26B performs a brightness determination process to determine the magnitude of the brightness component (luminance Y) of the region of interest using the YUV image converted by the color conversion unit 22, and outputs the determination result as the brightness determination result to the back-off correction unit 24B. For example, the brightness determination unit 26B compares the brightness component of the region of interest with a threshold value, and determines that the region of interest is a light-colored region when the brightness component is greater than the threshold value, and determines that the region of interest is a dark-colored region when the brightness component is equal to or less than the threshold value.
[0083] The back-bleed correction unit 24B receives the input image, the area determination result from the foreground / background determination unit 21, the similarity determination result from the similarity determination unit 23, the same background determination result from the same background determination unit 25A, and the brightness determination result from the brightness determination unit 26B, and performs a back-bleed correction process.
[0084] When the brightness determination result of the attention area indicates a light-colored area, the image-transmitting correction unit 24B performs the same image-transmitting correction process as the image-transmitting correction unit 24A in Fig. 9. When the brightness determination result of the attention area indicates a dark-colored area, the image-transmitting correction unit 24B does not perform the image-transmitting correction process.
[0085] For commonly used documents, the show-through tends to be lighter in color (i.e., brighter) than the characters and pictures written on the front side of the document. Therefore, by not performing the show-through correction process when the color of the attention area is darker (i.e., low brightness), the possibility of abnormal images occurring can be further reduced.
[0086] Note that the image processing device 200B does not need to have the same background determination unit 25A. In this case, the backlight correction unit 24B performs the backlight correction process without using the same background determination result. That is, when the attention area determined to be the background by the foreground / background determination unit 21 indicates a light area based on the brightness determination result, the backlight correction unit 24B calculates a representative color using the reference area determined to be the background by the foreground / background determination unit 21, and replaces the pixel value of the attention area with the representative color.
[0087] Fig. 13 is a flow diagram showing an example of the show-through correction process by the show-through correction unit 24B in Fig. 12. That is, Fig. 13 shows an example of an image processing method performed by the image processing device 200B. The same processes as those in Fig. 8 and Fig. 11 are given the same step numbers as those in Fig. 8 and Fig. 11, respectively, and detailed descriptions are omitted.
[0088] The process shown in Fig. 13 is performed for each attention area while sequentially shifting the attention area, similarly to Fig. 8. When the function of the back-reflection correction unit 24B is realized by an image processing program, the process shown in Fig. 13 is performed by the image processing program.
[0089] The process shown in Fig. 13 is similar to the process shown in Fig. 11, except that step S212 is inserted between step S210 and step S221 in Fig. 11. If the attention area is determined to be the background in step S210, in step S212, the back-off correction unit 24B determines whether the attention area is determined to have high brightness (light color) based on the brightness determination result.
[0090] If it is determined that the brightness of the attention area is high, the backlight correction unit 24B shifts the process to step S221. If it is not determined that the brightness of the attention area is high, that is, if the brightness of the attention area is low, the backlight correction unit 24B ends the process of the current attention area since the backlight correction process is not necessary, and ends the process shown in Fig. 13 to perform the backlight correction process of the next attention area. Note that if the image processing device 200B does not have the same background determination unit 25A, step S220 in Fig. 8 is performed instead of the process of step S221.
[0091] As described above, in the third embodiment, as in the first and second embodiments, a reference area having a similar color difference to the area of interest is used to calculate a representative color to replace the pixel value of the area of interest, thereby reducing the possibility of an abnormal image being generated by the back-bleed correction process.
[0092] Furthermore, in the third embodiment, when it is determined that the color of the attention area is light, the image-bleeding correction process is performed using only the same reference area among the reference areas determined to be the background, and when it is determined that the color of the attention area is dark, the image-bleeding correction process is not performed. This makes it possible to prevent the image-bleeding correction process from being performed when the attention area indicates a dark area in the image, and further reduces the possibility of the occurrence of an abnormal image.
[0093] (Fourth embodiment) Fig. 14 is a functional block diagram showing an overview of the show-through correction process performed by an image processing device according to a fourth embodiment of the present invention. The same elements as those in Figs. 1 to 3, 6, 9, and 12 are given the same reference numerals, and detailed description will be omitted. The dashed arrows shown in Fig. 14 indicate the transmission of information showing the determination result. An image processing device 200C that performs the show-through correction process shown in Fig. 14 is mounted on, for example, the image forming device 100 instead of the image processing device 200 in Fig. 1. The hardware configuration of the image processing device 200C is the same as that in Fig. 3.
[0094] The image processing device 200C has a function block of a show-through correction unit 24C instead of the show-through correction unit 24B in Fig. 12, and has a configuration similar to that of the function block of the image processing device 200B in Fig. 12, except that a size determination unit 27C is added. Note that the image processing device 200B performs determination on an area including one pixel as a unit, but may perform determination on an area including multiple pixels as a unit.
[0095] For example, the functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, back-bleeding correction unit 24C, same background determination unit 25A, brightness determination unit 26B, and size determination unit 27C are realized by hardware such as image processing unit 208 in Fig. 3. Note that one or more functions of foreground / background determination unit 21, color conversion unit 22, similarity determination unit 23, back-bleeding correction unit 24C, same background determination unit 25A, brightness determination unit 26B, and size determination unit 27C may be realized by CPU 201 executing an image processing program.
[0096] The size determination unit 27C searches for a reference area similar to the attention area determined to be the background, and performs a size determination process to determine the size of the set of reference areas similar to the attention area as the size of the show-through. The size determination unit 27C then outputs the determined size of the show-through to the show-through correction unit 24C as a size determination result.
[0097] For example, the size determination unit 27C calculates the Euclidean distance between each of the reference areas similar to the attention area and the attention area, and sets the maximum value of the Euclidean distance as the size of the show-through. For example, the size determination unit 27C performs the similarity determination with the attention area using RGB data. Note that the size determination unit 27C performs the size determination process regardless of whether the attention area actually shows-through.
[0098] The image-bleeding correction unit 24C performs image-bleeding correction processing for the area of interest using pixels in the reference area. For example, if image-bleeding occurs beyond the range of the reference area, it is difficult to completely correct the image-bleeding because the area beyond the range of the reference area cannot be used, and there is a risk that an abnormal image may occur.
[0099] For this reason, if the size of the show-through exceeds the size of the reference area, it is preferable not to perform the show-through correction process. Therefore, the show-through correction unit 24C compares the size of the show-through indicated by the size determination result output from the size determination unit 27C with a predetermined threshold corresponding to the size of the reference area, and if the size of the show-through exceeds the threshold, the show-through correction unit 24C does not perform the show-through correction process. If the size of the show-through is equal to or smaller than the threshold, the show-through correction unit 24C performs the same show-through correction process as the show-through correction unit 24B in FIG. 12.
[0100] The image processing device 200C may not have the same background determination unit 25A. In this case, the backlight correction unit 24C performs the backlight correction process without using the same background determination result. The image processing device 200C may not have the brightness determination unit 26B. In this case, the backlight correction unit 24C performs the backlight correction process without using the brightness determination result. Furthermore, the image processing device 200C may not have both the same background determination unit 25A and the brightness determination unit 26B.
[0101] Fig. 15 is a flow diagram showing an example of the show-through correction process by the show-through correction unit 24C in Fig. 14. That is, Fig. 15 shows an example of an image processing method performed by the image processing device 200C. The same processes as those in Fig. 8, Fig. 11, and Fig. 13 are given the same step numbers as those in Fig. 8, Fig. 11, and Fig. 13, respectively, and detailed explanations are omitted.
[0102] The process shown in Fig. 15 is performed for each attention area while sequentially shifting the attention area, similarly to Fig. 8. When the function of the back-reflection correction unit 24C is realized by an image processing program, the process shown in Fig. 15 is performed by the image processing program.
[0103] The process shown in FIG. 15 is similar to the process shown in FIG. 13, except that step S214 is inserted between step S212 and step S221 in FIG.
[0104] If it is determined in step S212 that the brightness of the attention area is high (light in color), then in step S214, the show-through correction unit 24C compares the show-through size indicated in the size determination result with a threshold value. Here, the threshold value corresponds to the size of the reference area. If the show-through size is equal to or smaller than the threshold value, the show-through correction unit 24C shifts the process to step S221 and performs show-through correction processing. On the other hand, if the show-through size exceeds the threshold value, the show-through correction unit 24C determines that it is difficult to completely correct the show-through, ends the processing of the current attention area, and ends the processing shown in FIG. 15 in order to perform show-through correction processing of the next attention area.
[0105] If the image processing device 200C does not have the same background determination unit 25A, step S220 in Fig. 8 is performed instead of the process of step S221. If the image processing device 200C does not have the brightness determination unit 26B, the process of step S212 is omitted. Furthermore, if the image processing device 200C does not have both the same background determination unit 25A and the brightness determination unit 26B, step S220 in Fig. 8 is performed instead of the process of step S221, and the process of step S212 is omitted.
[0106] As described above, in the fourth embodiment, as in the first and second embodiments, the possibility of an abnormal image being generated by the backlight correction process can be reduced by calculating a representative color to be replaced with the pixel value of the attention area using a reference area having a similar color difference to the attention area. Also, as in the third embodiment, if it is determined that the color of the attention area is dark, the possibility of an abnormal image being generated can be reduced by not performing the backlight correction process.
[0107] Furthermore, in the fourth embodiment, if the size of the show-through output from the size determination unit 27C exceeds a threshold value, it is difficult to completely correct the show-through, so the show-through correction process is not performed. This makes it possible to suppress the use of only the reference area within the reference area to perform the show-through correction process when the show-through occurs beyond the range of the reference area, thereby suppressing the occurrence of abnormal images.
[0108] Fifth embodiment Fig. 16 is a flow diagram showing an example of a calculation process of a representative color in a show-through correction process performed by an image processing device according to a fifth embodiment of the present invention. The flow shown in Fig. 16 is performed in the process of step S220 in Fig. 8 or step S221 in Figs. 11, 13, and 15. That is, the flow shown in Fig. 16 is performed by any one of the show-through correction unit 24 in Fig. 6, the show-through correction unit 24A in Fig. 9, the show-through correction unit 24B in Fig. 12, or the show-through correction unit 24C in Fig. 14.
[0109] In the following, it is assumed that the flow shown in Fig. 16 is performed by the show-through correction unit 24D. An image processing device including the show-through correction unit 24D is mounted on the image forming device 100 instead of the image processing device 200 in Fig. 1, for example. The hardware configuration of the image processing device including the show-through correction unit 24D is the same as that in Fig. 3.
[0110] In each of the above-mentioned embodiments, when the representative color is the true background color, if the attention area is a show-through area, correct show-through correction processing can be performed. On the other hand, if the attention area is not a show-through area, incorrect show-through correction processing may be performed, resulting in an abnormal image. For example, in an area where the gradation changes stepwise, a light-colored area may encroach on a dark-colored area, resulting in an abnormal image.
[0111] To solve this problem, it is possible to calculate multiple representative color candidates and select the most appropriate one from the multiple candidates, or to combine multiple representative colors. Figure 16 shows an example of combining two types of representative color candidates at a ratio according to the coefficient coef (0 to 1).
[0112] First, in step S222, the show-through correction unit 24D calculates an average value A of the reference areas used to calculate the representative color within the reference area. Next, in step S223, the show-through correction unit 24D calculates an optimal color B, which is the brightest color within the reference area used to calculate the representative color within the reference area. The optimal color B may be calculated using RGB data, or may be calculated using the luminance Y of YUV. The optimal color B is an example of a first correction color.
[0113] The show-through correction unit 24 has a correction color calculation unit that calculates the brightest color B and a correction color calculation unit that calculates the average value A of the reference area. The correction color calculation unit that calculates the brightest color B is an example of a first correction color calculation unit. The correction color calculation unit that calculates the average value A is an example of a second correction color calculation unit that calculates a color darker than the brightest color B.
[0114] Next, in step S224, the show-through correction unit 24D calculates a representative color C to replace the pixel values of the region of interest by combining the average value A and the brightest color B at a predetermined ratio based on the coefficient coef. For example, the representative color C is expressed as RGB data. Then, after step S224, the show-through correction unit 24D performs show-through correction processing by replacing the pixel values of the region of interest with the representative color C. As a result, even if the brightest color B calculated in step S223 is significantly different from the true background color, for example, it is neutralized to some extent by the average value A calculated in step S222, and the possibility of an abnormal image being generated can be reduced.
[0115] Since show-through has the characteristic of being read as darker than the true background color, the brightest color B calculated in step S223 is the first candidate for the true background color. The average value A calculated in step S222 is the second candidate in case the brightest color B is not the true background color or the target area is not show-through. By using the coefficient coef, it becomes possible to appropriately adjust the correction strength, which is the composition ratio, even when calculating the representative color C using multiple types of color information such as the average value A and the brightest color B.
[0116] In step S222, the average value A of the reference area to be used for calculating the representative color within the reference area is calculated, but a calculation method other than the average value A may be used as long as it calculates a value darker than the brightest color calculated in step S223.
[0117] In addition, in step S223, the back-reflection correction unit 24D may create a histogram of the brightness of the reference area used to calculate the representative color, and calculate a color to replace the brightest color B using the most frequent brightness in the distribution above a certain brightness.
[0118] As described above, the fifth embodiment can also provide the same effects as the first to fourth embodiments. Furthermore, in the fifth embodiment, by calculating a representative color C that replaces the pixel value of the attention area by combining a plurality of representative color candidates at a predetermined ratio, it is possible to reduce the possibility of an abnormal image being generated compared to the case where one type of representative color is used.
[0119] In the fifth embodiment, an example is shown in which two representative colors (average value A and brightest color B) are combined at a predetermined ratio to calculate a representative color C to replace the pixel value of the region of interest. However, three or more representative colors may be combined at a predetermined ratio to calculate a representative color C to replace the pixel value of the region of interest.
[0120] For example, aspects of the present invention are as follows. <1> a foreground / background determination unit that divides a plurality of regions in an input image into a foreground region including a foreground image and a background region including a background image; a component extracting unit that extracts a luminance component and a color component of each of the plurality of regions; a similarity determination unit that determines whether the attention region and each of the plurality of reference regions are similar to each other based on a difference between the color component of the attention region among the plurality of regions and the color component of each of the plurality of reference regions located around the attention region; a show-through correction unit that corrects the attention area using the reference area that is determined to be similar when the attention area is determined to be included in the background area, The region of interest is shifted in sequence and corrected by the image-bleeding correction unit, thereby generating an image with image-bleeding removed in which the image-bleeding component of the input image is removed. An image processing device comprising: <2> a same background determination unit that determines whether the reference region has the same background as the attention region; When it is determined that the attention area is included in the background area, the back-reflection correction unit corrects the attention area using the reference area determined to be similar to the attention area and located closer to the attention area than the reference area determined to not have the same background as the attention area. Characterized by <1> The image processing device described herein. <3> a brightness determination unit that determines the brightness of the attention area based on the brightness component extracted by the component extraction unit, The off-set correction unit is configured to, when it is determined that the brightness of the attention area is lower than a predetermined brightness, not to correct the attention area. Characterized by <1> or <2> The image processing device according to claim 1 . <4> a size determination unit that determines a size of an area, among the plurality of areas, that has a color similar to that of the attention area that has been determined to be a background; The off-set correction unit does not correct the attention area when the determined size exceeds the size of the plurality of reference areas. Characterized by <1> Or <3> 13. The image processing device according to claim 12 . <5> a plurality of correction color calculation units each calculating a plurality of correction colors to be used for correcting the attention area by using the plurality of reference areas; The offset correction unit combines the plurality of correction colors calculated by the plurality of correction color calculation units at a predetermined ratio, and corrects the attention area using the correction color obtained by the combination. Characterized by <1> Or <4> 13. The image processing device according to claim 12 . <6> The plurality of correction color calculation units include a first correction color calculation unit that calculates the brightest color among the plurality of reference regions as a first correction color; a second correction color calculation unit that calculates a color darker than the first correction color by using the colors of the plurality of reference areas. Characterized by <5> The image processing device according to claim 1 . <7> an image reading unit that reads an image included in a document and generates the input image; The input image generated by the image reading unit is processed to generate the image with the show-through removed. <1> Or <6> An image processing device according to any one of claims 1 to 5, an image forming unit that forms an image processed by the image processing device; Image forming device. <8> A foreground / background determination process for dividing a plurality of regions in an input image into a foreground region including a foreground image and a background region including a background image; a component extraction process for extracting a luminance component and a color component of each of the plurality of regions; a similarity determination process for determining whether or not the attention region and each of the plurality of reference regions are similar to each other based on a difference between the color component of the attention region among the plurality of regions and the color component of each of the plurality of reference regions located around the attention region; a show-through correction process for correcting the attention area using the reference area determined to be similar when the attention area is determined to be included in the background area; A process of generating a show-through removed image in which the show-through component of the input image is removed by sequentially shifting the attention area and correcting the attention area by the show-through correction process; 2. An image processing method comprising: <9> A foreground / background determination process for dividing a plurality of regions in an input image into a foreground region including a foreground image and a background region including a background image; a component extraction process for extracting a luminance component and a color component of each of the plurality of regions; a similarity determination process for determining whether or not the attention region and each of the plurality of reference regions are similar to each other based on a difference between the color component of the attention region among the plurality of regions and the color component of each of the plurality of reference regions located around the attention region; a show-through correction process for correcting the attention area using the reference area determined to be similar when the attention area is determined to be included in the background area; A process of generating a show-through removed image in which the show-through component of the input image is removed by sequentially shifting the attention area and correcting the attention area by the show-through correction process; An image processing program characterized by causing a computer to execute the above steps.
[0121] Although the present invention has been described above based on the embodiments, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]
[0122] 1 Contact Glass 2 light source 3, 4, 5 Mirror 6 First Carriage 7 Second Carriage 8 Lens unit 9 Image Sensor 10 Sensor board 11 Main body 12 Manuscript 13 Standard white board 14 Background board 21 Foreground / background determination section 22 Color conversion section 23 Similarity determination section 24, 24A, 24B, 24C, 24D Bleed-through correction section 25A Same background determination section 26B Brightness judgment section 27C Size determination section 100 Image forming device 101 Image reading unit 102 ADF 103 Image forming section 104 Manual feed roller 105 Imaging unit 106 Imaging Elements 107 Recording paper supply unit 107a Recording paper feed cassette 108 Registration roller 109 Optical writing device 110 Fixing device 111 Reversal mechanism 112 Secondary transfer belt 113 Intermediate transfer belt 114 Transcription section 200, 200A, 200B, 200C Image processing device 201 CPU 202 ROM 203 Chipset 204 Main Memory 205 I / O Interface Section 206 Controller 207 Main Memory 208 Image Processing Unit 211 HDD [Prior art documents] [Patent documents]
[0123] [Patent Document 1] JP 2001-169080 A [Patent Document 2] JP 2003-283831 A
Claims
1. a foreground / background determination unit that divides a plurality of regions in an input image into a foreground region including a foreground image and a background region including a background image; a component extracting unit that extracts a luminance component and a color component of each of the plurality of regions; a similarity determination unit that determines whether the attention region and each of the plurality of reference regions are similar to each other based on a difference between the color component of the attention region among the plurality of regions and the color component of each of the plurality of reference regions located around the attention region; a show-through correction unit that corrects the attention area using the reference area that is determined to be similar when the attention area is determined to be included in the background area, The region of interest is shifted in sequence and corrected by the image-bleeding correction unit, thereby generating an image with image-bleeding removed in which the image-bleeding component of the input image is removed. An image processing device comprising:
2. a same background determination unit that determines whether the reference region has the same background as the attention region; When it is determined that the attention area is included in the background area, the back-reflection correction unit corrects the attention area using the reference area determined to be similar to the attention area and located closer to the attention area than the reference area determined to not have the same background as the attention area.
2. The image processing device according to claim 1,
3. a brightness determination unit that determines the brightness of the attention area based on the brightness component extracted by the component extraction unit, The off-set correction unit is configured to, when it is determined that the brightness of the attention area is lower than a predetermined brightness, not to correct the attention area.
2. The image processing device according to claim 1,
4. a size determination unit that determines a size of an area, among the plurality of areas, that has a color similar to that of the attention area that has been determined to be a background; The off-set correction unit does not correct the attention area when the determined size exceeds the size of the plurality of reference areas.
2. The image processing device according to claim 1,
5. a plurality of correction color calculation units each calculating a plurality of correction colors to be used for correcting the attention area by using the plurality of reference areas; The offset correction unit combines the plurality of correction colors calculated by the plurality of correction color calculation units at a predetermined ratio, and corrects the attention area using the correction color obtained by the combination.
2. The image processing device according to claim 1,
6. The plurality of correction color calculation units include a first correction color calculation unit that calculates the brightest color among the plurality of reference regions as a first correction color; a second correction color calculation unit that calculates a color darker than the first correction color by using the colors of the plurality of reference areas.
6. The image processing device according to claim 5,
7. an image reading unit that reads an image included in a document and generates the input image; 7. The image processing device according to claim 1, further comprising: a processor for processing the input image generated by the image reading unit to generate the image with the show-through removed; an image forming unit that forms an image processed by the image processing device; Image forming device.
8. A foreground / background determination process for dividing a plurality of regions in an input image into a foreground region including a foreground image and a background region including a background image; a component extraction process for extracting a luminance component and a color component of each of the plurality of regions; a similarity determination process for determining whether or not the attention region and each of the plurality of reference regions are similar to each other based on a difference between the color component of the attention region among the plurality of regions and the color component of each of the plurality of reference regions located around the attention region; a show-through correction process for correcting the attention area using the reference area determined to be similar when the attention area is determined to be included in the background area; A process of generating a show-through removed image in which the show-through component of the input image is removed by sequentially shifting the attention area and correcting the attention area by the show-through correction process; 2. An image processing method comprising:
9. A foreground / background determination process for dividing a plurality of regions in an input image into a foreground region including a foreground image and a background region including a background image; a component extraction process for extracting a luminance component and a color component of each of the plurality of regions; a similarity determination process for determining whether or not the attention region and each of the plurality of reference regions are similar to each other based on a difference between the color component of the attention region among the plurality of regions and the color component of each of the plurality of reference regions located around the attention region; a show-through correction process for correcting the attention area using the reference area determined to be similar when the attention area is determined to be included in the background area; A process of generating a show-through removed image in which the show-through component of the input image is removed by sequentially shifting the attention area and correcting the attention area by the show-through correction process; An image processing program characterized by causing a computer to execute the above steps.
Citation Information
Patent Citations
Color picture processing method, color picture processor and recording medium for the same
JP2001169080A
Color image processing method and color image processing apparatus
JP2003283831A
