Movatterモバイル変換


[0]ホーム

URL:


CN100372353C - Method and device for improving scanned image quality by applying preview scanning - Google Patents

Method and device for improving scanned image quality by applying preview scanning
Download PDF

Info

Publication number
CN100372353C
CN100372353CCNB2004100420786ACN200410042078ACN100372353CCN 100372353 CCN100372353 CCN 100372353CCN B2004100420786 ACNB2004100420786 ACN B2004100420786ACN 200410042078 ACN200410042078 ACN 200410042078ACN 100372353 CCN100372353 CCN 100372353C
Authority
CN
China
Prior art keywords
scanning
scan
unit
medium
exposure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100420786A
Other languages
Chinese (zh)
Other versions
CN1691735A (en
Inventor
洪岳琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BenQ Corp
Original Assignee
BenQ Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BenQ CorpfiledCriticalBenQ Corp
Priority to CNB2004100420786ApriorityCriticalpatent/CN100372353C/en
Publication of CN1691735ApublicationCriticalpatent/CN1691735A/en
Application grantedgrantedCritical
Publication of CN100372353CpublicationCriticalpatent/CN100372353C/en
Anticipated expirationlegal-statusCritical
Expired - Fee Relatedlegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

A method for improving the quality of scanned image by preview scan includes driving a scan unit to scan a medium to generate multiple gray values, generating a relative average value according to said multiple gray values, comparing said average value with a predefined value to set a scan parameter and driving said scan unit to scan said medium according to said scan parameter.

Description

Translated fromChinese
应用预览扫描来提高扫描图像质量的方法与装置Method and device for improving scanned image quality by using preview scanning

技术领域technical field

本发明提供一种图像处理装置与其驱动方法,特别指一种应用预览扫描来提高扫描图像质量的方法与多功能外围设备。The invention provides an image processing device and its driving method, in particular to a method for improving the quality of scanned images by using preview scanning and a multifunctional peripheral device.

背景技术Background technique

一般而言,多功能外围设备(multi-function periphera1,MFP)综合了原本分离使用的打印机和扫描器,因此可大幅地节省摆放空间及降低生产成本,如本领域所公知,由于多功能外围设备除了分别具有打印与扫描的功能外,其亦可综合打印与扫描的功能来执行常规复印操作。请参阅图1,图1为常规多功能外围设备10的功能方块示意图。多功能外围设备10包含有一控制器12,一灯管装置14,一电荷耦合器件(charge coupled device,CCD)16,一前级模拟处理装置(analog frond-end,AFE)18,一数字图像处理单元20,一打印装置22,以及一输出端口24。控制器12用来控制灯管装置14与电荷耦合器件16的运作,亦即控制器12驱动电荷耦合器件16以检测一媒体(例如一文件)上的内容,并产生对应多个像素的传感电压,而灯管装置14则是用来作为光源以使电荷耦合器件16可顺利地扫描该文件。电荷耦合器件16所产生的传感电压则输出至前级模拟处理装置18,然后,前级模拟处理装置18便对各像素的传感电压进行直流电平调整(DC offset),并依据一增益(gain)来进一步放大传感电压,最后便依据一电压-灰度值的转换关将调整后的传感电压(模拟信号)转换为一相对应的灰度值(数字信号),亦即前级模拟处理装置18会将对应该文件的各像素的灰度值传送至数字图像处理单元20。然后,数字图像处理单元20便存储对应该文件的各像素的灰度值,并依据多功能外围设备10所执行的功能来决定后续的运作,举例来说,当一使用者控制多功能外围设备10以执行扫描该文件的操作时,数字图像处理单元20便可依据对应该文件的各像素的灰度值产生一图像数据,并将该图像数据经由输出端口24(例如USB接口)传输至一计算机主机;另外,若使用者控制多功能外围设备10以执行复印该文件的操作时,数字图像处理单元20便将上述图像数据输出至打印装置22,因此打印装置22便可将图像数据转换为相对应打印数据,并将打印数据打印于一纸张上而完成复印该文件的操作。Generally speaking, a multi-function peripheral (multi-function peripheral 1, MFP) integrates the printer and scanner that were originally used separately, so it can greatly save space and reduce production costs. As known in the art, because the multi-function peripheral In addition to the functions of printing and scanning, the device can also combine the functions of printing and scanning to perform conventional copying operations. Please refer to FIG. 1 , which is a functional block diagram of a conventional multifunctional peripheral 10 . The multifunctional peripheral device 10 includes a controller 12, a lamp device 14, a charge coupled device (charge coupled device, CCD) 16, a pre-stage analog processing device (analog front-end, AFE) 18, a digital image processing Unit 20 , a printing device 22 , and an output port 24 . The controller 12 is used to control the operation of the lamp device 14 and the charge-coupled device 16, that is, the controller 12 drives the charge-coupled device 16 to detect the content on a medium (such as a file) and generate a sensor corresponding to a plurality of pixels voltage, and the lamp device 14 is used as a light source so that the charge-coupled device 16 can scan the document smoothly. The sensing voltage generated by the charge-coupled device 16 is output to the front-stage analog processing device 18, and then the front-stage analog processing device 18 performs DC level adjustment (DC offset) on the sensing voltage of each pixel, and according to a gain ( gain) to further amplify the sensing voltage, and finally convert the adjusted sensing voltage (analog signal) into a corresponding gray value (digital signal) according to a voltage-gray value conversion switch, that is, the previous stage The analog processing device 18 transmits the gray value of each pixel corresponding to the document to the digital image processing unit 20 . Then, the digital image processing unit 20 stores the gray value of each pixel corresponding to the file, and determines the subsequent operation according to the functions performed by the multi-function peripheral device 10. For example, when a user controls the multi-function peripheral device 10 to perform the operation of scanning the document, the digital image processing unit 20 can generate an image data according to the gray value of each pixel corresponding to the document, and transmit the image data to a In addition, if the user controls the multifunctional peripheral device 10 to perform the operation of copying the document, the digital image processing unit 20 will output the above-mentioned image data to the printing device 22, so the printing device 22 can convert the image data into Corresponding to the printing data, and printing the printing data on a paper to complete the operation of copying the document.

一般而言,当常规多功能外围设备10启动扫描或复印的操作后,其会先驱动电荷耦合器件16以对待处理文件进行预览扫描(preview),而预览扫描的操作用来决定该文件的大小与位置等信息,因此对于预览扫描的操作来说,控制器12控制电荷耦合器件16以较低的清晰度来快速地扫描处理中的文件。然后,当多功能外围设备10实际进行对应该文件的扫描或复印操作时,控制器12便控制电荷耦合器件16以较高的清晰度来扫描待处理文件,举例来说,控制器12控制电荷耦合器件16以600DPI的清晰度来使数字图像处理单元20所产生的图像数据翔实地对应该文件上所记载的内容(文字或图形)。Generally speaking, when the conventional multifunction peripheral 10 starts scanning or copying operations, it will first drive the charge-coupled device 16 to preview the file to be processed, and the preview scanning operation is used to determine the size of the file Therefore, for the operation of preview scanning, the controller 12 controls the charge-coupled device 16 to quickly scan the document being processed with a lower resolution. Then, when the multifunction peripheral 10 actually performs a scanning or copying operation corresponding to the document, the controller 12 controls the charge-coupled device 16 to scan the document to be processed with a higher definition, for example, the controller 12 controls the charge The coupling device 16 enables the image data generated by the digital image processing unit 20 to accurately correspond to the content (text or graphics) recorded on the document with a resolution of 600DPI.

随着高清晰度(例如1200DPI)与高速传输接口(例如USB 2.0)的应用,因此造成电荷耦合器件16的感光元件越来越小,以及电荷耦合器件16的曝光时间越来越短,换句话说,电荷耦合器件16所产生的对应各像素的传感电压也随的降低,因此后续的前级模拟处理装置18即需提高增益以放大传感电压,而传感电压放大的过程中便极易失真而影响数字图像处理单元20最后产生的图像数据,所以,当计算机主机经由其显示装置输出常规多功能外围设备10扫描该文件所得到的图像或打印装置22打印多功能外围设备10扫描该文件所得到的图像后,使用者便需依据对应该文件的图像的内容来进一步地调校多功能外围设备10,例如,使用者利用该计算机主机或多功能外围设备10本身所提供的使用者接口(user interface)来微调亮度(brightness)或对比(contrast)。由于使用者必须以手动方式来经由使用者接口调整多功能外围设备10的设定,因此对使用者而言十分不便。此外,使用者必须于多功能外围设备10完成扫描操作或复印操作后,依据其输出结果来调整多功能外围设备10的设定,因此造成多功能外围设备10的扫描操作与复印操作的执行效率不彰,并且于复印操作完成校正前,多功能外围设备10会因为原先不佳的打印结果而增加墨水或碳粉的消耗。With the application of high-definition (such as 1200DPI) and high-speed transmission interface (such as USB 2.0), the photosensitive element of the charge-coupled device 16 is therefore smaller and smaller, and the exposure time of the charge-coupled device 16 is shorter and shorter, in other words In other words, the sensing voltage corresponding to each pixel generated by the charge-coupled device 16 is also reduced accordingly, so the subsequent front-end analog processing device 18 needs to increase the gain to amplify the sensing voltage, and the process of sensing voltage amplification is extremely difficult. It is easy to be distorted and affect the final image data produced by the digital image processing unit 20. Therefore, when the host computer outputs the image obtained by scanning the file with the conventional multi-function peripheral 10 through its display device or the printing device 22 prints the image scanned by the multi-function peripheral 10 After obtaining the image of the file, the user needs to further adjust the multifunction peripheral device 10 according to the content of the image corresponding to the file. Interface (user interface) to fine-tune brightness (brightness) or contrast (contrast). Since the user has to manually adjust the settings of the multifunction peripheral 10 through the user interface, it is very inconvenient for the user. In addition, the user must adjust the settings of the multifunction peripheral 10 according to the output results after the multifunction peripheral 10 completes the scanning operation or copying operation, thus resulting in the execution efficiency of the scanning operation and copying operation of the multifunction peripheral 10 It is not obvious, and before the copy operation is corrected, the multifunction peripheral 10 will increase the consumption of ink or toner due to the original poor printing results.

发明内容Contents of the invention

因此本发明的主要目的在于提供一种应用预览扫描来提高扫描图像输出质量的方法与装置,以解决上述问题。Therefore, the main purpose of the present invention is to provide a method and device for improving the output quality of scanned images by using preview scanning, so as to solve the above problems.

根据本发明,其公开一种驱动一图像处理装置的方法,该图像处理装置包含有一扫描单元,该方法包含有下列步骤:(a)驱动该扫描单元扫描一媒体以产生多个灰度值,(b)依据该多个灰度值产生一相对应的平均值,(c)比较该平均值与一预定值,若该平均值大于该预定值,则设定一扫描参数对应一第一曝光量,若该平均值不大于该预定值,则设定该扫描参数对应一第二曝光量,以及(d)依据该扫描参数驱动该扫描单元扫描该媒体。According to the present invention, it discloses a method for driving an image processing device, the image processing device includes a scanning unit, the method includes the following steps: (a) driving the scanning unit to scan a medium to generate a plurality of gray values, (b) generating a corresponding average value based on the plurality of grayscale values, (c) comparing the average value with a predetermined value, and if the average value is greater than the predetermined value, setting a scanning parameter corresponding to a first exposure If the average value is not greater than the predetermined value, set the scanning parameter to correspond to a second exposure, and (d) drive the scanning unit to scan the medium according to the scanning parameter.

本发明的权利要求,其另公开一种图像处理装置,其包含有一扫描单元,用来扫描一媒体以产生多个灰度值,一控制电路,电连接到该扫描单元,用来驱动该扫描单元,以及一驱动单元。该控制电路包含有一处理单元,用来依据该多个灰度值产生一相对应的平均值;一比较单元,电连接到该处理单元,用来比较该平均值与一预定值,若该平均值大于该预定值,则该比较单元设定一扫描参数对应一第一曝光量,若该平均值不大于该预定值,则该比较单元设定该扫描参数对应一第二曝光量。此外,该一驱动单元电连接到该比较单元,用来依据该扫描参数重新驱动该扫描单元扫描该媒体。According to the claims of the present invention, it further discloses an image processing device, which includes a scanning unit used to scan a medium to generate a plurality of grayscale values, and a control circuit electrically connected to the scanning unit and used to drive the scanning unit unit, and a drive unit. The control circuit includes a processing unit for generating a corresponding average value according to the plurality of gray values; a comparison unit electrically connected to the processing unit for comparing the average value with a predetermined value, if the average If the value is greater than the predetermined value, the comparison unit sets a scanning parameter corresponding to a first exposure, and if the average value is not greater than the predetermined value, the comparison unit sets the scanning parameter corresponding to a second exposure. In addition, the driving unit is electrically connected to the comparing unit, and is used to re-drive the scanning unit to scan the medium according to the scanning parameter.

本发明的权利要求,其另公开一种驱动一图像处理装置的方法,该图像处理装置包含有一扫描单元,该方法包含有下列步骤:(a)驱动该扫描单元扫描一媒体以产生多个灰度值,(b)依据该多个灰度值判断该媒体所记录的内容,若该媒体所记录的内容不包含有图片,则设定一扫描参数对应一第一曝光量,若该媒体所记录的内容包含有图片,则设定该扫描参数对应一第二曝光量,以及(c)依据该扫描参数驱动该扫描单元扫描该媒体。According to the claims of the present invention, it further discloses a method for driving an image processing device, the image processing device includes a scanning unit, the method includes the following steps: (a) driving the scanning unit to scan a medium to generate a plurality of gray (b) judge the content recorded in the medium according to the plurality of gray values, if the content recorded in the medium does not contain pictures, then set a scanning parameter corresponding to a first exposure, if the content recorded in the medium The recorded content includes pictures, then setting the scanning parameter to correspond to a second exposure, and (c) driving the scanning unit to scan the medium according to the scanning parameter.

本发明的权利要求,其另公开一种图像处理装置,其包含有一扫描单元,用来扫描一媒体以产生多个灰度值;一处理单元,用来依据该多个灰度值判断该媒体所记录的内容,若该媒体所记录的内容不包含有图片,则该处理单元设定一扫描参数对应一第一曝光量,若该媒体所记录的内容包含有图片,则该处理单元设定该扫描参数对应一第二曝光量;以及一驱动单元,电连接到该处理单元,用来依据该扫描参数重新驱动该扫描单元扫描该媒体。The claim of the present invention further discloses an image processing device, which includes a scanning unit for scanning a medium to generate multiple grayscale values; a processing unit for judging the medium according to the multiple grayscale values For the recorded content, if the content recorded on the medium does not contain pictures, then the processing unit sets a scan parameter corresponding to a first exposure, if the content recorded on the medium contains pictures, the processing unit sets The scanning parameter corresponds to a second exposure amount; and a driving unit, electrically connected to the processing unit, is used to re-drive the scanning unit to scan the medium according to the scanning parameter.

由于本发明提高图像输出质量的方法与装置自动地调整扫描参数以提高输出图像质量,因此使用者不需利用任何使用者接口来手动地调整扫描参数,所以可便于使用者使用多功能外围设备的扫描功能与复印功能。再者,由于使用者不必于多功能外围设备完成扫描操作或复印操作后,再依据其输出图像结果来调整多功能外围设备的设定,因此本发明提高图像输出质量的方法与装置可提高多功能外围设备的扫描操作与复印操作的执行效率,并且可减少墨水或碳粉的消耗。Since the method and device for improving the image output quality of the present invention automatically adjust the scanning parameters to improve the output image quality, the user does not need to use any user interface to manually adjust the scanning parameters, so it is convenient for the user to use the multi-function peripheral device. Scan function and copy function. Furthermore, since the user does not need to adjust the settings of the multi-function peripheral device according to the output image result after the multi-function peripheral device completes the scanning operation or copying operation, the method and device for improving the image output quality of the present invention can improve multiple Scanning operations and copying operations of functional peripherals can be performed efficiently, and ink or toner consumption can be reduced.

附图说明Description of drawings

图1为常规多功能外围设备的功能方块示意图。FIG. 1 is a schematic functional block diagram of a conventional multifunctional peripheral device.

图2为本发明第一种多功能外围设备的功能方块示意图。FIG. 2 is a schematic functional block diagram of the first multifunctional peripheral device of the present invention.

图3为本发明第一种提高图像输出质量的方法的操作流程图。FIG. 3 is an operation flowchart of the first method for improving image output quality in the present invention.

图4为本发明第二种提高图像输出质量的方法的操作流程图。FIG. 4 is an operation flowchart of the second method for improving image output quality in the present invention.

图5为本发明第二种多功能外围设备的功能方块示意图。FIG. 5 is a schematic functional block diagram of the second multifunctional peripheral device of the present invention.

图6为本发明第三种提高图像输出质量的方法的操作流程图。FIG. 6 is an operation flowchart of the third method for improving image output quality in the present invention.

附图符号说明Description of reference symbols

10、30、60    多功能外围设备    12              控制器10, 30, 60 Multifunction Peripherals 12 Controllers

14、50、74    灯管装置          16、52、76      电荷耦合器件14, 50, 74 Lamp device 16, 52, 76 Charge coupled device

18、54、78    前级模拟处理装置  20              数字图像处理单元18, 54, 78 Front-stage analog processing device 20 Digital image processing unit

22            打印装置          24、38、68      输出端口22 Printing device 24, 38, 68 Output ports

32、62        控制电路          34、64          扫描单元32, 62 Control circuit 34, 64 Scanning unit

36、66        打印装置          40、70          处理单元36, 66 Printing device 40, 70 Processing unit

44            检测单元          46              比较单元44 Detection unit 46 Comparison unit

48、72        驱动单元48, 72 drive unit

具体实施方式Detailed ways

请参阅图2,图2为本发明第一种多功能外围设备30的功能方块示意图。多功能外围设备30包含有一控制电路32,一扫描单元34,一打印装置36,以及一输出端口38。控制电路32中设置有一处理单元40,一检测单元44,一比较单元46,以及一驱动单元48。扫描单元34包含有一灯管装置50,一电荷耦合器件52,以及一前级模拟处理装置54。多功能外围设备30中各元件的功能说明如下,控制电路32用来控制扫描单元34以执行扫描运作,灯管装置50用来提供电荷耦合器件52运作所需光源,因此当灯管装置50照射一媒体(例如一待处理文件)上记载的内容时,电荷耦合器件52便可产生对应该文件的各像素的传感电压,并输出各像素的传感电压至前级模拟处理装置54。如前所述,前级模拟处理装置54便将各像素的传感电压转换为相对应的灰度值,并输出灰度值至处理单元40。处理单元40可依据前级模拟处理装置54所输出的各像素的灰度值产生对应该文件的图像数据,当多功能外围设备30启动扫描操作时,该图像数据即可经由输出端口38传递至一计算机主机,以及当多功能外围设备30启动复印操作时,该图像数据即传递至打印装置36,该打印装置36便将图像数据转换为打印数据而进一步地打印对应该文件的图像于一纸张上,此外,本实施例中,处理单元40可计算各像素的灰度值的平均值,而检测单元42则会检测多功能外围设备30目前所启动的功能为扫描操作或复印操作,并告知比较单元46。比较单元46则会比较处理单元40所输出的平均值与一预定值来设定一扫描参数,例如该扫描参数限定扫描该文件的整体曝光时间,灯管装置50中所启动的灯管的数量,或灯管装置50中灯管的亮度等,换句话说,扫描参数用来设定电荷耦合器件52的曝光量。最后,驱动单元48即可依据上述校正后的扫描参数来驱动电荷耦合器件52对该文件进行正式的扫描操作。Please refer to FIG. 2 . FIG. 2 is a functional block diagram of the first multifunctional peripheral device 30 of the present invention. The multifunction peripheral 30 includes a control circuit 32 , a scanning unit 34 , a printing device 36 , and an output port 38 . The control circuit 32 is provided with a processing unit 40 , a detection unit 44 , a comparison unit 46 , and a driving unit 48 . The scanning unit 34 includes a lamp device 50 , a charge-coupled device 52 , and a front-end analog processing device 54 . The function of each component in the multifunctional peripheral device 30 is described as follows. The control circuit 32 is used to control the scanning unit 34 to perform scanning operations. The lamp device 50 is used to provide the light source required for the operation of the charge-coupled device 52. When there is content recorded on a medium (such as a file to be processed), the charge-coupled device 52 can generate the sensing voltage corresponding to each pixel of the file, and output the sensing voltage of each pixel to the front-stage analog processing device 54 . As mentioned above, the front-stage analog processing device 54 converts the sensing voltage of each pixel into a corresponding gray value, and outputs the gray value to the processing unit 40 . The processing unit 40 can generate the image data corresponding to the file according to the gray value of each pixel output by the front-stage analog processing device 54. When the multi-function peripheral device 30 starts the scanning operation, the image data can be transmitted to the A computer mainframe, and when the multifunction peripheral device 30 starts the copying operation, the image data is transmitted to the printing device 36, and the printing device 36 converts the image data into printing data and further prints the image corresponding to the document on a paper In addition, in this embodiment, the processing unit 40 can calculate the average value of the gray value of each pixel, and the detection unit 42 will detect that the function currently activated by the multifunction peripheral device 30 is a scanning operation or a copying operation, and inform Compare unit 46. The comparison unit 46 will compare the average value output by the processing unit 40 with a predetermined value to set a scanning parameter, for example, the scanning parameter limits the overall exposure time for scanning the document, the number of activated lamps in the lamp device 50 , or the brightness of the lamp in the lamp device 50 , etc., in other words, the scanning parameters are used to set the exposure amount of the charge-coupled device 52 . Finally, the driving unit 48 can drive the charge-coupled device 52 to perform a formal scanning operation on the file according to the corrected scanning parameters.

请参阅图3,图3为本发明第一种提高图像输出质量的方法的操作流程图。本发明第一种提高图像输出质量的方法应用于图2所示的多功能外围设备30,其运作详述如下。首先,驱动单元48驱动电荷耦合器件52对一待处理的文件进行预览扫描的操作(步骤100),亦即电荷耦合器件52依据一较低的清晰度来粗略地扫描该文件,并产生对应多个像素的传感电压至前级模拟处理装置54。然后,前级模拟处理装置54便处理所接收的传感电压而输出对应该多个像素的灰度值至处理单元40。本实施例中,处理单元40便计算对应该多个像素的灰度值的平均值V(步骤102),并且输出平均值V至比较单元46。Please refer to FIG. 3 . FIG. 3 is an operation flowchart of the first method for improving image output quality in the present invention. The first method for improving image output quality of the present invention is applied to the multifunction peripheral 30 shown in FIG. 2 , and its operation is described in detail as follows. First, the driving unit 48 drives the charge-coupled device 52 to perform a preview scanning operation on a file to be processed (step 100), that is, the charge-coupled device 52 roughly scans the file according to a lower resolution, and generates a corresponding The sensing voltage of each pixel is sent to the front-end analog processing device 54. Then, the front-stage analog processing device 54 processes the received sensing voltages and outputs gray values corresponding to the plurality of pixels to the processing unit 40 . In this embodiment, the processing unit 40 calculates the average value V of the grayscale values corresponding to the plurality of pixels (step 102 ), and outputs the average value V to the comparison unit 46 .

然后,比较单元46会比较平均值V与一第一预定值V1与一第二预定值V2的间的大小(步骤104),其中第一预定值V1与第二预定值V2用来界定一可接受范围,亦即第一预定值V1为可接受范围的下限(low bound),而第二预定值V2为可接受范围的上限(high bound)。若平均值V超过第二预定值V2,则表示电荷耦合器件52于预览扫描的操作过程中所接收的曝光量过多,因此,比较单元46便会依据比较结果而调整驱动单元48控制电荷耦合器件52所使用的扫描参数,如图3所示,比较单元46便会降低电荷耦合器件52于正式扫描操作所使用的整体曝光时间(步骤106),因此当电荷耦合器件52正式地对该文件进行扫描以便完成使用者所启动得扫描操作或复印操作时,处理单元40所记录的图像便不会产生过度曝光的情形(步骤112)。另外,若平均值V小于第一预定值V1,则表示电荷耦合器件52于预览扫描的操作过程中所接收的曝光量不够,因此,比较单元46便会依据比较结果而调整驱动单元48控制电荷耦合器件52所使用的扫描参数,如图3所示,比较单元46便会增加电荷耦合器件52于正式扫描操作所使用的整体曝光时间(步骤108),因此当电荷耦合器件52正式地对该文件进行扫描以便完成使用者所启动得扫描操作或复印操作时,处理单元40所记录的图像便不会产生曝光不足的情形(步骤112)。此外,若平均值V介于第一预定值V1与第二预定值V2之间,则表示电荷耦合器件52于预览扫描的操作过程所接收的曝光量符合需求,因此,比较单元46便会依据比较结果而设定驱动单元48控制电荷耦合器件52所使用的扫描参数,如图3所示,比较单元46便会以一预设曝光时间来设定电荷耦合器件52于正式扫描操作所使用的整体曝光时间(步骤110),其中该预设曝光时间介于步骤106所设定的曝光时间与步骤108所设定的曝光时间之间,因此当电荷耦合器件52正式地对该文件进行扫描以便完成使用者所启动得扫描操作或复印操作时,驱动单元48可依据该预设曝光时间而使处理单元40所记录的图像具有良好的图像质量(步骤112)。Then, the comparing unit 46 will compare the average value V with the size between a first predetermined value V1 and a second predetermined value V2 (step 104), wherein the first predetermined value V1 and the second predetermined value V2 are used to define a possible Acceptable range, that is, the first predetermined value V1 is the lower limit (low bound) of the acceptable range, and the second predetermined value V2 is the upper limit (high bound) of the acceptable range. If the average value V exceeds the second predetermined value V2, it means that the charge-coupled device 52 receives too much exposure during the preview scanning operation, so the comparison unit 46 will adjust the drive unit 48 to control the charge-coupled device according to the comparison result. The scan parameters used by the device 52, as shown in FIG. 3, the comparison unit 46 will reduce the overall exposure time (step 106) used by the charge-coupled device 52 in the formal scan operation, so when the charge-coupled device 52 formally compares the file When scanning is performed to complete the scanning operation or copying operation initiated by the user, the image recorded by the processing unit 40 will not be overexposed (step 112 ). In addition, if the average value V is less than the first predetermined value V1, it means that the exposure amount received by the charge-coupled device 52 during the preview scanning operation is not enough. Therefore, the comparison unit 46 will adjust the driving unit 48 to control the charge according to the comparison result. The scanning parameters used by the coupling device 52, as shown in FIG. When the document is scanned to complete the scanning operation or copying operation initiated by the user, the image recorded by the processing unit 40 will not be underexposed (step 112 ). In addition, if the average value V is between the first predetermined value V1 and the second predetermined value V2, it means that the exposure amount received by the charge-coupled device 52 during the preview scanning operation meets the requirements, so the comparison unit 46 will be based on Compare the results and set the scanning parameters used by the driving unit 48 to control the charge-coupled device 52. As shown in FIG. Overall exposure time (step 110), wherein the preset exposure time is between the exposure time set instep 106 and the exposure time set instep 108, so when the charge-coupled device 52 formally scans the document for When the scanning operation or copying operation initiated by the user is completed, the driving unit 48 can make the image recorded by the processing unit 40 have good image quality according to the preset exposure time (step 112 ).

请注意,除了曝光时间的外,灯管装置50中灯管的亮度与启动数量亦会影响电荷耦合器件52的曝光量,亦即灯管的亮度越高或灯管的启动数量越多会提高电荷耦合器件52的曝光量,因此本发明提高图像输出质量的方法亦可以透过调整灯管的亮度或灯管的启动数量来达到上述调整曝光时间的效果。举例来说,步骤106可以用增加灯管的亮度的操作来取代,步骤108可以用降低灯管的亮度的操作来取代,以及步骤110则以使用灯管的预定亮度来取代;或者,步骤106可以用增加灯管的启动数量的操作来取代,步骤108可以用降低灯管的启动数量的操作来取代,以及步骤110则以使用灯管的预定启动数量来取代,均可达到利用预览扫描所提供的信息来校正电荷耦合器件52的曝光量的目的,均属本发明的范畴。Please note that in addition to the exposure time, the brightness of the lamps in the lamp device 50 and the number of activations will also affect the exposure of the charge-coupled device 52, that is, the higher the brightness of the lamps or the greater the number of activations of the lamps, the higher the exposure will be. Therefore, the method for improving the image output quality of the present invention can also achieve the above-mentioned effect of adjusting the exposure time by adjusting the brightness of the lamp or the number of activated lamps. For example, step 106 can be replaced by the operation of increasing the brightness of the lamp,step 108 can be replaced by the operation of reducing the brightness of the lamp, and step 110 can be replaced by using the predetermined brightness of the lamp; or, step 106 It can be replaced by the operation of increasing the start-up number of the lamp tube,step 108 can be replaced by the operation of reducing the start-up number of the lamp tube, and step 110 is replaced by the predetermined start-up number of the use of the lamp tube, all of which can be achieved by using the preview scan. It is within the scope of the present invention to provide information for the purpose of correcting the exposure of the CCD 52 .

请参阅图4,图4为本发明第二种提高图像输出质量的方法的操作流程图。本发明第二种提高图像输出质量的方法应用于图2所示的多功能外围设备30,其运作详述如下。首先,驱动单元48驱动电荷耦合器件52对一待处理的文件进行预览扫描的操作(步骤200),亦即电荷耦合器件52依据一较低的清晰度来粗略地扫描该文件,并产生对应多个像素的传感电压至前级模拟处理装置54。然后,前级模拟处理装置54便处理所接收的传感电压而输出对应该多个像素的灰度值至处理单元40,此时,处理单元40便计算对应该多个像素的灰度值的平均值V(步骤202),并且输出平均值V至比较单元46。Please refer to FIG. 4 . FIG. 4 is an operation flowchart of the second method for improving image output quality in the present invention. The second method for improving image output quality of the present invention is applied to the multifunction peripheral 30 shown in FIG. 2 , and its operation is described in detail as follows. First, the driving unit 48 drives the charge-coupled device 52 to perform a preview scanning operation on a file to be processed (step 200), that is, the charge-coupled device 52 roughly scans the file according to a lower resolution, and generates a corresponding The sensing voltage of each pixel is sent to the front-end analog processing device 54. Then, the front-end analog processing device 54 processes the received sensing voltage and outputs the gray values corresponding to the plurality of pixels to the processing unit 40. At this time, the processing unit 40 calculates the gray value corresponding to the plurality of pixels. the average value V (step 202 ), and output the average value V to the comparison unit 46 .

本实施例中,检测单元44会检测多功能外围设备30目前所启动的功能(步骤204),举例来说,当使用者欲对该文件进行扫描操作时,使用者会经由多功能外围设备30的外部壳体上的面板按压一”扫描”按键,同理,当使用者欲对该文件进行扫描操作时,使用者会经由多功能外围设备30的外部壳体上的面板按压一”复印”按键,因此检测单元44便可得知多功能外围设备30目前所启动的功能为扫描操作或复印操作。如前所述,复印操作本身包含有扫描与打印的运作,因此,对于扫描操作与复印操作而言,两者对应不同的运作流程,所以,若分别针对扫描操作与复印操作设定适合的扫描参数,则扫描操作所产生的图像与复印操作所打印的图像均可达到最佳输出质量。举例来说,于同一清晰度下,相较于扫描操作,复印操作所应用的扫描参数会驱使电荷耦合器件52接收较多的曝光量,以使最后打印装置66所打印的图像可具有较佳质量。因此,当多功能外围设备30启动扫描操作时,检测单元44会告知比较单元46,所以比较单元46便比较平均值与一第一预定值V1以及一第二预定值V2(步骤206),此外,当多功能外围设备30启动复印操作时,检测单元44会告知比较单元46,所以比较单元46便比较平均值与一第三预定值V3以及一第四预定值V4(步骤208),第一预定值V1以及第二预定值V2所限定的范围不同于第三预定值V3以及第四预定值V4所限定的范围,换句话说,本实施例中,经由步骤204的判断可达到分别调整扫描操作与复印操作的扫描参数的目的。In this embodiment, the detection unit 44 will detect the function currently activated by the multifunction peripheral device 30 (step 204). For example, when the user wants to scan the document, the user will Press a "scan" button on the panel on the outer casing of the multifunction peripheral device 30. Similarly, when the user wants to scan the document, the user will press a "copy" button through the panel on the outer casing of the multifunctional peripheral device 30 key, so the detection unit 44 can know that the function currently activated by the multifunction peripheral 30 is a scanning operation or a copying operation. As mentioned above, the copying operation itself includes scanning and printing operations. Therefore, for the scanning operation and the copying operation, the two correspond to different operation processes. parameter, the image generated by the scanning operation and the image printed by the copying operation can both achieve the best output quality. For example, at the same resolution, compared with the scanning operation, the scanning parameters applied in the copying operation will drive the charge-coupled device 52 to receive more exposure, so that the image printed by the final printing device 66 can have better quality. Therefore, when the multifunction peripheral device 30 starts the scan operation, the detection unit 44 will notify the comparison unit 46, so the comparison unit 46 will compare the average value with a first predetermined value V1 and a second predetermined value V2 (step 206). , when the multifunction peripheral 30 starts the copying operation, the detection unit 44 will notify the comparison unit 46, so the comparison unit 46 will compare the average value with a third predetermined value V3 and a fourth predetermined value V4 (step 208), the first The range defined by the predetermined value V1 and the second predetermined value V2 is different from the range defined by the third predetermined value V3 and the fourth predetermined value V4. In other words, in this embodiment, through the judgment instep 204, the scanning can be adjusted separately. The purpose of scanning parameters for operation and copy operation.

步骤210、212、214的操作原理与图3所示的步骤106、108、110的操作原理相同,同样地,步骤216、218、220的操作原理亦与图3所示的步骤106、108、110的操作原理相同,因此于此不再重复赘述。最后,当电荷耦合器件52正式地对该文件进行扫描以便完成使用者所启动的扫描操作或复印操作时(步骤222、224),驱动单元48便可依据步骤210、212、214、216、218、220所设定的曝光时间而使扫描操作或复印操作对应良好的图像质量或打印质量(步骤112)。此外,如前所述,除了曝光时间的外,灯管装置50中灯管的亮度与启动数量亦会影响影响电荷耦合器件52的曝光量,亦即灯管的亮度越高或灯管的启动数量越大会提高电荷耦合器件52的曝光量,因此本发明提高图像输出质量的方法亦可以调整灯管的亮度或灯管的启动数量来达到上述调整曝光时间的效果,均可达到利用预览扫描所提供的信息来校正电荷耦合器件52的曝光量的目的。The operating principles of steps 210, 212, 214 are the same as those ofsteps 106, 108, 110 shown in FIG. The operation principle of 110 is the same, so it will not be repeated here. Finally, when the charge-coupled device 52 formally scans the document so as to complete the scanning operation or copying operation initiated by the user (steps 222, 224), the drive unit 48 can followsteps 210, 212, 214, 216, 218 , 220 to set the exposure time so that the scan operation or copy operation corresponds to good image quality or print quality (step 112). In addition, as mentioned above, in addition to the exposure time, the brightness and number of activations of the lamps in the lamp device 50 will also affect the exposure of the charge-coupled device 52, that is, the higher the brightness of the lamps or the activation of the lamps The larger the number will increase the exposure of the charge-coupled device 52, so the method for improving the image output quality of the present invention can also adjust the brightness of the lamp tube or the number of start-up lamp tubes to achieve the above-mentioned effect of adjusting the exposure time. The information is provided for the purpose of correcting the CCD 52 exposure.

请参阅图5,图5为本发明第二种多功能外围设备60的功能方块示意图。多功能外围设备60包含有一控制电路62,一扫描单元64,一打印装置66,以及一输出端口68。控制电路62中设置有一处理单元70以及一驱动单元72。扫描单元64包含有一灯管装置70,一电荷耦合器件76,以及一前级模拟处理装置78。多功能外围设备60与图2所示的多功能外围设备30的间主要的不同点在于处理单元70,而其余同名元件由于具有相同的功能,因此在此不再重复赘述,本实施例中,处理单元70并未计算前级模拟处理装置78所产生的对应各像素的灰度值的平均值,而是利用各像素的灰度值来判断待处理文件的内容为纯文字或包含有图像(例如一相片)。若该文件的内容为纯文字,则多功能外围设备60仅需使用较低的清晰度来扫描该文件即可,然而,若该文件的内容包含有相片,则多功能外围设备60必需使用较高的清晰度来扫描该文件,不然会因为清晰度不足而图像质量不佳。Please refer to FIG. 5 . FIG. 5 is a functional block diagram of a second multifunctional peripheral device 60 of the present invention. The multifunction peripheral 60 includes a control circuit 62 , a scanning unit 64 , a printing device 66 , and an output port 68 . A processing unit 70 and a driving unit 72 are disposed in the control circuit 62 . The scanning unit 64 includes a lamp device 70 , a charge-coupled device 76 , and a front-end analog processing device 78 . The main difference between the multi-function peripheral device 60 and the multi-function peripheral device 30 shown in FIG. The processing unit 70 does not calculate the average value of the grayscale values corresponding to each pixel generated by the previous analog processing device 78, but uses the grayscale values of each pixel to determine whether the content of the file to be processed is pure text or contains images ( e.g. a photo). If the content of the document is plain text, then the multifunction peripheral 60 only needs to use a lower resolution to scan the document; however, if the content of the document contains photos, the multifunction peripheral 60 must use a lower resolution Scan the document with high resolution, otherwise the image quality will be poor due to lack of resolution.

请参阅图6,图6为本发明第三种提高图像输出质量的方法的操作流程图。本发明第三种提高图像输出质量的方法应用于图5所示的多功能外围设备60,其运作详述如下。首先,驱动单元72驱动电荷耦合器件76对一待处理的文件进行预览扫描的操作(步骤300),亦即电荷耦合器件76依据一较低的清晰度来粗略地扫描该文件,并产生对应多个像素的传感电压至前级模拟处理装置78。然后,前级模拟处理装置78便处理所接收的传感电压而输出对应该多个像素的灰度值至处理单元70。然后,处理单元70便根据该多个像素的灰度值所提供的信息(例如灰度值分布)来判断该文件的内容为纯文字或包含有图片(步骤302)。当驱动单元72驱动电荷耦合器件76以较高的清晰度来扫描该文件时,对于扫描过程来说,电荷耦合器件76的整体曝光时间需较长以接受足够的曝光量,相反地,当驱动单元72驱动电荷耦合器件76以较低的清晰度来扫描该文件时,对于扫描过程来说,电荷耦合器件76的整体曝光时间较短即可得到足够的曝光量,因此,如前所述,当该文件的内容为纯文字,则多功能外围设备60于正式扫描该文件时,仅需使用较低的清晰度来扫描该文件即可,所以处理单元70便会设定扫描参数记录较短的曝光时间以完成扫描该文件的过程(步骤304);然而,若该文件的内容包含有相片,则多功能外围设备60必需使用较高的清晰度来扫描该文件,换句话说,处理单元70便会设定扫描参数记录较长的曝光时间以完成扫描该文件的过程(步骤306)。请注意,多功能外围设备60于正式扫描该文件所使用的清晰度高于预览扫描操作所使用的清晰度。若使用者控制多功能外围设备60以执行扫描该文件的操作时,处理单元70便依据对应该文件的各像素的灰度值产生一图像数据,并将该图像数据经由输出端口68传输至一计算机主机而完成扫描操作,另外,若使用者控制多功能外围设备60以执行复印该文件的操作时,处理单元70便将上述图像数据输出至打印装置66,因此打印装置66便可将图像数据转换为打印数据,并将打印数据打印于一纸张上而完成复印该文件的操作。Please refer to FIG. 6 . FIG. 6 is an operation flowchart of a third method for improving image output quality in the present invention. The third method of improving the image output quality of the present invention is applied to the multifunction peripheral device 60 shown in FIG. 5 , and its operation is described in detail as follows. First, the drive unit 72 drives the charge-coupled device 76 to perform a preview scanning operation on a file to be processed (step 300), that is, the charge-coupled device 76 roughly scans the file according to a lower resolution, and generates a corresponding The sensing voltage of each pixel is sent to the front-end analog processing device 78. Then, the front-stage analog processing device 78 processes the received sensing voltages and outputs gray values corresponding to the plurality of pixels to the processing unit 70 . Then, the processing unit 70 determines whether the content of the file is pure text or contains pictures according to the information provided by the gray values of the plurality of pixels (eg, gray value distribution) (step 302 ). When the driving unit 72 drives the charge-coupled device 76 to scan the document with a higher resolution, for the scanning process, the overall exposure time of the charge-coupled device 76 needs to be longer to accept sufficient exposure. When the unit 72 drives the charge-coupled device 76 to scan the document with a lower resolution, for the scanning process, the overall exposure time of the charge-coupled device 76 is shorter to obtain sufficient exposure. Therefore, as mentioned above, When the content of the file is plain text, the multifunction peripheral device 60 only needs to use a lower resolution to scan the file when scanning the file formally, so the processing unit 70 will set the scanning parameter record to be shorter However, if the content of the file contains photos, the multifunction peripheral 60 must use a higher resolution to scan the file, in other words, the processing unit 70 will set scanning parameters to record a longer exposure time to complete the process of scanning the document (step 306). Note that the resolution used by the multifunction peripheral 60 for the official scan of the document is higher than that used for the preview scan operation. If the user controls the multifunctional peripheral device 60 to perform the operation of scanning the document, the processing unit 70 generates an image data according to the gray value of each pixel corresponding to the document, and transmits the image data to a document through the output port 68. In addition, if the user controls the multifunctional peripheral device 60 to perform the operation of copying the document, the processing unit 70 will output the above-mentioned image data to the printing device 66, so the printing device 66 can print the image data converting into printing data, and printing the printing data on a paper to complete the operation of copying the document.

相较于常规技术,本发明提高图像输出质量的方法与装置利用预览扫描所提供的信息来判断电荷耦合器件接收曝光量的状况,并依据目前所启动的功能为扫描操作或复印操作来适当地调整扫描参数,此外,本发明提高图像输出质量的方法与装置亦公开利用预览扫描所提供的信息来判断该文件的内容来进一步地调整扫描参数。由于本发明提高图像输出质量的方法与装置自动地调整扫描参数以提高输出图像质量,因此使用者不需利用任何使用者接口来手动地调整扫描参数,所以可便于使用者使用多功能外围设备的扫描功能与复印功能。再者,使用者不必于多功能外围设备完成扫描操作或复印操作后,依据其输出图像结果来调整多功能外围设备的设定,因此本发明提高图像输出质量的方法与装置可提高多功能外围设备的扫描操作与复印操作的执行效率,并且可减少墨水或碳粉的消耗。Compared with the conventional technology, the method and device for improving the image output quality of the present invention use the information provided by the preview scan to judge the status of the exposure received by the charge-coupled device, and properly perform scanning operation or copying operation according to the currently activated function. Adjusting scanning parameters. In addition, the method and device for improving image output quality of the present invention also discloses using the information provided by preview scanning to determine the content of the file to further adjust scanning parameters. Since the method and device for improving the image output quality of the present invention automatically adjust the scanning parameters to improve the output image quality, the user does not need to use any user interface to manually adjust the scanning parameters, so it is convenient for the user to use the multi-function peripheral device. Scan function and copy function. Moreover, the user does not need to adjust the settings of the multi-function peripheral device according to the output image result after the multi-function peripheral device completes the scanning operation or copying operation, so the method and device for improving image output quality of the present invention can improve The scanning operation and copying operation of the device can be performed efficiently, and the consumption of ink or toner can be reduced.

以上所述仅为本发明的较佳实施例,凡依本发明权利要求所进行的等效变化与修改,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (28)

Translated fromChinese
1.一种驱动一图像处理装置的方法,该图像处理装置包含有一扫描单元,该方法包含有下列步骤:1. A method for driving an image processing device, the image processing device comprising a scanning unit, the method comprising the following steps:(a)驱动该扫描单元扫描一媒体以产生与各像素相对应的多个灰度值;(a) driving the scanning unit to scan a medium to generate a plurality of grayscale values corresponding to each pixel;(b)基于该多个灰度值来设定一扫描参数;以及(b) setting a scanning parameter based on the plurality of gray values; and(c)依据该扫描参数驱动该扫描单元扫描该媒体;(c) driving the scanning unit to scan the medium according to the scanning parameters;其中,所述步骤(b)还包括下列子步骤:Wherein, said step (b) also includes the following sub-steps:(b1)产生该多个灰度值的平均值;(b1) generating an average value of the plurality of gray values;(b2)比较该平均值与一预定值,若该平均值大于该预定值,则设定一扫描参数对应一第一曝光量,若该平均值不大于该预定值,则设定该扫描参数对应一第二曝光量。(b2) compare the average value with a predetermined value, if the average value is greater than the predetermined value, then set a scanning parameter corresponding to a first exposure, if the average value is not greater than the predetermined value, then set the scanning parameter Corresponding to a second exposure amount.2.如权利要求1所述的方法,其中于步骤(b2)中,该第一曝光量高于该第二曝光量。2. The method of claim 1, wherein in step (b2), the first exposure level is higher than the second exposure level.3.如权利要求1所述的方法,其中步骤(b2)还包含有:3. method as claimed in claim 1, wherein step (b2) also comprises:若该平均值大于该预定值,则设定该扫描参数对应一第一灯管亮度;以及If the average value is greater than the predetermined value, then setting the scan parameter to correspond to a first lamp brightness; and若该平均值不大于该预定值,则设定该扫描参数对应一第二灯管亮度。If the average value is not greater than the predetermined value, the scanning parameter is set to correspond to a brightness of a second lamp tube.4.如权利要求3所述的方法,其中该第一灯管亮度大于该第二灯管亮度。4. The method of claim 3, wherein the brightness of the first lamp is greater than the brightness of the second lamp.5.如权利要求1所述的方法,其中步骤(b2)还包含有:5. The method as claimed in claim 1, wherein step (b2) further comprises:若该平均值大于该预定值,则设定该扫描参数对应一第一灯管启动数量;以及If the average value is greater than the predetermined value, then setting the scan parameter to correspond to a first lamp startup quantity; and若该平均值不大于该预定值,则设定该扫描参数对应一第二灯管启动数量。If the average value is not greater than the predetermined value, the scan parameter is set to correspond to a second lamp startup quantity.6.如权利要求5所述的方法,其中该第一灯管启动数量大于该第二灯管启动数量。6. The method of claim 5, wherein the first lamp activation number is greater than the second lamp activation number.7.如权利要求1所述的方法,其中步骤(b2)还包含有:7. The method as claimed in claim 1, wherein step (b2) further comprises:若该平均值大于该预定值,则设定该扫描参数对应一第一曝光时间;以及If the average value is greater than the predetermined value, then setting the scan parameter to correspond to a first exposure time; and若该平均值不大于该预定值,则设定该扫描参数对应一第二曝光时间。If the average value is not greater than the predetermined value, the scan parameter is set to correspond to a second exposure time.8.如权利要求7所述的方法,其中该第一曝光时间大于该第二曝光时间。8. The method of claim 7, wherein the first exposure time is greater than the second exposure time.9.如权利要求1所述的方法,其中步骤(a)驱动该扫描单元以一第一清晰度扫描该媒体,步骤(c)驱动该扫描单元以一第二清晰度扫描该媒体,以及该第二清晰度大于该第一清晰度。9. The method of claim 1, wherein step (a) drives the scan unit to scan the medium with a first resolution, step (c) drives the scan unit to scan the medium with a second resolution, and the The second sharpness is greater than the first sharpness.10.如权利要求1所述的方法,其还包含有:10. The method of claim 1, further comprising:(d)于步骤(b2)执行前,检测该图像处理装置启动一第一预定功能或一第二预定功能来设定该预定值。(d) Before step (b2) is executed, detecting that the image processing device activates a first predetermined function or a second predetermined function to set the predetermined value.11.如权利要求10所述的方法,其中于步骤(d)中,该第一预定功能为扫描功能,以及该第二预定功能为复印功能。11. The method as claimed in claim 10, wherein in step (d), the first predetermined function is a scanning function, and the second predetermined function is a copying function.12.一种图像处理装置,其包含有:12. An image processing device comprising:一扫描单元,用来扫描一媒体以产生与各像素相对应的多个灰度值;a scanning unit, used to scan a medium to generate a plurality of gray values corresponding to each pixel;一控制电路,电连接到该扫描单元,用来驱动该扫描单元,该控制电路包含有:A control circuit, electrically connected to the scanning unit, used to drive the scanning unit, the control circuit includes:一处理单元,用来产生该多个灰度值的平均值;a processing unit, used to generate the average value of the plurality of gray values;一比较单元,电连接到该处理单元,用来比较该平均值与一预定值,若该平均值大于该预定值,则该比较单元设定一扫描参数对应一第一曝光量,若该平均值不大于该预定值,则该比较单元设定该扫描参数对应一第二曝光量;以及A comparison unit, electrically connected to the processing unit, used to compare the average value with a predetermined value, if the average value is greater than the predetermined value, then the comparison unit sets a scan parameter corresponding to a first exposure, if the average value is not greater than the predetermined value, then the comparison unit sets the scanning parameter to correspond to a second exposure; and一驱动单元,电连接到该比较单元,用来依据该扫描参数重新驱动该扫描单元扫描该媒体。A driving unit is electrically connected to the comparison unit and is used to re-drive the scanning unit to scan the medium according to the scanning parameters.13.如权利要求12所述的图像处理装置,其中该第一曝光量高于该第二曝光量。13. The image processing device as claimed in claim 12, wherein the first exposure level is higher than the second exposure level.14.如权利要求12所述的图像处理装置,其中该扫描单元以一第一清晰度扫描该媒体,该驱动单元驱动该扫描单元以一第二清晰度扫描该媒体,以及该第二清晰度大于该第一清晰度。14. The image processing device according to claim 12, wherein the scanning unit scans the medium with a first resolution, the driving unit drives the scanning unit to scan the medium with a second resolution, and the second resolution Greater than the first sharpness.15.如权利要求12所述的图像处理装置,其中该控制电路还包含有:15. The image processing device as claimed in claim 12, wherein the control circuit further comprises:一检测单元,电连接到该比较单元,用来检测该图像处理装置启动一第一预定功能或一第二预定功能以设定该预定值。A detection unit, electrically connected to the comparison unit, is used to detect that the image processing device activates a first predetermined function or a second predetermined function to set the predetermined value.16.如权利要求15所述的图像处理装置,其中该第一预定功能为扫描功能,以及该第二预定功能为复印功能。16. The image processing apparatus as claimed in claim 15, wherein the first predetermined function is a scanning function, and the second predetermined function is a copying function.17.一种驱动一图像处理装置的方法,该图像处理装置包含有一扫描单元,该方法包含有下列步骤:17. A method for driving an image processing device, the image processing device comprising a scanning unit, the method comprising the following steps:(a)驱动该扫描单元扫描一媒体以产生与各像素相对应的多个灰度值;(a) driving the scanning unit to scan a medium to generate a plurality of grayscale values corresponding to each pixel;(b)基于该多个灰度值来设定一扫描参数;以及(b) setting a scanning parameter based on the plurality of gray values; and(c)依据该扫描参数驱动该扫描单元扫描该媒体,(c) driving the scanning unit to scan the medium according to the scanning parameters,其中,在步骤(b)中,依据该多个灰度值判断该媒体所记录的内容,若该媒体所记录的内容不包含有图片,则设定一扫描参数对应一第一曝光量,若该媒体所记录的内容包含有图片,则设定该扫描参数对应一第二曝光量Wherein, in step (b), the content recorded on the medium is judged according to the plurality of gray values, if the content recorded on the medium does not contain pictures, then a scan parameter is set corresponding to a first exposure amount, if The content recorded on the medium contains pictures, then set the scan parameter to correspond to a second exposure18.如权利要求17所述的方法,其中于步骤(b)中,该第一曝光量高于该第二曝光量。18. The method of claim 17, wherein in step (b), the first exposure level is higher than the second exposure level.19.如权利要求17所述的方法,其中步骤(b)还包含有:19. The method of claim 17, wherein step (b) further comprises:若该媒体所记录的内容不包含有图片,则设定该扫描参数对应一第一灯管亮度;以及If the content recorded in the medium does not contain pictures, then set the scanning parameters to correspond to the brightness of a first lamp tube; and若该媒体所记录的内容包含有图片,则设定该扫描参数对应一第二灯管亮度。If the content recorded on the medium contains pictures, then set the scanning parameter to correspond to a brightness of a second lamp tube.20.如权利要求19所述的方法,其中该第一灯管亮度小于该第二灯管亮度。20. The method of claim 19, wherein the brightness of the first lamp is smaller than the brightness of the second lamp.21.如权利要求17所述的方法,其中步骤(c)还包含有:21. The method of claim 17, wherein step (c) further comprises:若该媒体所记录的内容不包含有图片,则设定该扫描参数对应一第一灯管启动数量;以及If the content recorded in the medium does not include pictures, then set the scan parameter to correspond to a first lamp activation quantity; and若该媒体所记录的内容包含有图片,则设定该扫描参数对应一第二灯管启动数量。If the content recorded on the medium contains pictures, then the scanning parameter is set to correspond to a second number of activated lamp tubes.22.如权利要求21所述的方法,其中该第一灯管启动数量小于该第二灯管启动数量。22. The method of claim 21, wherein the first lamp activation number is less than the second lamp activation number.23.如权利要求17所述的方法,其中步骤(c)还包含有:23. The method of claim 17, wherein step (c) further comprises:若该媒体所记录的内容不包含有图片,则设定该扫描参数对应一第一曝光时间;以及If the content recorded on the medium does not contain pictures, then setting the scanning parameters to correspond to a first exposure time; and若该媒体所记录的内容包含有图片,则设定该扫描参数对应一第二曝光时间。If the content recorded on the medium includes pictures, the scan parameter is set to correspond to a second exposure time.24.如权利要求23所述的方法,其中该第一曝光时间小于该第二曝光时间。24. The method of claim 23, wherein the first exposure time is less than the second exposure time.25.如权利要求17所述的方法,其中步骤(a)驱动该扫描单元以一第一清晰度扫描该媒体,步骤(c)驱动该扫描单元以一第二清晰度扫描该媒体,且该第二清晰度大于该第一清晰度。25. The method of claim 17, wherein step (a) drives the scan unit to scan the medium with a first resolution, step (c) drives the scan unit to scan the medium with a second resolution, and the The second sharpness is greater than the first sharpness.26.一种图像处理装置,其包含有:26. An image processing device comprising:一扫描单元,用来扫描一媒体以产生与各像素相对应的多个灰度值;a scanning unit, used to scan a medium to generate a plurality of gray values corresponding to each pixel;一处理单元,用来依据该多个灰度值判断该媒体所记录的内容,若该媒体所记录的内容不包含有图片,则该处理单元设定一扫描参数对应一第一曝光量,若该媒体所记录的内容包含有图片,则该处理单元设定该扫描参数对应一第二曝光量;以及A processing unit is used to judge the content recorded on the medium according to the plurality of grayscale values. If the content recorded on the medium does not contain pictures, the processing unit sets a scanning parameter corresponding to a first exposure. If The content recorded on the medium includes a picture, then the processing unit sets the scanning parameter to correspond to a second exposure; and一驱动单元,电连接到该处理单元,用来依据该扫描参数重新驱动该扫描单元扫描该媒体。A driving unit, electrically connected to the processing unit, is used to re-drive the scanning unit to scan the medium according to the scanning parameters.27.如权利要求26所述的图像处理装置,其中该第一曝光量高于该第二曝光量。27. The image processing device as claimed in claim 26, wherein the first exposure level is higher than the second exposure level.28.如权利要求26所述的图像处理装置,其中该扫描单元以一第一清晰度扫描该媒体,该驱动单元驱动该扫描单元以一第二清晰度扫描该媒体,以及该第二清晰度大于该第一清晰度。28. The image processing device as claimed in claim 26, wherein the scanning unit scans the medium with a first resolution, the driving unit drives the scanning unit to scan the medium with a second resolution, and the second resolution Greater than the first sharpness.
CNB2004100420786A2004-04-302004-04-30Method and device for improving scanned image quality by applying preview scanningExpired - Fee RelatedCN100372353C (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNB2004100420786ACN100372353C (en)2004-04-302004-04-30Method and device for improving scanned image quality by applying preview scanning

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNB2004100420786ACN100372353C (en)2004-04-302004-04-30Method and device for improving scanned image quality by applying preview scanning

Publications (2)

Publication NumberPublication Date
CN1691735A CN1691735A (en)2005-11-02
CN100372353Ctrue CN100372353C (en)2008-02-27

Family

ID=35346837

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNB2004100420786AExpired - Fee RelatedCN100372353C (en)2004-04-302004-04-30Method and device for improving scanned image quality by applying preview scanning

Country Status (1)

CountryLink
CN (1)CN100372353C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101207669B (en)*2006-12-222011-05-18明基电通股份有限公司Scanning method and scanning device thereof
CN101350880B (en)*2008-08-282011-02-16苏州佳世达电通有限公司Single machine scanning apparatus and single machine scanning method
CN107516369B (en)*2016-06-172019-11-22山东新北洋信息技术股份有限公司Bill images acquisition methods and bill images acquisition device, system
CN107301025B (en)*2017-06-132019-12-31南京窝趣买网络科技有限公司Copying method and system based on mobile terminal photographing
US10785419B2 (en)*2019-01-252020-09-22Pixart Imaging Inc.Light sensor chip, image processing device and operating method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6373983B1 (en)*1998-08-242002-04-16Mustek Systems, Inc.Method for detecting the occurrence of missing lines on images generated by an optical scanner
CN1392723A (en)*2001-06-202003-01-22力捷电脑股份有限公司Color scanning automatic judging method for scanner
US20040047516A1 (en)*2002-09-112004-03-11Wen-Chao TsengImage correction method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6373983B1 (en)*1998-08-242002-04-16Mustek Systems, Inc.Method for detecting the occurrence of missing lines on images generated by an optical scanner
CN1392723A (en)*2001-06-202003-01-22力捷电脑股份有限公司Color scanning automatic judging method for scanner
US20040047516A1 (en)*2002-09-112004-03-11Wen-Chao TsengImage correction method

Also Published As

Publication numberPublication date
CN1691735A (en)2005-11-02

Similar Documents

PublicationPublication DateTitle
US8392833B2 (en)Image forming apparatus
TWI246847B (en)Method and apparatus for improving quality of a scanned image through a preview operation
KR101309369B1 (en) Image processing apparatus and control method
CN104756477B (en)Image processing apparatus, the image processing system for possessing the image processing apparatus, image forming method
US8749850B2 (en)Image reading apparatus and method of controlling the apparatus
CN101115126A (en) Imaging device for resizing an image and method for resizing an image
US10659621B2 (en)Image processing apparatus, image processing method, and storage medium
US7697789B2 (en)System and method for enhancing stored binary images
CN102316234B (en)Image scanning apparatus, computer readable medium, and image storing method
JP2025120464A (en) Image reading system, image reading device, and image reading method
US20140160515A1 (en)Image reading apparatus, method for controlling image reading apparatus, and storage medium
CN100372353C (en)Method and device for improving scanned image quality by applying preview scanning
JP2007208617A (en) Image reading apparatus and image reading method
JP4502390B2 (en) Image processing apparatus and method
JP2006129494A (en)Method of performing facsimile transmission of original printed to color medium
US20090073463A1 (en)Image processing apparatus, image processing method, and computer-readable recording medium
US7468806B2 (en)System and method for selective image acquisition
CN101729722A (en)Image forming apparatus
CN101998019A (en)Image processing apparatus and image processing method
CN1264332C (en) Scanning device capable of shortening scanning time and related method
US10798264B2 (en)Image scanning apparatus and method for scanning thereof
JP2010068227A (en)Image processor and image processing method
JP5760426B2 (en) Image forming apparatus, image processing method, and program
KR100581519B1 (en) Scanned image desktop setting system and its method
US11943407B2 (en)Using pre-scan to improve scan speed by detecting a document loaded on the image reading apparatus

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
C17Cessation of patent right
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20080227


[8]ページ先頭

©2009-2025 Movatter.jp