1. Field of the Invention
The present invention relates to image processing apparatuses that read an original document to generate image data.
2. Description of the Related Art
A line sensor, such as a charge-coupled device (CCD), a complementary metal-oxide-semiconductor (CMOS), a contact image sensor (CIS), etc., has been conventionally used in a multifunction machine etc. to read an original document. There are two techniques for reading an original document, “flat bed” and “sheet feed.” In the flat-bed technique, a light source and a line sensor are moved at a predetermined speed relative to an original document placed on a glass platen. In the sheet-feed technique, a light source and a line sensor are fixed, and an original document is moved at a predetermined speed. For the sheet-feed technique, in many cases, an automatic document feeder (ADF) is used, which transports original documents to be read, one at a time, to a reading position. When reading is performed using the flat-bed technique, it is clear which side of an original document is to be read, and therefore, if there is no information in an original document image, an attempt to read image data is not performed. However, in the sheet-feed technique, it may not be clear which side of a transported original document is to be read, and therefore, an attempt to read image data may be performed on a wrong side of an original document that does not have printed information when the original document is placed on the ADF with each side thereof facing in the wrong direction. In order to prevent the wrong side of an original document from being read, “blank sheet detection” provided is to determine whether the right side containing printed information is being read using an image processing function while reading the original document. Japanese Patent Laid-Open No. 2008-22276 discloses that when an original document is read, then if it is determined that read image data does not contain printed information, i.e., that the original document is blank, information indicating this situation is sent. This patent document also discloses that, as in the copying operation, when read image data is output, settings for image processing that is performed before outputting image data are sent before the function of detecting a blank sheet is performed, in order to prevent blank image data (blank sheet) from being output.
However, in conventional image forming apparatuses having blank sheet detection, settings for image processing following blank sheet detection are only sent before blank sheet detection is performed, and it is the user of the image forming apparatus that determines setting for image processing that cause final blank image data (blank sheet) not to be output. Therefore, the user of the image forming apparatus may not obtain the effect of preventing an output of a blank sheet, although blank sheet detection is used in reading of an original document. For example, while the density of an image in an original document may be thin, and it may be determined by blank sheet detection function that the original document is not blank, substantially all the image may be lost due to image processing, etc. The user who operates the image forming apparatus needs to provide settings for image processing following blank sheet detection again in order to avoid outputting a blank sheet. In order to prevent a blank image (blank sheet) from being finally output, settings are provided after knowing what kind of image processing is involved. If a plurality of kinds of image processing are involved, a combination of the settings needs to be considered. Moreover, if level settings for detecting a blank sheet are provided for blank sheet detection function, there may be a case where even when blank sheet detection is set so that it is unlikely to determine that an original document is blank, the final output image may be blank, i.e., a blank image (blank sheet) may be finally output, due to image processing following blank sheet detection. Moreover, if blank sheet detection function is performed immediately before printing or outputting image data in order to prevent a blank image (blank sheet) from being finally output, blank sheet detection cannot be performed when a function that does not involve printing (the function of transmitting to a communication network external to the image forming apparatus, etc.), which is a problem.
The present invention provides a solution to the above problems. According to the present invention, a difference between a detection level of blank sheet detection of a read original document image and a correction level for an output image is reduced or eliminated.
According to one aspect of the present invention, there is provided an image processing apparatus comprising: a first setting unit that sets a first setting value used to determine whether or not an obtained original document is blank; a second setting unit that sets a second setting value used to correct a component relating to a lightness of image data obtained by reading the original document; a detection unit that determines whether or not an original document to be processed is blank, based on the first setting value set by the first setting unit; and a processing unit that corrects the lightness of image data obtained by reading an original document that has been determined by the detection unit not to represent a blank sheet, based on the second setting value set by the second setting unit, wherein the setting range of the first or second setting value set by one of the first and second setting units is limited by the first or second setting value set by the other setting unit.
According to another aspect of the present invention, there is provided an image processing apparatus comprising: a setting unit for choosing, from a plurality of setting values, a setting value that is used in determining whether or not an obtained original document is blank; a detection unit for determining whether or not an original document to be processed is blank for the plurality of setting values; and a storage unit for storing results of the determination by the detection unit using the plurality of setting values in association with the corresponding one of the plurality of setting values, and the setting value chosen by the setting unit.
According to the present invention, a setting level of blank sheet detection for determining whether or not read image data represents a blank sheet, and a correction level of image processing performed on the image data on which blank sheet detection has been performed, can be correlated with each other. In an embodiment in which the choice of a correction level of image processing is limited with respect to the operation unit of the image forming apparatus, erroneous setting by the user that may lead to an inappropriate operation of the apparatus can be reduced or prevented. In an embodiment in which a parameter of image processing to be performed is set again within a setting range corresponding to a setting level of blank sheet detection, the setting level of blank sheet detection and the correction level of image processing can be correlated with each other without the user's knowledge. Therefore, as a result of image processing performed on image data that has been determined not to represent a blank sheet as a result of blank sheet detection, the outputting of the image data as a blank sheet can be reduced or prevented.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Embodiments of the present invention will now be described with reference to the accompanying drawings.
<Configuration of Image Input Unit 106>
A configuration of the image input unit 106 will be described with reference to
<Method for Detecting Blank Sheet>
As used herein, the term “blank sheet” refers to an original document that is determined to have substantially no printed information (i.e., contents). A colored original document such as colored paper, and recycled paper, are also handled as a blank sheet if it contains substantially no printed information. In other words, to determine whether or not an original document is blank is to determine whether or not there are contents printed on an original document. Image data obtained when an original document having substantially no printed information is read, and image data that comes from an image on the opposite side of paper, are also considered to represent a blank sheet. On the other hand, an original document having a small amount of characters or low-density halftone printed characters is not blank.
A technique for detecting a blank sheet using the blank sheet detection unit 1064 employs, for example, a frequency distribution of image data processed by the read image processing unit 1063. The blank sheet detection unit 1064 generates a frequency distribution of image data read from a sheet of original document based on the image data output by the read image processing unit 1063. Thereafter, an average value and a variance value are calculated from the generated frequency distribution. The reason for the calculation of the variance value is that a feature is utilized that when image data read from an original document contains significant information (i.e., the original document is not blank), the calculated variance value is large.
A frequency distribution representing a blank sheet and a frequency distribution containing information will be described with reference to
When blank sheet detection is performed using such a technique, the image forming apparatus can set a level (setting value) for determining that an original document is blank. For example, if there is a frequency distribution shown in
Conversely, when it is desirable to determine that a low-density original document is blank, the blank page determination level may be set so that it is more likely to determine that an original document is blank (higher blank page determination level: direction 903). In the description that follows, it is assumed that the blank sheet detection unit 1064 is configured to be able to set the blank page determination level. Specifically, as the blank page determination level is lower, it is less likely to determine that an original document is blank. Conversely, as the blank page determination level is higher, it is more likely to determine that an original document is blank.
The image input unit 106 outputs image data that has been obtained by the read image processing unit 1063 processing read original document image data, and the result of blank page determination by the blank sheet detection unit 1064. When blank page determination is performed using a frequency distribution, a variance value calculated from the frequency distribution, etc., the blank page determination may be performed a plurality of times using a plurality of determination levels, whereas the image input unit 106 performs reading of an original document once. Specifically, a plurality of thresholds having different determination levels may be applied to the calculated variance to obtain the result of blank page determination for each threshold. Therefore, it is not necessary to read the same original document for each blank page determination level, i.e., it is not necessary to read the same original document a plurality of times.
Note that the blank page determination result output by the blank sheet detection unit 1064 may be limited only to that which is based on the blank sheet detection level set by the user of the image forming apparatus used in this embodiment. Alternatively, the blank page determination results based on all blank sheet detection levels to which the image forming apparatus used in this embodiment can be set may be output. When only the blank page determination result based on the blank sheet detection level set by the user of the image forming apparatus of this embodiment is output, a value of “1” is output if it is determined that image data to be processed represents a blank sheet, and a value of “0” is output if it is determined that image data to be processed does not represent a blank sheet. Also, when there are five blank sheet detection levels to which the image forming apparatus used in this embodiment can be set, the five blank sheet detection results may be represented by a single value (e.g., “00111”) where a more significant bit indicates the result obtained using a weaker blank sheet detection power, i.e., a lower blank sheet detection level for which an original document is less likely to be determined to be blank, whereby clearly indicating which blank sheet detection level has been used to perform the determination during reading of an original document. For example, when the blank sheet detection results are represented by “00111” whose order of the digits is defined above, then if the set blank sheet detection power is one for which an original document is the second most likely to be determined to be blank (i.e., the second highest determination power or determination level), information indicating that “the set blank sheet detection power is the second highest” can be referenced together with the blank sheet detection result.
The output data of the image input unit 106 and the blank sheet detection result are transferred to the storage unit 108 by the DMAC 111 under the control of the control unit 101. The storage unit 108 temporarily stores the image data and the blank sheet detection result transferred via the DMAC 111. The image data stored in the storage unit 108 is transferred to the image processing unit 107 by the DMAC 111 under the control of the control unit 101.
<Internal Configuration of Image Processing Unit 107>
255/220≈1.16 (1)
By performing a process of multiplying the output image data of the image input unit 106 by the calculated gain value, all pixel values that have a luminance value larger than or equal to the luminance value of background become highlight (white) image data, whereby the background can be removed. Note that the gain value calculation and multiplication processes are performed on all components that are read by the image input unit 106. Therefore, a specific gain value is determined for each component. Although, in Expression 1, the gain value is calculated, assuming that the highlight (white) value is the highest luminance value, the present invention is not limited to this value. Alternatively, instead of using the highest luminance value as the target for calculation of the gain value, a slightly lower value may be used as the target for calculation of the gain value. Also, in the determination of the background lightness value, instead of using the most frequent luminance value of each component, frequencies having those around the most frequent luminance value may be referenced for the calculation. Note that, in the background removal process by the background removal unit 1071, a power for removing background may be set based on a setting of the operation unit 105. The setting of the power in this case corresponds to, for example, the operation of the gain value. In order to decrease the power for removing background, the gain value calculated according to Expression 1 is decreased. When the gain value is decreased, then even if the pixel data output by the image input unit 106 is multiplied by the gain value, the resultant value does not reach the upper limit of the bit value of pixel data, so that the proportion of white pixels in the image data decreases, and therefore, the power for removing background decreases. Also, when the target luminance value for the gain value calculation is not the upper limit of the bit value of input pixel data, the power for removing background can be enhanced. This may be achieved by increasing the gain value calculated according to Expression 1. When the pixel data output by the image input unit 106 is multiplied by the increased gain value, the pixel data output by the image input unit 106 is closer to the upper limit of the bit value, so that the power for removing background is enhanced.
Therefore, by associating the gain value operation with a setting of the operation unit 105, the user of the apparatus can change the power for removing background. Although it is assumed above that the background removal process is performed by multiplying the gain value and the process result of the image input unit 106, another process or configuration may be employed. For example, an LUT (Look Up Table) may be used for the process. Correction table values corresponding to the power of the background removal process by the operation unit 105 may be set in the LUT to implement the correction process of removing background from the output result of the image input unit 106. When the operation of the image forming apparatus of this embodiment is transmission of read image data read by the image input unit 106 via the image transmission unit 110, the image processing unit 107 outputs the result of the process by the background removal unit 1071. Specifically, image data that is the result of the process of the background removal unit 1071 is transferred to the storage unit 108 via the DMAC 111 under the control of the control unit 101. Image data that is the process result of the background removal unit 1071 stored in the storage unit 108 is transferred to the image transmission unit 110 via the DMAC 111 under the control of the control unit 101. The image transmission unit 110 sequentially outputs the image data transferred by the DMAC 111 to the communication network 113, thereby transmitting the read image data.
When the operation of the image forming apparatus used in this embodiment is printing or outputting of read image data, the image processing unit 107 converts the luminance image data output by the background removal unit 1071 into density image data using a luminance/density conversion processing unit 1072. Density correction is performed by a density correction unit 1073 on the density image data output by the luminance/density conversion processing unit 1072. The process of the density correction unit 1073 is to adjust the density of the subsequent printed or output matter. In many cases, the adjustment value may be set based on a setting of the operation unit 105. For example, when a setting for increasing the density has been made in the operation unit 105, the value of image data input to the density correction unit 1073 is adjusted to be closer to the dark portion (black), resulting in output image data that represents printed matter whose density is globally increased. When a setting for decreasing the density has been made in the operation unit 105, the value of image data input to the density correction unit 1073 is adjust to be closer to the highlight portion (white), resulting in output image data that represents printed matter whose density is globally decreased.
The image data adjusted by the density correction unit 1073 is converted by an N-value processing unit 1074 into values that can be used in printing or outputting. The image processing unit 107 outputs N-value image data generated by the N-value processing unit 1074. The DMAC 111 transfers the output image data of the image processing unit 107 to the storage unit 108 under the control of the control unit 101. Thereafter, the output image data of the image output unit 107 stored in the storage unit 108 is transferred to the image output unit 109 by the DMAC 111 under the control of the control unit 101. The image output unit 109 prints or outputs the output image data of the image processing unit 107 stored in the storage unit 108. Note that the form of the output apparatus of the image output unit 109 may be an electrophotographic output apparatus or an inkjet output apparatus, and the present invention is not limited to this.
This embodiment has, as a feature, a correlation between settings of the blank sheet detection level of the blank sheet detection unit 1064, the background removal level of the background removal unit 1071, and the density correction level of the density correction unit 1073 described above. A case where the operation of the image forming apparatus used in this embodiment is transmission operation to the communication network 113 by the image transmission unit 110 will now be described in detail.
<Example Display of Operation Unit>
In
When the display of the operation unit 105 is in the state shown in
On the other hand, a setting key 1057 is pressed down to decrease the background removal level, i.e., to weaken a level by which image data approaches highlight (white). Specifically, the gain value that is used in background removal is decreased.
In
When the display of the operation unit 105 is in the state shown in
<Operation of Image Forming Apparatus>
An operation of a processing unit included in the image forming apparatus used in this embodiment, and the display of the operation unit 105, which are most characteristic portions of the present invention, will now be described.
When the user chooses transmission operation as a setting of the operation unit 105, the control unit 101 reads the setting level of blank sheet detection for transmission operation, from a storage area that stores setting values, using the operation unit 105. The control unit 101, when determining that the setting level of blank sheet detection set by the operation unit 105 has been changed from a predetermined initial value (middle value), goes to a control corresponding to the situation that the setting level of blank sheet detection has been changed (YES in step S101). The control unit 101 obtains an acceptable level(s) of the background removal unit 1071 corresponding to the setting level of blank sheet detection (step S102). Thereafter, the control unit 101 changes the display of the obtained background removal level(s) to which the background removal unit 1071 cannot be set to a state in which these levels cannot be chosen (step S103). When the setting level of blank sheet detection in the operation unit 105 is, for example, set to a level that is immediately lower than the standard level (middle), i.e., a level that causes an original document to be less likely to be determined to be blank, by pressing down the setting key 1059 as shown in
Therefore, when the blank sheet detection level increases and therefore an original document is more likely to be determined to be blank as described above, the background removal level is proportionately increased to increase the gain value that is used in background removal. In other words, the lightness of image data can be changed to be closer to highlight.
Conversely, when the blank sheet detection level is decreased and therefore an original document is less likely to be determined to be blank, image data containing lower-density contents is determined not to represent a blank sheet, and therefore, the background removal level needs to be proportionately decreased to decrease the gain value that is used in background removal. In one technique, a correlation between the levels may be previously determined. In this case, for example, when the level of blank sheet detection is changed to the next lower level, the acceptable level of background removal is also changed to the next lower level. Note that a parameter for each level is previously determined, and processes such as blank sheet detection and background removal are performed using the parameters for chosen levels. Appropriate parameters may be empirically determined, for example.
Therefore, the control unit 101 of the image forming apparatus used in this embodiment controls, during transmission operation, the blank sheet detection unit 1064 and the background removal unit 1071 so that the blank page determination process and the background removal process thereof appropriately function. Specifically, the control unit 101 limits the range within which the background removal unit 1071 can be set (the range may also be hereinafter referred to as an “acceptable range”), based on the setting level of blank sheet detection of the blank sheet detection unit 1064. Specifically, the acceptable level(s) of the background removal unit 1071 corresponding to the setting level of the blank sheet detection unit 1064 is obtained, and based on the result, only a setting level(s) at which the background removal unit 1071 can perform the process can be chosen.
Moreover,
In
Also, even when, as shown in
Specifically, the control unit 101 changes the display of the operation unit 105 to allow only a background removal level(s) corresponding to the set blank sheet detection level to be chosen. Note that, in
After having displayed background removal levels corresponding to the setting level of blank sheet detection, the control unit 101 waits for a background removal level being chosen or input (NO in step S104). In this situation, the user of the image forming apparatus used in this embodiment can choose background removal levels only within a region corresponding to the setting level of blank sheet detection. Therefore, it is not acceptable to set a level that is not based on the correlation between processing units, e.g., it is not acceptable to set the background removal level to the maximum level irrespective of the setting level of blank sheet detection that has been set so that image data is less likely to be determined to represent a blank sheet, etc. Thus, as the setting level of blank sheet detection decreases, image data is less likely to be determined to represent a blank sheet. In this case, the acceptable setting level of background removal is controlled to be lower (a reduced effect of background removal) so that image data is less likely to be determined to represent a blank sheet. Conversely, as the setting level of blank sheet detection increases, image data is more likely to be determined to represent a blank sheet. In this case, the acceptable setting level of background removal is controlled to be higher (an increased effect of background removal) so that image data is more likely to be determined to represent a blank sheet.
When the user of the image forming apparatus used in this embodiment chooses or inputs one from the acceptable background removal levels (YES in step S104), the control unit 101 begins controlling original document image data. Specifically, the image input unit 106 is controlled to read original document image data (step S105), and the image processing unit 107 is controlled to perform image processing to read an image (step S106). The control unit 101 performs a control so that image data output from the image input unit 106 is transferred to the storage unit 108 via the DMAC 111 (step S107). Thereafter, when a page of image data output by the image input unit 106 has been transferred, the control unit 101 obtains the result of blank page determination output by the blank sheet detection unit 1064 included in the image input unit 106 (step S107). If the obtained blank page determination result indicates a “blank sheet” (YES in step S109), the control unit 101 determines that image data stored in the storage unit 108 represents a blank sheet, and deletes the stored data and ends the process (step S110). If the blank page determination result obtained from the image input unit 106 does not indicate a “blank sheet” (NO in step S109), the control unit 101 performs a control so that the image data stored in the storage unit 108 is transferred to the image processing unit 107 via the DMAC 111 in order to perform the background removal process (step S111). The background removal process is performed on the image data transferred to the image processing unit 107, and the resultant data is output. The power (threshold) indicating the level of the background removal process performed by the image processing unit 107 is limited in association with the setting level of blank sheet detection, and therefore, the background removal process causes image data to be less likely to be determined to represent a blank sheet. Specifically, a process result based on an appropriate background removal process is obtained. The control unit 101 performs a control so that the background-removed image data is transferred to the storage unit 108 via the DMAC 111. When the image data after the background removal process is stored into the storage unit 108, the control unit 101 performs a control so that the image data is transferred to the image transmission unit 110 via the DMAC 111 (step S112). The image transmission unit 110 successively outputs image data transferred from the storage unit 108 to the communication network 113.
Next, a case where the setting level of blank sheet detection has not been changed by the user will be described. During the start of transmission operation, if the control unit 101 determines that the setting level of blank sheet detection has not been changed from the initial value (middle value), the control unit 101 goes to a control corresponding to the situation that the setting level of blank sheet detection has not been changed (NO in step S101). If the setting level of blank sheet detection has not been changed, the control unit 101 determines whether or not the setting level of background removal has been changed from the initial value (middle value) (step S121).
If the setting level of the background removal as well as the setting level of blank sheet detection have not been changed from the initial value (middle value), the control unit 101 performs the controls of steps S105 to S112 described above (NO in step S121). If the setting level of background removal has been changed from the initial value (middle value), the control unit 101 goes to a control corresponding to the situation that the setting level of background removal has been changed (YES in step S121). If, as shown in
Thereafter, the control unit 101 changes the display of the obtained blank sheet detection level(s) to which the blank sheet detection unit 1064 cannot be set so that the blank sheet detection level cannot be chosen (step S123).
In
After having displayed the blank sheet detection level(s) corresponding to the setting level of the background removal, the control unit 101 waits for a blank sheet detection level being input (NO in step S114). In this situation, the user of the image forming apparatus of this embodiment can choose a level only within the range of the blank sheet detection level corresponding to the setting level of the background removal. Therefore, it is not allowable to set a level that is not based on the correlation between processing units. When the user of the image forming apparatus used in this embodiment chooses or inputs one from the blank sheet detection levels that can be chosen (YES in step S114), the control unit 101 goes to the following controls. Specifically, the control unit 101 controls steps S105-S112 to be executed.
Although it is assumed in the above description of transmission operation that the setting level of background removal and the setting level of blank sheet detection are changed by the same number of levels at a time, the present invention is not limited to this. Specifically, a limitation that is put on the setting level of blank page determination when the setting level of the background removal is changed by one level, may be two levels. More specifically, when, as shown in
In any case, in order to reduce or prevent the outputting of image data representing a blank sheet, it is necessary to reduce or prevent a situation that the lightness of image data that has been determined by blank sheet detection not to represent a blank sheet and has been determined to contain any contents, is converted by background removal, so that the image data is converted into that represents a blank sheet. Here, it is assumed that as the setting level of blank sheet detection decreases, image data is less likely to be determined to represent a blank sheet, and as the setting level of background removal decreases, image data is less likely to be determined to represent a blank sheet. It is also assumed that the setting level of blank sheet detection for determining that a read original document image is blank, is the same as the setting level of background removal for converting the same original document into a blank sheet (
Next, a case where an image forming apparatus used in a second embodiment is operated in an operation mode in which printing or outputting is performed, will be described with reference to other figures. In the second embodiment, a parameter for density correction may be provided. The relationship between the setting levels of blank sheet detection and background removal is similar to that of the first embodiment. The density correction may be dealt with in a manner similar to that of background removal, because as the density decreases (the level increases), an image is more likely to be determined to be blank. Therefore, the relationship between the setting levels of blank sheet detection and density correction is similar to the relationship between the setting levels of blank sheet detection and background removal in the first embodiment.
When the user chooses or inputs one from the background removal levels that can be chosen (step S204), and one from the density correction levels that can be chosen (step S205), the control unit 101 begins controlling reading of original document image data. The control unit 101 controls the image input unit 106 to read original document image data (step S206), and perform read image processing (step S207). The image data read by the image input unit 106 and the result of blank page determination are transferred to the storage unit 108 by the DMAC 111 under the control of the control unit 101 (step S208). The control unit 101 obtains the blank page determination result stored in the storage unit 108 (step S209), and goes to a control according to the blank page determination result. If the image data read by the image input unit 106 has been determined to represent a blank sheet (YES in step S210), the control unit 101 deletes the read image data stored in the storage unit 108, and ends the process (step S211). If the image data read by the image input unit 106 has been determined not to represent a blank sheet (NO in step S210), the control unit 101 goes to a control for printing or outputting. Specifically, the read image data stored in the storage unit 108 is transferred to the image processing unit 107 via the DMAC 111. The image processing unit 107 performs the background removal process on the image data transferred by the DMAC 111 using a setting value that is based on the set background removal level (step S212). Next, a density correction process is performed on the image data on which the background removal process has been performed, using a setting value that is based on the set density correction level (step S213). The level of the background removal process to be performed and the level of the density correction process to be performed are limited within a range corresponding to the blank sheet detection level that has been set by the user during the start of printing operation, and therefore, the correction is not performed to an excessive extent. In other words, the correction is performed within an appropriate range. Next, an N-value process is performed on the image data on which the density correction process has been performed (step S214). The control unit 101 transfers the image data on which the image processing unit 107 has performed the N-value process to the storage unit 108 via the DMAC 111. Thereafter, the control unit 101 transfers the image data on which the N-value process has been performed and that is stored in the storage unit 108, via the DMAC 111 to the image output unit 109, which then outputs an image (step S215).
Next, a case where the user has not set the blank sheet detection level during the start of printing operation (NO in step S201) will be described. If the blank sheet detection level has not been set, the control unit 101 checks whether or not the background removal level has been changed from the initial value (middle value) (step S216). The control unit 101, when confirming that the user has changed the background removal level (YES in step S216), goes to a control corresponding to this case. Specifically, the control unit 101 obtains a blank sheet detection level(s) and a density correction level(s) corresponding to the set background removal level (step S217), and displays the obtained correction levels in a form that only allows these correction levels to be chosen (step S218). The control unit 101 waits for the user choosing or inputting a blank sheet detection level within a range that allows the user to choose (step S219), and a density correction level within a range that allows the user to choose (step S220). When the user chooses or inputs a blank sheet detection level and a density correction level, the control unit 101 goes to the following controls. Specifically, the control unit 101 controls steps S206-S215 based on the blank sheet detection result output by the image input unit 106.
Next, a case where the user has not changed the blank sheet detection level or the background removal level from the respective initial values (middle values) during the start of printing operation (NO in step S201 and NO in step S216), will be described. When none of the blank sheet detection level and the background removal level has been set, the control unit 101 checks whether or not the density correction level have been changed from the initial value (middle values) (step S221). The control unit 101, when confirming that the user has not changed the density correction level, performs a printing operation control using the blank sheet detection level, the background removal level, and the density correction level that have the respective initial values (middle values) (NO in step S221). Specifically, the control unit 101 performs steps S206-S215 based on the blank sheet detection result output by the image input unit 106.
In step S221, the control unit 101, when confirming that the density correction level has been changed (YES in step S221), goes to a control corresponding to this case. Specifically, the control unit 101 obtains a blank sheet detection level(s) and a background removal level(s) corresponding to the set density correction level (step S222), and displays the obtained correction levels in a form that only allows the correction levels to be chosen (step S223). The control unit 101 waits for the user choosing or inputting a blank sheet detection level within a range that allows the user to choose (step S224), and a background removal level within a range that allows the user to choose (step S225). When the user chooses or inputs a blank sheet detection level and a background removal level, the control unit 101 goes to the following controls. Specifically, the control unit 101 performs steps S206-S215 based on the blank sheet detection result output by the image input unit 106.
According to this embodiment, in addition to advantages similar to those of the first embodiment, a limitation can be put on the setting level of density correction based on the setting levels of blank sheet detection and background removal. Conversely, a limitation can be put on the setting levels of blank sheet detection and background removal based on the setting level of density correction. As a result, the outputting of a blank sheet can be reduced or prevented.
Thus, as a result of image processing on image data that has been determined not to represent a blank sheet as a result of blank sheet detection, the outputting of the image data as a blank sheet can be reduced or prevented.
Next, a case will be described with reference to
Note that the reason why all blank page determination results are stored in the storage unit 108 is that the determination levels of blank sheet detection can be changed during printing or outputting. Specifically, this is effective when the user desires to change, during printing or outputting, the blank sheet detection levels that have been used during reading of an original document. When, as the blank sheet detection result, only the determination result based on the blank sheet detection level chosen during reading of an original document is stored, the same original document needs to be read again if a determination result based on a different blank sheet detection level is desired. However, if the determination results have been obtained for all blank sheet detection levels that can be chosen during reading of an original document and have been stored, then when stored image data is printed, a control using the determination result that is based on a different blank sheet detection level can be performed. In an example shown in
A control flow will be described with reference to
If the user has chosen or input one from the background removal levels within a range that allows the user to choose and the density correction levels within a range that allows the user to choose (steps S305 and S306), the control unit 101 transfers image data to be printed or output that is stored in the storage unit 108, to the image processing unit 107 via the DMAC 111. The image processing unit 107 performs the background removal process and the density correction process on the image data transferred from the DMAC 111 (steps S307 and S308). The control unit 101 performs a control so that the image data on which the background removal process and the density correction process have been performed, which is output by the image processing unit 107, is transferred to the storage unit 108 via the DMAC 111. Thereafter, the control unit 101 transfers the image data on which the density correction process has been performed, which is stored in the storage unit 108, to the image output unit 109 via the DMAC 111. The image output unit 109 outputs the image data transferred from the DMAC 111 to complete printing or outputting (step S309).
As described above, in the control during printing or outputting of the image forming apparatus used in this embodiment, the correlation between the blank sheet detection levels and the setting parameters during printing or outputting can be maintained. Therefore, a situation can be reduced or prevented that although image data has been determined not to represent a blank sheet as a result of blank sheet detection, the image data is output as a blank sheet as a result of image processing on the image data.
Although it is assumed above that background removal and density correction are performed as correction that is performed based on the setting level of blank sheet detection, the present invention is not limited to this. Specifically, the present invention can be applied to all limitations (choice) on correction processes that need to be correlated with each other during printing or outputting, with respect to processes of outputting a plurality of determination results for read image data.
The first to third embodiments have been described in which, during transmission operation or printing or outputting, the background removal level or the density correction level are limited to those which are correlated with the blank sheet detection level set in the operation unit 105, and the other levels cannot be chosen from the operation unit 105. However, the present invention is not limited only to this form. A fourth embodiment of the present invention will now be described.
In the fourth embodiment, the correction range that can be set based on the blank sheet detection level chosen by the operation unit 105 is divided into predetermined levels. For example, it is assumed that, in the first embodiment, for a blank sheet detection level chosen by the operation unit 105, there are three background removal levels that can be chosen. In this case, in the first embodiment, two levels cannot be chosen (displayed in gray). However, in this embodiment, the correction range (correction values) corresponding to the three levels that can be chosen is sub-divided into 5 levels. In other words, for the blank sheet detection level chosen by the operation unit 105, instead of limiting levels to be chosen, the same number of levels as there are the levels provided in the operation unit 105 can be chosen.
A control of the control unit 101 in this embodiment will now be described.
The control unit 101 checks whether or not the blank sheet detection level has been changed from the initial value (middle value) by the user. The control unit 101, when confirming that the blank sheet detection level has been changed according to the setting of the operation unit 105 (YES in step S401), goes to a control corresponding to the situation that the blank sheet detection level has been changed. The control unit 101 obtains a background removal level(s) corresponding to the blank sheet detection level set by the operation unit 105 (step S402), and divides the background removal level into levels that can be chosen for the background removal process, in the operation unit 105, to set parameters (step S403). Referring to
The control unit 101 waits for the user choosing or inputting a background removal process level (NO in step S404). The control unit 101, when confirming that a background removal process level has been chosen or input (YES in step S404), begins controlling transmission operation of read image data. Specifically, the control unit 101 controls the image input unit 106 to read original document image data and perform image processing on the read image data (steps S405 and S406). The image data processed by the image input unit 106, and the result of blank page determination, are transferred to the storage unit 108 by the DMAC 111 under the control of the control unit 101 (step S407). The control unit 101 obtains the blank page determination result stored in the storage unit 108 (step S408), and when the obtained blank page determination result indicates a blank sheet (YES in step S409), deletes the read image data stored in the storage unit 108, and ends the process (step S410). Note that when the blank page determination result obtained in step S408 does not represent a blank sheet, the control unit 101 continues to control transmission operation (NO in step S409). Specifically, the control unit 101 performs the background removal process using the setting value of the background removal process corresponding to the chosen blank sheet detection level (step S411). The control unit 101 transfers the image data on which the background removal process has been performed, which is output by the image processing unit 107, to the storage unit 108 via the DMAC 111. The control unit 101 transfers the image data transferred to the storage unit 108, to the image transmission unit 110 via the DMAC 111. The image transmission unit 110 outputs the image data transferred by the DMAC 111 to the communication network 113 to complete transmission operation (step S412).
In step S401, the control unit 101, when confirming that the blank sheet detection level has not been changed from the initial value (middle value) by the user (NO in step S401), goes to a control corresponding to the situation that the blank sheet detection level has not been changed. Next, the control unit 101 checks whether or not the background removal level has been changed from the initial value (middle value). The control unit 101, when confirming that the background removal level has not been changed from the initial value (middle value), performs steps S405-S412 (NO in step S411). The control unit 101, when confirming that the background removal level has been changed (YES in step S411), obtains a blank sheet detection level(s) corresponding to the background removal level set by the operation unit 105 (step S412), and divides the blank sheet detection level into levels that can be chosen for the blank sheet detection process, in the operation unit 105, to set parameters (step S413). As shown in
Next, a control flow that is performed during printing or outputting in this embodiment will be described.
The control unit 101 waits for the user choosing or inputting a background removal process level and a density correction level (NO in step S504 and NO in step S505). The control unit 101, when confirming that each level has been chosen or input (YES in step S504 and YES in step S505), begins controlling transmission operation of read image data. Specifically, the control unit 101 controls the image input unit 106 to read original document image data and perform image processing on the read image data (steps S506 and S507). The image data processed by the image input unit 106, and the result of blank page determination, are transferred to the storage unit 108 by the DMAC 111 under the control of the control unit 101 (step S508). The control unit 101 obtains the blank page determination result stored in the storage unit 108 (step S509). The control unit 101, when the obtained blank page determination result represents a blank sheet (YES in step S510), deletes the read image data stored in the storage unit 108, and ends the process (step S511). Note that if the blank page determination result obtained in step S509 does not represent a blank sheet, the control unit 101 continues to control printing or outputting operation (NO in step S510). Specifically, the control unit 101 performs a control so that the background removal process and the density correction process that are image processing performed by the image processing unit 107 are performed using correction values corresponding to the blank sheet detection level set by the user (steps S512 and S513). The image processing unit 107 performs the N-value process on the image data on which the density correction process has been performed (step S514), and outputs the resultant image data. The control unit 101 transfers the image data on which the N-value process has been performed, which is output by the image processing unit 107, to the storage unit 108 via the DMAC 111. The control unit 101 transfers the image data transferred to the storage unit 108, to the image output unit 109 via the DMAC 111. The image output unit 109 outputs the image data transferred by the DMAC 111 to complete printing or outputting (step S515).
The control unit 101, when confirming in step S501 that the blank sheet detection level has not been changed from the initial value (middle value) by the user (NO in step S501), next checks whether or not the background removal level has been changed from the initial value (middle value). The control unit 101, when confirming that the background removal level has been changed from the initial value (middle value), goes to a control corresponding to the situation that the background removal level has been changed (YES in step S523). The control unit 101 obtains a blank sheet detection level(s) and a density correction level(s) corresponding to the background removal level set by the operation unit 105 (step S524), and divides the blank sheet detection level and the density correction level into levels that can be chosen for the blank sheet detection process and the density correction process, in the operation unit 105, to set parameters (step S525). Thereafter, the control unit 101 waits for the user choosing or inputting a blank sheet detection level and a density correction level (NO in step S516 and NO in step S517). The control unit 101, when confirming that a blank sheet detection level and a density correction level have been chosen or input (YES in step S516 and YES in step S517), begins controlling printing or outputting of read image data. Specifically, the control unit 101 performs steps S506-S515.
The control unit 101, when the background removal level has not been changed from the initial value (middle value) by the user in step S523 (NO in step S523), next checks whether or not the density correction level has been changed from the initial value (middle value). The control unit 101, when confirming that the density correction level has been changed from the initial value (middle value), goes to a control corresponding to the situation that the density correction level has been changed (YES in step S518). The control unit 101 obtains a blank sheet detection level(s) and a background removal level(s) corresponding to the density correction level set by the operation unit 105 (step S519), and divides the blank sheet detection level and the background removal level into levels that can be chosen for the blank sheet detection process and the background removal process, in the operation unit 105, to set parameters (step S520). Thereafter, the control unit 101 waits for the user choosing or inputting a blank sheet detection level and a background removal level (NO in step S521 and NO in step S522). The control unit 101, when confirming that a blank sheet detection level and a background removal level have been chosen or input (YES in step S521 and YES in step S522), begins controlling printing or outputting of read image data. Specifically, the control unit 101 performs steps S506-S515.
Thus, during printing or outputting in the image forming apparatus used in this embodiment, the control unit 101 divides the setting range corresponding to the blank sheet detection level, the background removal level, or the density correction level that has been set by the user into setting levels of a processing unit to be used, thereby controlling the apparatus so that the apparatus appropriately operates.
Next, a control flow will be described with reference to
If the user has chosen or input a background removal level within the range that can be chosen and a density correction level within the range that can be chosen (steps S605 and S606), the control unit 101 transfers image data to be printed or output that is stored in the storage unit 108, to the image processing unit 107 via the DMAC 111. The image processing unit 107 performs the background removal process and the density correction process on the image data transferred from the DMAC 111 (steps S607 and S608). The control unit 101 performs a control so that the image data on which the background removal process and the density correction process have been performed, which is output by the image processing unit 107, is transferred to the storage unit 108 via the DMAC 111. Thereafter, the control unit 101 transfers the image data on which the density correction process has been performed, which is stored in the storage unit 108, to the image output unit 109 via the DMAC 111. The image output unit 109 outputs the image data transferred from the DMAC 111 to complete printing or outputting (step S609).
As described above, in this embodiment, the value of the correction range obtained based on a setting level(s) of either of the blank sheet detection process, the background removal process, or the density correction process that is set by the user, is divided into setting levels for a process to be performed, whereby the apparatus can appropriately operate. By this control, in a control during printing or outputting, the correlation between the blank sheet detection levels and the setting parameters during printing or outputting is maintained. Therefore, a situation can be reduced or prevented that although image data has been determined not to represent a blank sheet as a result of blank sheet detection, the image data is output as a blank sheet as a result of image processing on the image data.
Also, in the fourth embodiment, even when a setting level for each of blank sheet detection, background removal, and density correction is chosen, the display of setting levels of other processes that can be chosen in the operation unit 105 is not changed. Therefore, the setting levels are automatically associated with each other without the user's knowledge. Although it is assumed above that background removal and density correction are performed as correction that is performed based on the setting level of blank sheet detection, the present invention is not limited to this. Specifically, the present invention can be applied to all limitations (choice) on correction processes that need to be correlated with each other during printing or outputting, with respect to processes of outputting a plurality of determination results for read image data.
In the first to fourth embodiments, it is assumed that the blank sheet detection unit is provided in the image input unit 106. However, the present invention is not limited to these embodiments.
Note that, as in the first to fourth embodiments, if the blank sheet detection unit 1064 is provided, and the setting levels of the blank sheet detection unit 1064 and the background removal unit 1071 are mutually limited, the outputting of image data input from the image input unit 106 that has been determined to represent a blank sheet can be reduced or prevented. However, blank sheet detection is not performed on image data input from a network etc., and therefore, that image data may be output even when it actually represents a blank sheet. Therefore, for example, as in the first embodiment, if the setting levels of the blank sheet detection unit and the background removal unit are controlled, the setting level of the blank sheet detection unit 1064 may be directly used as the setting level of the second blank sheet detection unit 191.
As described above, in this embodiment, when the blank sheet detection unit is provided in the image processing unit 107, the setting level of blank sheet detection and the setting level of background removal or the setting level of density correction are correlated with each other, resulting in an appropriate process.
In the first to fifth embodiments, the setting levels of the blank sheet detection unit, the background removal processing unit, and the density correction processing unit that are provided in the image forming apparatus are associated with each other, whereby the apparatus can appropriately operate. However, the association operation may not always be automatically performed. A sixth embodiment for achieving this form will now be described.
As described above, in the sixth embodiment, when the blank sheet detection unit is provided in the image processing unit 107, the association between the setting level of the blank sheet detection and the setting level of the background removal or the setting level of density correction can be changed according to the user's intention.
Embodiments of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions recorded on a storage medium (e.g., non-transitory computer-readable storage medium) to perform the functions of one or more of the above-described embodiment(s) of the present invention, and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more of a central processing unit (CPU), micro processing unit (MPU), or other circuitry, and may include a network of separate computers or separate computer processors. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2013-149935, filed Jul. 18, 2013, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2013-149935 | Jul 2013 | JP | national |