Image reading device and image reading method
Patent Information
- Application Number
- JP2021071302
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-20
- Publication Date
- 2025-03-05
- Estimated Expiration
- 2041-04-20
AI Technical Summary
【0010】 この発明による画像読取装置において、原稿領域決定部は、前記原稿の表裏両面を読み取る場合に一方の面の原稿領域が決定できなければ他方の面の原稿領域を適用し画像切り出し部はその原稿領域に基づいて原稿画像を切り出すので、原稿の表裏両面を読み取る場合に一方の面の原稿領域しか決定できなくても原稿画像を適切に切り出せる。 この発明による原稿画像の読取方法も同様の作用効果を奏する。
Smart Images

Figure 0007640352000001 
Figure 0007640352000002 
Figure 0007640352000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an image reading device and an image reading method capable of reading both the front and back sides of a document, having a function of determining a document area by discriminating a boundary between the document and a background of a read image. [Background technology]
[0002] In image reading devices such as multifunction machines and image scanners, there are two modes for reading an original: a mode in which an original placed on a platen is scanned, and a mode in which an original is transported and read by an original feeder, called a feeder mode. In either mode, the original size is input or detected, and only the original area is read. For this reason, many image reading devices have a function for detecting the original size. Original sizes that can be detected by image reading devices are usually limited to so-called standard sizes, such as A3, A4, A5, 11" x 17", 8.5" x 11", 5.5" x 8.5", etc. To read non-standard sizes, a means for manually inputting the length and width of the original is provided.
[0003] Even if scanning a document of a non-standard size is rare, it is cumbersome to manually input the document size when scanning. If it is possible to detect the exact document size even if the document is of a non-standard size, this would be convenient as it would save the trouble of having to input the size manually. As a means for detecting the exact size of an original even if it is of a non-standard size, a process is considered in which the background color plate is not generally white, but rather, for example, gray, and then the area corresponding to the background color plate is cropped from the image of the original. This assumes that the edges of an ordinary original are the same white as the base color of the paper, and determines the outline of the original based on the density difference between the white of the edge of the original and the gray of the background color plate. However, there is a downside to using a gray background plate: when a light-colored document is scanned using a gray background plate, the gray of the background plate shows through to some extent, and as a result, the document paper may be read as if it were a light gray.
[0004] Incidentally, the platen mode scans and reads the underside of a document placed on a transparent document table, including thick documents such as books. In other words, it is intended to read one side. In contrast, the feeder mode is a mode in which a sheet-like document is read, in which the document is transported to a reading position and read, and it is generally possible to read both the front and back sides of the document.
[0005] The following techniques are known for detecting document areas on both the front and back sides. Image data of the fronts of multiple business cards (front business card image data) and its position information are acquired, and image data of the backs of the cards (back business card image data) and its position information are acquired. Based on the position information, one of the back side business card image data is associated with each front business card image data to create one business card image. The front business card image data and back side business card image data of the associated business card image are compared to determine whether they are in the same position and whether they are the same image. If they are in the same position and the same image, it is detected that the business card has been forgotten to be turned over (see, for example, Patent Document 1). In addition, in an image processing system that reads multiple double-sided documents by scanning the front and back of each document twice, matches the images, and then synthesizes the matched image data, if the back side is blank, it is excluded from being scanned and is excluded from being output or synthesized (see, for example, Patent Document 2). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2015-056794 A [Patent Document 2] JP 2006-339770 A Summary of the Invention [Problem to be solved by the invention]
[0007] In the feeder mode, if the document is read by turning it over, it takes time to read and there is a high possibility of damaging the document, so image reading devices are provided that read the front and back of the document with dedicated image sensors. This reduces the time required to read a double-sided document to the same as that required to read a single-sided document, and eliminates the need for a transport path to turn the document over, which can prevent the document from being damaged when it is turned over. In this way, in an image reading device equipped with a document feeder that reads the front and back of a document using dedicated image sensors, while the boundary between the document and the background on one side can be distinguished and the document area can be determined, the boundary between the document and the background on the other side cannot be distinguished and the document area cannot be determined. This invention has been made in consideration of the above circumstances, and provides an image reading device that can properly extract a document image even when reading both the front and back sides of a document, even if only the document area of one side can be determined. [Means for solving the problem]
[0008] The invention provides an image reading device comprising an image reading device which reads an original document and an area outside the original document as an image, a background color plate which is read by the image reading device in the area outside the original document, an original area determination unit which determines an original area by discriminating the boundary between the original document and the background based on the density difference or color difference between the original document and the background color plate in the read image, and an image cut-out unit which cuts out an original image from the image based on the original area, wherein when reading both the front and back sides of the original document, if the original area of one side cannot be determined, the original area of the other side is applied.
[0009] From a different viewpoint, the present invention provides a method for reading an original image, comprising the steps of: reading an original and an opposing background color plate in an area outside the original as an image by a computer; determining an original area by discriminating a boundary between the original and the background based on a density difference or color difference between the original and the background color plate in the read image; and, when reading both the front and back sides of the original, if the original area of one side cannot be determined, applying the original area of the other side to cut out the original image. Effect of the Invention
[0010] In the image reading device of this invention, when reading both the front and back sides of the document, if the document area of one side cannot be determined, the document area determination unit applies the document area of the other side, and the image cut-out unit cuts out the document image based on that document area, so that when reading both the front and back sides of the document, even if the document area of only one side can be determined, the document image can be properly cut out. The method for reading an image of a document according to the present invention also provides the same advantageous effects. [Brief description of the drawings]
[0011] [Figure 1] 1 is a perspective view showing a part of the exterior of a multifunction peripheral as one aspect of an image reading device according to this embodiment (in a state where a document feeder is closed). [Diagram 2] 1 is a perspective view showing a part of the exterior of a multifunction peripheral as one aspect of an image reading device according to this embodiment (in a state where a document feeder is open). [Diagram 3] FIG. 3 is a block diagram showing the overall configuration of the multifunction peripheral shown in FIGS. 1 and 2. [Figure 4] 2 is an explanatory diagram showing a schematic configuration of a scanner unit and a document feeder of the multifunction peripheral shown in FIG. [Diagram 5] 5 is an explanatory diagram showing the configuration of a mechanism for moving a first carriage and a second carriage of the scanner unit shown in FIG. 4. [Figure 6] 4 is a first flowchart showing the document reading process executed by the control unit in this embodiment. [Figure 7] 11 is a second flowchart showing the document reading process executed by the control unit in this embodiment. [Figure 8] 11 is a third flowchart showing the document reading process executed by the control unit in this embodiment. [Figure 9] 11 is a fourth flowchart showing the document reading process executed by the control unit in this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] The present invention will be described in more detail below with reference to the drawings. Note that the following description is illustrative in all respects and should not be construed as limiting the present invention. (Embodiment 1) Configuration of the image reading device First, the image reading device in this embodiment will be described. 1 and 2 are perspective views showing a part of the external appearance of a multifunction machine as one aspect of an image reading device in this embodiment. The parts related to reading a document are shown. Fig. 1 shows a state in which the document feeder is closed, and Fig. 2 shows a state in which the document feeder is opened and the document table is exposed. Fig. 3 is a block diagram showing the overall configuration of the multifunction machine shown in Figs. 1 and 2. As shown in the block diagram of FIG. 3, the multifunction device 100 includes a control unit 11, a storage device 13, an image forming unit 14, a scanner unit 15, a user interface unit 19 (also called a UI unit), a communication circuit 21, and an image processing circuit 40. The control unit 11 includes a UI control unit 11U, a file control unit 11F, a job management unit 11J, a job execution unit 11X, an image processing control unit 11P, and a communication control unit 11C. The UI unit 19 includes an operation input device 19I such as a touch panel, and a display device 19D. The control unit 11 controls the multifunction device 100. The image processing circuit 40 includes an input processing circuit 41, a blank paper determination circuit 43, a document area determination circuit 45, and an output image generation circuit 47.
[0013] As shown in FIG. 1, the UI unit 19 is provided on the housing of the multifunction device 100. The operation input device 19I detects a user's operation on the display screen of the display device 19D. The UI control unit 11U recognizes the operation signal detected by the operation input device 19I and recognizes which element of the screen displayed on the display device 19D has been operated on. The file control unit 11F stores and reads files in a storage device such as a HDD, and expands files in a storage device such as a memory. The display device 19D is configured, for example, by a liquid crystal display device. The display device 19D displays a screen according to the control of the UI control unit 11U.
[0014] The job management unit 11J performs processes for registering, deleting, and stopping various jobs such as copy jobs, scanner jobs, print jobs, etc. When a job registered in the job management unit becomes executable, the job management unit 11J requests the job execution unit 11X to start executing the job. The job execution unit 11X determines whether or not to start execution of a job registered by the job management unit 11J, and causes the image forming unit 14, the scanner unit 15, and the image processing circuit 40 to execute a job according to the settings. The job execution unit 11X recognizes the state detected by a sensor (not shown) disposed in the scanner unit 15 and the image forming unit 14. Then, it controls the operation of a motor, actuator, device, etc. (not shown) disposed in the scanner unit 15 and the image forming unit 14. In addition, the image processing control unit 11P controls the image-related processing of the image processing circuit 40. Then, it executes the process related to the job, such as reading, printing, and previewing the image of the document.
[0015] As a specific configuration, the control unit 11 is mainly composed of a processor such as a CPU (Central Processing Unit) or MPU (Micro Processing Unit). In addition to the processor, the control unit 11 is composed of hardware resources such as a work memory, an input / output interface circuit, and a timer circuit. The processor executes a control program previously stored in the storage device 13 to perform various jobs related to operation recognition, display control, reading of document images, printing of images, etc., that is, a series of processes related to image formation. The software resources and hardware resources work together to realize the functions of the control unit 11.
[0016] The storage device 13 includes a volatile memory such as a DRAM and a non-volatile memory such as a HDD or a flash memory. The storage device 13 stores the control program executed by the processor and the images read by the scanner unit 15 and processed by the image processing circuit 40. It also stores data related to the control of the file control unit 11F, the job management unit 11J, the job execution unit 11X, and the image processing control unit 11P. The storage device 13 may be integrated with the memory of the control unit 11.
[0017] The control unit 11 and the image forming unit 14, the control unit 11 and the scanner unit 15, and the control unit 11 and the image forming unit 14 are each connected so as to be able to transfer data. The communication circuit 21 is a circuit for communicating data with external devices via a network. As shown in Figs. 1 and 2, the multifunction device 100 includes a document feeder 16. Also, as shown in Fig. 2, the multifunction device 100 includes a document table 17 that is exposed when the document feeder 16 is opened upward. The document table 17 is made of a transparent glass plate, and is disposed on the top surface of the scanner unit 15. Also, as shown in Fig. 2, a front side reading window 18 is disposed next to the left end of the document table 17. The front side reading window 18 is also made of a transparent glass plate, similar to the document table 17. A front side background color plate 51 is disposed on the underside of the document feeder 16. When the document feeder 16 is closed, the front side reading window 18 and the front side background color plate 51 are positioned opposite each other.
[0018] The scanner unit 15 reads an image of a document under the control of the job execution section 11X and converts it into a RGB (red, green and blue) color image signal (RGB analog signal). That is, it executes image reading processing for copy, fax and scanner jobs. FIG. 4 is an explanatory diagram showing a schematic configuration of the scanner unit 15 and the document feeder 16 of the multifunction peripheral 100 shown in FIG.
[0019] The document feeder 16 shown in Fig. 4 separates and feeds documents one by one from a stack of documents placed on a document set tray 31 (see arrow IN in Fig. 4), transports the documents via front side reading positions R1 and R2 and back side reading position R3, and discharges the documents onto a document discharge tray 33 (see arrow OUT in Fig. 4). Note that the documents are set on the document set tray 31 with their front sides facing down. This makes it possible to switch between reading positions R1 and R2 in a mode in which only one side (front side) of a document is read. The front side reading positions R1 and R2 are between the lower front side reading window 18 and the upper front side background color plate 51. The document being conveyed is exposed below the front side background color plate 51 at the reading positions R1 and R2.
[0020] As shown in FIG. 4, the scanner unit 15 stops the first carriage 55 at either the reading position R1 or R2, and reads the front side of the document that passes by. The first carriage 55 is equipped with an LED that illuminates the document surface and a reflecting mirror, and the second carriage 57 is equipped with two reflecting mirrors. The image of the document that passes the reading position R1 or R2 is formed on the image sensor 61 via the reflecting mirrors and the optical lens 59. The first carriage can also move downward on the document table 17, and in the platen mode, the document placed on the document table 17 is scanned from below and reads as shown by the arrow S in FIG. 4. When the first carriage 55 moves, the second carriage 57 moves in the same direction at half the speed, and forms an image of the document placed on the document table 17 on the image sensor 61. The image sensor outputs an image signal according to the document image. The reflecting mirrors of the first carriage 55 and the second carriage 57 and the optical lens 59 constitute a reduction optical system that forms an image of the front side of the document on the image sensor 61 .
[0021] FIG. 5 is an explanatory diagram showing the configuration of a mechanism for moving the first carriage 55 and the second carriage 57 of the scanner unit 15 shown in FIG. 4. FIG. 5 is a perspective view of the scanner unit 15 as seen from diagonally above the left rear. As shown in FIG. 5, a wire is fixed to both ends of the first carriage 55. Both ends of the second carriage 57 have pulleys around which the wire is wound. The wire is wound around a wire pulley 65 that is driven to rotate by a scanner motor 63. When the wire pulley 65 rotates, the first carriage 55 and the second carriage 57 move in the direction of the arrow S and then move in the opposite direction. The second carriage moves at half the speed of the first carriage like a movable pulley.
[0022] Returning to the explanation of FIG. 4, a back side reading unit 67 that reads the back side of the document and a back side background color plate 53 are disposed at reading position R3. In the back side reading unit 67, an image of the back side of the document passing through reading position R3 is formed on the image sensor of the lens and image sensor unit 69 via multiple reflecting mirrors possessed by the back side reading unit 67. The image sensor outputs an image signal corresponding to the document image. The lens and image sensor unit 69 is a unit in which an optical lens and a line image sensor are assembled together. The multiple reflecting mirrors of the back side reading unit 67 and the optical lens of the lens and image sensor unit 69 constitute a reduction optical system that forms an image of the back side of the document on the image sensor of the lens and image sensor unit 69. The back-side reading unit 67 is located inside the substantially U-shaped document transport path. Therefore, the front side of the document transported by the document feeder 16 is read by the scanner unit 15, and the back side of the document is read by the back-side reading unit 67.
[0023] The image processing circuit 40 generates image data based on the image signal output by the scanner unit 15. Alternatively, the image processing circuit 40 generates image data for printing based on print data received via the communication circuit 21. The image processing control unit 11P controls these processes of the image processing circuit 40. The generated image data is compiled into an image file on a page basis, a front and back page basis, or a copy basis. The file control unit 11F performs processes for generating and managing image files from image data and controls the reading and writing of image files. The image files are printed by the image forming unit 14, or transmitted to an external device via the communication circuit 21.
[0024] Fig. 3 shows the configuration of an image processing circuit 40 for image processing related to the present invention. The blocks shown in Fig. 3 do not cover the entire image processing circuit 40, but rather show elements necessary for explaining the present invention. The input processing circuit 41 performs image processing by receiving image signals for each page from the image sensors (image sensor 61 for reading the front side and lens and image sensor unit 69 for reading the back side) of the scanner unit 15. It is a circuit block that generates images that are the basis for images for document area determination and images for output. The input processing circuit 41 performs A / D conversion, shading correction, tone conversion, etc. of the image signals.
[0025] The blank page determination circuit 43 is a circuit block that determines whether a page is a blank page by counting the ratio of black pixels contained in the image signal for each page received from the scanner unit 15. The result of this determination is provided to the output image generation circuit 47 and is used for control to suppress the output of blank pages. The document area determination circuit 45 is a circuit block that determines the document area of the read image based on the determination image output from the input processing circuit 41. In the mode for determining the document area of an irregular size, the rectangular document area is determined based on the density difference or color difference between the edge of the document and the gray color of the background color plate. Since the document area is determined by determining the outline of the rectangular document, for example, an image obtained by lowering the resolution of the read image and converting it to black and white can be used as the determination image to reduce the processing time. In this embodiment, the document area determination circuit 45 not only detects the outline of the document when determining the rectangular document area, but also performs character recognition processing to detect the inclination and top and bottom of the document, and determines the document area taking into account the detection results. The determined document area is provided to the output image generation circuit 47 and used for cropping the output image.
[0026] The output image generating circuit 47 further performs image processing on the output image output from the input processing circuit 41 to generate an image file in the format to be output. The image processing performed by the output image generating circuit 47 includes blank page removal processing based on the determination result of the blank page determination circuit 43. It also includes cropping processing of the image of each page based on the document area determined by the document area determination circuit 45. In addition, it includes image quality adjustment, color correction, spatial filter processing, displacement processing, and other image processing. For example, when transmitting the image of the scanned document as a PDF format image file to a specified destination via the communication circuit 21, the output image generating circuit 47 generates a PDF format image file from the image data of each page and outputs it.
[0027] <When the document area on either the front or back side cannot be determined during double-sided scanning in feeder mode> An example of a case where the document area of one of the front and back sides cannot be determined during double-sided scanning in the feeder mode will be described below. Here, the document area determination for a non-standard size document will be described. In a mode for reading a non-standard-sized document, the image reading device detects the size of the document, determines which of the detectable standard sizes the detected document size is closest to, reads the document in an area slightly larger than any of the detected standard sizes, and crops the area other than the document, i.e., the area corresponding to the background color plate, from the read image.
[0028] Generally, the edges of a document are white, so a white background plate is used so that there is no sense of incongruity even if the area outside the document is read. However, in the mode for detecting the document area of a non-standard size document, a gray background plate is used to read the document, giving priority to correctly detecting the document area, and the outline of the document is discriminated based on the density difference or color difference with the document edges. In the above-mentioned multifunction device 100, the mechanism of the scanner unit 15 that reads the front side of a document in the feeder mode has the same configuration as in the platen mode. For the front side, it is easy to shift the reading position between the mode for reading standard size documents and the mode for reading non-standard size documents by changing the stopping positions of the first carriage 55 and the second carriage 57. Therefore, a front side background color plate 51 that is painted in white and gray areas is used so that the front side background color plate 51 at the reading position R1 is white and the front side background color plate 51 at the reading position R2 is gray.
[0029] Considering the rationality of reading one-sided non-standard size documents, the document is read mainly using the scanner unit 15, which can easily shift the reading position even in feeder mode, and is used to read the front side when reading both sides. Note that it is not essential to paint reading position R1 white and reading position R2 gray, and reading position R1 may be painted gray and reading position R2 white, but the former is used here. Also, gray is not essential, and other colors besides white may be used, but gray is used here.
[0030] In a mode for reading a normal standard-sized document, the control unit 11 controls the first carriage 55 to stop at the reading position R1 and read the front side of the document. The front side background color plate 51 is in a white position. On the other hand, in a mode for reading a non-standard-sized document, the control unit 11 controls the first carriage 55 to stop at the reading position R2 and read the front side of the document. The front side background color plate 51 is in a gray position. Shifting the document reading position according to the mode is achieved by simply changing the stopping positions of the first carriage 55 and the second carriage 57, which also serve as the platen mode, and the mechanical and cost burdens involved in achieving this are minor.
[0031] On the other hand, the reading of the back side of the document is configured to be performed using a back side reading unit 67 fixed inside the document feeder 16. The back side reading unit 67 is not provided with a mechanism for shifting the reading position R3 or the back side background color plate 53. If a mechanism for shifting the background color plate is provided to switch the color of the background color plate between white and gray in the mode for reading a standard size document and the mode for reading an irregular size document as in the case of the front side, it is theoretically possible to realize the same function as the front side. However, adding a function for shifting the reading position for reading an irregular size document, which is rare, is a large burden in terms of mechanism and cost, so the back side reading unit 67 and the back side background color plate 53 are fixed at the reading position R3. In an image reading device equipped with a document feeder that reads the front and back sides of a document with dedicated image sensors as in this embodiment, in a mode for reading documents of irregular sizes, the document area can be determined at a reading position corresponding to a gray background color plate for the front side. However, since the back side is read with a white background color plate, the boundary between the document and the background cannot be distinguished, and therefore the document area cannot be determined.
[0032] <Processing when the document area cannot be determined for one of the front and back sides> In this embodiment, when the document area cannot be determined for either the front or back side of the document, cropping is performed by applying the document area for the other side. As a specific example, a case will be described in which a mode for detecting the document area of a non-standard size document in double-sided reading in the feeder mode is combined with a function for skipping blank pages, that is, a function for determining blank pages. The blank page skipping function is a function for skipping blank pages and outputting a non-blank document when there are blank pages in the scanned document. The image processing control unit 11P and the image processing circuit 40 judge whether each page of the document is blank or not, and perform control to suppress output of blank pages. When the blank page skipping function is set, the blank page determination circuit 43 shown in Fig. 3 determines whether each page of the document read by the scanner unit 15 is blank or not. Since the output of a page determined to be blank is suppressed, there is no need to generate an output image of that page. Therefore, the image processing control unit 11P does not need to cause the input processing circuit 41 and the output image generation circuit 47 to perform image processing on that page, and also does not need to store the image data of that page in the storage device 13.
[0033] However, in this embodiment, even if the front side is determined to be a blank page, the image processing control unit 11P causes the input processing circuit 41 and the document area determination circuit 45 to perform image processing similar to that in the case of a non-blank page. However, since the output of a blank page is suppressed, the output image generation circuit 47 does not need to perform image processing. The determined document area is then stored in the storage device 13. If it is determined that the back side page is not a blank page, the document area determined for the front side is applied to the back side, and crop processing is performed on the back side. The cropped image of the back side is then included in the image file and output.
[0034] 6 to 9 are flow charts showing the process of document reading executed by the control unit 11 in this embodiment. This is the reading process when double-sided reading in the feeder mode is performed, and detection of the document area of a non-standard size document and a function for skipping blank pages are combined. The procedure of the process executed by the control unit 11 will be described below with reference to the flow chart. As shown in FIG. 6, the control unit 11 functioning as the UI control unit 11U detects that an instruction to start a job for reading a document (such as a scanner job or a copy job) has been issued (step S11). When an instruction to start a job to read a document is given (Yes in step S11), the job management unit 11J registers the job for which the instruction to start execution has been given as a job to be executed. Then, the job management unit 11J requests the job execution unit 11X to execute the job. In response to this, the job execution unit 11X performs processing according to the job settings.
[0035] In the process according to this embodiment, the control unit 11, functioning as the job execution unit 11X, determines whether or not the job is to read both sides of the document in the feeder mode (step S13). If it is a platen mode job or a feeder mode job to read only one side of the document (No in step S13), the process executes the document reading process according to the settings (step S15). As this is not a job execution process closely related to this embodiment, details will be omitted, but in the feeder mode, the document is read at the reading position R1, where the front side background color plate 51 is in the white position. Then, the job execution is completed.
[0036] On the other hand, if it is determined in step S13 that the job is to read both sides of the document in the feeder mode, the control unit 11 as the job execution unit 11X determines whether the mode is for detecting documents of a non-standard size (step S17). If the mode is set to detect only standard size documents (No in step S17), a process to read the document is executed according to the settings (step S19). Since this is not a job execution process closely related to this embodiment, details will be omitted, but in this case, the front side of the document is read at reading position R1. This is the position where the front side background color plate 51 is white. Then, execution of the job is completed.
[0037] If it is determined in step S17 that the mode is for detecting non-standard size documents (Yes in step S17), the control unit 11 as the job execution unit 11X determines whether or not a blank page skipping function is set (step S21). If the blank page skipping function is not set (No in step S21), the control unit 11 as the job execution unit 11X feeds documents from the document set tray 31 of the document feeder 16 and causes the scanner unit 15 and the back side reading unit 67 to read the front side and back side of each document, respectively. At this time, the scanner unit 15 is controlled so that the front side is read at the reading position R2, where the front side background color plate 51 is in the gray color position.
[0038] The control unit 11, functioning as the image processing control unit 11P, controls the input processing circuit 41, the document area determination circuit 45, and the output image generation circuit 47 of the image processing circuit 40 to perform image processing on the images of the front and back of each document read by the scanner unit 15. The document area determination circuit 45 determines the document area based on the image of the front side read at the reading position R2, and applies this to the back side as well to cause the output image generation circuit 47 to perform crop processing on the images of the front and back of each document. Then, the cropped images of the front and back of each document are output together in an image file (step S27). Then, execution of the job is completed. If it is determined in step S21 described above that the blank page skipping function is set (Yes in step S21), the control unit 11, functioning as the job execution unit 11X, controls the document feeder 16 to transport the document one sheet at a time and read both sides (step S29), and performs the processes in and after step S31.
[0039] The following describes the process of reading the front and back of each document when the non-standard size detection and blank page skipping functions are set in the feeder mode duplex scanning. The front side of the document is read by the scanner unit 15, and in parallel with this, the back side of the document is read by the back side reading unit 67. For convenience, however, in the explanation of the flowchart, the front side is read first, then the back side.
[0040] The control unit 11 as the image processing control unit 11P waits until the front side of the document is read, and checks whether the blank page determination circuit 43 has determined that the front side of the document is a blank page (step S31). If it is determined to be a blank page (Yes in step S31), it notifies the output image generation circuit 47 that the output of the image of the front side should be suppressed (step S33). For example, using a data table (not shown) that manages the images of each page of the read document, an attribute indicating that the output of the target page should be suppressed is added. If it is determined that the page is not a blank page (No in step S31), the process of suppressing the output of the target page is not performed.
[0041] Next, the control unit 11 as the image processing control unit 11P waits until the front side of the document is read and the document area determination circuit 45 generates a determination image used to determine the document area (Yes in step S35 shown in FIG. 7), and then determines the document area based on the determination image. Then, data indicating the position of the determined document area is stored in the storage device 13 (step S37). Furthermore, the control section 11 functioning as the image processing control section 11P waits until the front side of the document is read, the image data of that page is image-processed by the input processing circuit 41, and stored in the storage device 13 (step 39). Once the image data of the target page is stored in the storage device 13, processing related to reading the back page of the document is carried out.
[0042] The control unit 11 as the image processing control unit 11P waits until the back side of the document is read, and checks whether the blank page determination circuit 43 has determined that the back side of the document is a blank page (step S41). If it is determined to be a blank page (Yes in step S41), it notifies the output image generation circuit 47 that the output of the image on the front side should be suppressed (step S43). For example, using a data table (not shown) that manages the images of each page of the read document, an attribute indicating that the output of the target page should be suppressed is added. If it is determined that the page is not a blank page (No in step S41), the process of suppressing the output of the target page is not performed.
[0043] If it is determined in step S41 that the document is not a blank page (No in step S41), the control unit 11, functioning as the image processing control unit 11P, waits for the back side of the document to be read, and for the image data of that page to be image-processed by the input processing circuit 41 and stored in the memory device 13 (Yes in step S45). In this way, when the front and back of one document have been read and the image data of the front and back have been stored in the memory device, the control unit 11, functioning as the job execution unit 11X, determines whether reading of all the documents that have been fed has been completed (step S47).
[0044] If there is still an original to be read (No in step S47), the control unit 11 returns the process to step S31 in FIG. 6, and repeats the process of reading the front and back sides of the next original. When reading of all documents has been completed (Yes in step S47), the control unit 11, functioning as the image processing control unit 11P, executes processing related to outputting each document sequentially, targeting the image data obtained by reading the front and back of each document and storing it in the memory device 13 (step S51 shown in FIG. 8).
[0045] First, it is checked whether the front side of the target document is determined to be a blank page (step S53). If the front side is a blank page (Yes in step S53), the process proceeds to step S61 described later to perform a determination on the back side. If the front side is not a blank page (No in step S53), the control unit 11 as the image processing control unit 11P reads image data of the front side of the target document from the storage device and causes the output image generating circuit 47 to perform image processing (step S55). Furthermore, data relating to the document area of the front side of the target page stored in the storage device is read out and applied to the image data of the front side to perform cropping (step S57).Then, the image data of the cropped front side data is temporarily stored to be used as an output image (step S59).
[0046] Next, it is checked whether the back side of the target document is determined to be a blank page (step S61). If the back side is a blank page (Yes in step S61), the process proceeds to step S69 described later, where it is determined whether all pages have been processed. If the back side is not a blank page (No in step S61), the control unit 11 as the image processing control unit 11P reads image data of the back side of the target document from the storage device and causes the output image generating circuit 47 to perform image processing (step S63). Furthermore, data relating to the document area on the front side of the target page is applied to the image data on the back side to perform cropping (step S65).Then, the cropped image data of the back side data is temporarily stored for use as an output image (step S67).
[0047] When the output process for the front and back of the target document is completed, it is determined whether or not the process has been completed for all documents (step S69). If there is a document that has not yet been output (No in step S69), the control unit 11 sets the next document as the target (step S71), returns the process to step S53, and performs output process of the image data of the front and back of the next document that has been set as the target.
[0048] On the other hand, if the determination in S69 above indicates that processing has been completed for all documents (Yes in step S69), the control unit 11 as the image processing control unit 11P generates an image file that compiles the images of the front and back of each document that have been image-processed and cropped (step S73 shown in FIG. 9). Then, the control unit 11 causes the generated image file to be output (step S75). For example, the image file is sent to a specified destination via the communication circuit 21. Then, execution of the job is completed. The above is the process executed by the control unit 11 in this embodiment.
[0049] (Embodiment 2) In the first embodiment, the document is read at the reading position of the gray background plate in the mode for detecting the document area of a non-standard size document, and the document is read at the reading position of the white background plate when detecting only standard size documents. However, the scope of the present invention also includes a mode in which the reading position is not switched depending on the mode. For example, the front side is a white background plate and the back side is a gray background plate. According to this embodiment, the document is read with a white background color plate for the front side of double-sided scanning and for single-sided scanning. The document is read with a gray background color plate for the back side of double-sided scanning. However, documents with printing on both sides do not have extremely thin paper, and it is considered that the effect of the gray background color plate is small. On the other hand, thin single-sided documents are read with a white background color plate.
[0050] (Embodiment 3) Since the document area is determined by determining the contour of a rectangular document, if the document is transported and read at an angle, the contour that is detected is inclined with respect to the main scanning direction. Therefore, when determining the document areas on the front and back sides, the document area determination section may also correct the inclination of the document based on the contour of the document that is also detected.
[0051] As mentioned above, (i) An image reading apparatus according to the present invention comprises an image reading device which reads an original document and an area outside the original document as an image; a background color plate which is read by the image reading device in the area outside the original document; an original area determination unit which determines an original area by discriminating a boundary between the original document and the background based on a density difference or color difference between the original document and the background color plate in the read image; and an image cut-out unit which cuts out an original image from the image based on the original area, wherein the original area determination unit is characterized in that when reading both the front and back sides of the original document, if the original area of one side cannot be determined, the original area of the other side is applied.
[0052] In this invention, the background color plate is a member that is arranged behind the document in a reading area where the image reading device can read the document, and is exposed in an area where the document is not present when reading a document smaller than the reading area. For example, a specific embodiment of the background color plate corresponding to the feed mode is a long and thin plate-like member arranged at a reading position where the transported document is read. The dimension in the longitudinal direction is larger than the readable area in the main scanning direction of the image reading device. A specific embodiment of the background color plate corresponding to the platen mode is a flat plate-like member arranged on the underside of an openable cover (document cover) that covers from above a transparent document table on which the document to be read is placed. A white member that is the same as the background color of a normal document is generally used so that the read image does not look strange even if the document is of an irregular size or if the document is placed slightly off-center from the specified position on the document table. However, it is not limited to white.
[0053] Also, the image reading device scans the document to read the image. As a specific embodiment, for example, a linear image sensor such as a CCD (Charge Coupled Device) or a CIS (Contact Image Sensor) is generally used. Since documents up to A3 size or A4 size are generally read, the size of the reduction optical system and the sensor becomes large when an area image sensor is used. Therefore, a linear image sensor is used, and a scanning mechanism that moves the document relative to the image sensor in the sub-scanning direction is used to realize the miniaturization of the entire device. In the feeder mode, the reading position of the image sensor in the sub-scanning direction is generally fixed, and the document is transported and moved to read. In the platen mode, the document is generally fixed on the document table, and the reading position is moved. In the case of a CIS, the image sensor is mounted on a carriage and the reading position is moved in the sub-scanning direction, and in the case of a CCD image sensor, a mirror that constitutes the reduction optical system is mounted on the carriage and the reading position is moved in the sub-scanning direction.
[0054] Furthermore, the document area is the area that corresponds to the document among the areas that the image sensor can read. The area that the image sensor can read is usually a little larger than the maximum size of the document that can be read. This is because it takes into account the tolerance of the document transport mechanism and the adjustment of the optical system. The image reading device cuts out the document area according to the detected or set document size from the read image.
[0055] To crop the document area means to make the output image, i.e. the image to be printed or transmitted, correspond to the document area. If the size of the output image is larger than the document area, the outside of the document area is filled with a specified number of pixels (usually white pixels) before output.
[0056] Further, preferred embodiments of the present invention will be described. (ii) The image reading device may further include a blank page determination unit that executes a blank page determination function to determine whether the document read by the image reading device is a blank page and suppress the output of blank pages, and a function setting unit that accepts a user setting of whether to enable the blank page determination function, wherein when the blank page determination function is enabled, the document area determination unit determines the document area for each page regardless of whether the document is a blank page or not, and when the document area of one side cannot be determined, applies the document area of the other side. Since the blank page determination function suppresses the output of blank pages, there is no point in determining the document area for blank pages when the blank page determination function is set. In this way, when reading both sides of a document, if the document area for one side cannot be determined even if the other page is a blank page, the document area of the blank page can be applied.
[0057] (iii) The image reading device may include a document transport mechanism for transporting a document, a first side reading device for reading either the front or back side of the document, a first side background color plate corresponding to the first side reading device and having a gray position and a white position on the front side, a second side reading device for reading the other side of the document, a second side background color plate corresponding to the second side reading device, and a reading position switching unit that switches the position at which the first side reading device reads the first side background color plate depending on whether or not a blank paper determination function is enabled, wherein the exposed surface of the first side background color plate has a white area and a gray area, and the reading position switching unit may switch the reading position of the first side reading device so as to read the gray position of the first side background color plate in an area where there is no document if the blank paper determination function is enabled, and to read the white position if the blank paper determination function is disabled. Blank page determination function: By doing this, by switching the reading position of the first-side reading device, if the blank page determination function is enabled, the first-side background color plate can read gray positions in areas where there is no document, and if the blank page determination function is disabled, it can read white positions.
[0058] (iv) When the determined document area is tilted, the image cutout section may correct the tilt and cut out the document image. In this way, even if the document is read in an inclined state, the document area can be cut out in accordance with the inclination.
[0059] (v) One aspect of the invention includes a method for reading an original image, comprising the steps of: reading an original and an opposing background color plate in an area outside the original as an image by a computer; determining an original area by discerning a boundary between the original and the background based on a density difference or color difference between the original and the background color plate in the read image; and, when reading both the front and back sides of the original, if the original area of one side cannot be determined, applying the original area of the other side to cut out the original image.
[0060] The aspects of the present invention include any combination of the above-mentioned aspects. In addition to the above-mentioned embodiment, various modifications of the present invention are possible. These modifications should not be interpreted as not falling within the scope of the present invention. The present invention should include all modifications within the scope of the claims and the equivalent meanings. [Explanation of symbols]
[0061] 11: control section, 11C: communication control section, 11F: file control section, 11J: job management section, 11P: image processing control section, 11U: UI control section, user interface control section, 11X: job execution section, 13: storage device, 14: image forming unit, 15: scanner unit, 16: document feeder, 17: document tray, 18: front side reading window, 19: UI unit, user interface unit, 19D: display device, 19I: operation input device, 21: communication circuit, 31: document set tray, 33: document discharge tray, 40: image processing circuit, 41: input processing circuit, 43: blank paper determination circuit, 45: document area determination circuit, 47: output image generation circuit, 51: front side background color plate, 53: back side background color plate, 55: first carriage, 57: second carriage, 59: Optical lens, 61: Image sensor, 63: Scanner motor, 65: Wire pulley, 67: Back surface reading unit, 69: Lens image sensor unit 100: Multifunction device R1, R2, R3: Reading position
Claims
1. A method and apparatus for reading an original document, comprising: a first surface reading device for reading one of the front and back surfaces of the original document; a second surface reading device for reading the other surface of the original document; and an image reading device for reading the original document and an area outside the original document as an image; a first-side background color plate having a surface portion of a color other than white that can face the first-side reading device, and a second-side background color plate having a white surface that faces the second-side reading device, the background color plate being read by the first-side reading device and the second-side reading device in an area outside the document; an original area determination unit that determines an original area by discriminating a boundary between the original and the background based on a density difference or a color difference between the original and the background color plate in the read image; an image cutout unit that cuts out an original image from the image based on the original area; The document area determination unit is an image reading device that, when reading both the front and back sides of the document with the portion of the first surface background color plate that is a color other than white facing the first surface reading device, applies the document area of the other side if the document area of one of the front and back sides cannot be determined based on the density difference or color difference.
2. a blank page determination unit that executes a blank page determination function for determining whether the document read by the image reading device is a blank page and suppressing output of the blank page; A function setting unit is further provided for accepting a user's setting as to whether or not to enable the blank page determination function, The image reading device according to claim 1, wherein the document area determination unit determines the document area for each page when the blank page determination function is enabled, regardless of whether the document is a blank page or not, and when the document area of one side cannot be determined, the document area of the other side is applied.
3. The image reading device is a document transport mechanism for transporting a document; a reading position switching unit that switches a position where the first-side reading device reads the first-side background color plate depending on whether a blank paper determination function is enabled or not; the first surface background color plate has an exposed surface including a white area and a gray area; The image reading device of claim 2, wherein the reading position switching unit switches the reading position of the first surface reading device so as to read a gray position of the first surface background color plate in an area where there is no document when the blank paper determination function is enabled, and to read a white position when the blank paper determination function is disabled.
4. The image reading device according to claim 1 , wherein, when the determined document area is tilted, the image cutout section corrects the tilt before cutting out the document image.
5. A computer that controls an image reading device having a first surface reading device that reads either the front or back surface of a document being transported, and a second surface reading device that reads the other surface of the document, A step of reading an original document, a first-side background color plate having a surface of a color other than white in an area outside the original document that can face the first-side reading device, and a second-side background color plate having a white surface that faces the second-side reading device as front and back images; determining a boundary between the document and the background based on a density difference or color difference between the document and the first side background color plate or the second side background color plate in the read image, and determining a document area; A method for reading an original image comprising the steps of: when reading both the front and back sides of the original with the non-white portion of the first-side background color plate facing the first-side reading device, if the original area of one of the front and back sides cannot be determined based on the density difference or color difference, applying the original area of the other side to cut out the original image.
Citation Information
Patent Citations
Image processing system and control method thereof
JP2006339770A
Image reading processor, image reader and image reading processing method
JP2009017409A
Information processor, information processing system, information processing method, and program
JP2015056794A
Cited By
Image processing apparatus, image processing method and image processing program for identity card copy with white page processing
EP4823084A1