BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to a method of controlling an image-scanning system and particularly relates to control performed when a user sets a scan condition at the image-scanning time and/or makes settings on image processing performed after the image scanning.
2. Description of the Related Art
Known apparatuses and/or devices including an image scanner such as a flat-bed scanner, a film scanner, a multi-function peripheral, a copier, etc. include a color-correction unit provided to perform unsharp mask, automatic color adjustment, fading correction, backlight correction, etc., as parameters used to perform image processing. Further, the known apparatuses and/or devices include a function of cropping out a preview image, for example, so as to specify an area for scanning.
Further, since the known apparatuses and/or devices have an auto-mode function or the like, so as to automatically determine the type and/or position of a document from image data obtained through pre-scanning, a user can obtain scanned-image data without making detailed specifications.
Further, according to a system disclosed in Japanese Patent Laid-Open No. 2000-244697, for example, a user selects either image-quality-priority mode or speed-priority mode when a computer performs image processing automatically.
Factors considered important for scanning data by the user includes the image-data size and/or the scanning time other than the image quality. It is difficult to set the data size and/or the scanning time, as desired by the user. It is also difficult to achieve both the data size and the scanning time.
When the width, height, and resolution of a desired area are determined, the data size corresponding to the desired area is determined in most cases. On the other hand, the entire data size is important when scanning data written on a plurality of documents, so as to record the data onto media including a compact disk (CD)-recordable (R) or the like and/or upload the data to a Web album. In that case, it is difficult for the user to set the width, the height, and the resolution according to a target data size by performing ordinary operations.
On the other hand, in the case where convenient auto mode is selected, it takes much time to perform document-determination processing, image processing, etc., and it is difficult to know the time required to finish scanning (scanning time). Further, at the network-scanning time, the time required to transfer data becomes an unstable factor and a bottleneck, which makes it difficult to make settings with consideration given to latency of the user.
SUMMARY OF THE INVENTIONThe present invention provides an image-input device that can determine a processing load considered appropriate by the user within the limits of parameters during scanning performed based on user settings and/or scanning performed in the auto mode.
A method of controlling an image-processing system including an image-scanning device configured to obtain an image-data item by scanning data written on a document, an image-processing device configured to perform image processing for the image-data item and output as an output-image data, and a user interface constitutes some of the various embodiments of the present invention.
The control method includes setting a condition for performing the scanning processing and a condition for performing the image processing, setting an item having a limit value, so as to determine whether or not, at least one of (1) the size of the image-data item subjected to the image processing, and (2) the time period from when the scanning processing is started to when the output-image data is output should be limited based on an input from the user interface, changing at least one of the scanning-processing condition and the image-processing condition based on the item having the limit value, performing the scanning processing for the document by using the image-scanning device based on the scanning-processing condition and the changed condition, and performing image processing for image data obtained through the scanning processing based on the image-processing condition and the changed condition, and outputting the output-image data.
Further features and aspects of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1 is a block diagram illustrating an example configuration of an image-scanning apparatus according to an embodiment of the present invention and image processing apparatuses.
FIG. 2 is a sectional view of the image-scanning apparatus.
FIG. 3 is an external view of the image-scanning apparatus.
FIG. 4 shows an example user interface (UI) of driver software according to the embodiment.
FIG. 5 shows an example dialogue performed for setting an item having a limit value at the auto-mode-scanning time according to the embodiment.
FIG. 6 is a flowchart showing example operations performed when auto mode is selected.
FIG. 7 is an example dialogue performed when a user specifies the entire data size.
FIG. 8 shows a resolution-specification dialogue.
FIG. 9 shows a dialogue performed to determine an item to which priority is given at the calculation time.
FIG. 10 shows a dialogue performed to specify the maximum size of data corresponding to a single crop.
FIG. 11 shows a setting dialogue performed to set an item to which priority is given at the scan-resolution-setting time.
FIG. 12 shows an entire-scanning-time-specification dialogue according to the embodiment.
FIG. 13 shows an example advanced-setting dialogue according to the embodiment.
FIG. 14 shows an example dialogue performed to specify a data-capacity-adjustment method.
DESCRIPTION OF THE EMBODIMENTSExemplary Embodiments
FIG. 1 is a block diagram illustrating an example configuration of an image-scanning apparatus100 according to a first embodiment of the present invention andimage processing apparatuses150 and151.
The image-scanning apparatus100 includes an optical-image-forminglens2, a charge-coupled-device (CCD)line sensor3, an analog-gain adjuster4, an analog-to-digital (A/D)converter5, an image-processing circuit6, aline buffer7, an interface-circuit group8, and ascanner controller9. The image-scanning apparatus100 further includes an internal-light-source-ON/OFF-control circuit10, aninternal light source11, a motor-driver circuit12, apulse motor13, an offset random-access memory (RAM)14, agamma RAM15, an interface (IF)-detection circuit16, a liquid-crystal display (LCD)18, and a video RAM (VRAM)19.
Light reflected from adocument1 illuminated by theinternal light source11 passes through the optical-image-forminglens2 and forms an image on the CCD-line sensor3 which is a photo-detector group. The CCD-line sensor3 has an electronic-shutter function provided to prevent the exposure amount from being saturated. The analog-gain adjuster4 variably amplifies an analog-image signal transmitted from the CCD-line sensor3. The A/D converter5 converts the analog-image signal transmitted from the analog-gain adjuster4 into a digital-image signal.
The image-processing circuit6 subjects the digital-image signal to image processing including offset correction, shading correction, digital-gain adjustment, color-balance adjustment, masking, resolution conversion performed in a main-scanning direction and/or a sub-scanning direction, etc. Theline buffer7 is configured to store image data temporarily and achieved, as a general-purpose RAM.
The interface-circuit group8 includes aninterface circuit81 and aninterface circuit82. Theinterface circuit81 communicates with theimage processing apparatus150 and theinterface circuit82 communicates with theimage processing apparatus151. Each of theimage processing apparatuses151 and152 is a host computer connected to a user interface including a keyboard, a mouse, a display, etc. (not shown). Theinterface circuit81 supports USB 2.0 and theinterface circuit82 is provided, as a local-area network (LAN). Further, the interface-circuit group8 is connected to the IF-detection circuit16. The IF-detection circuit16 detects the type and communication speed of each of the interfaces connected to theinterface circuits81 and82.
Thescanner controller9 controls a scanner according to an instruction issued from theimage processing apparatus150. Thescanner controller9 further controls the motor-driver circuit12, the internal-light-source-ON/OFF-control circuit10, the image-processing circuit6, etc.
The internal-light-source-ON/OFF-control circuit10 controls the turning on/off of the internal-light source11. Here, a complementary metal oxide semiconductor (CMOS) or the like may be used in place of the CCD-line sensor3, as the photo detector.
Further, an interface including a small computer system interface (SCSI), a parallel interface, IEEE 1394, a local area wireless network (LAWN), Bluetooth (Registered Trademark), etc. may be used.
The motor-driver circuit12 is configured to drive thepulse motor13. Theoffset RAM14 is used, as a working area used to perform image processing. Theoffset RAM14 is used to correct the value of offset between three RGB lines of theCCD line sensor3. Further, theoffset RAM14 temporarily stores various data including data obtained through the shading correction or the like.
Thegamma RAM15 stores data on a gamma curve and performs gamma correction. TheLCD18 is configured to display an image on an operation unit of the image-scanningapparatus100.
FIG. 2 is a sectional view of the image-scanningapparatus100. The image-scanningapparatus100 includes aframe21, asensor unit22, areference axis23, anoperation belt24, a steppingmotor25, agear group26, asubstrate27, and a USB connector28. The image-scanningapparatus100 further includes a LAN connector29, aflat cable30, and aconnector31. Theflat cable30 connects thesensor unit22 to thesubstrate27. Theconnector31 is used to establish connection with an AC adapter which is an external power source.
FIG. 3 is an external view of the image-scanningapparatus100. The image-scanningapparatus100 includes a document-table cover41, aprotection seat42, a film-scan-light-source unit43, a document-scan unit44, a document-table-glass part45, and ascan button46. The image-scanningapparatus100 further includes a document-registration mark47, afilm guide48, and acalibration area49. Thecalibration area49 is used to read a black mark and a white mark that are provided on the back of the document-table-glass part45. The term “calibration” denotes processing performed to generate black-shading data and white-shading data showing the standard of shade, so as to recognize colors correctly.
FIG. 4 shows an example display image of user interface of driver software that is executed by a host computer or theimage processing apparatus150 shown inFIG. 1 and that is configured to control the image-scanningapparatus100. Anarea64 showing the size of data on a scanned image according to the size of acrop frame61 and/or acrop frame62 generated on the preview area corresponding to the left part ofFIG. 4 and showing previously read images and the resolution determined in an output-resolution area63 is provided. Thearea64 shows the size of data shown in thecrop frame61 which is the currently used focus crop. The frame of the focus crop is thicker than those of other crops.
Anarea65 used to specify the entire data size is provided so that a user can specify an arbitrary data size. For example, when two crops of the same size, such as the crop frames61 and62 are generated and the entire data size thereof is determined to be 20 MB, the resolution is determined and scanning is performed within a range where the data capacity of each of the crops is 10 MB or less. When data on the entire data size is not input to thespecification area65, it is determined that the user makes no specifications and normal processing is performed.
Further, after data on the data size is input to the entire-data-size-specification area65, the resolution is automatically calculated, and data shown in the output-resolution-display area is changed. Subsequently, the resolution is clearly displayed for the user. According to another embodiment of the present invention, operations are performed by the image-scanningapparatus100 in auto mode, where the image-scanningapparatus100 is shown inFIGS. 1 to 3. Since a document-recognition method including scan-area (main-scan area) detection, document-type detection, etc. performed in the auto mode is known, the description of the document-recognition method is omitted.
FIG. 5 shows an example dialogue performed to determine settings limited at the auto-mode-scanning time. The user can select either restricting the data size or restricting the scanning time. The above-described settings are made before making the auto mode effective.
FIG. 6 is a flowchart illustrating the operations performed in the auto mode. When the auto mode is started, at step S1, pre-scanning (preceding scanning) is performed, at step S2. After the pre-scanning is performed, a document is recognized, and a scan area is detected so that an area for scanning performed through main reading is determined at step S3. Further, the document type is detected so that image processing and a resolution that are appropriate for the document are determined. After that, when an item having a limit value is determined, at step S4, processing is divided according to the settings shown inFIG. 5. Namely, the processing is divided according to whether the data size is limited or the scanning time is limited. If the data size is limited, the user confirms in what size the entire data size should fall, at step S5.
FIG. 7 shows an example dialogue performed when the user confirms the entire data size, at step S5. InFIG. 7, the entire data size is shown, as 650 MB, by default. However, the user can set a specified value, as the entire data size. The entire data size can be set effectively in either of the case where a single document is detected and the case where a plurality of documents is detected. Scan-resolution-determination processing is performed, at step S6, so that the amount of data for scanning is equivalent to the entire data size or less. Next, at step S7, scanning is performed according to the settings, and then in step S8, auto mode is finished.
Several methods can be used, as options provided to perform the resolution-determination processing corresponding to step S6.
FIG. 8 shows a resolution-step-width-specification dialogue. According to the first method, the step width of a determined resolution is specified by performing the resolution-step-width-specification dialogue shown inFIG. 8. According to the resolution-step-width-specification dialogue, a comprehensible resolution including a resolution of 10 dpi, a resolution of 100 dpi, etc. can be determined, which makes it possible to reduce a time required to convert the resolution. Further, according to the resolution-step-width-specification dialogue shown inFIG. 8, it becomes possible to instruct to use the comprehensible resolution in the main-scanning direction corresponding to the resolution of a sensor. Subsequently, the time required to convert the resolution can be reduced. Here, a resolution of 600 dpi is used, as the basic resolution of the CCD-line sensor3, and one-2^n-th of the basic resolution can be specified.
FIG. 9 shows a dialogue specifying settings to which priority is given at the calculation time. According to the second method, settings to which priority is given at the calculation time are specified through the dialogue shown inFIG. 9. Settings made to store data on the relationship between the crop sizes allow for scanning data written on a plurality of documents in the same resolution. According to the above-described configurations, data on the document size is stored and scanning is performed in the same resolution. Subsequently, data written on the area corresponding to the most of the detected plurality of documents can be scanned at one time.
On the contrary, when settings made to add the data capacities of the crops to each other are selected, the capacities of the crops can be added to each other even though documents of different sizes such as documents of the 2L size (127×178 mm), the L size (89×127 mm), etc. are placed. In that case, a method of scanning data in the resolutions corresponding to the crops, a method of scanning data on one of crops in the maximum resolution and converting the resolution of data on other crops, and a method of scanning one of the crops in the minimum resolution and converting the resolution of data on other crops can be used.
FIG. 10 shows a dialogue performed to specify the maximum size of data corresponding to a single crop. According to the third method, the maximum size of the data corresponding to a single crop is specified through the dialogue shown inFIG. 10. According the third method, the maximum size of the data corresponding to the single crop is determined so that the size of a single image is limited, which is effective at easily using data on a scanned image.
FIG. 11 shows a dialogue performed to make settings to which priority is given at the scan-resolution-setting time. The fourth method allows for selecting settings to which priority is given at the scan-resolution-setting time by performing the dialogue shown inFIG. 11. Namely, if high-image-quality mode is set when a resolution on which data is eventually stored is different from the sensor-basic resolutions shown inFIG. 8 and/or one-2^n-th of the basic resolutions, scanning is performed in a resolution higher than an ultimately required resolution and the resolution conversion is performed. Further, if high-speed mode is set when the resolution on which data is eventually stored is different from the sensor-basic resolution, scanning is performed in a resolution lower than the ultimately required resolution and the resolution conversion is performed. The resolution used according to the fourth method is selected from between the basic resolution and the resolution corresponding to one-2^n-th of the basic resolution.
FIG. 12 shows an entire-scanning-time-specification dialogue. When the user limits the scanning time, at step S4, the processing advances to step S15 so that the entire scanning time is confirmed. Here, after confirming settings on the time required to finish scanning, where the scanning time is specified through the entire-scanning-time-specification dialogue, the processing moves to step S16 where scan-setting-determination processing is performed. Next, at step S7, scanning is performed according to the settings, and then in step S8, auto mode is finished.
Advanced settings can be made for the entire-scanning-specification dialogue shown inFIG. 12. Subsequently, it becomes possible to determine what image processing should be provided with priority when the scanning time is reduced.
FIG. 13 shows an advanced-setting dialogue performed to set details on auto-mode image processing in advance. Here, if the scanning time should be reduced, image processing for which no priority settings are made is omitted with priority. When data written on a film document is scanned and the scanning time should be reduced according to settings shown inFIG. 13, fading correction is omitted.
After the entire-scanning time is set and the scanning is started, it is often likely that the actual scanning time is longer than expected according to the status of the network and/or the external apparatuses to which the image data is transmitted.
According to another embodiment of the present invention, if the actual scanning time seems to be longer than expected after the entire-scanning time is set and the scanning is started, a dialogue is displayed so that the user can determine whether or not the resolution and the size of image data for scanning should be decreased, and the data should be transmitted during the progress of the scanning.
If the user determines to decrease the resolution, the resolution of the image data for scanning is converted so that the resolution of the image data is maximized within the bounds of being able to transmit the image data in the remaining time, and the image data is transmitted. Further, it becomes possible to select either settings made to cancel the scanning or settings made to continue the scanning even though long time is required.
According to the above-described embodiments, the entire size of the image data is adjusted according to the resolution. Here, the scanning is performed while giving priorities to the resolution set by the user and/or the resolution determined according to the document type determined in the auto mode. Finally, the image data is compressed when the image data is stored, as file data, so that the size of the entire data is equivalent to the entire data size desired by the user or less.
FIG. 14 shows an example dialogue performed to specify a data-capacity-adjustment method. According to the example dialogue shown inFIG. 14, it is exclusively determined whether the data capacity should be adjusted according to the resolution or the ratio of compression performed at the file-storage time. The capacity of image data changes due to the compression according to details on the image data. Therefore, average compression is performed according to what percent of the image data should be reduced, that is, the reduction rate. If the capacity of the compressed data is larger than that of the entire data desired by the user, a retry is made so that the image data is further compressed at a higher rate.
According to the above-described embodiments, parameters on which the user places importance are selected at the time where the scanning is performed according to settings made by the user and/or the auto-mode scanning is performed. Therefore, it becomes possible to determine a processing load considered appropriate by the user within the limits of the parameters.
Further, according to the above-described embodiments, measures taken against condition variations caused by an unstable factor are specifically proposed, which makes it easier for the user to operate the image-scanningapparatus100 without being confused.
Further, according to the above-described embodiments, an image-scanning system including the image-scanningapparatus100, and theimage processing apparatuses150 and151 is configured, as shown inFIG. 1. However, the image-scanning system may be a multi-function peripheral and/or a copier provided, as a housing accommodating the image-scanningapparatus100, and theimage processing apparatuses150 and151. In addition, a computer readable medium may contain computer-executable instructions for performing a program for controlling an image processing system including an image-scanning device configured to obtain an image-data item by scanning data written on a document, an image-processing device configured to perform image processing for the image-data item and output as an output-image data, and a user interface.
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 modifications, equivalent structures and functions.
This application claims the benefit of Japanese Application No. 2006-332811 filed on Dec. 11, 2006, which is hereby incorporated by reference herein in its entirety.