Image processing system and image processing program

The image processing system improves the accuracy of determining document image blankness by analyzing L*, a*, and b* histograms in Lab color space, addressing inaccuracies in traditional RGB-based methods.

JP2024137504APending Publication Date: 2024-10-07FUJIFILM BUSINESS INNOVATION CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023049041
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-07

AI Technical Summary

Technical Problem

Existing image processing systems inaccurately determine whether a document image is blank or non-blank, particularly when the maximum RGB values and differences are the same, leading to incorrect classification of non-blank pages as blank.

Method used

An image processing system that reads an original image in Lab color space and generates L*, a*, and b* histograms to determine the presence of contrast and hue differences, using specific threshold criteria to accurately classify document images as blank or non-blank.

Benefits of technology

Improves the accuracy of determining whether a document image is blank or non-blank by considering contrast and hue differences, enhancing the precision of page classification beyond traditional RGB-based methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024137504000001_ABST
    Figure 2024137504000001_ABST
Patent Text Reader

Abstract

To improve the accuracy of determining whether a document image is a non-blank sheet, compared to when the determination is made by calculating histograms of maximum values and histograms of maximum differences of RGB from image information of an RGB color space.SOLUTION: An image processing system includes: an image reading unit that reads a document image to generate image information of a Lab color space; and a processor. The processor is configured to: calculate L*, a*, and b* histograms for the image information; determine whether there is a contrast in the image information using the L* histogram; determine whether there is a hue difference in the image information using the a* and b* histograms; and determine, if there is a contrast and / or there is a hue difference, that the document image is a non-blank sheet.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an image processing system and an image processing program. [Background technology]

[0002] Patent Document 1 discloses an image processing device that determines whether image data is a plain image based on image data composed of a plurality of pixels, and that is characterized by comprising a determination unit that compares a feature calculated from the image data with a threshold value to determine whether the image data is a plain image, and a setting unit that, when at least one of a reading method for reading image data from a document or an output method for printing out the image data is input, sets the threshold value to be used for the determination in accordance with the input method. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2009-094903 A Summary of the Invention [Problem to be solved by the invention]

[0004] Incidentally, when a processor determines whether a document image is blank by obtaining a histogram of the maximum RGB values ​​and the maximum difference from image information in the RGB color space, if the maximum RGB values ​​and the maximum differences are all the same even if the colors of the characters or patterns differ from the background color of the document, the processor will determine that a non-blank page is blank. Here, a blank page is a plain document that does not contain any characters or patterns.

[0005] Therefore, the present disclosure aims to improve the accuracy of determining whether an original image is non-blank, compared to a configuration in which a histogram of RGB maximum values ​​and a histogram of maximum differences are calculated for image information in the RGB color space to determine whether an original image is non-blank. [Means for solving the problem]

[0006] In order to achieve the above-mentioned object, an image processing system according to a first embodiment has an image reading unit that reads an original image and generates image information in Lab color space, and a processor, wherein the processor calculates histograms of L*, a*, and b* for the image information, determines whether or not there is contrast in the image information using the L* histogram, and determines whether or not there is a hue difference in the image information using the a* histogram and the b* histogram, and determines that the original image is non-blank when at least one of the cases where the contrast is present and the hue difference is present.

[0007] In a second aspect of the image processing system, in the image processing system of the first aspect, the L* histogram is a histogram in which the number of pixels for each predetermined division of L* of the image information is used as a frequency, and the processor determines that the contrast is present when there are two or more peaks in the L* histogram that exceed a predetermined first frequency threshold.

[0008] An image processing system according to a third aspect is the image processing system according to the first aspect, wherein the a* histogram is a histogram in which the number of pixels for each predetermined division of the a* of the image information is used as a frequency, and the b* histogram is a histogram in which the number of pixels for each predetermined division of the b* of the image information is used as a frequency, and the processor determines that the image information has a hue difference when at least one of the following cases is found: when the a* histogram has two or more peaks that exceed a predetermined second frequency threshold, and when the b* histogram has two or more peaks that exceed a predetermined third frequency threshold.

[0009] An image processing system according to a fourth aspect is the image processing system according to the first aspect, wherein the processor determines the document image to be a white blank paper when the contrast is absent and the hue difference is absent.

[0010] An image processing system according to a fifth aspect is the image processing system according to the first aspect, wherein the L* histogram is a histogram in which the number of pixels for each predetermined division of the L* of the image information is used as a frequency, the a* histogram is a histogram in which the number of pixels for each predetermined division of the a* of the image information is used as a frequency, and the b* histogram is a histogram in which the number of pixels for each predetermined division of the b* of the image information is used as a frequency, and the processor determines that the document image is blank when the number of peaks in the L* histogram that exceed a predetermined first frequency threshold, the number of peaks in the a* histogram that exceed a predetermined second frequency threshold, and the number of peaks in the b* histogram that exceed a predetermined third frequency threshold are all one.

[0011] An image processing system according to a sixth aspect is the image processing system according to the fifth aspect, wherein the processor determines that the document image is blank and that the L* value of the section in which the peak is included in the L* histogram is less than or equal to a predetermined first L* threshold value and determines that the document image is non-blank.

[0012] An image processing system according to a seventh aspect is the image processing system according to the sixth aspect, wherein the processor determines that the document image is blank when the L* value of the section containing the peak in the L* histogram is the maximum value.

[0013] An image processing system according to an eighth aspect is the image processing system according to the fifth aspect, wherein the processor determines that the original image is blank and that the color identified by the peak of the a* histogram and the peak of the b* histogram includes a designated color that has been specified in advance.

[0014] An image processing program according to a ninth aspect causes a computer to execute the following process: read an original image to generate image information in Lab color space; obtain L*, a*, and b* histograms for the image information; determine whether or not there is contrast in the image information using the L* histogram; determine whether or not there is a hue difference in the image information using the a* histogram and the b* histogram; and determine that the original image is non-blank if there is at least one of the cases where the contrast is present and the hue difference is present. Effect of the Invention

[0015] According to the first aspect, the accuracy of determining whether an original image is non-blank can be improved compared to a configuration in which a histogram of RGB maximum values ​​and a histogram of maximum differences are obtained for image information in the RGB color space to determine whether an original image is non-blank.

[0016] According to the second aspect, the accuracy of determining whether a document image is non-blank can be improved compared to a configuration in which it is determined that contrast is present when there are three or more peaks exceeding the first degree threshold in the L* histogram.

[0017] According to the third aspect, the accuracy of determining whether an original image is non-blank can be improved compared to a configuration in which a hue difference is determined to exist when there are three or more peaks in the a* histogram that exceed the second frequency threshold and / or when there are three or more peaks in the b* histogram that exceed the third frequency threshold.

[0018] According to the fourth aspect, the background color of the document image can be determined.

[0019] According to the fifth aspect, it is possible to improve the accuracy of blank page determination of a document image, compared to a case where this configuration is not included.

[0020] According to the sixth aspect, it is possible to improve the accuracy of determining whether an original image is a non-blank page, compared to a case where this configuration is not included.

[0021] According to the seventh aspect, it is possible to improve the accuracy of blank page determination of a document image, compared to a case where this configuration is not included.

[0022] According to the eighth aspect, it is possible to improve the accuracy of determining whether an original image is a non-blank page, compared to a case where this configuration is not included.

[0023] According to the ninth aspect, the accuracy of determining whether an original image is non-blank can be improved compared to a configuration in which a histogram of RGB maximum values ​​and a histogram of maximum differences are obtained for image information in the RGB color space to determine whether an original image is non-blank. [Brief description of the drawings]

[0024] [Figure 1] 1 is a perspective view illustrating an external appearance of an image forming apparatus which is an example of an image forming system according to an embodiment of the present invention. [Diagram 2] 1 is a block diagram showing a configuration of a main part of an electrical system of an image forming apparatus which is an example of an image forming system according to an embodiment of the present invention. [Diagram 3] 2 is a functional block diagram showing an example of a functional configuration of a control unit of an image forming apparatus which is an example of an image forming system according to the present embodiment. FIG. [Figure 4A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 4B] 4B is an L* histogram obtained from image information in the Lab color space of the document read from the document in FIG. 4A. [Figure 4C] The a* histogram and b* histogram are obtained from image information in the Lab color space of a scanned document. [Figure 5A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 5B] 5B are an L* histogram, an a* histogram, and a b* histogram obtained from image information in the Lab color space read from the original of FIG. 5A. [Figure 6A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 6B]6B are an L* histogram, an a* histogram, and a b* histogram obtained from image information in the Lab color space read from the original in FIG. 6A. [Figure 7A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 7B] 7B are an L* histogram, an a* histogram, and a b* histogram obtained from image information in the Lab color space read from the original of FIG. 7A. [Figure 8A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 8B] 8B are an L* histogram, an a* histogram, and a b* histogram obtained from image information in the Lab color space read from the original in FIG. 8A. [Figure 9A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 9B] 9B are an L* histogram, an a* histogram, and a b* histogram obtained from image information in the Lab color space read from the original in FIG. 9A. [Figure 10A] FIG. 2 is a diagram showing an example of a document to be read; [Figure 10B] 10B are an L* histogram, an a* histogram, and a b* histogram obtained from image information in the Lab color space read from the original in FIG. 10A. [Figure 11] 6 is a flowchart showing an example of a flow of a process performed by a control unit of the image forming apparatus according to the embodiment. [Figure 12] 10 is a flowchart showing a first modified example of the flow of processing performed by a control unit of the image forming apparatus according to the embodiment. [Figure 13] 10 is a flowchart showing a second modified example of the flow of processes performed by the control unit of the image forming apparatus according to the embodiment. [Figure 14] FIG. 13 is a diagram showing a modified example of the image forming system according to the present embodiment. [Figure 15] FIG. 13 is a diagram showing a modified example of the image forming system according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] An example of an embodiment of the present disclosure will be described in detail below with reference to the drawings. In this embodiment, an image forming apparatus will be described as an example of an image processing system. FIG. 1 is a perspective view showing the appearance of an image forming apparatus 20 according to this embodiment. The image forming apparatus 20 according to this embodiment has a print function that receives various data via a communication line such as a network and performs image formation processing based on the received data. In addition, the image forming apparatus 20 according to this embodiment has multiple functions such as a reading function that reads an original to obtain image information representing the original, a copying function that copies an image recorded on the original onto paper, a facsimile function that transmits and receives various data via a telephone line (not shown), a transfer function that transfers document information such as image information read by the reading function, and a storage function that stores document information such as read image information.

[0026] Moreover, the image forming apparatus 20 according to the present embodiment includes an original reading section 30 as an example of an image reading section at the top of the apparatus, and an image forming section 40 is disposed below the original reading section 30. The original reading section 30 includes an original transport section (not shown) in an original cover 32. The original transport section sequentially pulls in the originals 150 placed on an original feed section 32A provided in the original cover 32, and transports them onto a platen glass (not shown). The original reading section 30 reads the image recorded on the transported originals 150. Then, the original transport section discharges the originals 150, whose images have been read, onto an original discharge section 32B provided in the original cover 32. The original reading section 30 generates image information in the Lab color space from the read original image.

[0027] The document reading unit 30 is also provided with a user interface 34 that accepts various instruction operations from a user. The user interface 34 is implemented by a software program. The printer is provided with a display 34A that displays display buttons for accepting command operations by a computer system, various information, and hardware keys 34B such as a numeric keypad. The display 34A is of a touch panel type that combines a display device such as a liquid crystal panel with a position input device such as a touch pad. The user interface 34 is used by the display buttons on the display 34A and the hardware keys 34B to set the number of copies and magnification when using the copy function, and as dial keys of a telephone when using the facsimile function. The hardware keys 34B may be omitted.

[0028] On the other hand, the image forming section 40 includes a paper feed storage section 42 that stores paper sheets that serve as recording media for image formation. The image forming section 40 takes out the paper sheets stored in the paper feed storage section 42 one by one, and forms an image on the paper sheets based on image data, for example, by an electrophotographic process. The image forming section 40 also sequentially discharges the paper sheets on which the image has been formed onto a paper discharge section (not shown).

[0029] FIG. 2 is a block diagram showing the main configuration of an electrical system of the image forming apparatus 20 according to this embodiment.

[0030] 2, the image forming apparatus 20 according to this embodiment includes a control unit 50 including a central processing unit (CPU) 50A, a read only memory (ROM) 50B, and a random access memory (RAM) 50C. The CPU 50A controls the overall operation of the image forming apparatus 20. The RAM 50C is used as a work area when the CPU 50A executes various programs. The ROM 50B stores various control programs such as an image processing program and various parameters in advance. In the image forming apparatus 20, each part of the control unit 50 is electrically connected to each other via a system bus 58.

[0031] On the other hand, the image forming apparatus 20 according to the present embodiment includes a storage unit 52 that stores various data, application programs, and the like. The image forming apparatus 20 is also connected to a user interface 34 and includes a display control unit 54 that controls the display of various operation screens, etc. on a display 34A of the user interface 34. The image forming apparatus 20 is also connected to the user interface 34 and includes an operation input detection unit 56 that detects an operation instruction input via the user interface 34. In the image forming apparatus 20, the storage unit 52, the display control unit 54, and the operation input detection unit 56 are electrically connected to a system bus 58. For example, the storage unit 52 may be a hard disk drive (HDD), or a non-volatile storage unit such as a flash memory.

[0032] The image forming apparatus 20 according to the present embodiment includes a reading control unit 62 that controls the optical image reading operation by the document optical reading unit 60 and the document feeding operation by the document transport unit, and an image forming control unit 64 that controls the image forming process by the image forming unit 40 and the transport of paper to the image forming unit 40 by the transport unit 44. The image forming apparatus 20 also includes a communication line I / F (interface) unit 66 that is connected to a communication line (not shown) and transmits and receives communication data to and from other external devices such as a server connected to the communication line, and an image processing unit 68 that performs various image processing. The image forming apparatus 20 also includes a facsimile I / F (interface) unit 70 that is connected to a telephone line (not shown) and transmits and receives facsimile data to and from a facsimile device connected to the telephone line. The image forming apparatus 20 also includes a transmission / reception control unit 72 that controls the transmission and reception of facsimile data via the facsimile I / F unit 70. In the image forming device 20, the transmission / reception control unit 72, the reading control unit 62, the image forming control unit 64, the communication line I / F unit 66, the facsimile I / F unit 70, and the image processing unit 68 are electrically connected to the system bus 58.

[0033] With the above configuration, the image forming apparatus 20 according to the present embodiment performs the following operations: The CPU 50A of the image forming apparatus 20 controls the display of information such as an operation screen and various messages on the display 34A of the user interface 34 via the display control unit 54. The CPU 50A of the image forming apparatus 20 controls the operation of the document optical reading unit 60 and the document transport unit via the reading control unit 62. The CPU 50A of the image forming apparatus 20 controls the operation of the image forming unit 40 and the transport unit 44 via the image formation control unit 64, and controls the transmission and reception of communication data via the communication line I / F unit 66. The CPU 50A of the image forming apparatus 20 controls the transmission and reception of facsimile data via the facsimile I / F unit 70 via the transmission and reception control unit 72. The CPU 50A of the image forming apparatus 20 grasps the operation content in the user interface 34 based on the operation information detected by the operation input detection unit 56, and executes various controls based on the operation content.

[0034] Next, a functional configuration realized by the CPU 50A of the control unit 50 expanding a program stored in the ROM 50B into the RAM 50C and executing it in the image forming apparatus 20 according to this embodiment will be described. Fig. 3 is a functional block diagram showing an example of the functional configuration of the control unit 50 of the image forming apparatus 20 according to this embodiment.

[0035] The control unit 50 has the functions of an L* histogram creation unit 80, an a* histogram creation unit 82, a b* histogram creation unit 84, a contrast presence / absence determination unit 86, a hue difference determination unit 88, and a blank page determination unit 90. Note that in this embodiment, the functional configuration in Fig. 3 will be described as the functions of the control unit 50, but this is not limited thereto, and the functions may be those of the image processing unit 68, for example.

[0036] The L* histogram creation unit 80 obtains an L* histogram for image information in Lab color space obtained by reading an original image with the original optical reading unit 60. For example, the L* histogram shown in Fig. 4B is created from image information in Lab color space obtained by reading an original 150 shown in Fig. 4A. Note that the threshold value Lth1 shown in Fig. 4B is an example of a first degree threshold value in this disclosure.

[0037] The L* histogram created by the L* histogram creating unit 80 is a histogram in which the frequency is the number of pixels for each predetermined division (also called "bin") of L* of image information in the Lab color space.

[0038] The a* histogram creation unit 82 obtains an a* histogram for image information in the Lab color space. For example, the a* histogram shown in Fig. 4C is created from image information in the Lab color space obtained by reading the document 150 shown in Fig. 4A. Note that the threshold value ath1 shown in Fig. 4C is an example of the second frequency threshold value in the present disclosure.

[0039] The a* histogram created by a* histogram creation unit 82 is a histogram in which the frequency is the number of pixels for each predetermined division (also called "bin") of a* of image information in the Lab color space.

[0040] The b* histogram creation unit 84 obtains a b* histogram for the image information in the Lab color space. For example, the b* histogram shown in Fig. 4C is created from the image information in the Lab color space obtained by reading the document 150 shown in Fig. 4A. Note that the threshold value bth1 shown in Fig. 4C is an example of the third frequency threshold value in the present disclosure.

[0041] The b* histogram created by the b* histogram creating unit 84 is a histogram in which the frequency is the number of pixels for each predetermined division (also called "bin") of b* of image information in the Lab color space.

[0042] The divisions of the L* histogram, a* histogram, and b* histogram are preset to be optimal through experiments, etc. The number of divisions of the L* histogram, a* histogram, and b* histogram may differ from each other. However, the number of divisions of the a* histogram and the b* histogram is set to be the same.

[0043] The contrast presence / absence determination unit 86 uses the L* histogram to determine the presence or absence of contrast in the image information in the Lab color space. Specifically, the contrast presence / absence determination unit 86 determines that contrast is present when the L* histogram has two or more peaks that exceed a predetermined threshold value Lth1. In other words, the contrast presence / absence determination unit 86 determines that contrast is absent when the L* histogram has one peak that exceeds the threshold value Lth1. Note that even if the frequency of a bin adjacent to a bin that includes a peak that exceeds the threshold value Lth1 exceeds the threshold value Lth1, the peak is counted as one.

[0044] The hue difference determination unit 88 determines the presence or absence of a hue difference in the image information in the Lab color space using the a* histogram and the b* histogram. Specifically, the hue difference determination unit 88 determines that there is a hue difference in the image information in the Lab color space when at least one of the following cases is present: when there are two or more peaks exceeding a predetermined threshold ath1 in the a* histogram and when there are two or more peaks exceeding a predetermined threshold bth1 in the b* histogram. In other words, the hue difference determination unit 88 determines that there is no hue difference when there is one peak exceeding the threshold ath1 in the a* histogram and when there is one peak exceeding the threshold bth1 in the b* histogram. Note that even if the frequency of a bin adjacent to a bin including a peak exceeding the threshold ath1 exceeds the threshold ath1, the peak is counted as one. Similarly, even if the frequency of a bin adjacent to a bin including a peak exceeding the threshold bth1 exceeds the threshold bth1, the peak is counted as one.

[0045] The blank page determination unit 90 has a function of determining whether the document 150 is blank or not. Specifically, the blank page determination unit 90 determines the document image to be not blank when at least one of the following cases is found: the contrast presence / absence determination unit 86 determines that there is contrast; and the hue difference determination unit 88 determines that there is a hue difference. On the other hand, the blank paper determination unit 90 determines the document image to be blank (blank) when the contrast presence / absence determination unit 86 determines that there is no contrast and when the hue difference determination unit 88 determines that there is no hue difference. Specifically, the blank paper determination unit 90 determines the document image to be blank when the number of peaks exceeding the threshold value Lth1 in the L* histogram, the number of peaks exceeding the threshold value ath1 in the a* histogram, and the number of peaks exceeding the threshold value bth1 in the b* histogram are all one.

[0046] Moreover, the blank page determination unit 90 determines the document image to be a non-blank page when the document image is determined to be a blank page and the L* value of a bin containing a peak in the L* histogram is equal to or smaller than a predetermined threshold value Lth1. On the other hand, the blank page determination unit 90 determines the document image to be a white blank page when the document image is determined to be a blank page and the L* value of a bin containing a peak in the L* histogram exceeds a predetermined threshold value Lth3.

[0047] For example, as shown in Fig. 5A, when the document 152 is a white sheet of paper, there will be one peak exceeding the threshold value Lth1 in the L* histogram as shown in Fig. 5B. Also, since the document 152 is white, the L* value of the bin containing the peak will be the maximum value. Note that the "maximum L* value of the bin" here refers to the maximum value in the range of L* values ​​contained in the bin. In this embodiment, for example, since the L* value for white is set to 255, the maximum L* value of the bin containing the peak in the L* histogram will be 255. 5B, the a* histogram has one peak that exceeds the threshold ath1, and the b* histogram has one peak that exceeds the threshold bth1. Note that in both the a* histogram and the b* histogram, the frequencies are concentrated in bins in the center of the histogram (in other words, near the gray axis). 5B, the L* histogram has one peak exceeding the threshold Lth1, the a* histogram has one peak exceeding the threshold ath1, and the b* histogram has one peak exceeding the threshold bth1, so that the control unit 50 determines that the document 152 is blank (plain). Note that a white blank document may also be referred to as a white plain document.

[0048] For example, as shown in FIG. 6A, when the document 154 is a white paper with black characters, as shown in FIG. 6B, there are two peaks exceeding the threshold value Lth1 in the L* histogram. Also, since the document 152 is white with black characters, the L* value of the bin containing the first peak is the minimum value, and the L* value of the bin containing the second peak is the maximum value. Note that the "minimum L* value of the bin" here refers to the minimum value in the range of L* values ​​contained in the bin. In this embodiment, for example, the L* value for black is set to 0, so the minimum L* value of the bin containing the first peak in the L* histogram is 0. 6B, the a* histogram has one peak that exceeds the threshold ath1, and the b* histogram has one peak that exceeds the threshold bth1. Note that in both the a* histogram and the b* histogram, the frequencies are concentrated in bins in the center of the histogram (in other words, near the gray axis). As shown in FIG. 6B, since there are two peaks exceeding the threshold value Lth1 in the L* histogram, the blank page determining section 90 of the control section 50 determines that the document 154 is a non-blank page.

[0049] For example, when the document 156 is printed on pink paper and has black characters as shown in FIG. 7A, the L* histogram has two peaks that exceed the threshold value Lth1 as shown in FIG. 7B. Furthermore, as shown in FIG. 7B, there are two peaks in the a* histogram that exceed the threshold ath1, and there is one peak in the b* histogram that exceeds the threshold bth1. As shown in FIG. 7B, the L* histogram has two peaks that exceed the threshold Lth1, and the a* histogram has two peaks that exceed the threshold ath1, so that the blank page determination unit 90 of the control unit 50 determines that the document 156 is a non-blank page.

[0050] For example, as shown in FIG. 8A, when the original 158 is pink paper with light blue characters (in other words, when the colored paper has colored characters and similar luminance values), there will be one peak exceeding the threshold value Lth1 in the L* histogram, as shown in FIG. 8B. Furthermore, as shown in FIG. 8B, there are two peaks that exceed the threshold ath1 in the a* histogram, and there are two peaks that exceed the threshold bth1 in the b* histogram. As shown in FIG. 8B, the a* histogram has two peaks exceeding the threshold ath1, and the b* histogram has two peaks exceeding the threshold bth1, so that the blank page determination unit 90 of the control unit 50 determines that the document 158 ​​is a non-blank page.

[0051] For example, as shown in FIG. 9A, when the document 160 is pink paper with red characters (in other words, colored paper with colored characters and similar hues), there will be two peaks exceeding the threshold value Lth1 in the L* histogram as shown in FIG. 9B. Furthermore, as shown in FIG. 9B, there is one peak that exceeds the threshold ath1 in the a* histogram, and there is one peak that exceeds the threshold bth1 in the b* histogram. As shown in FIG. 9B, since there are two peaks exceeding the threshold value Lth1 in the L* histogram, the blank page determining section 90 of the control section 50 determines that the document 158 ​​is a non-blank page.

[0052] For example, as shown in FIG. 10A, when the document 162 is pink paper with black text (when the text is greater than the background area), the L* histogram has two peaks that exceed the threshold Lth1 as shown in FIG. 10B. Furthermore, as shown in FIG. 10B, there are two peaks in the a* histogram that exceed the threshold ath1, and there is one peak in the b* histogram that exceeds the threshold bth1. As shown in FIG. 10B, the L* histogram has two peaks that exceed the threshold Lth1, and the a* histogram has two peaks that exceed the threshold ath1, so that the blank page determining unit 90 of the control unit 50 determines that the document 162 is a non-blank page.

[0053] Next, a specific process performed in the image forming apparatus 20 according to the present embodiment configured as described above will be described. Fig. 11 is a flow chart showing an example of the flow of the process performed in the control unit 50 of the image forming apparatus 20 according to the present embodiment. The process in Fig. 11 starts when, for example, a predetermined instruction is given for image information by operating the user interface 34. The image information may be image information obtained by reading with the original optical reading unit 60, or image information that has been read and stored in advance in the storage unit 52.

[0054] In step S200, CPU 50A generates image information in the Lab color space of original 150 read by original optical reading unit 60, and proceeds to step S202.

[0055] In step S202, the CPU 50A obtains each of the L*, a*, and b* histograms. That is, the CPU 50A creates an L* histogram, an a* histogram, and a b* histogram, and then the process proceeds to step S204.

[0056] In step S204, the CPU 50A determines whether the number of bins in the L* histogram whose frequency exceeds the threshold Lth1 is equal to or greater than the threshold Lth2. In this embodiment, the threshold Lth2 is set to 2. That is, the CPU 50A determines whether the number of bins whose frequency exceeds the threshold Lth1 is two or more. If the number of bins in the L* histogram whose frequency exceeds the threshold Lth1 is two or more, the CPU 50A proceeds to step S214, and if the number of bins is one, the CPU 50A proceeds to step S206.

[0057] In step S206, the CPU 50A determines whether the number of bins in the a* histogram whose frequency exceeds the threshold ath1 is equal to or greater than the threshold ath2. In this embodiment, the threshold ath2 is set to 2. That is, the CPU 50A determines whether the number of bins whose frequency exceeds the threshold ath1 is two or more. If the number of bins in the a* histogram whose frequency exceeds the threshold ath1 is two or more, the CPU 50A proceeds to step S214, and if the number of bins is one, the CPU 50A proceeds to step S208.

[0058] In step S208, the CPU 50A determines whether the number of bins in the b* histogram whose frequency exceeds the threshold bth1 is equal to or greater than the threshold bth2. In this embodiment, the threshold bth2 is set to 2. That is, the CPU 50A determines whether the number of bins whose frequency exceeds the threshold bth1 is two or more. If the number of bins in the b* histogram whose frequency exceeds the threshold bth1 is two or more, the CPU 50A proceeds to step S214, and if the number of bins is one, the CPU 50A proceeds to step S210.

[0059] In step S210, the CPU 50A determines whether the L* value of one bin (i.e., the bin including the peak) in the L* histogram whose frequency exceeds the threshold Lth1 is equal to or less than the threshold Lth3. If the L* value of the bin including the peak in the L* histogram is equal to or less than the threshold Lth3, the CPU 50A proceeds to step S214, and if the L* value of the bin including the peak exceeds the threshold Lth3, the CPU 50A proceeds to step S212.

[0060] In step S212, CPU 50A determines that original 150 is blank (white paper), and ends the series of processes.

[0061] In step S214, CPU 50A determines that document 150 is a non-blank sheet, and ends the series of processes.

[0062] Next, modified examples of the process flow performed by the control unit 50 of the image forming apparatus 20 according to the present embodiment will be described. Figures 12 and 13 are flowcharts showing modified examples of the process flow performed by the control unit 50 of the image forming apparatus 20 according to the present embodiment. Note that the same processes as those in Figure 11 are given the same reference numerals and detailed descriptions thereof will be omitted.

[0063] In the first modified example, instead of steps S210 and S212, step S220 is added to the process of Fig. 11. That is, if it is determined in step S208 that the number of bins in which the frequency of the b* histogram exceeds the threshold bth1 is one, the process proceeds to step S220. In step S220, the CPU 50A determines that the document 150 is blank (plain), and ends the series of processes. In this way, the configuration may be such that it is determined that the document 150 is blank.

[0064] In the second modified example, the process of step S230 is added to the process of Fig. 11. That is, if it is determined in step S210 that the L* value of the bin including the peak of the L* histogram exceeds the threshold value Lth3, the process proceeds to step S230. In step S230, the CPU 50A determines whether or not a color specified by one peak of the a* histogram and one peak of the b* histogram is a designated color specified in advance. If the specified color is a designated color specified in advance, the CPU 50A proceeds to step S214, and if the specified color does not correspond to the designated color specified in advance, the process proceeds to step S212. In this way, if the document 150 is colored paper, the specific color may be determined to be non-blank.

[0065] 11, the following step may be inserted instead of step S210. This step is, for example, a step for determining whether or not the L* value of a bin containing a peak in an L* histogram is the maximum value. If this step determines that the L* value of a bin containing a peak in an L* histogram is the maximum value, the process proceeds to step S212, and if it determines that the L* value of the bin containing the peak is not the maximum value, the process proceeds to step S214. This makes it possible to accurately determine whether or not the original 150 is white paper.

[0066] It should be noted that the above-mentioned steps S204, S206, and S208 may be appropriately interchanged.

[0067] Next, the operation of this embodiment will be described. In this embodiment, the document image is determined to be non-blank when at least one of the cases where there is contrast and the case where there is a hue difference is determined. Therefore, the accuracy of the non-blank determination of the document image can be improved compared to a configuration in which the non-blank determination of the document image is performed by obtaining a histogram of the maximum RGB values ​​and a histogram of the maximum difference for the image information in the RGB color space.

[0068] In addition, when it is determined that contrast is present when there are two or more peaks in the L* histogram that exceed a predetermined threshold value Lth1, the accuracy of determining whether an original image is non-blank can be improved compared to a configuration in which it is determined that contrast is present when, for example, there are three or more peaks in the L* histogram that exceed the threshold value Lth1.

[0069] Also, when it is determined that there is no contrast and no hue difference, and the document image is determined to be blank, it is possible to determine the background color of the document image.

[0070] In addition, when a document image is judged to be blank and the L* value of the section containing the peak in the L* histogram is below the threshold value Lth3, the document image is judged to be non-blank, thereby improving the accuracy of the non-blank judgment of the document image.

[0071] Furthermore, when the L* value of the section including the peak in the L* histogram is the maximum value, if the document image is determined to be blank, the accuracy of the blank page determination of the document image can be improved.

[0072] In addition, when the document image is determined to be blank and the color identified by the peak of the a* histogram and the peak of the b* histogram includes a pre-specified designated color, the accuracy of the non-blank determination of the document image can be improved.

[0073] In the above embodiment, the image forming apparatus 20 performs the processes shown in Figs. 11, 12, and 13, but the present invention is not limited to this. For example, as shown in Fig. 14, an image processing system 120 may be configured in which an image forming apparatus 122 and at least one of a server 124 such as a cloud server and a client computer 126 are connected to a communication line 128. In this case, the image forming apparatus 122 may be an image reading apparatus, and the server 124 or the client computer 126 may be an image processing apparatus, and at least one of the processes shown in Figs. 11, 11, and 12 may be performed by the server 124 or the client computer 126. In the case of an image forming system including both the server 124 and the client computer 126, the server 124 and the client computer 126 may cooperate with each other to perform the processes shown in Figs. 11, 11, and 12.

[0074] In the above embodiment, the image forming apparatus 20 as an example of an image processing system performs the processes shown in FIG. 11, FIG. 12, and FIG. 13, but the present invention is not limited thereto. For example, as shown in FIG. 15, the image processing system 130 may include an image forming apparatus 132, an image inspection apparatus 134, and a blank paper removal unit 136. The image forming apparatus 132 discharges the document 170 on which an image is formed, toward the downstream side. The image inspection apparatus 134 reads and inspects the image of the document 170 on which the image is formed. Specifically, the image inspection apparatus 134 judges whether the document 170 is blank or not. Then, when the image inspection apparatus 134 judges that the document 170 is not blank, the blank paper removal unit 136 removes the document 170 from the transport path and removes it from the transport path. This makes it possible to prevent the blank document from being transported downstream. The control unit in the image processing system 130 may be mounted in the image inspection device 134 , the image forming device 132 , or the blank paper removal unit 136 .

[0075] In addition, in the above embodiment, the CPU has been described as an example of a processor, but the term "processor" refers to a processor in a broad sense, and includes general-purpose processors (e.g., CPUs, etc.) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).

[0076] In addition, the operations of the processor in the above embodiments may be performed not only by one processor, but also by multiple processors located at physically separate locations working together. The order of the operations of the processor is not limited to the order described in the above embodiments, and may be changed as appropriate.

[0077] The processes performed by the image forming apparatus 20 according to the above embodiment may be processes performed by software, may be processes performed by hardware, or may be a combination of both. The processes performed by the image forming apparatus 20 may be stored as a program in a storage medium and distributed.

[0078] Furthermore, the present disclosure is not limited to the above, and it goes without saying that various modifications can be made without departing from the spirit and scope of the present disclosure.

[0079] The following supplementary notes are further disclosed regarding the above embodiment. (((1))) an image reading unit that reads an original image and generates image information in a Lab color space; A processor; having The processor, A histogram of L*, a*, and b* is obtained for the image information; determining the presence or absence of contrast in the image information using an L* histogram; determining whether or not there is a hue difference in the image information using the a* histogram and the b* histogram; The image processing system determines that the document image is non-blank when at least one of the contrast exists and the hue difference exists.

[0080] (((2))) The image processing system described in (((1))), wherein the L* histogram is a histogram in which the number of pixels for each predetermined division of L* of the image information is used as a frequency, and the processor determines that the contrast is present when there are two or more peaks in the L* histogram that exceed a predetermined first degree threshold.

[0081] (((3))) The a* histogram is a histogram in which the number of pixels for each predetermined division of a* of the image information is used as a frequency, the b* histogram is a histogram in which the number of pixels for each predetermined division of b* of the image information is used as a frequency; The processor, The image processing system described in (((1))) or (((2))) determines that the hue difference of the image information exists when at least one of the following cases is found: when there are two or more peaks in the a* histogram that exceed a predetermined second frequency threshold, and when there are two or more peaks in the b* histogram that exceed a predetermined third frequency threshold.

[0082] (((4))) The image processing system according to any one of (((1))) to (((3))), wherein the processor determines that the document image is a white blank sheet of paper when there is no contrast and no hue difference.

[0083] (((5))) The L* histogram is a histogram in which the number of pixels for each predetermined division of L* of the image information is used as a frequency, The a* histogram is a histogram in which the number of pixels for each predetermined division of a* of the image information is used as a frequency, the b* histogram is a histogram in which the number of pixels for each predetermined division of b* of the image information is used as a frequency; The processor, The image processing system according to any one of (((1))) to (((3))), wherein the document image is determined to be blank if the number of peaks in the L* histogram that exceeds a predetermined first frequency threshold, the number of peaks in the a* histogram that exceeds a predetermined second frequency threshold, and the number of peaks in the b* histogram that exceed a predetermined third frequency threshold are all one.

[0084] (((6))) The processor, The image processing system described in (((5))) determines that the document image is blank and that the document image is non-blank if the L* value of the section in which the peak is included in the L* histogram is equal to or less than a predetermined first L* threshold.

[0085] (((7))) The image processing system according to (((6))), wherein the processor determines that the document image is blank when the L* value of the section including the peak in the L* histogram is the maximum value.

[0086] (((8))) The processor, The image processing system described in (((5))) or (((6))), wherein the document image is determined to be blank and the color identified by the peak of the a* histogram and the peak of the b* histogram includes a predetermined designated color, and the document image is determined to be non-blank.

[0087] (((9))) On the computer, The original image is read and image information in the Lab color space is generated. A histogram of L*, a*, and b* is obtained for the image information; determining the presence or absence of contrast in the image information using an L* histogram; determining whether or not there is a hue difference in the image information using the a* histogram and the b* histogram; an image processing program for executing a process of determining that the document image is non-blank when at least one of the contrast exists and the hue difference exists;

[0088] According to (((1))), the accuracy of determining whether an original image is a blank page can be improved compared to a configuration in which a histogram of the maximum RGB values ​​and a histogram of the maximum differences are calculated for image information in the RGB color space to determine whether an original image is a blank page.

[0089] According to (((2))), the accuracy of determining whether an original image is non-blank can be improved compared to a configuration in which contrast is determined to be present when there are three or more peaks exceeding the first degree threshold in the L* histogram.

[0090] According to (((3))), the accuracy of determining whether an original image is non-blank can be improved compared to a configuration in which a hue difference is determined to exist when there are three or more peaks in the a* histogram that exceed the second frequency threshold and / or when there are three or more peaks in the b* histogram that exceed the third frequency threshold.

[0091] According to (((4))), the background color of the document image can be determined.

[0092] According to (((5))), the accuracy of determining blank pages in document images can be improved compared to a case where this configuration is not included.

[0093] According to (((6))), the accuracy of determining whether an original image is not blank can be improved compared to a case where this configuration is not included.

[0094] According to ((7)), the accuracy of determining blank pages in document images can be improved compared to a case where this configuration is not included.

[0095] According to ((8))), the accuracy of determining whether an original image is not blank can be improved compared to a case where this configuration is not included.

[0096] According to (((9))), the accuracy of determining whether an original image is a blank page can be improved compared to a configuration in which a histogram of the maximum RGB values ​​and a histogram of the maximum differences are calculated for image information in the RGB color space to determine whether an original image is a blank page. [Explanation of symbols]

[0097] 20 Image forming device (an example of an image processing system) 30 Document reading unit (an example of an image reading unit) 40 Image forming section 50 Control section 68 Image Processing Section 80 L* Histogram Creation Section 82 a* Histogram Creation Section 84 b* Histogram Creation Section 86 Contrast presence / absence determination section 88 Hue difference determination section 90 Blank paper judgment section 120 Image Processing System 122 Image forming device 130 Image Processing System 132 Image forming device 134 Image Inspection Equipment 136 Blank paper removal section 150 manuscripts Lth1 threshold (an example of the first degree threshold) Lth3 threshold (an example of the first L* threshold) ath1 threshold (an example of the second frequency threshold) bth1 threshold (an example of the third frequency threshold)

Claims

1. an image reading unit that reads an original image and generates image information in a Lab color space; A processor; having The processor, A histogram of L*, a*, and b* is obtained for the image information; determining the presence or absence of contrast in the image information using an L* histogram; determining whether or not there is a hue difference in the image information using the a* histogram and the b* histogram; The image processing system determines that the document image is non-blank when at least one of the contrast exists and the hue difference exists.

2. The L* histogram is a histogram in which the number of pixels for each predetermined division of L* of the image information is used as a frequency, The image processing system according to claim 1 , wherein the processor determines that the contrast is present when the L* histogram contains two or more peaks that exceed a predetermined first degree threshold.

3. The a* histogram is a histogram in which the number of pixels for each predetermined division of a* of the image information is used as a frequency, The b* histogram is a histogram in which the number of pixels for each predetermined division of b* of the image information is used as a frequency, The processor, The image processing system of claim 1, wherein the hue difference of the image information is determined to exist when at least one of the following cases is found: when there are two or more peaks in the a* histogram that exceed a predetermined second frequency threshold, and when there are two or more peaks in the b* histogram that exceed a predetermined third frequency threshold.

4. The image processing system according to claim 1 , wherein the processor determines that the document image is a white blank sheet of paper when the contrast is absent and the hue difference is absent.

5. The L* histogram is a histogram in which the number of pixels for each predetermined division of L* of the image information is used as a frequency, The a* histogram is a histogram in which the number of pixels for each predetermined division of a* of the image information is used as a frequency, The b* histogram is a histogram in which the number of pixels for each predetermined division of b* of the image information is used as a frequency, The processor, 2. The image processing system of claim 1, wherein the document image is determined to be blank when the number of peaks in the L* histogram that exceeds a predetermined first frequency threshold, the number of peaks in the a* histogram that exceeds a predetermined second frequency threshold, and the number of peaks in the b* histogram that exceeds a predetermined third frequency threshold are all one.

6. The processor, 6. The image processing system of claim 5, wherein the document image is determined to be blank and the L* value of the section in which the peak is included in the L* histogram is equal to or less than a predetermined first L* threshold, and the document image is determined to be non-blank.

7. 7. The image processing system according to claim 6, wherein the processor determines that the document image is blank when the L* value of the section including the peak in the L* histogram is a maximum value.

8. The processor, 7. The image processing system according to claim 5, wherein the document image is determined to be blank and the color identified by the peak of the a* histogram and the peak of the b* histogram includes a predetermined designated color, and the document image is determined to be non-blank.

9. On the computer, A document image is read to generate image information in Lab color space; A histogram of L*, a*, and b* is obtained for the image information; determining the presence or absence of contrast in the image information using an L* histogram; determining whether or not there is a hue difference in the image information using the a* histogram and the b* histogram; an image processing program for executing a process of determining that the document image is non-blank when at least one of the contrast exists and the hue difference exists;

Citation Information

Patent Citations

  • Image processor

    JP1997093445A

  • Image processing apparatus, method, and program, image forming apparatus, and medium for recording image processing program

    JP2009094903A