Method and apparatus for reading image of image scanner-reader

Abstract: An image scanner-reader has an image read unit (1, 2, 3), and an employing control unit (11, 12, 13, 14). The image read unit (1, 2, 3) is used to read an original document (10) and provide image data of the original document (10). The employing control unit (11, 12, 13, 14) is used to control the relative moving speed between the original document (10) and the image read unit (1), and when an original document reading operation is suspended, the employing control unit (11, 12, 13, 14) controls the restart of the reading operation after decreasing the relative moving speed to a slow reading speed of the original document (10). Therefore, when the image data buffer (9) becomes full enough to cause a suspension state, and the read operation is restarted after changing control conditions, so that the quantity of data transferred to the image data buffer (9) is reduced. Namely, according to the present invention, the number of occurrences of the suspension state can be greatly reduced, and thereby the overall reading speed can be improved without increasing the data receiving speed of a host device.

Description: The present invention relates to an image scanner-reader and a reading method thereof, and more particularly, to an image scanner-reader and a reading method thereof capable of dealing with a suspension of read operation of the image scanner due to conditions at a host processor. Further, the present invention relates to an image scanner-reader capable of reading an original document and carrying out a plurality of processes such as resolution conversion, compression, and rotation on the once read data. Recently, in accordance with popularization of computers, wordprocessors, and the like, a plurality of image scanner-readers have been studied and developed. Typically, the image scanner-reader of the prior art has a photoelectric reader for reading an original document, and the photoelectric reader includes a light source for irradiating the original document and a printed circuit board for receiving reflected light and providing image data. The printed circuit board has a CCD (Charge Coupled Device) circuit, an image processing circuit, an image data buffer, and an interface circuit. The image data buffer is used to temporarily store image data composed of binary values provided by the image processing circuit. Note, the capacity of the image data buffer must be reduced in order to make the image scanner more compact and low cost, and the buffer will store a full page of the original document. Therefore, when the reading speed of the scanner is fast and the image data processing speed of the host device such as a personal computer is slow, the image data buffer becomes full of data and can not receive more data. In this case, the reading operation must be suspended. To suspend the reading operation, the moving original document or photoelectric reader must be stopped. When the image data receiving speed of the host device is slow, stopping and restarting operations will be frequently repeated. This drastically reduces the reading speed. It should be noted that the image scanner-reader of the prior art further may have a screen buffer, and the image processing circuit may be used to carry out processes such as resolution conversion, compression, and rotation on the image data. For example, when the host device continuously provides an instruction to transmit 30-degrees-rotated image data of the original document, the image scanner-reader again reads the original document, stores read image data in the screen buffer, rotates the data by 30 degrees in the image processing circuit, and sends the rotated data to the host device. Namely, the image scanner-reader of the prior art must repeatedly read the original document for each of consecutive instructions such as resolution conversion, compression, and rotation instructions that are provided from the host device for the same original document. This raises a problem of increasing the image processing period. An object of the present invention is to provide an image scanner-reader capable of reducing the processing time when a series of instructions are given for the same data. According to the present invention, there is provided an image scanner-reader for processing image data, and transmitting the processed data to a host device, wherein the image scanner-reader comprises a screen buffer for storing digital image data of an original document read by a read unit, an image processing unit for processing the image data stored in the screen buffer and a control unit for erasing the image data stored in the screen buffer in response to an end signal provided by the host device, wherein instructions provided by said host device before the end signal output from the host device are executed on the image data stored in the screen buffer. The image processing unit may include a plurality of processing units such as a resolution conversion unit, a rotation unit, and a compression unit. Patent Abstract of Japan, Volume 008, No. 141 (p-283) 30 June 1984 and JP 59041054A (TOSHIBA) discloses a method of controlling a page printer in which processing time is reduced by expanding data whilst not expanding a form every time the data is expanded; the form information remains in the memory whilst the data in the memory is cleared once a clearing command is received. The present invention will be more clearly understood from the description of the preferred embodiments as set forth below with reference to the accompanying drawings, wherein: Figure 1 is a block diagram showing an example of an image scanner-reader according to the prior art; Figure 2 is a block diagram showing a principle configuration of an image scanner-reader according to the present invention; Figure 3 is a block diagram showing an embodiment of an image scanner-reader according to the present invention; Figure 4 is a diagram for explaining the operations of the image scanner-reader shown in Fig. 3; Figures 5A, 5B, and 5C are diagrams for explaining the operations of the image scanner-reader shown in Fig. 3; and Figure 6 is a block diagram showing an embodiment of another image scanner-reader according to the present invention. The problems of the prior art in relation to the present invention will now be explained, with reference to Fig. 1. An image scanner-reader of an image processing system has photoelectric conversion elements such as CCDs to read image data from an original document. According to instructions from a host device, the image data is processed. For example, the resolution of the image data is converted, the image data is compressed, or the image data is rotated. When executing these instructions such as the resolution conversion, compression, and rotation instructions from the host device, the prior art must read the original document through the scanner every time. The resolution or the intensity level of a display screen (usually, a display unit) of a host computer greatly deviates from that of an image scanner. For example, the display unit usually involves about 70 dpi and 16 intensity levels, while the image scanner involves about 300 to 400 dpi and 256 intensity levels. The resolution of image data to be stored is increasing year by year. Figure 1 shows another example of an image scanner-reader according to the prior art. In Fig. 1, reference numeral 130 denotes an original document, 131 denotes a photoelectric reader, 132 denotes a light source, and 133 denotes a printed circuit board. The photoelectric reader 131, which includes the light source 132 and the printed circuit board 133, is used to read the original document 130 and provide image data thereof. The light source 132 is used to irradiate the original document 130, and the printed circuit board 133 is used to receive reflected light and provide image data. The printed circuit board 133 has a read circuit 135, a screen buffer 136, an image processing circuit 137, and an interface circuit 138. The read circuit 135 includes CCDs and a CCD control circuit for controlling the CCDs. The screen buffer 136 is used to store image data provided by the read circuit 135. The image processing circuit 137 is used to carry out processes such as resolution conversion, compression, and rotation on the image data. Namely, the image processing circuit 137 of the second aspect is not only used to convert an output of the read circuit 135 into digital values and convert the digital values into binary signals, but also used to carry out various processes. The interface circuit 38 is used to send and receive data to and from a host device. Note, the image scanner-reader has a resolution of 300 to 600 dpi. When the resolution of the image scanner-reader is, for example, 300 dpi and when the host device provides a 75-dpi read instruction, the image scanner-reader reads the original document 130 and provides image data of 300 dpi. The image data is once stored in the screen buffer 136 and is then converted into image data of 75 dpi by the image processing circuit 137. The image data of 75 dpi is transmitted to the host device through the interface circuit 138. When the host device continuously sends an instruction to transmit 30-degrees-rotated image data of the original document 130, the image scanner-reader again reads the original document, stores read image data in the screen buffer 136, rotates the data by 30 20 degrees in the image processing circuit 137, and sends the rotated data to the host device. In this way, the prior art must repeatedly read the original document for each of consecutive instructions such as resolution conversion, compression, and rotation instructions that are provided from the host device for the same original document. This raises a problem of elongating an image processing period. Figure 2 shows a principle configuration of an image scanner-reader according to a second aspect of the present invention. In Fig. 2, reference numeral 110 denotes an original document, 101 denotes a photoelectric reader, 102 denotes a light source, and 103 denotes a printed circuit board. Note, the photoelectric reader 101 corresponds to the photoelectric reader 131 of Fig. 14, the light source 102 corresponds to the light source 132, the printed circuit board 103 corresponds to the printed circuit board 133. As shown in Fig. 2, the image scanner-reader of the second aspect of the present invention further comprises a control unit 109. The image scanner-reader of the present invention reads the original document 110 with the read circuit 105 upon receiving an instruction from a host device. The read circuit 105 has photoelectric conversion elements such as CCDs. The read data is stored in the screen buffer 106 at, for example, 300 dpi that is a normal resolution of the photoelectric reader 101. According to the contents of the instruction from the host device, the controller 109 operates an image processing circuit 107. Image data requested by the first instruction from the host device is transmitted to the host device through the interface circuit 108. At this time, the data stored in the screen buffer 106 is not erased. If the host device provides another instruction such as a rotation instruction, the controller 109 interprets the instruction and lets the image processing circuit 107 work according to the instruction. Resultant data is transferred to the host device. In this way, the read data stored in the screen buffer 106 is kept until the host device provides an end instruction. In response to a first instruction from the host device, the original document 110 is read, and the read data is stored in the screen buffer 106. This data is held until an end instruction is received. Accordingly, the second and the following instructions are carried out on the read data stored in the screen buffer 106. Unlike the prior art (Fig. 14) that reads image data for every instruction, the second aspect of the present invention is capable of handling a plurality of instructions in a shorter time. An embodiment of the present invention will be explained with reference to Figs. 3, 4, and 5A to 5C. Figure 3 shows an embodiment of an image scanner-reader according to the present invention, and Fig. 4 shows the operations of the image scanner-reader shown in Fig. 3. Note, in Fig. 3, the same reference numerals as those of Fig. 2 denote the same elements thereof. The controller 109 interprets and executes instructions provided by a host device. In response to a first instruction, the controller 109 reads the original document 110 and provides image data. The image data is processed in the image processing circuit 107. Upon receiving an end instruction, the controller 109 erases the image data stored in the screen buffer 106. The image processing circuit 107 processes image data stored in the screen buffer 106 and transmits the processed data to the host device through the interface circuit 108. The image processing circuit 107 is composed of, for example, a dot rate converter 171, a compression unit 172, and a rotation unit 173. The image processing circuit 107 may pass the image stored in the image buffer 106 as it is without processing the data. The quality of an image will not be improved even if the resolution thereof is heightened. An object of resolution conversion is not to provide a clearer image but to simply provide an enlarged image. The operation of the present invention with respect to instructions provided by the host device will be explained with reference to Fig. 4. (I) The host device provides a 75-dpi read instruction. The instruction is transferred to the controller 109 through the interface circuit 108. The controller 109 interprets the instruction, and accordingly, activates the read circuit 105 to read image data at 600 dpi. The read image data is stored in the screen buffer 106. The controller 109 controls the dot rate converter 171 to convert 600 dpi into 75 dpi. The image data stored in the screen buffer 106 is thus converted to image data of 75 dpi, which is transferred to the host device through the interface circuit 108. The reading capacity of the scanner is 600 dpi. (II) The host device provides a 300-dpi resolution conversion instruction. The controller 109 interprets the instruction. The controller 109 recognises that this instruction is not the first instruction, and therefore, directly controls the dot rate converter 171 to convert 600 dpi into 300 dpi. As a result, the image data stored in the screen buffer 106 in the above process (I) is converted into image data of 300 dpi, which is transmitted to the host device through the interface circuit 108. (III) The host device sequentially provides a 400dpi resolution conversion instruction, a data compression instruction, and an image rotation instruction. The dot-rate converter 171 operates 20 accordingly, so that the image data stored in the screen buffer 106 is converted into image data of 400 dpi, which is transmitted to the host device. The compression unit 172 compresses the image data at an instructed compression rate, and the compressed data is transmitted to the host device. The rotation unit 173 operates in response to the rotation instruction to rotate the image data stored in the screen buffer 106 at an instructed rotation angle, and the rotated data is transmitted to the host device. (IV) In this way, proper processes are carried out according to instructions, and required image data are transmitted to the host device. When the host device provides an operation end instruction, the controller 109 erases the image data stored in the screen buffer 106. When the host device provides another instruction, image data is newly read. The host device may provide instructions for divided parts of a screen, respectively. In this case, image data is divided and each process is carried out on each divided unit. This may reduce the size of the screen buffer 106 to less than a full screen capacity. Figures 5A, 5B, and 5C show the operations of the image scanner-reader shown in Fig. 3, and more concretely, Figs. 5A to 5C explain an enlargement process for enlarging image data read at 600 dpi to data of 1200 dpi, carried out in the dot rate converter 171 of the image processing circuit 107. In Fig. 5A, the image data read at 600 dpi includes regions A1, A2, A3, ..., B1, B2, B3, etc. This data is converted into data of 1200 dpi shown in Fig. 5B. In this case, each of the regions A1, A2, B1, B2, etc., is converted into a region having an area twice as large as the original document area. The regions A1, A2, B1, B2, etc., are allocated as shown in Fig. 5B. In Fig. 5C, a region 1 ○ is calculated as an average of A1 and A2, a region 2 ○ is an average of A2 and A3, a region 3 ○ is an average of A1 and B1, a region 4 ○ is an average of 1 ○ and 7 ○ , and so on. Any other dot rates may be employable for converting image data. In this case, conversion equations for other dot rates are prepared in advance, and according to the equations, the conversion is carried out. A second embodiment of the present invention will be explained with reference to Fig. 6. Figure 6 shows an embodiment of another image scanner-reader according to a second aspect of the present invention. As shown in Fig. 6, a reader 115 for reading an original document and a converter 116 for carrying out a conversion process are separately arranged. Note, in Fig. 6, the same reference numerals as those of Fig. 3 denote the same elements thereof. Note, a first interface circuit 104 is arranged in the reader 115, and a second interface circuit 108 is arranged in the converter 116. Similar to the read circuit 105 of Fig. 3, a read circuit 151 has CCDs and a CCD control circuit for controlling the CCDs. An image processing circuit 152 prepares multiple values from analog image data provided by the read circuit 151 and provides digital signals. Namely, the read circuit 151 and image processing circuit 152 correspond to the read circuit 105 of Fig. 3. As explained above, the image processing circuit 152 prepares digital signals from image data. The digital image data is once stored in an image buffer 106 of the converter 116 through the interface circuit 104. Operations for instructions provided by a host device are the same as those explained with reference to Figs. 3, 4, and 5A to 5C. Accordingly, their explanations will be omitted for the sake of simplicity. According to the second embodiment of the present invention, the host device may transmit image data to the image scanner-reader. The image data is temporarily stored in the screen buffer 106, and required processes such as resolution conversion, compression, expansion, and rotation may be carried out on the image data. The processed image data is then sent back to the host device. In the above explanation, image data is read at 600 dpi. The present invention is not limited to this. According to the present invention, image data is temporarily stored in a buffer, and the stored image data is processed in accordance with instructions provided by a host device. Unlike the prior art, the present invention does not require image data to be read for each instruction from the host device. Namely, the present invention is capable of carrying out a plurality of instructions in a very short time on the same image data. Many different embodiments of the present invention may be constructed without departing from the scope of the present invention, and it should be understood that the present invention is not limited to the specific embodiments described in this specification, except as defined in the appended claims.

Claims: An image scanner-reader for processing image data and transmitting the processed data to a host device, having a screen buffer (106) for storing digital image data of an original document (110) read by a read means (105) and an image processing means (107) for processing the image data stored in said screen buffer (106), characterised in that said image scanner-reader further comprises a control means (109) for erasing the image data stored in said screen buffer (106) in response to an end signal provided by said host device, wherein instructions provided by said host device before the end signal output from said host device are executed on the image data stored in said screen buffer (106). An image scanner-reader as claimed in claim 1, wherein said image processing means (107) includes a plurality of processing means such as resolution conversion means, rotation means, and compression means.

Inventors: AMAGAI TAMIO, MURAI YUKAKO, AMAGAI, TAMIO, MURAI, YUKAKO
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1993
Main classification: H04N1
IPC codes: H04N1