A dynamic calibration method and device for a color printer
By performing inverse halftone transformation and color calibration on the received rasterized page at the printer end, the problem of GDI printers being unable to calibrate after generating raster images on a personal computer was solved, achieving high-quality color printing results.
Patent Information
- Application Number
- CN202211685164.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2042-12-27
AI Technical Summary
After generating a raster image on a personal computer, GDI printers cannot perform further data processing, resulting in deviations between the printed colors and images and the expected print quality. This is especially true in multi-page, multi-copy printing jobs, where defects such as missing colors and missing lines are prone to occur.
After receiving the rasterized page to be printed at the printer end, it determines whether color calibration is needed. It then calibrates each pixel through inverse halftone transformation and color calibration algorithms, generates a new calibrated page, and performs halftone raster image conversion, enabling the printer to complete color synchronization calibration page by page.
This technology enables the printer to perform timely color calibration on each page before printing, ensuring high-quality color printing results, avoiding deviations after a single calibration on the computer, and improving the overall quality of multi-page printing.
Smart Images

Figure CN116001460B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of printers, and more specifically to a dynamic calibration method and device for a color printer. Background Technology
[0002] Printers are classified into two main categories based on the data format of the print jobs they support: GDI (Graphics Device Interface) printers and PDL (Page Description Language) printers.
[0003] A PDL printer is a printer that uses a page description language (such as PCL, Postscript, etc.) to describe the pages to be printed. When a user prints, the print driver on the personal computer represents each page of the document to be printed using a common page description language (PDL) and sends it to the printer. The printer, based on its own print engine characteristics, uses a PDL interpreter to convert each page of the print job into a raster image supported by the printer itself for printing. Because PDL printers handle all color processing on-board by the printer controller according to its own device characteristics, and color calibration is also performed on the printer side, these printers can promptly calibrate using new calibration data based on calibration requests from the print engine, providing high-quality print results.
[0004] GDI printers are printers that directly receive raster images supported by the personal computer for printing. When using this type of printer, the personal computer's print driver calls the operating system's graphics device interface and, according to predefined color management methods, directly converts the page to be printed into the raster image required by the printer and sends it to the printer for printing. Print engine calibration is completed before the raster image is generated on the personal computer. After receiving this data, the printer cannot perform further data processing, which may cause deviations in printed colors and images from expectations, compromising high-quality printing. Because the raster image is generated only once when a print job is created on the personal computer, for multi-page, multi-copy print jobs, as the number of pages increases, the raster image does not adjust to the print engine's calibration requirements, resulting in defects such as color loss and line loss, affecting print quality. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention proposes a dynamic calibration method and a dynamic calibration device for a color printer.
[0006] According to a first aspect, embodiments of the present invention provide a dynamic calibration method for a color printer, comprising:
[0007] Receive the page to be printed;
[0008] Determine whether the page to be printed requires color calibration;
[0009] When color calibration is required, the page to be printed is calibrated according to a preset color calibration algorithm to obtain a color-calibrated page.
[0010] Print the page after color calibration.
[0011] In some implementations, the step of color-calibrating the page to be printed according to a preset color calibration algorithm to obtain a color-calibrated page includes:
[0012] The page to be printed is subjected to an inverse halftone transformation to obtain the first transformed page;
[0013] Perform color calibration on the first transformed page to obtain the second transformed page;
[0014] The second transformed page is subjected to halftone transformation to obtain the color-calibrated page.
[0015] In some implementations, the step of color calibration of the first transformation page to obtain the second transformation page includes:
[0016] Obtain the color correction table;
[0017] The first transformation page is calibrated according to the color correction table to obtain the second transformation page.
[0018] In some implementations, determining whether the page to be printed needs color calibration includes:
[0019] Determine whether the color calibration conditions are met. If the color calibration conditions are met, determine whether the page to be printed has already been color calibrated at the sending end.
[0020] If color calibration is not completed at the sending end, it is determined that the page to be printed needs color calibration.
[0021] If color calibration has been completed at the sending end, it is determined that the page to be printed does not require color calibration.
[0022] In some embodiments, the method further includes: sending a color correction table to a transmitting end so that the transmitting end can use the color correction table to perform color calibration.
[0023] In some implementations, once it is determined that the page to be printed does not require color calibration, subsequent pages will not require real-time color calibration until a command requiring color calibration is received.
[0024] According to a second aspect, embodiments of the present invention provide a dynamic calibration device for a color printer, comprising:
[0025] The page receiving module is used to receive the page to be printed;
[0026] The calibration check module is used to determine whether the page to be printed needs color calibration;
[0027] The calibration module is used to perform color calibration on the page to be printed according to a preset color calibration algorithm when color calibration is required, so as to obtain a color-calibrated page.
[0028] A printing module for printing the color-calibrated page.
[0029] In some embodiments, the calibration module includes:
[0030] The inverse halftone conversion module is used to perform an inverse halftone conversion on the page to be printed to obtain a first converted page.
[0031] A color calibration module is used to perform color calibration on the first transformation page to obtain a second transformation page;
[0032] The halftone conversion module is used to perform halftone conversion on the second conversion page to obtain the color-calibrated page.
[0033] According to a third aspect, embodiments of the present invention provide an electronic device, including a processor and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute the above-described dynamic calibration method by calling the program instructions.
[0034] According to a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause the computer to perform the above-described dynamic calibration method.
[0035] The dynamic calibration method for color printers described in this application, upon receiving a rasterized print page, determines before printing whether the page to be printed has initiated a calibration request. If calibration is required, the printer performs an inverse halftone transformation on the halftone page to be printed, then calibrates each pixel as needed, generating a new calibrated page and performing halftone raster image conversion. This allows the printer controller to complete timely color synchronization calibration page by page, achieving high-quality color printing. Attached Figure Description
[0036] Figure 1 A flowchart illustrating the dynamic calibration method for a color printer provided in an embodiment of the present invention;
[0037] Figure 2A flowchart illustrating one embodiment of the dynamic calibration method for a color printer provided in this invention;
[0038] Figure 3 This is a structural diagram of the dynamic calibration module for a color printer provided in an embodiment of the present invention;
[0039] Figure 4 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0040] The present invention will now be described in further detail with reference to the accompanying drawings.
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0042] In the description of this application, unless otherwise expressly specified and limited, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance; unless otherwise specified or explained, the term "multiple" refers to two or more; the terms "connected," "fixed," etc., should be interpreted broadly. For example, "connected" can be a fixed connection, a detachable connection, an integral connection, or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0043] In the description of this specification, it should be understood that the directional terms such as "upper" and "lower" used in the embodiments of this application are used to describe the angles shown in the accompanying drawings and should not be construed as limiting the embodiments of this application. Furthermore, in the context, it should also be understood that when it is mentioned that an element is connected "upper" or "lower" to another element, it can be directly connected to the other element "upper" or "lower," or indirectly connected to the other element "upper" or "lower" through an intermediate element.
[0044] Example 1
[0045] The dynamic calibration method for a color printer of the present invention is used in a color printer, which can be a GDI printer. During the printing process, the GDI printer parses the print content into raster bitmap image information in the computer and transmits it directly to the printer. The printer controller is mainly used to store the received raster bitmap image and control the printing engine to complete the printing. The printing engine consists of several major parts, including a laser scanner, a reflective prism, a photosensitive drum, a toner cartridge, a thermal transfer unit, and a paper feeding mechanism.
[0046] Figure 1 A flowchart illustrating the dynamic calibration method for a color printer in Example 1. It includes:
[0047] 101. Receive the page to be printed.
[0048] The computer (sender) parses the raster bitmap image information of the content to be printed and transmits it to the printer. The raster bitmap image information includes functions for drawing points, lines, rectangles, polygons, ellipses, bitmaps, and text. To facilitate printer output, the decompressed data undergoes halftone transformation to form a binarized image of the page to be printed, i.e., a rasterized image. In some implementations, the halftone transformation results in a CMYK image. The halftone transformation process utilizes a special binary conversion to generate an image with low-pass characteristics for the human visual system; this image still appears as a continuous image when viewed from a certain distance. The page receiving module in the printer receives the rasterized image and stores it in the printer's controller.
[0049] 102. Determine whether the page to be printed needs color calibration.
[0050] After receiving the rasterized page to be printed, the printer determines whether the page requires color calibration. The print engine decides whether to perform color calibration based on preset conditions. For example, the print engine may require color calibration after the printer has been operating for a period of time, such as every 2000 pages printed. Alternatively, the print engine may initiate color calibration when it detects that the printed color does not match the original color.
[0051] In some implementations, firstly, it is determined whether the color calibration conditions are met; if the color calibration conditions are met, it is determined whether the page to be printed has already been color calibrated at the sending end.
[0052] If color calibration is not completed at the sending end, it is determined that the page to be printed needs color calibration.
[0053] If color calibration has been completed at the sending end, it is determined that the page to be printed does not require color calibration.
[0054] Typically, a computer stores a color calibration table corresponding to the printer. For example, when the printer driver is installed for the first time, the printer sends this color calibration table to the computer. In this embodiment, the printer's printing engine updates the color calibration table in the printer according to actual working conditions and periodically updates the color calibration table in the computer. The color calibration table corresponds to the colors printed by the printer. For example, the printer's CMYK color calibration table has four colors, each with 256 color values.
[0055] Specifically, when the color calibration table in the computer is up-to-date, it is identical to the color calibration table in the printer. In this case, the computer (sender) has already performed color calibration on the document to be printed; therefore, the printer does not need to perform calibration again. Alternatively, the computer can perform calibration using the color calibration file before generating the print page, rasterizing the document in one step. In this scenario, it is determined that the print page does not require color calibration. After determining that the print page does not require color calibration, subsequent pages received by the printer will not require real-time color calibration until the print engine sends another color calibration signal.
[0056] When the color calibration table in the computer is different from the color calibration table in the printer, it can be determined that the page to be printed needs color calibration.
[0057] 103. When color calibration is required, the page to be printed is calibrated according to a preset color calibration algorithm to obtain a color-calibrated page.
[0058] Specifically, such as Figure 2 As shown, when it is determined that the page to be printed needs color calibration, the following steps are performed:
[0059] 103-1. Perform an inverse halftone transformation on the page to be printed to obtain the inverse halftone transformed page, and use the inverse halftone transformed page as the first transformed page. To enhance the high-precision recognition of halftone images, it is necessary to restore the halftone image to a continuous image. Therefore, in this embodiment, an inverse halftone transformation is performed on the halftone CMYK image to form a continuous color image. In some embodiments, the rasterized CMYK image is converted into a CMYK color image where each pixel is 32 bits. Specifically, the inverse halftone transformation can be performed using a halftone image restoration network model to process the halftone image to obtain an initial continuous tone image, and then the initial continuous tone image is processed according to a preset depth residual demapping model to obtain the inverse halftone transformed image. This embodiment does not limit the inverse halftone transformation method, and those skilled in the art can determine it as needed.
[0060] 103-2. Perform color calibration on the page after the inverse halftone transformation to obtain a calibrated page, and use the calibrated page as the second transformation page. Specifically, first obtain a color correction table; then perform color calibration on the page after the inverse halftone transformation (i.e., the first transformation page) according to the color correction table to obtain a calibrated page (i.e., the second transformation page). As mentioned above, the color correction table is generated by the printing engine and the printing controller. When the printing engine deems color calibration necessary, it can automatically generate a color correction table. Preferably, the color correction table can be a table of TRC color values, and each pixel of the 32-bit CMYK color image is calibrated using a TRC color value lookup table transformation.
[0061] 103-3. Perform halftone transformation on the calibrated page (i.e., the second transformed page) to obtain a color-calibrated page. After the halftone transformation, a halftone image that is easy for the printer to print is reconstructed, i.e., a rasterized image.
[0062] 104. Print the color-calibrated page. The printer prints the color-calibrated image to achieve high-quality color printing.
[0063] In some implementations, after the printer has printed all the received pages, it sends parameters for the color calibration process, such as the printer's color calibration table, to the personal computer and updates the color calibration table on the computer so that the image can be calibrated according to the latest color calibration table on the computer (sender).
[0064] This embodiment allows for real-time color calibration of each page to be printed within the printer. GDI printers can only perform color calibration once on the computer, and the calibration results are prone to inaccuracies. The dynamic calibration method of this embodiment, after the computer sends the document to be printed to the printer, determines before printing whether the print engine has initiated a calibration request. If calibration is required, the printer performs an inverse halftone transformation on the halftone pages to be printed, then calibrates each pixel as needed, generating a new calibrated page and performing halftone raster image conversion. For example, if the computer sends 100 pages of the document to the printer, the print engine monitors the printing content of each page. When it detects an abnormal color on a certain page (e.g., a color deviation on page 2), it initiates a color calibration request, creating a new color correction table to calibrate the remaining pages in the printer. After all pages are printed, the printer sends the color calibration process back to the computer, primarily sending the color correction table used in the calibration process to update the computer's color correction table, allowing the computer to calibrate colors according to the latest updated table.
[0065] This embodiment enables the printer controller to perform timely color synchronization calibration page by page, achieving high-quality color printing.
[0066] Example 2
[0067] Figure 3 This is a schematic diagram of the dynamic calibration device for the color printer in this embodiment. The dynamic calibration device for the color printer includes:
[0068] Page receiving module 1 is used to receive the page to be printed; see the corresponding part of the above method embodiment for details, which will not be repeated here.
[0069] The calibration check module 2 is used to determine whether the page to be printed needs color calibration. For details, please refer to the corresponding part of the above method embodiment, which will not be repeated here.
[0070] The calibration module 3 is used to perform color calibration on the page to be printed according to a preset color calibration algorithm when color calibration is required, so as to obtain a color-calibrated page; see the corresponding part of the above method embodiment for details, which will not be repeated here.
[0071] Printing module 4 is used to print the color-calibrated page. See the corresponding section of the above method embodiment for details, which will not be repeated here.
[0072] In some implementations, calibration module 3 includes:
[0073] The inverse halftone transformation module 301 is used to perform inverse halftone transformation on the page to be printed to obtain the first transformed page; see the corresponding part of the above method embodiment for details, which will not be repeated here.
[0074] The color calibration module 302 is used to perform color calibration on the first transformation page to obtain the second transformation page; see the corresponding part of the above method embodiment for details, which will not be repeated here.
[0075] The halftone conversion module 303 is used to perform halftone conversion on the second conversion page to obtain a color-calibrated page. See the corresponding section of the above method embodiment for details, which will not be repeated here.
[0076] In some embodiments, the calibration module 3 includes:
[0077] The color correction table acquisition module 304 is used to acquire a color correction table. The color calibration module 302 performs color calibration on the page after inverse halftone transformation according to the color correction table to obtain the calibrated page. See the corresponding section of the above method embodiment for details, which will not be repeated here.
[0078] In some embodiments, the calibration check module 2 is further used to,
[0079] The system determines whether the color calibration conditions are met. If the color calibration conditions are met, it determines whether the page to be printed has already undergone color calibration at the sending end. If color calibration has not been completed at the sending end, it determines that the page to be printed needs color calibration. If color calibration has been completed at the sending end, it determines that the page to be printed does not need color calibration. For details, please refer to the corresponding sections of the above method embodiments, which will not be repeated here.
[0080] In some implementations, the color calibration table update module is further configured to send a color calibration table to the sending end, so that the sending end can use the color calibration table for color calibration. See the corresponding sections of the above method embodiments for details, which will not be repeated here.
[0081] In some implementations, the calibration check module 2 is further configured to, after determining that the page to be printed does not require color calibration, receive subsequent pages without requiring real-time color calibration until a command requiring color calibration is received. See the corresponding sections of the above method embodiments for details, which will not be repeated here.
[0082] In some embodiments, the printing module 4 includes a printing engine, which includes a laser control unit, a printing control module 401, and an imaging engine unit 402.
[0083] The rasterized page to be printed is first transmitted to the laser control unit and print control module 401. The laser control unit and print control module 401 then send data and commands to the forming engine unit 402, which in turn generates a visual file with traceability information. The traceability information refers to the process information of the printer's color calibration of the page to be printed.
[0084] Example 3
[0085] Figure 4 A schematic diagram of an electronic device provided in an embodiment of this application, such as... Figure 4 As shown, the electronic device may include at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute the dynamic calibration method for a color printer provided in the embodiments of this application by calling the program instructions.
[0086] Figure 4 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present application is shown. Figure 4 The electronic device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0087] like Figure 4As shown, the electronic device is represented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: one or more processors 410, memory 430, communication interface 420, and communication bus 440 connecting different system components (including memory 430 and processor 410).
[0088] Communication bus 440 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MAC) buses, Enhanced ISA buses, Video Electronics Standards Association (VESA) local buses, and Peripheral Component Interconnect (PCI) buses.
[0089] Electronic devices typically include a variety of computer-readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, and removable and non-removable media.
[0090] Memory 430 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Although Figure 4 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a compact disc read-only memory (CD-ROM), a digital video disc read-only memory (DVD-ROM), or other optical media). In these cases, each drive can be connected to the communication bus 440 via one or more data media interfaces. The memory 430 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.
[0091] A program / utility having a set (at least one) of program modules can be stored in memory 430. Such program modules include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules typically perform the functions and / or methods described in the embodiments of this application.
[0092] The electronic device can also communicate with one or more external devices (such as a keyboard, pointing device, display, etc.), and with one or more devices that enable a user to interact with the electronic device, and / or with any device that enables the electronic device to communicate with one or more other computing devices (such as a network card, modem, etc.). This communication can be performed through communication interface 420. Furthermore, the electronic device can also communicate through a network adapter ( Figure 4 (Not shown) communicates with one or more networks (e.g., Local Area Network (LAN), Wide Area Network (WAN), and / or public networks, such as the Internet). The aforementioned network adapter can communicate with other modules of the electronic device via communication bus 440. It should be understood that, although... Figure 4 Not shown, other hardware and / or software modules can be used in conjunction with electronic devices, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Drives (RAID) systems, tape drives, and data backup storage systems.
[0093] The processor 410 executes various functional applications and data processing by running programs stored in the memory 430, such as implementing the dynamic calibration method for a color printer provided in the embodiments of this application.
[0094] This application also provides a computer-readable storage medium storing computer instructions that cause the computer to execute the dynamic calibration method for a color printer provided in this application.
[0095] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in connection with an instruction execution system, apparatus, or device.
[0096] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0097] The program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0098] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0099] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0100] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0101] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0102] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0103] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as multiple units or...
[0104] Components may be combined or integrated into another system, or some features may be ignored or not performed. Furthermore, the coupling or direct coupling or communication connection between the components shown or discussed in section 5 may be an indirect coupling or communication connection through some interface, device, or unit, and may be electrical, mechanical, or other forms.
[0105] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0106] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A dynamic calibration method for a color printer, characterized in that, include: Receive the rasterized page to be printed; The color printer determines whether the page to be printed needs color calibration; When color calibration is required, the page to be printed is calibrated according to a preset color calibration algorithm to obtain a color-calibrated page; wherein, the step of calibrating the page to be printed according to the preset color calibration algorithm to obtain a color-calibrated page includes: The page to be printed is subjected to an inverse halftone transformation to obtain the first transformed page; Perform color calibration on the first transformed page to obtain the second transformed page; Perform a halftone transformation on the second transformed page to obtain the color-calibrated page; Print the page after color calibration.
2. The dynamic calibration method according to claim 1, characterized in that, The step of color calibration of the first transformation page to obtain the second transformation page includes: Obtain the color correction table; The first transformation page is calibrated according to the color correction table to obtain the second transformation page.
3. The dynamic calibration method according to claim 1, characterized in that, The step of determining whether the page to be printed needs color calibration includes: Determine whether the color calibration conditions are met. If the color calibration conditions are met, determine whether the page to be printed has already been color calibrated at the sending end. If color calibration is not completed at the sending end, it is determined that the page to be printed needs color calibration. If color calibration has been completed at the sending end, it is determined that the page to be printed does not require color calibration.
4. The dynamic calibration method according to claim 3, characterized in that, Also includes: A color correction table is sent to the sending end so that the sending end can use the color correction table to perform color calibration.
5. The dynamic calibration method according to claim 4, characterized in that, Once it is determined that the page to be printed does not require color calibration, subsequent pages will not require real-time color calibration until a command requiring color calibration is received.
6. A dynamic calibration device for a color printer, characterized in that, include: The page receiving module is used to receive the page to be printed; The calibration check module is used to determine whether the page to be printed needs color calibration; A calibration module is used to perform color calibration on the page to be printed according to a preset color calibration algorithm when color calibration is required, thereby obtaining a color-calibrated page; wherein, the step of performing color calibration on the page to be printed according to the preset color calibration algorithm to obtain a color-calibrated page includes: The page to be printed is subjected to an inverse halftone transformation to obtain the first transformed page; Perform color calibration on the first transformed page to obtain the second transformed page; Perform a halftone transformation on the second transformed page to obtain the color-calibrated page; A printing module for printing the color-calibrated page.
7. The dynamic calibration device for a color printer according to claim 6, characterized in that, The calibration module includes: The inverse halftone conversion module is used to perform an inverse halftone conversion on the page to be printed to obtain a first converted page. A color calibration module is used to perform color calibration on the first transformation page to obtain a second transformation page; The halftone conversion module is used to perform halftone conversion on the second conversion page to obtain the color-calibrated page.
8. An electronic device, characterized in that, The device includes a processor and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the dynamic calibration method according to any one of claims 1-5.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause the computer to perform the dynamic calibration method as described in any one of claims 1-5.
Citation Information
Patent Citations
Color printer calibration for multiple mediums
CN102019775A
Printer calibration with selected colors
CN109076141A
Printing control method, device and system
CN111142809A