This application claims the priority benefit of Taiwan application serial no. 100121052, filed on Jun. 16, 2011. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The invention relates to a method for tuning image quality, and particularly, the invention relates to a method for tuning image quality capable of simultaneously tuning image quality parameters of a plurality of image processing devices, and a system using the same method.
2. Description of Related Art
During an image quality tuning process of an all-in-one (AIO) machine, a large amount of testing is required to be executed on effects presented by different image parameters corresponding to each of the functions, so that it is required to continuously modify a firmware program, and make/compile the firmware and build/burn the firmware into the AIO machine.
Referring to
After the scan job is started, a scanner captures the scanned document, and converts the scanned image data into digital data (step 104). Then, it is determined whether a shading correction procedure is required to be executed (step 105), and if not, the flow continues to execute a next processing procedure (from a node B to a step 107). The shading correction procedure is one of image processing techniques, which is used for compensating a shadow or uneven brightness caused by a light source to even the brightness (from the node B to the step 106). Next, it is determined whether a gamma correction procedure is required to be executed (the step 107), and if not, the flow continues to execute a next processing procedure (step 109). The gamma correction procedure is one of image processing techniques, and the correction is performed according to a correction curve of the gamma correction procedure to achieve a linear output effect (step 108). After each image processing function is ended, the digital image data processing is completed, and it is determined whether a required image quality effect is achieved according to the output image (step 109). If the output effect is not satisfactory, the image quality parameters of each of the image processing functions are adjusted again (from a node A to the step 101). Conversely, the image quality tuning process is terminated.
However, during the process for tuning image quality, each time of adjusting the image quality parameters, the program codes are required to be modified, and the firmware is compiled and burned to the device, which may consume a rather long time. Moreover, after the AIO machine is activated, debugging of the image correction can only be determined by printing program execution information or a final output result, and data variation during the image processing process cannot be obtained, which is obviously lack of flexibility in debugging. Moreover, each of the AIO machines has deviations, but the image quality tuning process can only adjust the image quality parameters of a single machine. If it is required to obtain the image quality parameters of a plurality of the AIO machines, the consumed time is increased by several times. Therefore, how to adjust the image quality tuning method of the image processing device to improve the efficiency of the image quality tuning process is an important issue of the industry.
Accordingly, exemplary embodiments of the invention provide a method and an image quality tuning system capable of simultaneously tuning image quality parameters of a plurality of image processing devices. By connecting one or multiple image processing devices through a network or data cables, and after compiling firmware and burning the firmware into the image processing devices, one or a plurality of image quality tuning parameters are obtained or set, which can greatly improve efficiency and flexibility of the image quality tuning process.
An exemplary embodiment of the invention provides a method for tuning image quality, which is adapted for tuning image quality parameters of at least one image processing device, and the method for tuning image quality includes following steps: (a) executing a compiling procedure of firmware of the at least one image processing device; (b) executing a burning procedure of the firmware of the at least one image processing device; (c) configuring at least one image processing function to each of the image processing devices after the step (a) and the step (b) are executed, and respectively setting image quality parameters of each of the image processing functions; (d) executing an image processing process, where the image processing process includes at least one image tuning procedure; and (e) when each one of the image tuning procedures is executed, selecting to upload a predetermined image to a first predetermined image processing procedure location of the currently executed image tuning procedure, or selecting to download an image from a second predetermined image processing procedure location of the currently executed image tuning procedure.
In an exemplary embodiment of the invention, the step of respectively configuring the at least one image processing function includes respectively enabling or disabling each of the image processing functions.
In an exemplary embodiment of the invention, the step of respectively setting the image quality parameters of each of the image processing functions includes respectively setting or acquiring the image quality parameters of each of the image processing functions.
In an exemplary embodiment of the invention, the step of executing the image processing process includes executing a scan job, a printing job, a digital video capturing job, a digital camera job and a projecting job.
In an exemplary embodiment of the invention, the at least one image tuning procedure includes a shading correction procedure and a gamma correction procedure.
In an exemplary embodiment of the invention, the step of selecting to upload the predetermined image to the first predetermined image processing procedure location of the currently executed image tuning procedure includes uploading the predetermined image to the first predetermined image processing procedure location of the currently executed image tuning procedure to replace an image.
In an exemplary embodiment of the invention, the at least one image processing device includes a scanner, a printer, a digital camera and a projector.
In an exemplary embodiment of the invention, the method further includes continually executing the image processing process after uploading the predetermined image to the first predetermined image processing procedure location of the currently executed image tuning procedure to replace the image.
In an exemplary embodiment of the invention, before the step (a), the method further includes respectively connecting the image processing devices through a network or a data cable.
In an exemplary embodiment of the invention, after respectively executing the step (a) and the step (b) to the connected image processing devices for just one time, the step (c), the step (d) and the step (e) are respectively executed to the connected image processing devices for at least one time.
An exemplary embodiment of the invention provides a image quality tuning system, which includes an image processing device and an electronic device. The image processing device is configured for executing an image processing process, and the image processing device includes a server sub-system and an image processing sub-system, where the image processing sub-system is configured for executing the image processing process, and a step of executing the image processing process includes executing at least one image tuning procedure. The electronic device is configured to execute a compiling procedure and a burning procedure of firmware of the image processing device. Moreover, the electronic device is connected to the server sub-system, and after the electronic device executes the compiling procedure and the burning procedure for once, it performs the following steps: (a) configuring at least one image processing function to the image processing device for at least one time; (b) respectively setting image quality parameters of each of the image processing functions and executing at least one image tuning procedure; and (c) when each one of the image tuning procedures is executed, selecting to upload a predetermined image to a first predetermined image processing procedure location of the currently executed image tuning procedure, or selecting to download an image from a second predetermined image processing procedure location of the currently executed image tuning procedure.
Several embodiments accompanied with figures are described in detail below to further describe the invention in details.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Referring to
The image processing device 32 is configured for executing an image processing process, and the image processing device 32 includes a server sub-system 320 and an image processing sub-system 330. The image processing sub-system 330 is configured for executing the image processing process, which includes executing one or a plurality of image tuning procedures.
The server sub-system 320 includes a communication protocol module 321 and a command module 322. The communication protocol module 311 of the electronic device 31 is connected to the communication protocol module 321 of the server sub-system 320 through a network or a data cable, and after the electronic device 31 executes the compiling procedure and the burning procedure for once, it performs the following steps: (a) configuring one or a plurality of image processing functions to the image processing device 32 for at least one time; (b) respectively setting image quality parameters of each of the image processing functions and executing one or a plurality of image tuning procedures; and (c) when each one of the image tuning procedures is executed, selecting to upload a predetermined image to a first predetermined image processing procedure location of the currently executed image tuning procedure, or selecting to download an image from a second predetermined image processing procedure location of the currently executed image tuning procedure. The first predetermined image processing procedure location is, for example, a processing procedure location where the image tuning procedure is completed by 50%. The second predetermined image processing procedure location is, for example, a processing procedure location where the other image tuning procedure is completed by 80%.
The command module 322 is connected to the communication protocol module 311, and is configured for receiving the command and the corresponding image quality parameters provided by the electronic device 31, and analyzing the command and transmitting the command and the image quality parameters to the image processing sub-system 330 for execution. Moreover, the command module 322 further receives responses from the image processing sub-system 330 after the image processing sub-system 330 executes various commands, and provides acknowledgement to the electronic device 31, or provides an image to the electronic device 31, where the image is downloaded when the image processing sub-system 330 executes an image tuning procedure.
The image processing sub-system 330 includes an image processing module 331, an image obtaining module 332 and a memory module 333. The image processing module 331 is connected to the command module 322 for receiving the command and the corresponding image quality parameters, and executing a scan job, a printing job, a digital video capturing job, a digital camera job or a projecting job. Moreover, the image processing module 331 further enables and disables various image processing functions according to commands, or replaces, sets or acquires the image quality parameters of various image processing functions.
The image obtaining module 332 is connected to the image processing module 331 and the memory module 333 for downloading an image from a designated image processing procedure location of the image tuning procedure currently executed by the image processing module 331. The memory module 333 is configured for storing a predetermined image uploaded to another designated image processing procedure location by the electronic device 31 that is configured for replacing the image of the designated image processing procedure location.
After the burning procedure of the firmware is completed, the image processing device 32 is reset, and the electronic device 31 can transmit a parameter command to the image processing device 32 through the USB data cable or the network (step 403). To be illustrated more clearly, the test operator or the program designer can determine whether or not to activate the image processing functions through the electronic device 31, and set the image quality parameters of each of the image processing functions.
In the present embodiment, in a design of a communication interface between the electronic device 31 and the image processing device 32, a client end is located at the electronic device 31, and the server sub-system 320 (which is a server end or a server) and the image processing sub-system 330 (which is a device end or a device) are located at a firmware end of the image processing device 32.
After the firmware end of the image processing device 32 receives a command, it performs corresponding operations according to the command. The command includes follow three main image processing functions. A first image processing function is to acquire/replace image quality parameters, and the first image processing function is described later with reference of
In step 404, the image processing process is executed. Taking a scanning job as an example, the image obtained after the scanning job generally includes image processing processes of a plurality of stages, and in the present exemplary embodiment, only the shading correction procedure and the gamma correction procedure are described, which are standard image processing procedures for image scanning, by which a standard tuned image can be obtained. When the scanning job is activated, the scanner of the image processing module 331 extracts data of a scanned document and converts it into digital data (step 404). Moreover, it is determined whether the shading correction procedure is executed according to a command (and parameters thereof) of the electronic device 31 (step 405). If a determination result of the step 405 is No, the flow continues to execute a next processing procedure (from a node E to a step 408), and if the determination result of the step 405 is Yes, the shading correction procedure is executed to compensate a shadow or uneven brightness caused by a light source to even the brightness (step 406).
The invention is not limited to the scanner, and in other embodiments, a printer, a digital camera, a projector or an AIO machine are also applicable, so that the corresponding step 404 includes executing a printing job, a digital video capturing job, a digital camera job or a projecting job.
Next, it is determined whether the gamma correction procedure is executed according to the command (and parameters thereof) of the electronic device 31 (step 408). If a determination result of the step 408 is negative, the flow is jumped to a next processing procedure (a step 411), and if the determination result of the step 408 is affirmative, the gamma correction procedure is executed to tune the image according to a correction curve thereof, so as to achieve a linear output effect (step 409). After each image processing function is performed, digital data processing is completed, and the test operator or the program designer can determine whether a required image quality effect is achieved according to an output image of the electronic device 31 (step 411). If the output effect is not satisfactory, the test operator or the program designer can use the electronic device 31 for another adjustment. That is, the step 403 is returned through a node D, and the image quality parameters of each image processing function are set again according to the parameter command, and the related steps 404 to 411 are executed again. Conversely, the image quality tuning process is terminated after the step 411.
In step 407, the test operator or the program designer can use the electronic device 31 to upload image data to replace an original scanning data during any image processing procedure by transmitting an upload image command. Moreover, taking the scanning job as an example, after the scanning job is activated, the operator or the program designer can use the electronic device 31 to transmit image data to the image processing device 32 to replace the original image data of a designated location, and the scanning job is continually executed till the completion. The designated location of the upload image is indicated as a node F in
In step 410, the test operator or the program designer can set the electronic device 31 to download an image from any image processing procedure location of the image processing device 32 to analyze the original scan data. That is, the electronic device 31 transmits a download image command to the image processing device 32. Taking the scanning job for an example, after the scanning job is activated, the image processing device 32 transmits the image data of the designated location to the electronic device 31, so as to facilitate the test operator or the program designer inspecting variation status of the image data at the designated location, where the currently executed scanning job is not influenced. The designated position for downloading the image is indicated as a node G in
According to the method for tuning image quality shown in
The method for tuning image quality shown in
Then, after the compilation procedures and the burning procedures are performed, the processor module 314 of the electronic device 31 receives commands and the corresponding parameters input by the operator or the program designer to respectively configure one or a plurality of image processing functions to the one or a plurality of the image processing devices, and respectively set image quality parameters of each of the image processing functions (step 425). In the step 425, the step of configuring the at least one image processing function includes respectively enabling or disabling each of the image processing functions. Moreover, the step of respectively setting image quality parameters of each of the image processing functions includes respectively setting or acquiring the image quality parameters of each of the image processing functions.
Moreover, the image processing module 331 of the image processing device 32 executes an image processing process including one or a plurality of image tuning procedures according to the acquired command and the corresponding quality parameters (step 427). In step 429, when the image processing module 331 executes each of the image tuning procedures, the test operator or the program designer can set the related parameters through the processor module 314 of the electronic device 31, so as to select to upload a predetermined image to a first predetermined image processing procedure location of the image tuning procedure currently executed by the image processing module 331, or select to download an image from a second predetermined image processing procedure location of the image tuning procedure currently executed by the image processing module 331. The image obtaining module 332 provides the downloaded image to the electronic deice 31. After the step 429, the method for tuning image quality is terminated.
Moreover, in an actual operation, after the electronic device 31 respectively executes the step 421 and the step 423 to the connected image processing devices 32 for only one time, the step 425, the step 427 and the step 429 can be performed to the connected image processing devices 32 for one time or multiple times. In other words, after the electronic device 31 performs the compilation procedure and the burning procedure to the connected image processing device 32 for just one time, it can repeatedly configure the image processing functions and the corresponding image quality parameters to the connected image processing device 32, execute the image processing process including the image tuning procedure, and select to upload the predetermined image to the first predetermined image processing procedure location of the currently executed image tuning procedure, or select to download an image from the second predetermined image processing procedure location of the currently executed image tuning procedure.
After the image processing module 331 receives the message, it sets or transmits back the parameter (step 505), and transmits a command processing completion message to the server sub-system 320 until the image processing module 331 completes processing the command (step 506). The server sub-system 320 receives the command processing completion message, and transmits acknowledgement (ACK) to the electronic device 31 at the client end to notify the electronic device 31 that it has received and processed the command sent by the electronic device 31 (step 507).
After the image processing module 331 located at the device end receives the message, it enables or disables the image processing function (step 605), and transmits a command processing completion message to the server sub-system 320 until the image processing module 331 completes processing the command (step 606). The server sub-system 320 receives the command processing completion message, and transmits ACK to the electronic device 31 at the client end to notify the electronic device 31 that it has received and processed the command sent by the electronic device 31 (step 607). Moreover, the acquire/replace quality parameter command of
Taking the scanning job as an example to describe the subsequent steps, when the image processing module 331 activates the scanning job and executes the scanning job to a designated (or predetermined) image processing procedure location of the image data to be set, the image processing module 331 pauses the image processing procedure, and waits for the message and the image data from the server sub-system 320 (step 704). The server sub-system 320 transmits the upload message and image data (step 705), and waits for the image processing module 331 to transmit a command processing completion message after completing processing the command (step 706).
After the image processing module 331 located at the device end receives the message from the server sub-system 320, it performs an operation of replacing the image data (step 707) until the image processing module 331 completes the scanning job and replacing the image data. In the present embodiment, the memory module 333 can be used to store the replaced image data of the designated image processing procedure location. Then, the image processing module 331 transmits back a command processing completion message to the server sub-system 320 (step 708). The server sub-system 320 receives the command processing completion message, and transmits ACK to the electronic device 31 at the client end to notify the electronic device 31 that it has received and processed the command sent by the client end (step 709).
Taking the scanning job as an example to describe the subsequent steps, and the server sub-system 320 starts to wait for the message and the downloaded image data from the image processing module 331 (step 804). When the image processing module 331 activates the scanning job and executes the scanning job to a designated image processing procedure location of the image data to be downloaded, the image processing module 331 transmits a message to the server sub-system 320 and starts to transmit the scanned image (step 805). In the present embodiment, the image obtaining module 332 can be used to obtain the image at the designated image processing procedure location.
After the image processing module 331 completes the scanning job, it waits for the server sub-system 320 to transmit a download procedure completion message (step 806). After the server sub-system 320 completes downloading the image data, it transmits the download procedure completion message to the image processing module 331 (step 807), and transmits ACK to the electronic device 31 at the client end to notify the electronic device 31 that it has processed the command sent by the electronic device 31 (step 709), and transmits the downloaded image data to the electronic device 31 (step 808).
The method for tuning image quality shown in
In summary, according to the method and image quality tuning system of the invention, by connecting the electronic device to one or a plurality of image processing devices, after the electronic device compiles and burns the firmware to the image processing devices, it can repeatedly acquire, replace or set the image quality parameters of various image processing devices. Moreover, a processing procedure location of a specific tuning process in the image processing process can be designated to upload an image to replace the image at the procedure location or download the image at the procedure location, so as to improve flexibility of the image quality parameter tuning process and improve efficiency for tuning the image quality.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
100121052 | Jun 2011 | TW | national |