1. Field of the Invention
The present invention is related to an image processing method by adjusting heating time, and more particularly, to an image processing method applied on a thermal printer by adjusting heating time.
2. Description of the Prior Art
With the rapid development of digital cameras, the amount of digital images has increased tremendously. Though digital images can be viewed on display devices such as computer screens or televisions, so far these display devices have not been able to replace the need for paper photos completely. It is because people have become accustomed to enjoying images in the form of paper photos, and the feeling of holding photos and the pleasure of sharing them with someone around you can not be changed in a short time. Therefore, many printer manufacturers focus on printers with photo printing functions. In the consumer market, the demand for photo printers that specialize in digital image printing also increases as higher quality photo printing is more often required these days.
Based on different printing technologies, photo printers can be categorized into three main types: the laser printer, the inkjet printer and the thermal printer. Although color laser printers are available widely in the consumer market, laser printers are usually not a popular choice for photo printers due to higher prices and worse color expression in photo printing. The developments on photo printers are mainly focused on the inkjet printer and the thermal printer. An inkjet printer is a half-tone printing device that uses the dithering technique to place extremely small droplets of ink onto the paper to create an image. The purpose of the dithering technique is to create photo-quality images with these tiny dots as close to those seen by bare human eyes as possible. The half-tone technology cannot match the continuous-tone technology in printing effects. One can clearly distinguish the difference in printing quality between a half-tone photo printing and a continuous-tone photo printing, especially when the photos are being enlarged.
A thermal printer is a continuous-tone printing device that drives its thermal print head (TPH) based on image signals. When the temperature of the TPH is increased, it heats ribbons containing dyes and then diffuses the dyes onto specially coated paper or transparencies. Since the temperature of the TPH controls the amount of dye being transferred, a thermal dye transfer printer can express more color degrees and produce continuous-tone images that mimic actual photographs. Compared to other printing techniques, the thermal printer can produce continuous-tone and lifelike color images that best match the traditional paper photos. Due to its excellent printing quality and the natural, continuous color expression, the thermal printer is particularly suitable for photo printing applications.
Before printing digital images, image processing is usually necessary to achieve different printing effects. In the analog technology of a thermal printer, the heating time of the TPH is decided by the strength of the image signals and the amount of dye being transferred is controlled by the temperature of the TPH. To achieve the color density required by each color degree, usually several predetermined heating tables are provided to control the heating time of the TPH in accordance with each color degree, as illustrated in
tx=T(x), x=0-255
dx=D(tx)=D(T(x)), x=0-255;
where x represents the color degree;
dx represents the color density each color degree x corresponds to; and
tx represents the amount of heating time required to achieve the color degree x.
In the prior art image processing method, a predetermined heating table tx is first decided, and then a function dx is obtained, showing the relationship between the color density and the color degree. During the image processing procedures, the color degrees of different printing parameters are adjusted respectively to achieve the required color density according to each printing parameter.
The following formulae illustrate a prior art image processing method for a printing parameter brightness:
B(x)=x+Δx, when 0≦(x+Δx)≦255; formula 1:
B(x)=255, when (x+Δx)>255; formula 2:
B(x)=0, when (x+Δx)<0; formula 3:
where x is original color degree, x=0-255;
Δx is the amount of brightness adjustment; and
B(x) is the color degree of the parameter brightness after brightness adjustment.
In the prior art image processing method for brightness, the color degree of the brightness parameter is being adjusted and Δx represents the amount of brightness adjustment.
The following formulae illustrate a prior art image processing method for a printing parameter contrast:
C(x)=Int(x−128)*R+128, when 0≦(x−128)*R+128≦255; formula 4:
C(x)=255, when (x−128)*R+128>255; formula 5:
C(x)=0, when (x−128)*R+128<0; formula 6:
where x represents the original color degree, x=0-255;
R is a parameter for contrast adjustment; and
C(x) represents the color degree of the parameter contrast after contrast adjustment.
In the prior art image processing method for contrast, the color degree of the contrast parameter is being adjusted and R is a parameter for contrast adjustment.
In the prior art image processing method, the color degrees of each printing parameters are adjusted. This method inevitably results in indistinguishable color degrees, which are undesirable during imaging processing procedures.
It is therefore an objective of the claimed invention to provide an image processing method by adjusting heating time in order to solve the problems in the prior art.
The claimed invention discloses an image processing method by adjusting heating time, the method comprising providing a first heating table corresponding to a relationship between a first color density and a first heating time, a second heating table corresponding to a relationship between a color degree and a second heating time based on a printing parameter, and a function corresponding to a relationship between a second color density and the color degree based on the first heating table and the second heating table, wherein the second heating time has a one-to-one relationship with the color degree, and the color degree has a one-to-one relationship with the second color density.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
The following formulae illustrate an image processing method for the brightness parameter according to the present invention:
Tb(x)=T(x)+Tb(Δx), x=0-255; formula 7:
where x is the color degree;
T(x) is the original heating time, as illustrated in
Tb(x) is the heating time after brightness adjustment.
Based on
Db(x)=D(Tb(x)), x=0-255; formula 8:
where x is the color degree;
Tb(x) is the heating time after brightness adjustment, as illustrated in formula 1; and
Db(x) is the color density after brightness adjustment.
The following formulae illustrate an image processing method for the contrast parameter according to the present invention:
Tc(x)=T(x)+Tc(x,R), x=0-255; formula 9:
where x is the color degree;
R is a parameter for contrast adjustment;
T(x) represents the original heating time, as illustrated in
Tc(x) represents the heating time after contrast adjustment.
Based on
Dc(x)=D(Tc(x)); x=0-255 formula 10:
where x is the color degree;
Tc(x) represents the heating time after contrast adjustment, as illustrated in formula 9; and
Dc(x) represents the color density after contrasts adjustment.
In the prior art image processing method, the color degrees of each printing parameter are adjusted. This method inevitably results in indistinguishable color degrees after adjustment. In the present image processing method, the heating time of the color degree is being adjusted and a corresponding heating table is provided for adjusting printing parameters such as brightness, contrast, saturation or density. In the present invention, each color degree has a one-to-one relationship with the color density for each parameter adjustment, and thus avoids the undesirable situation of having indistinguishable color degrees, as was the case in the prior art method.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
93139443 A | Dec 2004 | TW | national |
Number | Date | Country | |
---|---|---|---|
20060132582 A1 | Jun 2006 | US |