A method to improve grayscale resolution in thermal sublimation printing
By segmenting grayscale values and recording the heating times for the integer and decimal parts in thermal sublimation printing technology, and interleaving the newly added bit printing pulses into the original sequence, the problem of low efficiency in improving grayscale resolution in existing technologies is solved, achieving higher printing accuracy and resolution.
Patent Information
- Application Number
- CN202411125909.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-08-16
AI Technical Summary
Existing thermal sublimation printing technology suffers from low printing efficiency and heating control errors when improving grayscale resolution, especially when increasing the number of printing pulses, it cannot effectively improve grayscale resolution.
By dividing the grayscale value into equal parts and recording the heating time of the integer and fractional parts in binary format, new bit printing pulses are interspersed in the original printing pulse sequence to achieve the printing effect of the fractional part, thereby improving grayscale resolution.
Without significantly affecting printing efficiency, it significantly improves grayscale resolution, achieving higher printing accuracy and resolution, and reduces the impact of increased printing pulse count on efficiency.
Smart Images

Figure CN118893915B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to printing technology, and in particular to a method for improving the grayscale resolution of thermal sublimation printing. Background Technology
[0002] like Figure 1 As shown, Figure 1 This is a graph showing the relationship between recording density and heating time. The recording density can be represented by grayscale values (gradation) at the image input end. This graph shows that the heating time of the print head and the grayscale values are not in a linear relationship.
[0003] If the grayscale is divided into 10 equal parts, i.e., the grayscale values m after equal division are 1, 2, ..., 10, the heating time required for the grayscale value m-1 to reach the grayscale value m is t. m The heating time required to achieve each grayscale value m is... for: ………………Formula 1; like Figure 2 As shown, Figure 2 This is a schematic diagram of the control signals for thermal sublimation printing. The area within the dotted-line box represents the cell printing signals for thermal transfer, including print data. This data is transmitted to a shift register via a clock signal. After the data is locked using a latch, a cell printing pulse of a specific width is emitted, completing one cell print within the cell printing time. To achieve different grayscale printing effects, each dot line needs to be printed several times.
[0004] comprehensive Figure 1 and Figure 2 Suppose we want to achieve a grayscale level of M with a total of N strobe print units. According to Formula 1, the width of each strobe print unit... : ………………Formula 2; Should This refers to the unit heating time; the grayscale value m can be converted into... Data in units : ………………Formula 3; because If the width of the unit printing pulse cannot be further divided, then... If the value is not an integer, it needs to be rounded to the nearest integer.
[0005] Several drawbacks can be observed above: First, the result of Formula 3 is not always an integer; the rounding operation introduces errors in the control of printing heating. To improve accuracy and resolution, the number of printing pulses per dot line must be increased, but an excessive number of printing pulses can significantly reduce printing speed. For example, to improve printing pulse resolution from... Upgraded to This would require twice the number of printing pulses. Theoretically, to improve printing efficiency, the width of each unit pulse could be halved, but closer inspection... Figure 2 In the basic printing mechanism, when the width of a unit pulse is less than the width of the clock signal (Clock) for transmitting data, the bottleneck to printing efficiency is the duration of the clock signal, not the number of printing pulses. In other words, even if the width of a unit pulse is very small, the next printing pulse (Strobe) must be sent only after the next grayscale data transmission (clock) is complete. Therefore, how to maximize the printing grayscale resolution with a small increase in the number of printing pulses becomes an important issue. Summary of the Invention
[0006] In view of this, the present invention addresses the deficiencies of the prior art, and its main objective is to provide a method for improving the grayscale resolution of thermal sublimation printing, which can improve the resolution of printing heating without significantly affecting printing efficiency.
[0007] To achieve the above objectives, the present invention adopts the following technical solution: A method for improving grayscale resolution in thermal sublimation printing, where the required heating time to achieve M-level grayscale is known, is discussed in the context of using N unit printing pulses to achieve the desired grayscale level. To improve the resolution of printed grayscale by adding X bits, the following steps are involved: Step 1: The M-level grayscale is divided into M equal parts, and the grayscale values m after equal division are 1, 2, ..., M. The heating time required for grayscale value m-1 to reach grayscale value m is t. m The heating time required to achieve each grayscale value m is... for: ………………Formula 1; According to Formula 1, the width of the printing pulse in each unit is... Unit heating time: ………………Formula 2; Step 2: Sample a pixel from the row to be printed, and convert the grayscale value m of that pixel into a value expressed in terms of unit heating time. Data in units : ………………Formula 3; Should Unit heating time Multiples of , whose values include both integer and decimal parts, are represented as: …………………………Formula 4 in, yes The integer part, yes The decimal part; Convert the grayscale value m of the pixel into a data format suitable for print control. That is, using binary representation ,and The binary recording is divided into two parts, A and B. Part A is used to record the heating time of the pixel. That is, unit heating time Multiples thereof, area B is a newly added X-bit table used to record : ...Formula 5 The Integer() function is used to extract integers. This refers to the heating time of a total of N units. Next, a single row needs to be heated. Each unit prints a pulse; Step 3: Following the same heating mechanism as the integer part, the fractional part is printed using X additional printing pulses. Specifically, the fractional part uses X additional bits to record the X additional printing pulses and whether heating is applied. These X additional printing pulses are then interspersed at arbitrary positions within the original printing pulse sequence, thereby increasing the printing grayscale resolution from... Upgraded to : …………Formula 6 in, It equals 0 or 1; Calculate the heating time for the additional X printing pulses. : …………Formula 7 in, .
[0008] The newly added X printing pulses are placed in ascending order, either before, after, or interspersed in any position within the original printing pulse sequence.
[0009] A thermal sublimation printing apparatus, comprising: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods described above for improving the grayscale resolution of thermal sublimation printing.
[0010] A computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods described above for improving grayscale resolution in thermal sublimation printing.
[0011] Compared with the prior art, the present invention has obvious advantages and beneficial effects. Specifically, as can be seen from the above technical solution: By employing the method of this invention, the grayscale value of the pixel to be printed is converted into the unit heating time. The data, including an integer part and a fractional part, uses X additional bits to record the X new printing pulses for the fractional part. While maintaining the same heating mechanism as the integer part, these X additional printing pulses achieve the same printing effect as the fractional part. In other words, the fractional part uses X additional bits to record the X new printing pulses and whether heating is applied. These X new printing pulses are then arranged and interleaved at any position in the original printing pulse sequence, thereby increasing the printing grayscale resolution from... Upgraded to This improves the resolution of the printing heating without significantly affecting printing efficiency. For example, to add a decimal place of one bit, add a 1 / 2... A pulse of this width can achieve an accuracy of 0.5; to add two more decimal places, add a 1 / 2 pulse. and 1 / 4 The pulses, after being arranged and combined, can have their fractional part representing three different gray levels: 1 / 4, 1 / 2, and 3 / 4. Similarly, adding 3 more bits can improve the precision to 1 / 8.
[0012] In addition, this invention does not emphasize that heating must be continuous in the integer part, but rather emphasizes that the grayscale value is converted into how many units of heating time are needed in the heating mechanism and X additional printing pulses in the preprocessing, thereby improving the resolution of printing heating without significantly affecting printing efficiency. Attached Figure Description
[0013] Figure 1 This is a graph showing the relationship between printing density and heating time in existing technologies. Figure 2 This is a schematic diagram of the control signals for thermal sublimation printing in existing technology; Figure 3 This is a schematic diagram of the control signals added to improve the printing heating resolution in this invention; Figure 4 This is a schematic diagram of the control signals added to improve the printing heating resolution in a preferred embodiment of the present invention. Detailed Implementation
[0014] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0015] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0016] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or solution described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0017] Example 1 Embodiment 1 of the present invention relates to a method for improving the grayscale resolution of thermal sublimation printing. When using N unit printing pulses to achieve a printing effect of M-level grayscale, the heating time required to achieve the M-level grayscale is known. To improve the resolution of printed grayscale, X new bits are added, specifically including the following steps: Step 1: The M-level grayscale is divided into M equal parts, and the grayscale values m after equal division are 1, 2, ..., M. The heating time required for grayscale value m-1 to reach grayscale value m is t. m The heating time required to achieve each grayscale value m is... for: ………………Formula 1; According to Formula 1, the width of the printing pulse in each unit is... Unit heating time: ………………Formula 2; Step 2: Sample a pixel from the row to be printed, and convert the grayscale value m of that pixel into a value expressed in terms of unit heating time. Data in units : ; Should Unit heating time Multiples of , whose values include both integer and decimal parts, are represented as: …………………………Formula 4 in, yes The integer part, yes The decimal part; Convert the grayscale value m of the pixel into a data format suitable for print control. That is, using binary representation ,and The binary recording is divided into two parts, A and B. Part A is used to record the heating time of the pixel. That is, unit heating time For multiples of [a certain value], area B contains X new bits for recording [the value]. : ...Formula 5 The Integer() function is used to extract integers. This refers to the heating time of a total of N units. Next, a single row needs to be heated. Each unit prints a pulse; The binary recording is divided into two parts, A and B. Part A is used to record the heating time of the pixel. That is, unit heating time Multiples of, the X-bit table in area B is used to record ; Step 3: Following the same heating mechanism as the integer part, the fractional part is printed using X additional printing pulses. Specifically, the fractional part uses X additional bits to record the X additional printing pulses and whether heating is applied. These X additional printing pulses are then interspersed at arbitrary positions within the original printing pulse sequence, thereby increasing the printing grayscale resolution from... Upgraded to : …………Formula 6 in, It equals 0 or 1; Calculate the heating time for the additional X printing pulses. : …………Formula 7 in, .
[0018] Assuming X=3, according to Formula 7, the widths of the three additional printing pulses are respectively The newly added X printing pulses will be arranged and combined as follows, and the following combinations can achieve the effect of heating 1 / 8 to 7 / 8 of a unit pulse respectively: 1 / 8 – S 00 2 / 8 – S 01 3 / 8 – S 00 + S 01 4 / 8 – S 02 5 / 8 – S 00 + S 02 6 / 8 – S 01 + S 02 7 / 8 – S 00 + S 01 + S 02 In traditional printing technology, the printing signal consists of N consecutive printing pulses with a width of S0 (different gray levels will have a different number of pulses set to "on"). The newly added X pulses with a width less than S0 (the decimal part in Formula 4) are not limited to being before, after, or even between the aforementioned N pulses. For example, assuming the pulse with a width of S0 is represented by S, and the newly added decimal part pulses are represented by s, the pulse sequence for a dotted line might be as follows: (1) sssSSSS…SSS; (2) SSSS…SSsss; (3) SSSsssSSSS…SS.
[0019] like Figure 3 As shown, the newly added X printing pulses can be in ascending order or at any position in the original printing pulse sequence. That is, the newly added X printing pulses can be placed before, after, or interspersed in the middle of the original printing pulse sequence, without any limitation.
[0020] The invention will be further understood through the following examples: To achieve a grayscale effect of M=10 levels using N=16 unit printing pulses, the required heating time to reach the desired grayscale level is known. = 2ms, increasing the resolution of printed grayscale by adding X=2 bits. Sampling one pixel in a line of print, assuming the heating time T4 required for grayscale value 4 is 660µs, convert this to unit heating time. Data in units T4 ’ =T4 / S0= 666 / 125=5.28, and its heating control is as follows: ; ; T4 ” The binary recording is divided into two parts, A and B, as shown in the table below. Part A is used to record the heating time of the pixel. =5, which is the unit heating time Five times that of F4, the two-bit table in area B is used to record F4. ’ ;
[0021] Calculate the heating time for the two additional printing pulses. : …………Formula 7 in,
[0022] When X=2, the decimal point is placed between bit1 and bit2, so bit1 represents 0.5 and bit0 represents 0.25. In this embodiment, the width is set to... The printing pulse needs to heat up, meaning the printing pulse signal is on; and the width is... The printing pulse does not heat up, meaning the printing pulse signal is off.
[0023] This embodiment demonstrates that the present invention can increase the printing heating resolution from the original level by simply adding two printing pulses. Upgraded to To achieve this level of precision with current technology, four times the number of printing pulses would be required.
[0024] Example 2 Embodiment 2 of the present invention provides a thermal sublimation printing apparatus, which may include a memory and a processor. The memory stores a computer program and transmits the program code to the processor. In other words, the processor can call and run the computer program from the memory to implement the method in Embodiment 1 of this application. For example, the processor can be used to execute the method described in Embodiment 1 according to the instructions in the computer program.
[0025] In some embodiments of this application, the processor may include, but is not limited to: General-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0026] In some embodiments of this application, the memory includes, but is not limited to, volatile memory and / or non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
[0027] In some embodiments of this application, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the method of Embodiment 1 provided in this application. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program on the device.
[0028] Example 3 Embodiment 3 of the present invention also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the method described in Embodiment 1 above.
[0029] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for improving grayscale resolution in thermal sublimation printing, where, given N unit printing pulses to achieve an M-level grayscale printing effect, the heating time required to achieve the M-level grayscale is known. Its characteristics are, Improving print grayscale resolution by adding X bits involves the following steps: Step 1: The M-level grayscale is divided into M equal parts, and the grayscale values m after equal division are 1, 2, ..., M. The heating time required for grayscale value m-1 to reach grayscale value m is t. m The heating time required to achieve each grayscale value m is... for: = …………………Equation 1; According to Formula 1, the width of the printing pulse in each unit is... Unit heating time: …………………Official 2; Step 2: Sample a pixel from the row to be printed, and convert the grayscale value m of that pixel into a value expressed in terms of unit heating time. Data in units : ………………Formula 3; Should Unit heating time Multiples of , whose values include both integer and decimal parts, are represented as: P…………………………Official 4 in, yes The integer part, yes The decimal part; Heating time of the pixel Convert to a data format suitable for print control That is, using binary representation ,and The binary recording is divided into two parts, A and B. Part A is used to record the heating time of the pixel. That is, unit heating time Multiples thereof, area B is a newly added X-bit table used to record : ...Official 5 The Integer() function is used to extract integers. This refers to the heating time of a total of N units. Next, a single row needs to be heated. Each unit prints a pulse; Step 3: Following the same heating mechanism as the integer part, the fractional part is printed using X additional printing pulses. Specifically, the fractional part uses X additional bits to record the X additional printing pulses and whether heating is applied. These X additional printing pulses are then interspersed at arbitrary positions within the original printing pulse sequence, thereby increasing the printing grayscale resolution from... Upgraded to : ……………Official 6 in, It equals 0 or 1; Calculate the heating time for the additional X printing pulses. : ……………Official 7 in, .
2. The method for improving grayscale resolution in thermal sublimation printing according to claim 1, characterized in that: The newly added X printing pulses are placed in ascending order, either before, after, or interspersed in any position within the original printing pulse sequence.
3. A thermal sublimation printing device, characterized in that, include: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods for improving grayscale resolution in thermal sublimation printing as described in claims 1 to 2.
4. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements any one of the methods for improving the grayscale resolution of thermal sublimation printing as described in claims 1 to 2.
Citation Information
Patent Citations
Print image output method and device and electronic equipment
CN113821182A
Print head driving method and image formation apparatus using the same
US20070035609A1
