This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2017-034136, filed Feb. 24, 2017, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to an image forming apparatus and an image processing method.
There is an image forming apparatus capable of reading an irregular sheet such as a voucher or a receipt as an original document which is a reading object. In the reading of such an irregular sheet, first, a range including the whole sheet is read. A sheet part and a part of material (for example, a sheet cover coated on a sheet table) of a sheet back surface are contained in a read image. The irregular sheet is generally read by cutting an image of the sheet part from an image read in this manner.
However, if a color of a material of the sheet back surface is similar to a color of a ground of the sheet, there is a case in which it is difficult to identify contour line of the sheet part and it is impossible to correctly cut the image on the sheet part. The sheet cover is generally comprised by white material which is hard to cover an image at the time of copying, and the ground of the sheet which is the reading object is mostly white. Thus, in the image data acquired by reading, there is a case where it is different to distinguish the white part of the sheet cover and the white part of the sheet ground. Conventionally, although there are some proposals of the image forming apparatus including a component for solving such a problem, in each of those proposals, a member having a distinguishable color from the sheet part is arranged on the sheet back surface. In such an arrangement, a special mechanism which controls addition of the member and a position of the member is necessary, which may lead to an increase in manufacturing cost.
In accordance with an embodiment, an image forming apparatus comprises a reading section, a gradation conversion section and an image processing section. The reading section positioned at a back surface of a sheet which is a reading object is provided with a back surface part having a predetermined color at the back surface side of the sheet to read at least one surface of the sheet by using the back surface part as a background. The gradation conversion section executes a gradation conversion processing of enlarging a level difference in brightness at a highlight side on image data read by the reading section. The image processing section identifies an area of the sheet part and an area of the back surface part in the image data based on the image data to which the gradation conversion processing is executed.
Hereinafter, an image forming apparatus and an image processing method of an embodiment are described with reference to the accompanying drawings.
The display 1 is an image display device such as a liquid crystal display, an organic EL (Electro Luminescence) display, or the like. The display 1 displays various information relating to the image forming apparatus 100.
The control panel 2 has a plurality of buttons. The control panel 2 receives an operation by a user. The control panel 2 outputs a signal in response to the operation executed by the user to a controller of the image forming apparatus 100. The display 1 and the control panel 2 may be integrated as a touch panel.
The image reading section 3 reads image information of a sheet which is a reading object as the density of light. The image reading section 3 records the read image information. The recorded image information may be transmitted to another information processing apparatus via a network. The recorded image information may be used to form an image on the sheet by the printer section 4.
Specifically, the image reading section 3 is provided with a scanner unit 316, a glass surface 318 and a cover 319. The sheet which is the reading object is placed on the glass surface 318. The scanner unit 316 is positioned below the glass surface 318 to read an image on the sheet by irradiating light through the glass surface 318. The cover 319 is coated on the glass surface 318 at the time of reading so that the light of the scanner unit does not leak out to the outside. Thus, in this case, a surface (hereafter, referred to as a “cover surface”) of the cover 319 facing the glass surface 318 is read as a background of the sheet. Generally, as the ground of the sheet which is the reading object is mostly white, the cover surface is mostly made of a white member.
The printer section 4 forms an image on the sheet ground on image information generated by the image reading section 3 or image information received via a communication path. The printer section 4 forms an image by the following processing, for example. An image forming section of the printer section 4 forms an electrostatic latent image on a photoconductive drum based on the image information. The image forming section of the printer section 4 forms a visible image by attaching a developing agent to the electrostatic latent image. The toner is exemplified as a specific example of the developing agent. A transfer section of the printer section 4 transfers the visible image onto the sheet. A fixing section of the printer section 4 fixes the visible image on the sheet by heating and pressurizing the sheet. The sheet on which an image is formed may be a sheet housed in the sheet housing section 5 or may be a manually fed sheet.
The sheet housing section 5 houses sheets used for image formation by the printer section 4.
The scanner unit 316 reads a sheet placed on the glass surface 318 in response to an instruction from the reading controller 317. The scanner unit 316 outputs the image data of the read sheet. For example, the generated image data is stored in the storage section 313. In the present embodiment, it is assumed that a plurality of sheets placed on the glass surface 318 is read into one image data.
Each of the first gradation conversion section 314 and the second gradation conversion section 315 reads the image data stored in the storage section 313 and outputs the image data subjected to a predetermined gradation conversion processing to the storage section 313. The image data after the gradation conversion processing is stored in a storage area different from the image data before the gradation conversion processing. Hereinafter, a gradation conversion processing executed by the first gradation conversion section 314 is described as a first gradation conversion processing, and a gradation conversion processing executed by the second gradation conversion section 315 is described as a second gradation conversion processing.
The reading controller 317 detects division positions of a plurality of sheets included in the image data based on the image data subjected to the first gradation conversion processing. Specifically, the reading controller 317 detects the boundary between sheets by analyzing a color distribution in the image. The reading controller 317 divides the image data using the detected boundary as the division position and stores the divided image data of each sheet as a reading result in the storage section 313.
In
By executing such gradation conversion processing, the reading controller 317 detects the boundary between sheets based on the second image data, and divides the first image data using the detected boundary as the division position. With such a method, it is possible to generate image data in which white level is unified and which is divided at an appropriate position for each sheet. The first gradation conversion processing may be executed individually for each of the divided image data.
Subsequently, the reading controller 317 reads the image data (first image data) subjected to the first gradation conversion processing from the storage section 313 (ACT 104). The reading controller 317 cuts the image data of each sheet from the first image data using the boundary between sheets detected in the ACT 103 as the division position (ACT 105).
However, since the purpose of the Sobel filter processing is to extract the edge pixels of the sheet, in the case where the target pixel is out of the highlight range so that characters or the like in the sheet do not adversely affect the detection of the edge, the operation results of the equations (1) and (2) are forcibly set to 0 (zero).
On the other hand, an image Bin
The boundary line between the sheets shown in
The image forming apparatus 100 of the first embodiment arranged as described above detects the boundary between the sheets by executing the second gradation conversion processing on one image data obtained by reading a plurality of sheets, and can generate the individual image data for the plurality of sheets by dividing the one image data using the detected boundary as the division position. According to the image forming apparatus 100 of the first embodiment having such an arrangement, it is possible to realize the generation of the image data in which the image data of each sheet part is cut from the image obtained by reading one or more sheets with a simpler arrangement.
In the present embodiment, an example is described in which each sheet is cut from one image data obtained by reading a plurality of sheets arranged on the glass surface 318; however, the number of sheets to be read may be one. Even if the sheet which is the reading object is one, by executing the first gradation conversion processing and the second gradation conversion processing, the sheet part and the cover 319 part in the image data can be distinguished and identified.
The back surface reading section 322 reads the back surface of the sheet to generate image data (hereinafter, referred to as “back surface image data”) obtained by reading the back surface of the sheet. The back surface reading section 322 outputs the generated back surface image data to the back surface image processing section 324. The front surface reading section 321 and the back surface reading section 322 may read the front surface and the back surface of the sheet at different positions on a conveyance path or at the same position on the conveyance path.
The reading controller 323 has a function of controlling an operation of the image reading section 3a according to a reading mode. The reading mode is an image reading operation mode designated for the image forming apparatus 100. For example, the reading mode may include a regular mode for reading a regular sheet and an irregular mode for reading an irregular sheet. The reading mode for the image forming apparatus 100 is designated by a user. For example, the user designates the reading mode for the image forming apparatus 100 by operating the control panel 2. The control panel 2 informs the image reading section 3a of the inputted reading mode.
Specifically, if the reading mode is the irregular mode, the reading controller 323 enables the front surface reading section 321 and the back surface reading section 322 to read both surfaces of the sheet, and enables the back surface image processing section 324 and the front surface image processing section 325 to execute image processing in response to the irregular mode.
The back surface image processing section 324 executes an image processing in response to the reading mode informed from the reading controller 323 on the back surface image data generated by the back surface reading section 322. Specifically, the back surface image processing section 324 carries out an image processing for specifying the sheet position in the image on the back surface image data. The back surface image processing section 324 specifies the sheet position in the image based on the back surface image data on which the image processing is executed and stores information indicating the specified sheet position (hereinafter, referred to as a “back surface position information”) in the storage section 326.
The front surface image processing section 325 executes an image processing in response to the reading mode informed from the reading controller 323 on the front surface image data generated by the front surface reading section 321.
Specifically, the back surface image processing section 324 cuts the image on the sheet front surface from the front surface image data based on the back surface position information generated by the front surface image processing section 325. The front surface image processing section 325 outputs the cut image data of the sheet front surface to the skew correction section 327.
The storage section 326 is comprised by a storage device such as a magnetic hard disk device or a semiconductor storage device. The storage section 326 stores setting information. The setting information indicates settings necessary for the image processing in the back surface image processing section 324 and the front surface image processing section 325. Specifically, the setting information includes information necessary for the gradation conversion processing of the image data. For example, the information necessary for the gradation conversion processing of the image data is stored in a form of the lookup table (LUT) that gives the value of the output data with respect to the value of the input data. Hereinafter, the LUT used as the setting information of the gradation conversion processing is described as LUT for gradation conversion. In the LUT for gradation conversion, different LUTs may be provided depending on property and purpose of the gradation conversion processing. The LUT for gradation conversion in the second embodiment is the same as that in the first embodiment shown in
The skew correction section 327 executes a skew correction processing for correcting deviation of the inclination of the image with respect to the image data obtained by cutting the image data outputted from the front surface image processing section 325. The skew correction section 327 outputs the image data subjected to the skew correction processing to the high image quality processing section 328.
The high image quality processing section 328 executes a high image quality processing for removing noise, enhancing edges and the like. The high image quality processing section 328 outputs the image data subjected to the high image quality processing as the reading result of the irregular mode.
Contrarily, the back surface image processing section 324 executes the gradation conversion processing using the second LUT for gradation conversion (B) on the back surface image data to increase the level difference in the brightness of the highlight side. By executing such a gradation conversion processing, the level difference between the white color of the sheet ground and the white color of the sheet back surface member in the read back surface image is enlarged, and the boundary therebetween becomes clearer. After executing such a gradation conversion processing, the back surface image processing section 324 specifies the sheet position in the image by identifying the boundary between the sheet ground and the sheet back surface member to store the back surface position information indicating the specified sheet position in the storage section 326.
The front surface image processing section 325 cuts the image data of the sheet front surface from the front surface image data based on the back surface position information generated by the back surface image processing section 324. The front surface image processing section 325 outputs the cut image data of the sheet front surface as the reading result. The front surface image processing section 325 may execute the gradation conversion processing using the first LUT for gradation conversion (A) on the front surface image data before cutting or on the cut image data of the sheet front surface.
The front surface reading section 321 and the back surface reading section 322 start reading a sheet in response to the notification of the reading mode (ACT 202). The front surface reading section 321 reads the front surface of the sheet to generate the front surface image data (ACT 203). The front surface reading section 321 stores the generated front surface image data in a page memory (ACT 204). Similarly, the back surface reading section 322 reads the back surface of the sheet to generate the back surface image data (ACT 205). The back surface reading section 322 stores the generated back surface image data in a page memory (ACT 206). The page memories may be separately provided for the front surface and the back surface, or an area for the front surface and an area for the back surface may be provided on one page memory. The front surface image data and the back surface image data are stored in the page memory in association with each read sheet.
The reading controller 323 determines whether the reading of all sheets to be read is completed (ACT 207). If there is a sheet of which the reading is not completed (No in ACT 207), the reading controller 323 returns the processing in ACT 203 and enables the front surface reading section 321 and the back surface reading section 322 to read the next sheet. On the other hand, if the reading of all the sheets is completed (Yes in ACT 207), the reading controller 323 enables the back surface image processing section 324 to execute the image processing in the irregular mode. Specifically, the back surface image processing section 324 executes the sheet position detection processing to generate the back surface position information based on the back surface image data (ACT 208).
The back surface image processing section 324 may execute an inversion processing of the brightness on the back surface image data before executing the second gradation conversion processing in advance.
Return to the description of
Returning to the explanation of
Subsequently, the high image quality processing section 328 executes a high image quality processing (noise reduction, edge enhancement, etc.) on the front surface sheet image data after the skew correction (ACT 304). The high image quality processing section 328 outputs the front surface sheet image data subjected to the high image quality processing in a predetermined file format (ACT 305). The file may be stored in a storage medium such as the storage section 326 or may be sent to an external device.
The front surface image processing section 325 determines whether or not the image cutting processing is executed on all the front surface image data which is processing object (ACT 306). If there is unprocessed front surface image data (No in ACT 306), the front surface image processing section 325 returns to the processing in ACT 301 and executes the image cutting processing on the unprocessed front surface image data. On the other hand, if the image cutting processing is executed for all the front surface image data (Yes in ACT 306), the front surface image processing section 325 ends the image cutting processing.
In the above embodiment, the multifunction peripheral is exemplified as an example of the image forming apparatus; however, the image forming apparatus of the embodiment may be constructed as a device having only an image reading function.
Further, the reading range in the irregular mode may be any range as long as the sheet which is the reading object is included therein. For example, if a sheet such as a business card or a receipt is assumed, the reading range may be set to a specific range such as A4, B5 and the like which includes those sheets. If a size of the irregular sheet is large, the reading range may be set to a maximum range such as A3. If the image forming apparatus is capable of detecting the size of the sheet as a preprocessing of reading, the image forming apparatus may change the reading range according to the size of the detected sheet.
In reading in the irregular mode, if both of the front and back surfaces of the sheet are reading objects, in addition to the sheet position detection processing, the back surface image processing section 324 may execute a processing similar to the front surface image data on the back surface image data. By executing such processing, the back surface image processing section 324 can deal with duplex reading of the irregular sheet. In this case, the image forming apparatus may have two page memories composed of a page memory for holding the back surface image data for the sheet position detection processing and a page memory for holding the back surface image data for the image cutting processing. The image forming apparatus dealing with the duplex reading of such an irregular sheet may be realized by enabling the back surface image processing section 324 to execute the image cutting processing on the back surface image data, or may be realized by adding a functional section similar to the front surface image processing section 325 as a second back surface image processing section.
The image forming apparatus of an embodiment may read the irregular sheet in conjunction with an external system. For example, the image forming apparatus may send to an expense settlement system requiring image data of a receipt or the like, or to a cloud system that provides similar function. The image forming apparatus may read the irregular sheet according to a request of these external systems.
In accordance with at least one embodiment described above, by comprising the scanner unit (an example of the reading section) which is positioned at the back surface of a sheet which is a reading object, provided with the cover (an example of the back surface part) having a predetermined color at the back surface side of the sheet to read at least one surface of the sheet by using the cover as the background, the second gradation conversion section (an example of the gradation conversion section) which executes the gradation conversion processing of enlarging the level difference in brightness at the highlight side on image data read by the scanner unit, and the controller (an example of the image processing section) which identifies the area of the sheet part and the area of the cover part in the image data based on the image data to which the second gradation conversion processing is executed, it is possible to realize the processing of reading the range including the sheet to be read and identifying the area of the sheet part in the read image data with a simpler arrangement.
In the above embodiment, the first gradation conversion section 314, the second gradation conversion section 315, and the control section 317 are described as individual functional sections; however, either one or both of the first gradation conversion section 314 and the second gradation conversion section 315 may be constituted integrally with the controller 317.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the invention. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the invention. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2017-034136 | Feb 2017 | JP | national |