Method, device and equipment for previewing image to be printed based on multi-channel colors

By converting the dot matrix image dot data of the image to be printed into density data and generating RGB and CMYK values ​​of the spot color channel, the image color is adjusted to achieve color consistency between the display device and the printing device, solving the problem of color inconsistency in digital inkjet printing.

CN120676101APending Publication Date: 2025-09-19SHENZHEN HOSONSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410311544.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In digital inkjet printing, due to the differences in color spaces between different devices, the colors of the printed image and the preview image are inconsistent. Especially when using spot color channels, the display device cannot accurately reproduce the color the user wants.

Method used

By converting the dot matrix image dot data of the image to be printed into density data, and generating the RGB value of the spot color channel based on the original RGB value of the pixel and the density data, further converting it into CMYK value, and finally generating preview CMYK value based on the spot color CMYK value and the original CMYK value, the image is adjusted to achieve color consistency.

Benefits of technology

This ensures that the color effect of the preview image on the display device is consistent with the color effect of the image output by the printing device, solving the problem of inconsistent colors between the printed image and the preview image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676101A_ABST
    Figure CN120676101A_ABST
Patent Text Reader

Abstract

The invention discloses a to-be-printed image preview method, device and equipment based on multi-channel colors, and relates to the technical field of ink-jet printing. The method comprises the steps of converting dot data of a dot matrix image of an image to be printed into concentration data, and then generating an RGB value of a spot color channel according to original RGB values of pixel points of the image to be printed and the corresponding concentration data; the method comprises the following steps of: obtaining a spot color CMYK value of a spot color channel, generating a CMYK value of the spot color channel according to the RGB value of the spot color channel, finally obtaining a preview CMYK value according to the spot color CMYK value of a pixel point and an original CMYK value, generating a most preview RGB value according to the preview CMYK value, and realizing multi-color fusion image preview according to the preview RGB value. The color effect when the display device previews the image is ensured to be consistent with the color effect of the image output by the printing device, namely, the preview color and the printing color are kept consistent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of inkjet printing technology, and in particular to a method, device and equipment for previewing an image to be printed based on multi-channel colors. Background Art

[0002] In digital inkjet applications, due to differences in color spaces between various devices (such as scanners, digital cameras, monitors, digital inkjet printers, digital inkjet presses, and digital inkjet textile printers), color management is required for these devices, such as through the creation of color management profiles, to control the overall color output of the devices. Therefore, color management plays a crucial role in production. Its purpose is to adjust and manage color at every stage of actual production applications through software and hardware, thereby achieving color consistency throughout the entire production process. Color management first requires calibration and characterization of input, display, and output devices, followed by color space conversion. To address this need for color space conversion, the International Color Consortium (ICC) was founded in 1993 by Apple Computer and seven other companies. They established color management standards and a standard format for core files. The core of this development is the ICC profile and the Color Management Module (CMM). These two components ensure consistent color transmission across different applications and input, display, and output devices.

[0003] Display devices such as monitors and scanners in computer systems generally generate and represent colors using the RGB primary colors. Devices such as digital inkjet printers, on the other hand, use CMYK to produce and represent colors. Generally, color conversion between RGB and CMYK is performed using the LAB color space. Color conversion involves converting the colors of an image or other object from the color space of one device to the color space of another. The goal of color conversion is to achieve visually consistent colors. In practical applications, before printing, images are often previewed on a display device such as a monitor. Printed images typically consist of four layers: C, M, Y, and K. Outputting a CMYK four-channel image on a display device that produces colors using the RGB primary colors requires converting the CMYK values ​​to RGB. However, when the image to be printed includes spot colors and requires the use of the spot color channels during printing, synthesizing the image using only the CMYK channels does not accurately reproduce the desired colors. When previewing a print image containing spot colors on a display device, the displayed colors differ from the actual printed image, failing to meet color consistency requirements across devices. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a method, apparatus, and device for previewing an image to be printed based on multi-channel colors, so as to solve the problem of inconsistent colors between the printed image and the preview image in the prior art.

[0005] In a first aspect, an embodiment of the present invention provides a method for previewing a to-be-printed image based on multi-channel color, wherein the to-be-printed image is synthesized by layers corresponding to a C channel, an M channel, a Y channel, a K channel, and at least one spot color channel, the method comprising:

[0006] Acquire a dot matrix image corresponding to the image to be printed, wherein the dot matrix image is composed of dot data, and the dot data is 2-bit data, which is data represented by a 2-bit binary number;

[0007] Converting the dot data into density data; wherein the density data is 8-bit data, and the 8-bit data is data represented by an 8-bit binary number; one pixel in the image to be printed corresponds to one density data;

[0008] The original RGB value of the pixel in the to-be-printed image is converted into the RGB value of the spot color channel according to the corresponding density data, and recorded as the spot color RGB value;

[0009] Obtaining a preview RGB value based on the original CMYK value of the pixel and the spot color RGB value;

[0010] The image to be printed is adjusted according to the preview RGB value to obtain a preview image.

[0011] Preferably, converting the point data into concentration data comprises:

[0012] Dividing the dot matrix image into a plurality of standard blocks, wherein each standard block can be set with N dots at most, and one dot corresponds to one bit of data;

[0013] Obtaining the actual number M of network points in the standard block;

[0014] Acquiring concentration data of the standard block according to the actual number M and number N of network dots;

[0015] Each of the standard blocks corresponds to a pixel.

[0016] Preferably, N=16.

[0017] Preferably, converting the original RGB values ​​of the pixels in the to-be-printed image into RGB values ​​of the spot color channel according to the corresponding density data, and recording the spot color RGB values ​​as the spot color RGB values, comprises:

[0018] Get the original RGB value of the pixel;

[0019] Acquire a concentration value according to the concentration data corresponding to the pixel point;

[0020] Multiplying the concentration value with the R channel value, the G channel value, and the B channel value in the original RGB value to obtain new R channel value, G channel value, and B channel value;

[0021] The spot color RGB value is obtained according to the new R channel value, G channel value, and B channel value.

[0022] Preferably, obtaining the preview RGB value according to the original CMYK value of the pixel and the spot color RGB value includes:

[0023] Convert the spot color RGB value to the CMYK value corresponding to the spot color channel, and record it as the spot color CMYK value;

[0024] Obtain the CMYK value corresponding to the pixel point and record it as the original CMYK value;

[0025] Obtain a preview CMYK value according to the spot color CMYK value and the original CMYK value;

[0026] Convert the preview CMYK values ​​to preview RGB values.

[0027] Preferably, obtaining the preview CMYK value according to the spot color CMYK value and the original CMYK value includes:

[0028] Get the C channel value, M channel value, Y channel value and K channel value of the spot color CMYK value;

[0029] Obtain the C channel value, M channel value, Y channel value, and K channel value in the original CMYK value;

[0030] The C channel value, M channel value, Y channel value, and K channel value in the spot color CMYK value are respectively added to the C channel value, M channel value, Y channel value, and K channel value in the original CMYK value to obtain the C channel value, M channel value, Y channel value, and K channel value in the preview CMYK value.

[0031] Preferably, adjusting the image to be printed according to the preview RGB value to obtain a preview image includes:

[0032] Adjusting the original RGB value of each pixel in the image to be printed to its corresponding preview RGB value to obtain an adjusted image to be printed;

[0033] The adjusted image to be printed is input into a display device, and the image output by the display device is the preview image; wherein the color effect of the preview image output by the display device is consistent with the color effect of the printed image obtained after the image to be printed is printed by a printing device.

[0034] In a second aspect, an embodiment of the present invention provides a device for previewing an image to be printed based on multi-channel colors, the device comprising:

[0035] A dot matrix image acquisition module is used to acquire a dot matrix image corresponding to the image to be printed, wherein the dot matrix image is composed of dot data, and the dot data is 2-bit data, which is data represented by a 2-bit binary number;

[0036] A data conversion module is configured to convert the dot data into density data; wherein the density data is 8-bit data, which is data represented by an 8-bit binary number; and one pixel in the image to be printed corresponds to one density data;

[0037] The spot color value acquisition module is used to convert the original RGB value of the pixel point in the image to be printed into the RGB value of the spot color channel according to the corresponding density data, which is recorded as the spot color RGB value;

[0038] A preview color value acquisition module is used to obtain a preview RGB value based on the original CMYK value of the pixel point and the spot color RGB value;

[0039] The image preview module is used to adjust the image to be printed according to the preview RGB value to obtain a preview image.

[0040] In a third aspect, an embodiment of the present invention provides a device for previewing images to be printed based on multi-channel colors, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the method of the first aspect of the above embodiment is implemented.

[0041] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect of the above-mentioned embodiment when the computer program instructions are executed by a processor.

[0042] In summary, the beneficial effects of the present invention are as follows:

[0043] The embodiments of the present invention provide a method, apparatus, and device for previewing an image to be printed based on multi-channel colors. The method converts dot data of a dot matrix image of an image to be printed into concentration data, and then generates the RGB value of a spot color channel based on the original RGB value of the pixel of the image to be printed and the corresponding concentration data; then generates the CMYK value of the spot color channel (spot color RGB value) based on the RGB value of the spot color channel; finally, obtains a preview CMYK value based on the spot color CMYK value of the pixel and the original CMYK value; then generates the final preview RGB value based on the preview CMYK value; and implements a multi-color fused image preview based on the preview RGB value, thereby ensuring that the color effect when previewing the image using a display device is consistent with the color effect of the image output using a printing device, that is, the preview color and the printed color are consistent. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work, and these are all within the scope of protection of the present invention.

[0045] Figure 1 The figure is a flow chart of a method for previewing an image to be printed based on multi-channel colors according to an embodiment of the present invention.

[0046] Figure 2 Schematic diagram of a dot matrix image and a standard block according to an embodiment of the present invention.

[0047] Figure 3 It is a structural diagram of a device for previewing an image to be printed based on multi-channel colors according to an embodiment of the present invention.

[0048] Figure 4 It is a structural schematic diagram of a device for previewing an image to be printed based on multi-channel colors according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present invention by illustrating examples of the present invention.

[0050] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.

[0051] Example 1

[0052] An embodiment of the present invention provides a method for previewing an image to be printed based on multi-channel color. The method is applicable to application scenarios in which a display device with a display screen, such as a projector, monitor, mobile phone, tablet computer, and laptop computer, is used to preview an image to be printed. The color effect of the preview image displayed on the above-mentioned display device obtained by the method of the present invention is consistent with the color effect of the printed image obtained by printing the image to be printed by a printing device. The image to be printed here is synthesized by layers corresponding to the C channel, M channel, Y channel, K channel, and at least one spot color channel. Accordingly, in addition to the CMYK four-color channels, the printing device that prints the image to be printed will also be provided with several spot color channels for printing the spot color inks corresponding to these spot color channels. The spot color inks are inks of other colors different from cyan (C) ink, magenta (M) ink, yellow (Y) ink, and black (K) ink, such as purple ink, silver-red ink, etc.

[0053] See Figure 1 , the method comprises the following steps:

[0054] S1: Acquire a dot matrix image corresponding to the image to be printed, wherein the dot matrix image is composed of dot data, and the dot data is 2-bit data, which is data represented by a 2-bit binary number;

[0055] S2: converting the dot data into density data; wherein the density data is 8-bit data, which is data represented by an 8-bit binary number; one pixel in the image to be printed corresponds to one density data;

[0056] S3: Converting the original RGB values ​​of the pixels in the image to be printed into RGB values ​​of the spot color channel according to the corresponding density data, and recording them as the spot color RGB values;

[0057] S4: Obtaining a preview RGB value according to the original CMYK value of the pixel and the spot color RGB value;

[0058] S5: Adjusting the image to be printed according to the preview RGB value to obtain a preview image.

[0059] Specifically, before printing an image, halftoning technology is often used to perform halftoning (or screening) on ​​the image to generate a dot matrix image that can be recognized by an inkjet printer. Currently, the most commonly used halftoning process is 2-bit halftoning. The data of the dot matrix image after 2-bit halftoning includes: large ink dot data (indicating that the ejected ink dot is a large ink dot), medium ink dot data (indicating that the ejected ink dot is a medium ink dot), small ink dot data (indicating that the ejected ink dot is a small ink dot), and no ink data (blank ink dot). This ink dot data, also known as dot data, is represented by a 2-bit binary number, where data "00" indicates no ink, data "01" indicates that the ejected ink dot is a small ink dot, data "10" indicates that the ejected ink dot is a medium ink dot, and data "11" indicates that the ejected ink dot is a large ink dot. Generally, large ink dot data, medium ink dot data, or small ink dot data are referred to as ink data, while blank ink dot data is referred to as non-ink data. The dot matrix image obtained after halftone processing is generally output in PRN format.

[0060] After obtaining the dot matrix image corresponding to the image to be printed, convert the 2-bit data in the dot matrix image into 8-bit density data. Preferably, converting the dot data into density data includes:

[0061] Dividing the dot matrix image into a plurality of standard blocks, wherein each standard block can be set with N dots at most, and one dot corresponds to one bit of data;

[0062] Obtaining the actual number M of network points in the standard block;

[0063] Acquiring concentration data of the standard block according to the actual number M and number N of network dots;

[0064] Each of the standard blocks corresponds to a pixel.

[0065] Specifically, such as Figure 2As described above, the dot matrix image 10 is divided into a plurality of standard blocks 11. A maximum of N dots can be set in any standard block, and each dot corresponds to an ink dot or a dot data. Preferably, N = 16. The number of dots in the standard block is obtained and recorded as the actual dot number M. Concentration data is obtained based on the ratio of the actual dot number M to N, and the concentration data is represented as 8-bit binary data. For example, a maximum of 16 dots can be set in a standard block. If the number of dots in the standard block is 8, then the concentration value of the standard block is 8 / 16 = 50%. In this case, the value 50 can be represented by the 8-bit binary number 00110010, corresponding to a concentration value of 50%. Each standard block corresponds to a pixel, and therefore each pixel has its corresponding concentration data or concentration value.

[0066] Preferably, converting the original RGB values ​​of the pixels in the to-be-printed image into RGB values ​​of the spot color channel according to the corresponding density data, and recording the spot color RGB values ​​as the spot color RGB values, comprises:

[0067] Get the original RGB value of the pixel;

[0068] Acquire a concentration value according to the concentration data corresponding to the pixel point;

[0069] Multiplying the concentration value with the R channel value, the G channel value, and the B channel value in the original RGB value to obtain new R channel value, G channel value, and B channel value;

[0070] The spot color RGB value is obtained according to the new R channel value, G channel value, and B channel value.

[0071] Specifically, since one standard block corresponds to one pixel, and one standard block corresponds to one concentration data, one pixel corresponds to one concentration data. The RGB value corresponding to the pixel in the spot color channel is obtained according to the original RGB value of the pixel and its corresponding concentration data, and is recorded as the spot color RGB value. For example, the pixel is a red pixel, its original RGB value is (255, 0, 0), and its corresponding concentration data is 50, that is, the concentration value is 50%. The R channel value 255, the G channel value 0, and the B channel value 0 in the original RGB value are multiplied by the concentration value 50% to obtain a new R channel value of 128, a new G channel value of 0, and a new B channel value of 0. The obtained RGB (128, 0, 0) is the spot color RGB value.

[0072] Preferably, obtaining the preview RGB value according to the original CMYK value of the pixel and the spot color RGB value includes:

[0073] Convert the spot color RGB value to the CMYK value corresponding to the spot color channel, and record it as the spot color CMYK value;

[0074] Obtain the CMYK value corresponding to the pixel point and record it as the original CMYK value;

[0075] Obtain a preview CMYK value according to the spot color CMYK value and the original CMYK value;

[0076] Convert the preview CMYK values ​​to preview RGB values.

[0077] Since the color channels of the image to be printed include spot color channels in addition to the C channel, Y channel, M channel and K channel, the colors corresponding to the spot color channels are represented by CMYK values, which are recorded as spot color CMYK values. The spot color CMYK values ​​are obtained in the following manner: after obtaining the spot color RGB value of the pixel, the spot color RGB value is converted into a CMYK value, for example, by using Lab space for conversion, first converting the RGB value into a Lab value, and then converting the Lab value into a CMYK value. Converting RGB values ​​into CMYK values ​​is a prior art and will not be described in detail here. The CMYK value obtained after the conversion is the spot color CMYK value. In addition, the CMYK value corresponding to the pixel is obtained and recorded as the original CMYK value. In one embodiment, the original CMYK value of the pixel can be obtained by converting the original RGB value of the pixel into a CMYK value, or the original CMYK value of the pixel can be directly obtained by computer image processing software such as PS software. After obtaining the spot color CMYK value and the original CMYK value of the pixel point, the preview CMYK value is obtained based on the spot color CMYK value and the original CMYK value, and then the preview CMYK value is converted to obtain the preview RGB value.

[0078] Acquiring a preview CMYK value according to the spot color CMYK value and the original CMYK value includes:

[0079] Get the C channel value, M channel value, Y channel value and K channel value of the spot color CMYK value;

[0080] Obtain the C channel value, M channel value, Y channel value, and K channel value in the original CMYK value;

[0081] The C channel value, M channel value, Y channel value, and K channel value in the spot color CMYK value are respectively added to the C channel value, M channel value, Y channel value, and K channel value in the original CMYK value to obtain the C channel value, M channel value, Y channel value, and K channel value in the preview CMYK value.

[0082] For example, the image to be printed is composed of eight-channel layers, including four spot color channels: A, B, C, and D, in addition to the C, M, Y, and K channels.

[0083] The CMYK values ​​of the C channel are C1, M1, Y1 and K1; the CMYK values ​​of the M channel are C2, M2, Y2 and K2; the CMYK values ​​of the Y channel are C3, M3, Y3 and K3; the CMYK values ​​of the K channel are C4, M4, Y4 and K4; the CMYK values ​​of the A channel are C5, M5, Y5 and K5; the CMYK values ​​of the B channel are C6, M6, Y6 and K6; the CMYK values ​​of the C channel are C7, M7, Y7 and K7; the CMYK values ​​of the D channel are C8, M8, Y8 and K8. As shown in the following table:

[0084] Channel Name C value M value Y value K value C C1 M1 Y1 K1 M C2 M2 Y2 K2 Y C3 M3 Y3 K3 K C4 M4 Y4 K4 A C5 M5 Y5 K5 B C6 M6 Y6 K6 C C7 M7 Y7 K7 D C8 M8 Y8 K8

[0085] Add the C value, M value, Y value and K value in the C channel, M channel, Y channel, K channel, A channel, B channel, C channel and D channel respectively to get:

[0086] C0=C1+C2+C3+C4+C5+C6+C7+C8;

[0087] M0=M1+M2+M3+M4+M5+M6+M7+M8;

[0088] Y0=Y1+Y2+Y3+Y4+Y5+Y6+Y7+Y8;

[0089] K0=K1+K2+K3+K4+K5+K6+K7+K8;

[0090] Among them, the maximum value of C0, M0, Y0, and K0 does not exceed 255, and C0, M0, Y0, and K0 are the C channel value, M channel value, Y channel value, and K channel value in the preview CMYK value. Further, the preview CMYK value is converted to RGB value to obtain the preview RGB value of the pixel point. For example, the conversion is performed using Lab space, first converting the CMYK value to Lab value, and then converting the Lab value to RGB value. Converting RGB value to CMYK value is a prior art and will not be repeated here.

[0091] The above example uses 8 color channels as an example to illustrate how to obtain preview CMYK values ​​based on spot color CMYK values ​​and original CMYK values. However, the image to be printed is not limited to 8 color channels. In addition to the C channel, M channel, Y channel, and K channel, the number of spot color channels can be determined according to actual conditions. As long as the number of color channels is greater than 4 (there is at least one spot color channel in addition to the CMYK channel), the above method can be used to obtain preview CMYK values.

[0092] Preferably, adjusting the image to be printed according to the preview RGB value to obtain a preview image includes:

[0093] The RGB value of each pixel in the image to be printed is adjusted to its corresponding preview RGB value, and the adjusted image to be printed is the preview image; wherein the color effect of the preview image output by the display device is consistent with the color effect of the printed image obtained after the image to be printed is printed by the printing device.

[0094] Specifically, the original RGB values ​​of each pixel in the image to be printed are adjusted to preview RGB values ​​according to the above method, and the adjusted image to be printed is recorded as the preview image. When the preview image is output using a display device such as a monitor or a projector, the color is produced or represented according to the preview RGB value of each pixel. The color effect will be consistent with the color effect of the printed image output by the printing device, so that the printed color and the preview color are consistent.

[0095] In summary, the method for previewing an image to be printed based on multi-channel color provided by an embodiment of the present invention converts the dot data of the dot matrix image of the image to be printed into concentration data, and then generates the RGB value of the spot color channel according to the original RGB value of the pixel point of the image to be printed and the corresponding concentration data; then generates the CMYK value of the spot color channel (spot color RGB value) according to the RGB value of the spot color channel, and finally obtains the preview CMYK value according to the spot color CMYK value of the pixel point and the original CMYK value, and then generates the final preview RGB value according to the preview CMYK value, and realizes the preview of multi-color fused image according to the preview RGB value, thereby ensuring that the color effect when previewing the image using a display device is consistent with the color effect of the image output using a printing device, that is, the preview color and the print color are consistent.

[0096] Example 2

[0097] See also Figure 3 The embodiment of the present invention provides a device 200 for previewing an image to be printed based on multi-channel colors, the device 200 comprising:

[0098] The dot matrix image acquisition module 201 is used to acquire a dot matrix image corresponding to the image to be printed, wherein the dot matrix image is composed of dot data, and the dot data is 2-bit data, which is data represented by a 2-bit binary number;

[0099] The data conversion module 202 is configured to convert the dot data into density data; wherein the density data is 8-bit data, which is data represented by an 8-bit binary number; and each pixel in the image to be printed corresponds to one density data;

[0100] The spot color value acquisition module 203 is used to convert the original RGB value of the pixel point in the to-be-printed image into the RGB value of the spot color channel according to the corresponding density data, and record it as the spot color RGB value;

[0101] A preview color value acquisition module 204 is configured to acquire a preview RGB value based on the original CMYK value of the pixel and the spot color RGB value;

[0102] The image preview module 205 is configured to adjust the image to be printed according to the preview RGB value to obtain a preview image.

[0103] Preferably, the data conversion module 202 includes:

[0104] a dividing unit, configured to divide the dot matrix image into a plurality of standard blocks, wherein each standard block may be provided with a maximum of N dots, and one dot corresponds to one bit of data;

[0105] A dot number obtaining unit, configured to obtain the actual dot number M in the standard block;

[0106] a concentration data acquisition unit, configured to acquire the concentration data of the standard block according to the actual number M and number N of network dots;

[0107] Each of the standard blocks corresponds to a pixel.

[0108] Preferably, the spot color value acquisition module 203 includes:

[0109] The original RGB value acquisition unit is used to obtain the original RGB value of the pixel;

[0110] a concentration value acquiring unit, configured to acquire a concentration value according to the concentration data corresponding to the pixel point;

[0111] a calculation unit, configured to multiply the concentration value by the R channel value, the G channel value, and the B channel value in the original RGB value to obtain new R channel value, G channel value, and B channel value;

[0112] The spot color RGB value acquiring unit is configured to acquire the spot color RGB value according to the new R channel value, G channel value, and B channel value.

[0113] Preferably, the preview color value acquisition module 204 includes:

[0114] A spot color CMYK value acquisition unit, configured to convert the spot color RGB value into a CMYK value corresponding to a spot color channel, recorded as a spot color CMYK value;

[0115] an original CMYK value acquiring unit, configured to acquire the CMYK value corresponding to the pixel point, which is recorded as the original CMYK value;

[0116] A preview CMYK value acquiring unit, configured to acquire a preview CMYK value according to the spot color CMYK value and the original CMYK value;

[0117] The preview RGB value acquisition unit is used to convert the preview CMYK value into a preview RGB value.

[0118] Preferably, the preview module 205 includes:

[0119] An adjustment unit, configured to adjust the original RGB value of each pixel in the image to be printed to its corresponding preview RGB value, thereby obtaining an adjusted image to be printed;

[0120] A preview unit is used to input the adjusted image to be printed into a display device, and the image output by the display device is the preview image; wherein the color effect of the preview image output by the display device is consistent with the color effect of the printed image obtained after the image to be printed is printed by the printing device.

[0121] In summary, the multi-channel color-based preview device for an image to be printed provided by an embodiment of the present invention converts the dot data of the dot matrix image of the image to be printed into density data, and then generates the RGB value of the spot color channel according to the original RGB value of the pixel point of the image to be printed and the corresponding density data; then generates the CMYK value of the spot color channel (spot color RGB value) according to the RGB value of the spot color channel, and finally obtains the preview CMYK value according to the spot color CMYK value of the pixel point and the original CMYK value, and then generates the final preview RGB value according to the preview CMYK value, and realizes the preview of multi-color fused image according to the preview RGB value, thereby ensuring that the color effect when previewing the image using a display device is consistent with the color effect of the image output using a printing device, that is, the preview color and the print color are consistent.

[0122] Example 3

[0123] In addition, the method for previewing an image to be printed based on multi-channel colors according to the embodiment of the present invention can be implemented by a device for previewing an image to be printed based on multi-channel colors. Figure 4 The figure shows a hardware structure diagram of a device for previewing an image to be printed based on multi-channel colors provided by an embodiment of the present invention.

[0124] The device for previewing an image to be printed based on multi-channel colors may include a processor 301 and a memory 302 storing computer program instructions.

[0125] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0126] Memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be inside or outside the data processing device. In a specific embodiment, memory 302 is a non-volatile solid-state memory. In a specific embodiment, memory 302 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0127] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any one of the methods for previewing an image to be printed based on multi-channel colors in the above embodiments.

[0128] In one example, the device for previewing an image to be printed based on multi-channel colors may further include a communication interface 303 and a bus 310. Figure 4 As shown, the processor 301 , the memory 302 , and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0129] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiment of the present invention.

[0130] Bus 310 includes hardware, software, or both that couples components of a multi-channel color-based preview device for an image to be printed to each other. By way of example and not limitation, bus 310 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industrial Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 310 may include one or more buses. Although embodiments of the present invention describe and illustrate specific buses, the present invention contemplates any suitable bus or interconnect.

[0131] Example 4

[0132] In addition, in conjunction with the multi-channel color preview method for an image to be printed in the above-mentioned embodiments, embodiments of the present invention may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when executed by the processor 301, the computer program instructions implement any of the multi-channel color preview methods for an image to be printed in the above-mentioned embodiments.

[0133] In summary, the method, apparatus, and device for previewing an image to be printed based on multi-channel color provided by the embodiments of the present invention convert the dot data of the dot matrix image of the image to be printed into concentration data, and then generate the RGB value of the spot color channel according to the original RGB value of the pixel point of the image to be printed and the corresponding concentration data; then generate the CMYK value of the spot color channel (spot color RGB value) according to the RGB value of the spot color channel; finally, obtain the preview CMYK value according to the spot color CMYK value of the pixel point and the original CMYK value, and then generate the final preview RGB value according to the preview CMYK value, and realize the preview of multi-color fused image according to the preview RGB value, thereby ensuring that the color effect when previewing the image using the display device is consistent with the color effect of the image output using the printing device, that is, the preview color and the print color are consistent.

[0134] It should be understood that the present invention is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method of the present invention is not limited to the specific steps described and illustrated. Those skilled in the art may make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present invention.

[0135] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in unit, a function card or the like. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0136] It should also be noted that the exemplary embodiments described herein describe methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the steps described above. In other words, the steps may be performed in the order described in the embodiments, or in a different order, or several steps may be performed simultaneously.

[0137] The above description is only a specific embodiment of the present invention. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention.

Claims

1. A method for previewing an image to be printed based on multi-channel colors, characterized in that: The image to be printed is synthesized by layers corresponding to a C channel, an M channel, a Y channel, a K channel, and at least one spot color channel, and the method includes: Acquire a dot matrix image corresponding to the image to be printed, wherein the dot matrix image is composed of dot data, the dot data is 2-bit data, and the 2-bit data is data represented by a 2-bit binary number; Converting the dot data into density data; wherein the density data is 8-bit data, and the 8-bit data is data represented by an 8-bit binary number; one pixel in the image to be printed corresponds to one density data; The original RGB value of the pixel in the to-be-printed image is converted into the RGB value of the spot color channel according to the corresponding density data, and recorded as the spot color RGB value; Obtaining a preview RGB value based on the original CMYK value of the pixel and the spot color RGB value; The image to be printed is adjusted according to the preview RGB value to obtain a preview image.

2. The method for previewing an image to be printed based on multi-channel colors according to claim 1, characterized in that: The converting the point data into concentration data comprises: Dividing the dot matrix image into a plurality of standard blocks, wherein each standard block can be set with N dots at most, and one dot corresponds to one bit of data; Obtaining the actual number M of network points in the standard block; Acquiring concentration data of the standard block according to the actual number M and number N of network dots; Each of the standard blocks corresponds to a pixel.

3. The method for previewing an image to be printed based on multi-channel colors according to claim 2, wherein: N=16。 4. The method for previewing an image to be printed based on multi-channel colors according to claim 2, wherein: The step of converting the original RGB values ​​of the pixels in the image to be printed into the RGB values ​​of the spot color channel according to the corresponding density data, which are recorded as the spot color RGB values, includes: Get the original RGB value of the pixel; Acquire a concentration value according to the concentration data corresponding to the pixel point; Multiplying the concentration value with the R channel value, the G channel value, and the B channel value in the original RGB value to obtain new R channel value, G channel value, and B channel value; The spot color RGB value is obtained according to the new R channel value, G channel value, and B channel value.

5. The method for previewing an image to be printed based on multi-channel colors according to claim 4, characterized in that: The obtaining of the preview RGB value according to the original CMYK value of the pixel and the spot color RGB value comprises: Convert the spot color RGB value to the CMYK value corresponding to the spot color channel, and record it as the spot color CMYK value; Obtain the CMYK value corresponding to the pixel point and record it as the original CMYK value; Obtain a preview CMYK value according to the spot color CMYK value and the original CMYK value; Convert the preview CMYK values ​​to preview RGB values.

6. The method for previewing an image to be printed based on multi-channel colors according to claim 5, characterized in that: Acquiring a preview CMYK value according to the spot color CMYK value and the original CMYK value includes: Get the C channel value, M channel value, Y channel value and K channel value of the spot color CMYK value; Obtain the C channel value, M channel value, Y channel value, and K channel value in the original CMYK value; The C channel value, M channel value, Y channel value, and K channel value in the spot color CMYK value are respectively added to the C channel value, M channel value, Y channel value, and K channel value in the original CMYK value to obtain the C channel value, M channel value, Y channel value, and K channel value in the preview CMYK value.

7. The method for previewing an image to be printed based on multi-channel colors according to claim 1, wherein: The step of adjusting the image to be printed according to the preview RGB value to obtain a preview image comprises: Adjusting the original RGB value of each pixel in the image to be printed to its corresponding preview RGB value to obtain an adjusted image to be printed; The adjusted image to be printed is input into a display device, and the image output by the display device is the preview image; wherein the color effect of the preview image output by the display device is consistent with the color effect of the printed image obtained after the image to be printed is printed by a printing device.

8. A device for previewing an image to be printed based on multi-channel colors, characterized in that: The device comprises: A dot matrix image acquisition module is used to acquire a dot matrix image corresponding to the image to be printed, wherein the dot matrix image is composed of dot data, the dot data is 2-bit data, and the 2-bit data is data represented by a 2-bit binary number; A data conversion module is configured to convert the dot data into density data; wherein the density data is 8-bit data, which is data represented by an 8-bit binary number; and one pixel in the image to be printed corresponds to one density data; The spot color value acquisition module is used to convert the original RGB value of the pixel point in the image to be printed into the RGB value of the spot color channel according to the corresponding density data, which is recorded as the spot color RGB value; A preview color value acquisition module is used to obtain a preview RGB value based on the original CMYK value of the pixel point and the spot color RGB value; The image preview module is used to adjust the image to be printed according to the preview RGB value to obtain a preview image.

9. A device for previewing an image to be printed based on multi-channel colors, characterized in that: include: At least one processor, at least one memory, and computer program instructions stored in the memory, which implement the method according to any one of claims 1 to 7 when the computer program instructions are executed by the processor.

10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.