IMAGE PROCESSING APPARATUS, METHOD OF CONTROLLING THE SAME, AND STORAGE MEDIUM
20170310844 · 2017-10-26
Inventors
Cpc classification
H04N1/00931
ELECTRICITY
H04N1/193
ELECTRICITY
H04N2201/0094
ELECTRICITY
H04N1/203
ELECTRICITY
H04N1/00798
ELECTRICITY
International classification
H04N1/203
ELECTRICITY
H04N1/193
ELECTRICITY
Abstract
An image processing apparatus having a reading unit that can read both sides of an original in parallel has a processing unit that processes image data obtained by the reading unit reading an original. The apparatus controls to execute processing by the processing unit on image data of a first surface of the original and reading of a second surface of the original in parallel. The apparatus determines whether or not to start processing by the processing unit on image data of the second surface of the original when processing by the processing unit on the image data of the first surface of the original completes, and in accordance with the determination result, the apparatus controls of a start of processing by the processing unit on the image data of the second surface of the original.
Claims
1. An image processing apparatus having a reading unit that can read both sides of an original in parallel, the apparatus comprising: a processing unit configured to process image data obtained by the reading unit reading an original; a memory storing a set of instructions; and one or more processors that execute instructions of the set of the instructions and cause the image processing apparatus to function as: a control unit configured to execute in parallel processing by the processing unit on image data obtained by the reading unit reading a first surface of the original, and reading of a second surface of the original by the reading unit; and a determination unit configured to determine, when processing by the processing unit on the image data obtained by the reading unit reading the first surface of the original completes, whether or not to start processing by the processing unit on image data obtained by the reading unit reading the second surface of the original, wherein the control unit controls a start of the processing by the processing unit on the image data obtained by the reading unit reading the second surface of the original in accordance with a determination result by the determination unit.
2. The image processing apparatus according to claim 1, wherein, when the processing by the processing unit on the image data obtained by the reading unit reading the first surface of the original completes, the determination unit determines to start the processing on image data obtained by the reading unit reading the second surface of the original by the processing unit, if a first time required for processing by the processing unit on image data of an already read region obtained by the reading unit reading the second surface of the original is greater than or equal to a second time required for the reading unit to read an unread region of the second surface.
3. The image processing apparatus according to claim 2, wherein the reading unit has a first reading sensor for reading an image of the first surface of the original and a second reading sensor for reading an image of the second surface of the original, and the first and second reading sensors are arranged at positions that are different to each other in a conveyance direction of the original.
4. The image processing apparatus according to claim 3, wherein the second time required for the reading unit to read the unread region of the second surface is based on a difference between the positions of the first and the second reading sensors in the conveyance direction of the original.
5. The image processing apparatus according to claim 3, wherein the first and the second reading sensors are line sensors.
6. The image processing apparatus according to claim 1, wherein, if a size of the original is not a standard size, the determination unit determines not to start the processing by the processing unit on the image data obtained by the reading unit reading the second surface of the original, when processing by the processing unit on the image data obtained by the reading unit reading the first surface of the original has completed.
7. The image processing apparatus according to claim 3, wherein the first and the second reading sensors read images of an original that is during conveyance.
8. The image processing apparatus according to claim 1, wherein processing by the processing unit includes compression processing of the image data, and wherein the one or more processors that execute the instructions and cause the image processing apparatus to function as a storage control unit configured to compress by the compression processing and store in a memory image data obtained by reading the first surface and the second surface of the original.
9. The image processing apparatus according to claim 8, wherein, when reading a plurality of originals, when processing by the processing unit on image data obtained by the reading unit reading a first surface of the original completes, if the determination unit determines to start the processing by the processing unit on the image data obtained by the reading unit reading the second surface of the original, the control unit controls to immediately start reading of a first surface and a second surface of a succeeding original after image data obtained by reading of a first surface and a second surface of a preceding original is stored by the storage unit.
10. A method of controlling an image processing apparatus having a reading unit that can read both sides of an original in parallel, the method comprising: processing image data obtained by the reading unit reading an original; controlling to execute in parallel processing on image data obtained by the reading unit reading a first surface of the original, and reading of a second surface of the original by the reading unit; and determining, when processing on the image data obtained by the reading unit reading the first surface of the original completes, whether or not to start processing on image data obtained by the reading unit reading the second surface of the original, wherein a start of the processing on the image data obtained by the reading unit reading the second surface of the original is controlled in accordance with a determination result.
11. A non-transitory computer readable storage medium storing a program for causing a processor to execute a method of controlling an image processing apparatus having a reading unit that can read both sides of an original in parallel, the method comprising: processing image data obtained by the reading unit reading an original; controlling to execute in parallel processing on image data obtained by the reading unit reading a first surface of the original, and reading of a second surface of the original by the reading unit; and determining, when processing on the image data obtained by the reading unit reading the first surface of the original completes, whether or not to start processing on image data obtained by the reading unit reading the second surface of the original, wherein a start of the processing on the image data obtained by the reading unit reading the second surface of the original is controlled in accordance with a determination result.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DESCRIPTION OF THE EMBODIMENTS
[0020] Embodiment of the present invention will now be described hereinafter in detail, with reference to the accompanying drawings. It is to be understood that the following embodiment is not intended to limit the claims of the present invention, and that not all of the combinations of the aspects that are described according to the following embodiment are necessarily required with respect to the means to solve the problems according to the present invention.
[0021] Note that, in the embodiment, an image processing apparatus of the present invention is explained as an image forming apparatus such as a multi-function peripheral as an example, but the present invention is not limited to this, and it can also be applied to a scanner, a copying machine, a printing apparatus that has a scanner, or the like for example.
[0022]
[0023] A device connection unit 102 communicates with an external apparatus via a LAN or USB, and performs transmission/reception of data with the external apparatus. An image processing unit 103 uses hardware to perform various image processing and compression processing such as color processing on image data obtained by a reading unit 104 or the device connection unit 102. The reading unit 104 can read an original that is paper media by an optical sensor, and outputs image data of the read original. The reading unit 104 is provided with a concurrent both-sided scanner that can read both sides of an original concurrently, and detail thereof is described later with reference to
[0024]
[0025] The reading unit 104 can convey an original to read both sides of the original in parallel. Reading sensors 203 and 204 are reading sensors for a front surface (a first surface) and a back surface (a second surface) of an original, and can obtain image data of both front and back sides of the original in one conveyance of the original. An original 201 is an original before conveyance that a user has set. An original 202 indicates an original that is being conveyed, and reading of both front and back sides of the original 202 is performed by the reading sensors 203 and 204 during this conveyance. The reading sensor 203 is an optical sensor for reading image data of a front surface of an original, has a length in accordance with a width of the original, and reads an image by units of main scanning lines. The reading sensor 203 is arranged for the front surface (the bottom side) of the original 202 that is conveyed. The reading sensor 204 is an optical line sensor for reading image data of a back surface of an original, has a length in accordance with a width of the original, and reads an image by units of main scanning lines. The reading sensor 204 is arranged for the back surface (the top side) of the original 202 that is conveyed. Here, to avoid interference at a time of reading, the reading sensors 203 and 204 are arranged to be shifted by several centimeters with respect to each other in the sub scanning direction (conveyance direction of the original). Image data obtained by the reading sensor 203 and the reading sensor 204 of the reading unit 104 reading both sides of an original in this way are each saved to the storage unit 108 under the control of the CPU 106.
[0026]
[0027]
[0028] Reading (front) 301 indicates processing for image data of the front surface of an original by the reading unit 104, and outputs image data of the front surface of the original that is read by the reading sensor 203. Image processing hardware 303 indicates hardware, for performing image processing and compression processing, that the image processing unit 103 has, and performs image processing and compression processing on the image data of the front surface of the original that is read by the reading sensor 203. The image data processed in this way is saved as processed front surface image data 304 in a small-sized buffer allocated in the storage unit 108. Because of this, it is possible to image data of the front surface of an original that is obtained by the reading (front) 301 as the front surface image data 304 that is compressed and processed by the image processing hardware 303 in the storage unit 108, without saving raw image data unchanged.
[0029] Reading (back) 302 indicates processing for image data of the back surface of an original by the reading unit 104, and outputs image data of the back surface of the original that is read by the reading sensor 204. Here, the image data of the back surface of the original is saved in the storage unit 108 as raw back surface image data 305 that is uncompressed and unprocessed.
[0030] In this way, the image forming apparatus 101 controls the reading unit 104 and the image processing unit 103 to control the reading (front) 301, the reading (back) 302, the image processing hardware 303, and storage to the storage unit 108.
[0031] Next,
[0032] Here, in a conveyance interval (sheet interval) after having read a previous original until a next original is read, image processing and compression processing by the image processing hardware 303 are performed on raw image data 305 of the back surface of the previous original that is stored in the storage unit 108. In this way, image data 307 of the back surface of the previous original that has been processed and compressed is saved in the storage unit 108.
[0033]
[0034] Reference numeral 401 denotes processing by the reading (front) 301 and the image processing hardware 303 in a configuration as illustrated by
[0035] Concurrently with this, a processing request on image data of the back surface (a back surface request) is issued, and processing 403 that is explained with reference to
[0036] When the processing 403 completes, completion of processing on image data of the back surface (back surface completion) is issued. However, during a conveyance interval (sheet interval) 404 between a first original and a second original, a completion notification for image data of the back surface (back surface completion) of the first original is not received. Accordingly, conveyance of the second original is stopped in the reading unit. Subsequently, when back surface completion with respect to the first original is issued, the reading unit attempts to restart conveyance of the second original, but because a motor for conveyance that is stopped must be driven again, starting of the conveyance and a read operation for the second original is delayed as indicated by reference numeral 405.
[0037] A feature of the present embodiment is to enable a completion notification for processing on image data of a back surface of a first original to be issued in an interval (sheet interval) between the first original and the second original, without stopping conveyance of the second original, and to execute a start of conveyance and a read operation of the second original without delay.
[0038]
[0039] Processing 501 and 502 of
[0040] If the processing 503 as shown in
[0041]
[0042] Firstly, in step S601, the CPU 106 accepts a request to read the front surface of an original and perform image processing on image data thereof. Next, the processing proceeds to step S602, the CPU 106 starts processing to read the front surface of the original by the reading unit 104, perform image processing of the image data thereof, and also reads a back surface of the original, and obtain image data of the back surface of the original, as illustrated in
[0043] In step S604, the CPU 106 executes processing for determining whether or not to execute processing described by
[0044] In step S606, the CPU 106 makes a notification that processing on the image data of the front surface of the original has completed, and the processing proceeds to step S607. In step S607, the CPU 106 starts image processing on the image data 305 (
[0045] Meanwhile, in step S605, if the CPU 106 determines not to execute the processing explained by
[0046] By virtue of the above explained processing, when processing on image data of the front surface of an original completes, if a predetermined condition is satisfied, by immediately starting processing for image data of the back surface of the original, it is possible to start read processing of a succeeding original without delay. Because of this, when reading and processing both sides of an original in parallel, it is possible to execute read processing by a sequence as shown in
[0047]
[0048] As previously explained with reference to
[0049] Firstly, in step S701, the CPU 106 determines whether or not a reading region of the original is a standard size, and if it is determines as the standard size, the processing proceeds to step S702, and if not, the processing proceeds to step S704. In step S702, the CPU 106 sets a region of the back surface for which reading by the reading (back) 302 has completed as an already read region and a region to be read as an unread region, and determines whether or not time for image processing on image data of the already read region is greater than or equal to time required for read processing of the unread region. If it is, because read processing of the unread region will completed within the time for image processing on the image data of the already read region, the image processing on the image data of the read region will not wait for read processing of the original. Accordingly, in such a case, as shown in
[0050] Meanwhile, if the reading region of the original is not a standard size in step S701, the processing advances to step S704 because it is not possible to predict a completion time for read processing of the unread region. In addition, if it is determined in step S702 that read processing of the unread region will not complete within the time of image processing on the image data of the already read region, the processing proceeds to step S704. In step S704, the CPU 106 determines not to perform processing as shown in
[0051] To explain a concrete example of the processing for determining, for example it is assumed that the reading unit 104 requires 4200 msec to convey an A4 size original, and a distance between the reading sensors 203 and 204 corresponds to 200 msec when converted to conveyance of the original. In addition, it is assumed that 360 msec is required for the image processing hardware 303 to process A4 size image data (a pixel count of 4960×7015 in 600 dpi).
[0052] In such a case, when reading of the front surface of an original has completed, the back surface of the original is (4000/4200=0.95) read, and time required for image processing of the image data of the already read region is 360×0.95=342 (msec). In contrast to this, time required for read processing of the unread region of the back surface of the original is 200 msec that is in accordance with the distance between the reading sensors 203 and 204. Accordingly, in this case it is determined in step S702 that read processing of the unread region will complete within the time of image processing on the image data of the already read region, and the processing proceeds to step S703.
[0053] In addition, a determination of whether or not a reading region is a standard size is added to the aforementioned condition for a simpler determination. Here, a case of not being a standard size includes a case in which a user arbitrary sets a reading region to not be a standard size defined by the image forming apparatus 101 such as A4 or LTR, and a case in which the size of the original is indefinite and reading is performed until the trailing edge of the original. Therefore, if the reading region is not a standard size, because a guarantee that read processing of an unread region will complete in the time for image processing on image data of an already read region cannot be made, a determination is made not to perform processing as shown in
[0054] By virtue of the embodiment as explained above, in a low-cost image forming apparatus having a small memory capacity, it is possible to read in parallel both sides of an original by reading sensors, and efficiently execute processing for obtaining processed data of the read image data with respect to a plurality of originals.
Other Embodiments
[0055] 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 (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiments and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiments, 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 embodiments and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiments. The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. 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.
[0056] 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.
[0057] This application claims the benefit of Japanese Patent Application No. 2016-088480, filed Apr. 26, 2016 which is hereby incorporated by reference herein in its entirety.