[go: up one dir, main page]

CN115412641A - Color printing method, device and color printing device based on color matching - Google Patents

Color printing method, device and color printing device based on color matching Download PDF

Info

Publication number
CN115412641A
CN115412641A CN202110578988.XA CN202110578988A CN115412641A CN 115412641 A CN115412641 A CN 115412641A CN 202110578988 A CN202110578988 A CN 202110578988A CN 115412641 A CN115412641 A CN 115412641A
Authority
CN
China
Prior art keywords
color
color value
value
ink
printed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110578988.XA
Other languages
Chinese (zh)
Inventor
左国云
黄中琨
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hosonsoft Co Ltd
Original Assignee
Shenzhen Hosonsoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hosonsoft Co Ltd filed Critical Shenzhen Hosonsoft Co Ltd
Priority to CN202110578988.XA priority Critical patent/CN115412641A/en
Publication of CN115412641A publication Critical patent/CN115412641A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00278Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a printing apparatus, e.g. a laser beam printer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/40093Modification of content of picture, e.g. retouching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Image Communication Systems (AREA)

Abstract

本申请涉及工业打印技术领域,提供了一种基于色彩匹配的彩色打印方法、装置及彩色打印设备。该彩色打印方法包括获取预设的颜色值;将所述预设的颜色值转换为待打印墨水的颜色值;根据所述待打印墨水的颜色值生成色块靶图;从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;获取所述目标色块的颜色值;当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。本申请还提供了对应上述彩色打印方法的彩色打印装置和设备。本申请可以自动取色和优化视觉效果,可有效解决色彩重现的问题,还能节省人力和时间成本。

Figure 202110578988

The present application relates to the technical field of industrial printing, and provides a color matching-based color printing method, device and color printing equipment. The color printing method includes acquiring a preset color value; converting the preset color value into a color value of ink to be printed; generating a color patch target map according to the color value of the ink to be printed; In the figure, find out the target color block that is consistent with the color of the preset color value; obtain the color value of the target color block; The value is replaced with the color value of the destination patch and the output prints. The present application also provides a color printing device and equipment corresponding to the above color printing method. This application can automatically pick colors and optimize visual effects, effectively solve the problem of color reproduction, and save manpower and time costs.

Figure 202110578988

Description

基于色彩匹配的彩色打印方法、装置及彩色打印设备Color printing method, device and color printing device based on color matching

技术领域technical field

本申请涉及喷墨打印技术领域,尤其涉及一种基于色彩匹配的彩色打印方法、装置及彩色打印设备。The present application relates to the technical field of inkjet printing, and in particular to a color matching-based color printing method, device and color printing equipment.

背景技术Background technique

现有的彩色喷墨打印机在色彩管理方面,为了对在打印介质上的图像的色彩进行再现,目前行业内主要是通过人工去调节曲线来达到目的,人工调节是一个非常复杂的工程,需要不断地调节和验证,才能达到效果,费时费力。具体来说是专业人员通过对各个颜色的色彩曲线的调节或者通过调色软件来控制打印机的每个通道的打印墨量,从而控制图案的打印颜色效果。针对用户需要的不同颜色效果,在通过调节色彩曲线的变化或者通过调色软件对原图(样品图像)的颜色进行调整来实现时,用户若是非专业人员时则很难处理的,而且通过打印机打印出指定颜色图像这个调试过程需要耗费较大的人力,比如依靠人工通过如Photoshop软件之类的图像处理软件去调节图像,需要调节后将图像打印出来,通过与原图像进行比对,若比对的结果有差异,再通过Photoshop软件调节,重复往返,才能达到目的。针对复杂的图像,非专业人员需要耗费大量的时间去处理,而且仍然难以重现原图像的色彩。In terms of color management of existing color inkjet printers, in order to reproduce the color of the image on the printing medium, the current industry mainly achieves the goal by manually adjusting the curve. Manual adjustment is a very complicated project that requires constant Only by adjusting and verifying carefully can the effect be achieved, which is time-consuming and labor-intensive. Specifically, professionals control the printing ink volume of each channel of the printer through the adjustment of the color curve of each color or through the color matching software, so as to control the printing color effect of the pattern. According to the different color effects required by users, it is difficult for non-professional users to deal with it by adjusting the change of the color curve or adjusting the color of the original image (sample image) through color matching software. The debugging process of printing out the specified color image requires a lot of manpower. For example, relying on manual adjustment of the image through image processing software such as Photoshop software, the image needs to be adjusted and printed out, and compared with the original image. There are differences in the correct results, and then adjusted by Photoshop software, repeated back and forth, in order to achieve the goal. For complex images, non-professionals need to spend a lot of time to process, and it is still difficult to reproduce the color of the original image.

发明内容Contents of the invention

有鉴于此,本申请实施例提供了一种基于色彩匹配的彩色打印方法、装置及彩色打印设备,用以解决现有技术中色彩难以重现,进行色彩匹配耗时耗力的技术问题。In view of this, the embodiments of the present application provide a color matching-based color printing method, device, and color printing equipment to solve the technical problems in the prior art that color reproduction is difficult and color matching is time-consuming and labor-intensive.

本申请采用的技术方案是:The technical scheme that this application adopts is:

第一方面,本申请提供了一种基于色彩匹配的彩色打印方法,包括:In the first aspect, the present application provides a color printing method based on color matching, including:

获取预设的颜色值;Get the preset color value;

将所述预设的颜色值转换为待打印墨水的颜色值;converting the preset color value into the color value of the ink to be printed;

根据所述待打印墨水的颜色值生成色块靶图;Generate a color patch target map according to the color value of the ink to be printed;

从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;Finding a target color block that is consistent with the color of the preset color value from the color block target map;

获取所述目标色块的颜色值;Obtain the color value of the target color block;

当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。When a printing instruction for a preset color value is received, the color value of the ink to be printed is replaced with the color value of the target color block and printed.

作为本申请的一个优选实施例,所述获取预设的颜色值包括:As a preferred embodiment of the present application, said obtaining the preset color value includes:

通过测量装置测量样品图像获取所述预设的颜色值,或者依据需要输入所述预设的颜色值,或者从显示图像中获取所述预设的颜色值,所述预设的颜色值包括:Lab颜色值、RGB颜色值或者CMYK颜色值。Obtain the preset color value by measuring the sample image with the measuring device, or input the preset color value as required, or obtain the preset color value from the displayed image, and the preset color value includes: Lab color value, RGB color value or CMYK color value.

作为本申请的一个优选实施例,所述将所述预设的颜色值转换为待打印墨水的颜色值包括:As a preferred embodiment of the present application, the conversion of the preset color value into the color value of the ink to be printed includes:

将所述Lab颜色值转换为待打印墨水的颜色值,包括:通过打印设备特性文件或者Lab颜色值与CMYK值之间的转换关系获得所述待打印墨水的颜色值,其中所述待打印墨水的颜色值包括:CMYK颜色模式下的颜色值和/或RGB颜色模式下的颜色值。Converting the Lab color value into the color value of the ink to be printed includes: obtaining the color value of the ink to be printed through a conversion relationship between a printing device characteristic file or a Lab color value and a CMYK value, wherein the ink to be printed The color values of include: the color values in the CMYK color mode and/or the color values in the RGB color mode.

作为本申请的一个优选实施例,所述色块靶图包括至少一个色块,所述色块靶图呈矩形状、六边形状、八边形状或蜂巢形状。As a preferred embodiment of the present application, the color block target map includes at least one color block, and the color block target map is in the shape of a rectangle, a hexagon, an octagon or a honeycomb.

作为本申请的一个优选实施例,所述方法在所述获取所述目标色块的颜色值之后还包括:As a preferred embodiment of the present application, the method further includes after acquiring the color value of the target color block:

建立待打印墨水的颜色值与所述目标色块的颜色值的对应关系;Establishing a corresponding relationship between the color value of the ink to be printed and the color value of the target color block;

存储所述对应关系。The corresponding relationship is stored.

作为本申请的一个优选实施例,所述当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印包括:As a preferred embodiment of the present application, when the printing instruction for the preset color value is received, the output printing of replacing the color value of the ink to be printed with the color value of the target color block includes:

接收对预设的颜色值的打印指令;receiving a print command for a preset color value;

在RIP软件中,将待打印墨水的颜色值替换为目标色块的颜色值;In the RIP software, replace the color value of the ink to be printed with the color value of the target color block;

根据目标色块的颜色值输出打印。Outputs a print based on the color value of the target patch.

作为本申请的一个优选实施例,所述当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印包括:As a preferred embodiment of the present application, when the printing instruction for the preset color value is received, the output printing of replacing the color value of the ink to be printed with the color value of the target color block includes:

接收对预设的颜色值的打印指令;receiving a print command for a preset color value;

在RIP软件处理前的图像处理软件中,将待打印墨水的颜色值替换为目标色块的颜色值;In the image processing software before the RIP software processing, the color value of the ink to be printed is replaced with the color value of the target color block;

将目标色块的颜色值输入RIP软件中进行处理得到打印数据;Input the color value of the target color block into the RIP software for processing to obtain the print data;

将打印数据输出打印。Print the print data output.

作为本申请的一个优选实施例,所述根据所述待打印墨水的颜色值生成色块靶图包括:As a preferred embodiment of the present application, the generating the color patch target map according to the color value of the ink to be printed includes:

根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图。Automatically generate a color block target map according to the color value of the ink to be printed and the floating range of each ink channel.

作为本申请的一个优选实施例,所述根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图包括:As a preferred embodiment of the present application, the automatic generation of the color patch target map according to the color value of the ink to be printed and the floating range of each ink channel includes:

采用排列组合规则或者待打印墨水的颜色值根据各墨水通道的浮动范围递减或者递增。The permutation and combination rule is adopted or the color value of the ink to be printed is decreased or increased according to the floating range of each ink channel.

第二方面,本申请实施例提供一种基于色彩匹配的彩色打印装置,所述装置包括:In the second aspect, the embodiment of the present application provides a color printing device based on color matching, the device includes:

第一获取模块,用于获取预设的颜色值;The first obtaining module is used to obtain a preset color value;

转换模块,用于将所述预设的颜色值转换为待打印墨水的颜色值;A conversion module, configured to convert the preset color value into the color value of the ink to be printed;

色块靶图生成模块,用于根据所述待打印墨水的颜色值生成色块靶图;A color patch target image generating module, configured to generate a color patch target image according to the color value of the ink to be printed;

查找模块,用于从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;A search module, configured to find, from the color block target map, a target color block that is consistent with the color of the preset color value;

第二获取模块,获取所述目标色块的颜色值;The second acquisition module acquires the color value of the target color block;

替换模块,用于当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。The replacement module is configured to replace the color value of the ink to be printed with the color value of the target color block and print when receiving a printing instruction for a preset color value.

第三方面,本申请还提供一种彩色打印设备,所述彩色打印设备包括:In a third aspect, the present application also provides a color printing device, where the color printing device includes:

至少一个处理器、至少一个存储器以及存储在所述存储器中的计算机程序指令,当所述计算机程序指令被所述处理器执行时实现前面任一项所述的方法。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 described in any one of the preceding items is implemented.

第四方面,本申请还提供一种存储介质,其上存储有计算机程序指令,当所述计算机程序指令被处理器执行时实现前面任一项所述的方法。In a fourth aspect, the present application further provides a storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method described in any one of the preceding items is implemented.

综上所述,本申请实施例的基于色彩匹配的彩色打印方法、装置及彩色打印设备通过对预设的颜色值进行转换为待打印墨水的颜色值,然后根据待打印墨水的颜色值生成色块靶图,从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块,当用户要打印预设的颜色值时,只需将用于打印图像的待打印墨水的颜色值进行替换处理,就可以打出用户期待的色彩。本申请可以自动取色和优化视觉效果,能节省人力和时间成本,而且有效地解决了色彩重现时还原度不够好,还原准确性不够高的问题。To sum up, the color printing method, device, and color printing device based on color matching in the embodiments of the present application convert the preset color value into the color value of the ink to be printed, and then generate the color value according to the color value of the ink to be printed. Block target map, find the target color block that is consistent with the color of the preset color value from the color block target map, when the user wants to print the preset color value, only need to use the image to be printed The color value of the printing ink is replaced, and the color expected by the user can be printed. This application can automatically pick colors and optimize visual effects, which can save manpower and time costs, and effectively solve the problems of insufficient restoration degree and insufficient restoration accuracy in color reproduction.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,这些均在本申请的保护范围内。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments of the present application. Other drawings can be obtained according to these drawings, and these are all within the protection scope of the present application.

图1为本申请实施例一的基于色彩匹配的彩色打印方法的流程示意图。FIG. 1 is a schematic flowchart of a color printing method based on color matching according to Embodiment 1 of the present application.

图2a为本申请实施例一中一种色块靶图的截面呈蜂巢形状的示意图。Fig. 2a is a schematic diagram of a honeycomb-shaped cross-section of a color patch target image in Embodiment 1 of the present application.

图2b为本申请实施例一中另一种色块靶图的截面呈蜂巢形状的示意图。Fig. 2b is a schematic diagram showing a honeycomb-shaped cross-section of another color patch target image in Embodiment 1 of the present application.

图3a为图1中步骤S6的一种实施例的流程示意图。Fig. 3a is a schematic flowchart of an embodiment of step S6 in Fig. 1 .

图3b为图1中步骤S6的另一种实施例的流程示意图。Fig. 3b is a schematic flowchart of another embodiment of step S6 in Fig. 1 .

图4为本申请实施例二的基于色彩匹配的彩色打印装置的结构示意图。FIG. 4 is a schematic structural diagram of a color printing device based on color matching according to Embodiment 2 of the present application.

图5为本申请实施例三彩色打印设备的结构示意图。FIG. 5 is a schematic structural diagram of a three-color printing device according to an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。在本申请的描述中,需要理解的是,术语“中心”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。如果不冲突,本申请施例以及实施例中的各个特征可以相互结合,均在本申请的保护范围之内。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. In the description of this application, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", The orientations or positional relationships indicated by "top", "bottom", "inner", "outer", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the application and simplifying the description, rather than indicating or implying References to devices or elements must have a particular orientation, be constructed, and operate in a particular orientation and therefore should not be construed as limiting the application. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the statement "comprising..." does not exclude the presence of additional same elements in the process, method, article or device comprising said element. If there is no conflict, the embodiments of the present application and various features in the embodiments can be combined with each other, and all are within the protection scope of the present application.

本申请的主要发明思路是从已打印图像中对感兴趣的颜色值进行新的图像打印时,可以将色彩重现。The main inventive idea of the present application is to reproduce the color when a new image is printed for the interested color value from the printed image.

实施例1Example 1

如图1所示,本申请实施例公开了一种基于色彩匹配的彩色打印方法,该方法主要是在彩色打印设备上实现,一般来说现有的彩色打印设备中包括上位机、与上位机通信连接的打印机,其中,上位机为带有操作系统的计算机,上位机中可以安装有图像处理软件,如Photoshop软件、CorelDRAW软件以及其它前端图像处理软件,当然通常上位机中还有RIP软件(Raster Image Processor),其是一款图像编辑、排版、输出软件,以便打印机可以打印。当然随着打印机本身的数据处理能力越来越强大,上述软件也可以直接安装在打印机的控制系统中,本发明并不对这些软件的安装作限制。本申请中的基于色彩匹配的彩色打印方法主要是针对用户对所见的感兴趣的色彩,根据感兴趣色彩的颜色值,将该色彩还原出来融合替代待打印图像中的某一色彩。具体来说,该方法主要包括:As shown in Figure 1, the embodiment of the present application discloses a color printing method based on color matching, which is mainly realized on a color printing device. A communication-connected printer, wherein the host computer is a computer with an operating system, and image processing software, such as Photoshop software, CorelDRAW software, and other front-end image processing software, can be installed in the host computer. Of course, there is usually RIP software in the host computer ( Raster Image Processor), which is an image editing, typesetting, and output software so that the printer can print. Of course, as the data processing capability of the printer itself becomes more and more powerful, the above-mentioned software can also be directly installed in the control system of the printer, and the present invention does not limit the installation of these software. The color printing method based on color matching in this application is mainly aimed at the color that the user is interested in seeing, and according to the color value of the interested color, the color is restored and fused to replace a certain color in the image to be printed. Specifically, the method mainly includes:

S1:获取预设的颜色值;S1: Obtain a preset color value;

S2:将所述预设的颜色值转换为待打印墨水的颜色值;S2: converting the preset color value into the color value of the ink to be printed;

S3:根据所述待打印墨水的颜色值生成色块靶图;S3: Generate a color patch target map according to the color value of the ink to be printed;

S4:从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;S4: Find a target color block that is consistent with the color of the preset color value from the color block target map;

S5:获取所述目标色块的颜色值;S5: Acquiring the color value of the target color block;

S6:当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。S6: When a printing instruction for a preset color value is received, replace the color value of the ink to be printed with the color value of the target color block and output printing.

本申请通过对预设的颜色值进行转换为待打印墨水的颜色值,然后生成色块靶图,查找与色块靶图中预设的颜色值相匹配的目标色块,之后在用户需要使用预设的颜色值打印图像时,只需将用于打印图像的待打印墨水的颜色值进行替换处理,就可以打出用户期待的色彩,这样,用户不仅可以修改原始图像中的局部或全部的色彩,而且,整个操作非常简便。本申请可以自动取色和优化视觉效果,能节省人力和时间成本,而且有效地解决了色彩重现时还原度不够好,还原准确性不够高的问题。This application converts the preset color value into the color value of the ink to be printed, and then generates a color block target map to find the target color block that matches the preset color value in the color block target map, and then use it when the user needs When printing an image with the preset color value, it is only necessary to replace the color value of the ink to be printed for printing the image, and the color expected by the user can be printed. In this way, the user can not only modify some or all colors in the original image , and the whole operation is very simple. This application can automatically pick colors and optimize visual effects, which can save manpower and time costs, and effectively solve the problems of insufficient restoration degree and insufficient restoration accuracy in color reproduction.

作为本申请的一个优选实施例,上述步骤S1中,所述获取预设的颜色值包括:As a preferred embodiment of the present application, in the above step S1, said obtaining the preset color value includes:

通过测量装置测量样品图像的颜色值,或者依据需要输入颜色值,或者从显示图像中获取所述颜色值,所述颜色值包括:Lab颜色值、RGB颜色值或者CMYK颜色值。以上可知,本申请中图像的颜色值的来源方式多样,颜色模式(或者色彩模式)也是多样。多样化的颜色值来源,增加了用户在工业打印中的选择性。Measure the color value of the sample image by the measuring device, or input the color value as required, or obtain the color value from the displayed image, and the color value includes: Lab color value, RGB color value or CMYK color value. It can be seen from the above that the source of the color value of the image in this application is various, and the color mode (or color mode) is also various. Diversified sources of color values increase the user's choice in industrial printing.

作为本申请的一个优选实施例,所述将所述预设的颜色值转换为待打印墨水的颜色值包括:As a preferred embodiment of the present application, the conversion of the preset color value into the color value of the ink to be printed includes:

将所述Lab颜色值转换为待打印墨水的颜色值,包括:通过打印设备特性文件或者Lab颜色值与CMYK值之间的转换关系获得所述待打印墨水的颜色值,其中所述待打印墨水的颜色值包括:CMYK颜色模式下的颜色值和/或RGB颜色模式下的颜色值。上述打印设备特性文件包括:ICC文件(International Color Consortium(国际色彩协会)制定的一种色彩管理文件)、DAT文件(数据文件)或DLP文件(文件扩展名)中的一种。这里的通过Lab颜色值与CMYK值之间的转换关系获得的方法主要有以下两种:Converting the Lab color value into the color value of the ink to be printed includes: obtaining the color value of the ink to be printed through a conversion relationship between a printing device characteristic file or a Lab color value and a CMYK value, wherein the ink to be printed The color values of include: the color values in the CMYK color mode and/or the color values in the RGB color mode. The above-mentioned printing device characteristic file includes: one of ICC file (a color management file formulated by International Color Consortium), DAT file (data file) or DLP file (file extension). Here, there are mainly two methods to obtain the conversion relationship between the Lab color value and the CMYK value:

一种是通过CMYK的Lab值进行逆向计算得到,其中CMYK的Lab值是通过部分CMYK颜色的实际测量Lab值进行拟合插值获取得到。One is obtained through reverse calculation of the Lab value of CMYK, where the Lab value of CMYK is obtained by fitting and interpolating the actual measured Lab value of part of the CMYK color.

另一种是通过ICC的一些开源库,如Lcms等,输入ICC文件,通过转换库将Lab值转换为CMYK值。The other is to input the ICC file through some open source libraries of ICC, such as Lcms, etc., and convert the Lab value to CMYK value through the conversion library.

具体来说,对于获得的样品图像,在通过测量装置测量样品的颜色值主要采用以下方式实现:控制测量设备对打算还原的颜色进行取色,得到其颜色值(如Lab值、RGB值),通过色彩转换将取色后得到的颜色值转换到打印机的待打印墨水的颜色值,如墨水常用颜色值为CMYK值,当然并不局限于CMYK值,还可以增加其它指定色,如在CMYK的基础上增加R(红)、O(橙色)和/或G(绿色),这些都属于CMYK颜色模式。用户可以根据实际打印图像或者打印需求等增加专色。一个实施例中,具体步骤如下:Specifically, for the obtained sample image, the measurement of the color value of the sample by the measurement device is mainly achieved by the following methods: control the measurement device to pick up the color to be restored, and obtain its color value (such as Lab value, RGB value), Through color conversion, the color value obtained after color picking is converted to the color value of the ink to be printed by the printer. For example, the common color value of the ink is the CMYK value. Of course, it is not limited to the CMYK value, and other specified colors can also be added, such as in CMYK. Add R (red), O (orange) and/or G (green) to the base, which all belong to the CMYK color mode. Users can add spot colors according to actual printing images or printing requirements. In one embodiment, the specific steps are as follows:

(1)使用测量设备(如I1 Pro2)获取样品图像上的颜色值。(1) Use a measuring device (such as I1 Pro2) to obtain the color value on the sample image.

(2)使用色彩转换工具,将获取的颜色值转换为打印机待打印墨水的颜色值数据。(2) Use the color conversion tool to convert the obtained color value into the color value data of the ink to be printed by the printer.

(3)制作色块靶图;以步骤(2)的颜色值为基础,在每个通道的颜色值基础上设定一定的浮动值V,得到一系列的颜色值,将所有的颜色值制作成色块,组成一张色块靶图;(3) Make a color block target map; based on the color value of step (2), set a certain floating value V on the basis of the color value of each channel to obtain a series of color values, and make all the color values Form a color block to form a color block target map;

(4)控制打印机打印色块靶图,待色块靶图干燥后,选取与原始图像中的颜色最接近的色块,记录该色块的Cj\Mj\Yj\Kj值。(4) Control the printer to print the color block target map. After the color block target map is dried, select the color block closest to the color in the original image, and record the Cj\Mj\Yj\Kj values of the color block.

(5)打印时,将原始图像中需要处理的像素颜色值替换为步骤(4)中得到的Cj\Mj\Yj\Kj值即可。(5) When printing, replace the pixel color value to be processed in the original image with the Cj\Mj\Yj\Kj value obtained in step (4).

作为本申请的一个优选实施例,所述色块靶图的截面呈矩形状、六边形状、八边形状或蜂巢形状。这里采用蜂巢形或六边形状能较清晰的知道每个方向的渐变颜色,矩形状能够多维覆盖每个颜色通道的颜色变化。因此可以依据需要选择色靶图的形状。As a preferred embodiment of the present application, the cross-section of the color patch target map is in the shape of a rectangle, a hexagon, an octagon or a honeycomb. Here, the honeycomb or hexagonal shape can be used to clearly know the gradient color in each direction, and the rectangular shape can cover the color change of each color channel in multiple dimensions. Therefore, the shape of the color target diagram can be selected according to the needs.

作为本申请的一个优选实施例,所述方法在所述获取所述目标色块的颜色值之后还包括:As a preferred embodiment of the present application, the method further includes after acquiring the color value of the target color block:

建立待打印墨水的颜色值与所述目标色块的颜色值的对应关系;根据选择的目标色块的颜色值,建立起与待打印墨水的颜色值一一对应的关系,如目标色块的颜色值C=50,M=50,Y=50,K=50,其中的数字50代表墨水浓度,其一一对应的待打印墨水的颜色值可能是C=51,M=52,Y=53,K=54,也就是说,待打印墨水的颜色值与目标颜色值的墨水浓度存在差异,这种差异比现有技术的颜色还原度更佳准确,得到图片与用户的预期更为接近。Establish the corresponding relationship between the color value of the ink to be printed and the color value of the target color block; according to the color value of the selected target color block, establish a one-to-one correspondence with the color value of the ink to be printed, such as the color value of the target color block Color value C=50, M=50, Y=50, K=50, where the number 50 represents the ink density, and its one-to-one correspondence with the color value of the ink to be printed may be C=51, M=52, Y=53 , K=54, that is to say, there is a difference between the color value of the ink to be printed and the ink concentration of the target color value, which is better and more accurate than the color reproduction of the prior art, and the obtained picture is closer to the user's expectation.

存储所述对应关系。The corresponding relationship is stored.

如图3a所示,作为本申请的一个优选实施例,所述当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印包括:As shown in Figure 3a, as a preferred embodiment of the present application, when the printing instruction for the preset color value is received, the color value of the ink to be printed is replaced by the color value of the target color block and the output printing includes:

S61:接收对预设的颜色值的打印指令;S61: Receive a printing instruction for a preset color value;

S62:在RIP软件中,将待打印墨水的颜色值替换为目标色块的颜色值;S62: In the RIP software, replace the color value of the ink to be printed with the color value of the target color block;

S63:根据目标色块的颜色值输出打印。S63: Outputting and printing according to the color value of the target color patch.

如图3b所示,作为本申请的一个优选实施例,所述当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印包括:As shown in Figure 3b, as a preferred embodiment of the present application, when a printing instruction for a preset color value is received, the output printing of replacing the color value of the ink to be printed with the color value of the target color patch includes:

S610:接收对预设的颜色值的打印指令;这个打印指令依据用户的颜色值需求输入相关信息后产生;S610: Receive a print command for a preset color value; the print command is generated after inputting relevant information according to the user's color value requirement;

S620:在RIP软件处理前的图像处理软件中,将待打印墨水的颜色值替换为目标色块的颜色值;这里,在RIP软件处理前的图像处理软件主要是指上位机中所安装的如Photoshop软件、CorelDRAW软件以及其它前端图像处理软件。S620: In the image processing software before the RIP software processing, replace the color value of the ink to be printed with the color value of the target color block; here, the image processing software before the RIP software processing mainly refers to those installed in the host computer such as Photoshop software, CorelDRAW software and other front-end image processing software.

S630:将目标色块的颜色值输入RIP软件中进行处理得到打印数据;在接收到目标色块的颜色值后,RIP软件进行常规的数据处理,将图像数据转换为打印数据;S630: Input the color value of the target color block into the RIP software for processing to obtain print data; after receiving the color value of the target color block, the RIP software performs conventional data processing to convert the image data into print data;

S640:将打印数据输出打印。此时RIP软件将处理后得到的打印数据输出到打印控制软件,打印控制软件依据控制指令发送打印数据驱动喷头出墨打印。S640: Outputting the print data for printing. At this time, the RIP software outputs the processed printing data to the printing control software, and the printing control software sends the printing data according to the control command to drive the nozzle to print ink.

根据目标色块的颜色值输出打印。打印控制软件基于目标色块的颜色值控制喷头喷射待打印墨水进行图像打印。Outputs a print based on the color value of the target patch. Based on the color value of the target color block, the print control software controls the nozzle to eject the ink to be printed for image printing.

作为本申请的一个优选实施例,所述根据所述待打印墨水的颜色值生成色块靶图包括:As a preferred embodiment of the present application, the generating the color patch target map according to the color value of the ink to be printed includes:

根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图。Automatically generate a color block target map according to the color value of the ink to be printed and the floating range of each ink channel.

根据待打印墨水的颜色值如CMYK值以及设定的各墨水通道的浮动范围,生成一系列相近的颜色值。这里的浮动范围可以依据需要设定,对于生成一系列相近的颜色值,同一图像在不同的打印环境下,如不同品牌或者性能质量的打印机、不同物理化学性质的墨水、不同种类的打印介质等,打印出来的颜色是不一样的,但是经过色彩管理软件处理后,同一图像的颜色都会比较接近。因此,我们只需要在所见颜色的颜色值附近获得一系列的色块,将这些色块打印出来与样品图像的色块进行比对,即可找到与样品图像最相近的颜色值,将图像中的颜色值替换为色块中的颜色值即可实现与样品图像相一致的颜色。Generate a series of similar color values according to the color values of the ink to be printed, such as CMYK values, and the set floating range of each ink channel. The floating range here can be set according to the needs. For generating a series of similar color values, the same image is printed in different printing environments, such as printers of different brands or performance quality, inks of different physical and chemical properties, and different types of printing media. , the printed colors are different, but after being processed by the color management software, the colors of the same image will be relatively close. Therefore, we only need to obtain a series of color patches near the color value of the seen color, print out these color patches and compare them with the color patches of the sample image to find the color value closest to the sample image, and convert the image to Replace the color value in the color block with the color value in the color block to achieve the same color as the sample image.

本申请实施例能自动获取样品图像上的颜色值并自动转换为打印机能识别的颜色通道数据,且该数据与样品图像的颜色值相近,通过该颜色值,自动生成该颜色值相接近的多个颜色值,并将各颜色值以色块靶图的形式打印出来,经过快速比对得到替换的颜色值,替换掉原图中的颜色即可得到样品图像中所指定颜色的效果。The embodiment of the present application can automatically acquire the color value on the sample image and automatically convert it into color channel data that can be recognized by the printer, and the data is similar to the color value of the sample image. Through the color value, multiple images with similar color values are automatically generated. color values, and print each color value in the form of a color block target map, and get the replaced color value after quick comparison, and replace the color in the original image to get the effect of the color specified in the sample image.

作为本申请的一个优选实施例,所述根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图包括:As a preferred embodiment of the present application, the automatic generation of the color patch target map according to the color value of the ink to be printed and the floating range of each ink channel includes:

采用排列组合规则或者待打印墨水的颜色值根据各墨水通道的浮动范围递减或者递增,具体而言如下所述:Use permutation and combination rules or the color value of the ink to be printed decreases or increases according to the floating range of each ink channel, specifically as follows:

1、根据排列组合,比如C=50,M=50,Y=50,K=50为例,设定的各墨水通道的浮动范围,如C的浮动范围在0至5,如M的浮动范围在-2至0,如Y的浮动范围在0至3,如K的浮动范围在-5至0,浮动间隔为1,则C可以取值50,51,52,53,54,55;M可以取值50,49,48;Y可以取值50,51,52,53;K可以取值50,49,48,47,46,45。然后将上述各数值对应的色块按照一定顺序组合出色块靶图。这里C、M、Y、K并非统一递增或者统一递减,而是根据预设的颜色值,对其中某一墨水通道做递增处理,某一通道做递减处理。优选地,色块靶图如图2a和图2b所示,基于预设的浮动范围然后选取出的色块靶图。1. According to the arrangement and combination, such as C=50, M=50, Y=50, K=50 as an example, the floating range of each ink channel is set, such as the floating range of C is from 0 to 5, such as the floating range of M From -2 to 0, if the floating range of Y is from 0 to 3, if the floating range of K is from -5 to 0, and the floating interval is 1, then C can take values of 50, 51, 52, 53, 54, 55; M Can take values 50, 49, 48; Y can take values 50, 51, 52, 53; K can take values 50, 49, 48, 47, 46, 45. Then combine the color blocks corresponding to the above values in a certain order to the color block target map. Here, C, M, Y, and K are not uniformly incremented or uniformly decremented, but are incremented for one of the ink channels and decremented for one of the channels according to the preset color value. Preferably, the color patch target map is shown in Fig. 2a and Fig. 2b, and the color patch target map is selected based on a preset floating range.

2、根据设定颜色变化方向,比如C=50,M=50,Y=50,K=50为例,,六边形每一个边代表一个颜色变化方向如图2a所示选取顺时针变化方向,分别为C+、M+、Y+、C-、M-、Y-;浮动间隔分别为2,3,4,3,5,4;浮动次数为4,则在C+方向取值52、54,56,58;M+方向取值为53,56,59,62,其中在C+和M+的浮动范围是根据距离中心位置的相对坐标计算其C+和M+的变化值。以此类推能得到各个颜色通道中所有色块的颜色值。2. According to the set color change direction, such as C=50, M=50, Y=50, K=50 as an example, each side of the hexagon represents a color change direction, as shown in Figure 2a, select the clockwise change direction , respectively C+, M+, Y+, C-, M-, Y-; the floating intervals are 2, 3, 4, 3, 5, 4; the floating times are 4, then the values in the C+ direction are 52, 54, 56 , 58; the values in the M+ direction are 53, 56, 59, 62, where the floating range of C+ and M+ is based on the relative coordinates from the center to calculate the change value of C+ and M+. By analogy, the color values of all color blocks in each color channel can be obtained.

实施例2Example 2

请参见图4,本申请实施例基于上述实施例1的基于色彩匹配的彩色打印方法,还提出一种基于色彩匹配的彩色打印装置,所述装置包括:Please refer to Fig. 4, the embodiment of the present application is based on the color printing method based on color matching in the above-mentioned embodiment 1, and also proposes a color printing device based on color matching, the device includes:

第一获取模块10,用于获取预设的颜色值;The first obtaining module 10 is used to obtain a preset color value;

转换模块20,用于将所述预设的颜色值转换为待打印墨水的颜色值;A conversion module 20, configured to convert the preset color value into the color value of the ink to be printed;

色块靶图生成模块30,用于根据所述待打印墨水的颜色值生成色块靶图;A color patch target map generating module 30, configured to generate a color patch target map according to the color value of the ink to be printed;

查找模块40,用于从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;A search module 40, configured to find a target color block that is consistent with the color of the preset color value from the color block target map;

第二获取模块50,获取所述目标色块的颜色值;The second obtaining module 50, obtains the color value of the target color block;

替换模块60,用于当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。The replacement module 60 is configured to replace the color value of the ink to be printed with the color value of the target color block and output printing when receiving a printing instruction for a preset color value.

作为本申请的一个优选实施例,第一获取模块10进一步包括:As a preferred embodiment of the present application, the first acquisition module 10 further includes:

颜色值获取单元,用于通过测量装置测量样品图像的颜色值,或者依据需要输入颜色值,或者从显示图像中获取所述颜色值,所述颜色值包括:Lab颜色值、RGB颜色值或者CMYK颜色值。The color value acquisition unit is used to measure the color value of the sample image by the measuring device, or input the color value as required, or obtain the color value from the displayed image, and the color value includes: Lab color value, RGB color value or CMYK color value.

作为本申请的一个优选实施例,转换模块20包括:用于通过打印设备特性文件或者Lab颜色值与CMYK值之间的转换关系获得,其中该待打印墨水的颜色值包括:CMYK颜色模式下的颜色值和/或RGB颜色模式下的颜色值。As a preferred embodiment of the present application, the conversion module 20 includes: used to obtain the conversion relationship between the printing device characteristic file or the Lab color value and the CMYK value, wherein the color value of the ink to be printed includes: A color value and/or a color value in RGB color mode.

作为本申请的一个优选实施例,所述色块靶图的截面呈矩形状、六边形状、八边形状或蜂巢形状。As a preferred embodiment of the present application, the cross-section of the color patch target map is in the shape of a rectangle, a hexagon, an octagon or a honeycomb.

作为本申请的一个优选实施例,所述装置还包括:As a preferred embodiment of the present application, the device also includes:

对应关系建立模块,用于建立待打印墨水的颜色值与所述目标色块的颜色值的对应关系;A correspondence relationship establishment module, configured to establish a correspondence relationship between the color value of the ink to be printed and the color value of the target color block;

存储模块,用于存储所述对应关系。A storage module, configured to store the correspondence.

作为本申请的一个优选实施例,替换模块60包括:As a preferred embodiment of the present application, the replacement module 60 includes:

第一接收单元,用于接收对预设的颜色值的打印指令;a first receiving unit, configured to receive a printing instruction for a preset color value;

RIP软件替换单元,用于在RIP软件中,将待打印墨水的颜色值替换为目标色块的颜色值;The RIP software replacement unit is used to replace the color value of the ink to be printed with the color value of the target color block in the RIP software;

第一输出打印单元,用于根据目标色块的颜色值输出打印。The first output printing unit is configured to output and print according to the color value of the target color block.

作为本申请的一个优选实施例,替换模块60包括:As a preferred embodiment of the present application, the replacement module 60 includes:

第二接收单元,用于接收对预设的颜色值的打印指令;a second receiving unit, configured to receive a printing instruction for a preset color value;

预替换单元,用于在RIP软件处理前的图像处理软件中,将待打印墨水的颜色值替换为目标色块的颜色值;The pre-replacement unit is used to replace the color value of the ink to be printed with the color value of the target color block in the image processing software before the RIP software processing;

第二输出打印单元,用于根据目标色块的颜色值输出打印。The second output printing unit is used for outputting and printing according to the color value of the target color block.

作为本申请的一个优选实施例,色块靶图生成模块30包括:自动生成色块靶图单元,用于根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图。As a preferred embodiment of the present application, the color patch target map generation module 30 includes: an automatic color patch target map generation unit, which is used to automatically generate a color patch target map according to the color value of the ink to be printed and the floating range of each ink channel.

作为本申请的一个优选实施例,自动生成色块靶图单元包括:As a preferred embodiment of the present application, the automatic generation of the color block target map unit includes:

用于采用排列组合规则或者待打印墨水的颜色值根据各墨水通道的浮动范围递减或者递增的单元。A unit for adopting permutation and combination rules or the color value of the ink to be printed to decrease or increase according to the floating range of each ink channel.

本申请通过对预设的颜色值进行转换为待打印墨水的颜色值,然后生成色块靶图,查找与色块靶图相匹配的目标色块,之后在用户需要使用预设的颜色值打印图像时,只需将用于打印图像的待打印墨水的颜色值进行替换处理,就可以打出用户期待的色彩,这样,用户不仅可以修改原始图像中的局部或全部的色彩,而且,整个操作非常简便。本申请可以自动取色和优化视觉效果,能节省人力和时间成本,而且有效地解决了色彩重现时还原度不够好,还原准确性不够高的问题。This application converts the preset color value into the color value of the ink to be printed, and then generates a color block target map, finds the target color block that matches the color block target map, and then prints with the preset color value When printing an image, it is only necessary to replace the color value of the ink to be printed for printing the image, and the color expected by the user can be printed. In this way, the user can not only modify part or all of the colors in the original image, but also the whole operation is very easy. easy. This application can automatically pick colors and optimize visual effects, which can save manpower and time costs, and effectively solve the problems of insufficient restoration degree and insufficient restoration accuracy when color reproduction is performed.

实施例3Example 3

另外,结合图5描述的本申请实施例的彩色打印设备。图5示出了本申请实施例提供彩色打印设备的的硬件结构示意图。所述彩色打印设备包括:In addition, the color printing device of the embodiment of the present application is described with reference to FIG. 5 . FIG. 5 shows a schematic diagram of a hardware structure of a color printing device provided by an embodiment of the present application. The color printing equipment includes:

至少一个处理器401;at least one processor 401;

至少一个存储器402;以及at least one memory 402; and

存储在所述存储器中的计算机程序指令,当所述计算机程序指令被所述处理器执行时实现前面实施例1中所述的基于色彩匹配的彩色打印方法。The computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the color matching-based color printing method described in Embodiment 1 above.

具体地,上述处理器401可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the above-mentioned processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

存储器402可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器402可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器402可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器402可在数据处理装置的内部或外部。在特定实施例中,存储器402是非易失性固态存储器。在特定实施例中,存储器402包括只读存储器(ROM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。Memory 402 may include mass storage for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (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 (Universal Serial Bus, USB) drive or two or more Combinations of multiple of the above. Storage 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the data processing arrangement, where appropriate. In a particular embodiment, memory 402 is a non-volatile solid-state memory. In particular embodiments, memory 402 includes read-only memory (ROM). Where appropriate, the ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or A combination of two or more of the above.

处理器401通过读取并执行存储器402中存储的计算机程序指令,以实现上述实施例中的任意一种基于色彩匹配的彩色打印方法。The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any color matching-based color printing method in the above embodiments.

在一个示例中,上述彩色打印设备还可包括通信接口403和总线410。其中,如图5所示,处理器401、存储器402、通信接口403通过总线410连接并完成相互间的通信。In an example, the above-mentioned color printing device may further include a communication interface 403 and a bus 410 . Wherein, as shown in FIG. 5 , the processor 401 , the memory 402 , and the communication interface 403 are connected through a bus 410 to complete mutual communication.

通信接口403,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。The communication interface 403 is mainly used to implement communication between modules, devices, units and/or devices in the embodiments of the present application.

总线410包括硬件、软件或两者,彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线410可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。The bus 410 includes hardware, software, or both, coupled to each other. By way of example and not limitation, the bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), HyperTransport (HT) interconnect, Industry Standard Architecture (ISA) Bus, Infiniband Interconnect, Low Pin Count (LPC) Bus, Memory Bus, Micro Channel Architecture (MCA) Bus, Peripheral Component Interconnect (PCI) Bus, PCI-Express (PCI-X) Bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or a combination of two or more of these. Bus 410 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.

实施例4Example 4

另外,结合上述实施例中的基于色彩匹配的彩色打印方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种基于色彩匹配的彩色打印方法。In addition, in combination with the color matching-based color printing method in the foregoing embodiments, the embodiments of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the color matching-based color printing methods in the above-mentioned embodiments is implemented.

以上是对本申请实施例提供的基于色彩匹配的彩色打印方法、装置、设备及存储介质的详细介绍。本申请自动取色和优化视觉效果,能节省人力和时间成本,而且有效地解决了色彩重现时还原度不够好,还原准确性不够高的问题。The foregoing is a detailed introduction to the color matching-based color printing method, device, device, and storage medium provided in the embodiments of the present application. This application automatically picks up colors and optimizes visual effects, which can save manpower and time costs, and effectively solve the problems of insufficient restoration degree and insufficient restoration accuracy when color reproduction is performed.

需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the application is not limited to the specific configurations and processes described above and shown in the figures. For conciseness, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order of the steps after understanding the spirit of the present application.

以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the structural block diagrams described above may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.

还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiment, or may be different from the order in the embodiment, or several steps may be performed simultaneously.

以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application, and those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described systems, modules and units can refer to the foregoing method embodiments The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the application, and these modifications or replacements should cover all Within the protection scope of this application.

Claims (12)

1.一种基于色彩匹配的彩色打印方法,其特征在于,包括:1. A color printing method based on color matching, comprising: 获取预设的颜色值;Get the preset color value; 将所述预设的颜色值转换为待打印墨水的颜色值;converting the preset color value into the color value of the ink to be printed; 根据所述待打印墨水的颜色值生成色块靶图;Generate a color patch target map according to the color value of the ink to be printed; 从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;Finding a target color block that is consistent with the color of the preset color value from the color block target map; 获取所述目标色块的颜色值;Obtain the color value of the target color block; 当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。When a printing instruction for a preset color value is received, the color value of the ink to be printed is replaced with the color value of the target color block and printed. 2.根据权利要求1所述的基于色彩匹配的彩色打印方法,其特征在于,所述获取预设的颜色值包括:2. The color printing method based on color matching according to claim 1, wherein said acquiring a preset color value comprises: 通过测量装置测量样品图像获取所述预设的颜色值,或者依据需要输入所述预设的颜色值,或者从显示图像中获取所述预设的颜色值,所述预设的颜色值包括:Lab颜色值、RGB颜色值或者CMYK颜色值。Obtain the preset color value by measuring the sample image with the measuring device, or input the preset color value as required, or obtain the preset color value from the displayed image, and the preset color value includes: Lab color value, RGB color value or CMYK color value. 3.根据权利要求2所述的基于色彩匹配的彩色打印方法,其特征在于,所述将所述预设的颜色值转换为待打印墨水的颜色值包括:3. The color printing method based on color matching according to claim 2, wherein said converting the preset color value into the color value of the ink to be printed comprises: 将所述Lab颜色值转换为待打印墨水的颜色值,包括:通过打印设备特性文件或者Lab颜色值与CMYK值之间的转换关系获得所述待打印墨水的颜色值,其中所述待打印墨水的颜色值包括:CMYK颜色模式下的颜色值和/或RGB颜色模式下的颜色值。Converting the Lab color value into the color value of the ink to be printed includes: obtaining the color value of the ink to be printed through a conversion relationship between a printing device characteristic file or a Lab color value and a CMYK value, wherein the ink to be printed The color values of include: the color values in the CMYK color mode and/or the color values in the RGB color mode. 4.根据权利要求1所述的基于色彩匹配的彩色打印方法,其特征在于,所述色块靶图包括至少一个色块,所述色块靶图呈矩形状、六边形状、八边形状或蜂巢形状。4. The color printing method based on color matching according to claim 1, wherein the color patch target diagram comprises at least one color patch, and the color patch target diagram is in the shape of a rectangle, a hexagon, or an octagon or honeycomb shape. 5.根据权利要求1所述的基于色彩匹配的彩色打印方法,其特征在于,所述方法在所述获取所述目标色块的颜色值之后还包括:5. The color printing method based on color matching according to claim 1, characterized in that, after said acquiring the color value of said target color block, said method further comprises: 建立待打印墨水的颜色值与所述目标色块的颜色值的对应关系;Establishing a corresponding relationship between the color value of the ink to be printed and the color value of the target color block; 存储所述对应关系。The corresponding relationship is stored. 6.根据权利要求1所述的基于色彩匹配的彩色打印方法,其特征在于,所述当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印包括:6. The color printing method based on color matching according to claim 1, characterized in that, when receiving a printing instruction to a preset color value, replacing the color value of the ink to be printed with the color value of the target color block Color value output printing includes: 接收对预设的颜色值的打印指令;receiving a print command for a preset color value; 在RIP软件中,将待打印墨水的颜色值替换为目标色块的颜色值;In the RIP software, replace the color value of the ink to be printed with the color value of the target color block; 根据目标色块的颜色值输出打印。Outputs a print based on the color value of the target patch. 7.根据权利要求1所述的基于色彩匹配的彩色打印方法,其特征在于,所述当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印包括:7. The color printing method based on color matching according to claim 1, characterized in that, when receiving a printing instruction to a preset color value, replacing the color value of the ink to be printed with the color value of the target color block Color value output printing includes: 接收对预设的颜色值的打印指令;receiving a print command for a preset color value; 在RIP软件处理前的图像处理软件中,将待打印墨水的颜色值替换为目标色块的颜色值;In the image processing software before the RIP software processing, the color value of the ink to be printed is replaced with the color value of the target color block; 将目标色块的颜色值输入RIP软件中进行处理得到打印数据;Input the color value of the target color block into the RIP software for processing to obtain the print data; 将打印数据输出打印。Print the print data output. 8.根据权利要求1至7任一项所述的基于色彩匹配的彩色打印方法,其特征在于,所述根据所述待打印墨水的颜色值生成色块靶图包括:8. The color printing method based on color matching according to any one of claims 1 to 7, wherein the generating a color patch target map according to the color value of the ink to be printed comprises: 根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图。Automatically generate a color block target map according to the color value of the ink to be printed and the floating range of each ink channel. 9.根据权利要求8所述的基于色彩匹配的彩色打印方法,其特征在于,所述根据待打印墨水的颜色值以及各墨水通道的浮动范围自动生成色块靶图包括:9. The color printing method based on color matching according to claim 8, wherein the automatic generation of the color patch target map according to the color value of the ink to be printed and the floating range of each ink channel comprises: 采用排列组合规则或者待打印墨水的颜色值根据各墨水通道的浮动范围递减或者递增。The permutation and combination rule is adopted or the color value of the ink to be printed is decreased or increased according to the floating range of each ink channel. 10.一种基于色彩匹配的彩色打印装置,其特征在于,所述装置包括:10. A color printing device based on color matching, characterized in that the device comprises: 第一获取模块,用于获取预设的颜色值;The first obtaining module is used to obtain a preset color value; 转换模块,用于将所述预设的颜色值转换为待打印墨水的颜色值;A conversion module, configured to convert the preset color value into the color value of the ink to be printed; 色块靶图生成模块,用于根据所述待打印墨水的颜色值生成色块靶图;A color patch target image generating module, configured to generate a color patch target image according to the color value of the ink to be printed; 查找模块,用于从所述色块靶图中查找出与所述预设的颜色值的颜色一致的目标色块;A search module, configured to find, from the color block target map, a target color block that is consistent with the color of the preset color value; 第二获取模块,获取所述目标色块的颜色值;The second acquisition module acquires the color value of the target color block; 替换模块,用于当接收到对预设的颜色值的打印指令时,将待打印墨水的颜色值替换为目标色块的颜色值输出打印。The replacement module is configured to replace the color value of the ink to be printed with the color value of the target color block and print when receiving a printing instruction for a preset color value. 11.一种彩色打印设备,其特征在于,所述彩色打印设备包括:11. A color printing device, characterized in that the color printing device comprises: 至少一个处理器、至少一个存储器以及存储在所述存储器中的计算机程序指令,当所述计算机程序指令被所述处理器执行时实现如权利要求1-9中任一项所述的方法。At least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor implement the method according to any one of claims 1-9. 12.一种存储介质,其上存储有计算机程序指令,其特征在于,当所述计算机程序指令被处理器执行时实现如权利要求1-9中任一项所述的方法。12. A storage medium, on which computer program instructions are stored, wherein the method according to any one of claims 1-9 is implemented when the computer program instructions are executed by a processor.
CN202110578988.XA 2021-05-26 2021-05-26 Color printing method, device and color printing device based on color matching Pending CN115412641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110578988.XA CN115412641A (en) 2021-05-26 2021-05-26 Color printing method, device and color printing device based on color matching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110578988.XA CN115412641A (en) 2021-05-26 2021-05-26 Color printing method, device and color printing device based on color matching

Publications (1)

Publication Number Publication Date
CN115412641A true CN115412641A (en) 2022-11-29

Family

ID=84156272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110578988.XA Pending CN115412641A (en) 2021-05-26 2021-05-26 Color printing method, device and color printing device based on color matching

Country Status (1)

Country Link
CN (1) CN115412641A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954529A (en) * 2023-09-11 2023-10-27 广州中望龙腾软件股份有限公司 Print color definition optimization method, device, storage medium and computer equipment
CN118799501A (en) * 2024-09-13 2024-10-18 浙江环峪科技有限公司 Three-dimensional color printing model establishment method and interactive operation method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522865A (en) * 2003-09-12 2004-08-25 上海雅色兰广告器材有限公司 Online chromatic correction system used in wide-format digital printing system
US20060290959A1 (en) * 2005-06-24 2006-12-28 Fuji Xerox Co., Ltd. Image processing apparatus and method for controlling image processing apparatus, and program product
US20100290065A1 (en) * 2009-05-18 2010-11-18 Vladimir Shestak Color matching for color management systems
CN107395919A (en) * 2017-07-06 2017-11-24 杭州电子科技大学 A kind of method for realizing digital printing color correction by changing characteristic file
CN109949379A (en) * 2019-03-27 2019-06-28 森大(深圳)技术有限公司 Ink-jet printer chases after color method, device, equipment and storage medium
CN110418030A (en) * 2019-06-24 2019-11-05 浙江大学 Color Consistency Mapping Method Based on Image Color Blocks for Inkjet Printing and Dyeing of Textiles
CN111845098A (en) * 2019-04-26 2020-10-30 森大(深圳)技术有限公司 Method, device, equipment and medium for adjusting ink amount of printer
CN111845101A (en) * 2019-04-26 2020-10-30 森大(深圳)技术有限公司 Printer ink amount adjusting method, device, equipment and medium based on color management

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522865A (en) * 2003-09-12 2004-08-25 上海雅色兰广告器材有限公司 Online chromatic correction system used in wide-format digital printing system
US20060290959A1 (en) * 2005-06-24 2006-12-28 Fuji Xerox Co., Ltd. Image processing apparatus and method for controlling image processing apparatus, and program product
US20100290065A1 (en) * 2009-05-18 2010-11-18 Vladimir Shestak Color matching for color management systems
CN107395919A (en) * 2017-07-06 2017-11-24 杭州电子科技大学 A kind of method for realizing digital printing color correction by changing characteristic file
CN109949379A (en) * 2019-03-27 2019-06-28 森大(深圳)技术有限公司 Ink-jet printer chases after color method, device, equipment and storage medium
CN111845098A (en) * 2019-04-26 2020-10-30 森大(深圳)技术有限公司 Method, device, equipment and medium for adjusting ink amount of printer
CN111845101A (en) * 2019-04-26 2020-10-30 森大(深圳)技术有限公司 Printer ink amount adjusting method, device, equipment and medium based on color management
CN110418030A (en) * 2019-06-24 2019-11-05 浙江大学 Color Consistency Mapping Method Based on Image Color Blocks for Inkjet Printing and Dyeing of Textiles

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954529A (en) * 2023-09-11 2023-10-27 广州中望龙腾软件股份有限公司 Print color definition optimization method, device, storage medium and computer equipment
CN116954529B (en) * 2023-09-11 2024-04-12 广州中望龙腾软件股份有限公司 Print color definition optimization method, device, storage medium and computer equipment
CN118799501A (en) * 2024-09-13 2024-10-18 浙江环峪科技有限公司 Three-dimensional color printing model establishment method and interactive operation method

Similar Documents

Publication Publication Date Title
CN115412641A (en) Color printing method, device and color printing device based on color matching
US10750056B2 (en) Color chart for color selection, method for producing color chart for color selection, and device for producing color chart for color selection
US11785169B2 (en) Image processing apparatus, image processing method, and computer-readable medium
US6229626B1 (en) Method apparatus and product providing direct calculation of the color gamut of color reproduction processes
US7054033B2 (en) Image processing method, image processing apparatus, and storage medium
JP2003087589A (en) Profile adjusting method, device and program
JPH1028231A (en) Automatic color correction method and apparatus
CN109949379B (en) Color-tracing method, device, equipment and storage medium for ink-jet printer
CN111752493B (en) Automatic color following method, device, equipment and storage medium of printer
CN111044146B (en) Inkjet calibration method, inkjet calibration device, tile inkjet printer and readable storage medium
EP2696568A1 (en) Print color evaluating system and print color evaluating method
US7945093B2 (en) Simplified color workflow
JP2021125144A (en) Image processing apparatus, image processing system, and program
CN117435149A (en) Method, device, equipment and medium for acquiring common printing color gamut range
CN115599318A (en) Ink-jet printer color-tracing method, device and equipment
US8103092B2 (en) Determining whether a color is inside or outside a boundary surface of a color gamut
US20090180128A1 (en) Simplified color workflow
CN115145502A (en) print image processing system
CN115145503A (en) Method for processing print image on cloud server and cloud server
JP2020170882A (en) Color conversion information generation method, color conversion information generation program, and color conversion information generation device
US7012718B2 (en) Color correcting method and recorded medium on which color correcting program is recorded
US11997244B2 (en) Image processing apparatus, image processing system, image processing method, and non-transitory recording medium configured to calibrate a color density
CN115543228A (en) Inkjet printer color tracking method, device, equipment and storage medium
EP4195646A1 (en) Image processing apparatus, image forming system, image processing method, and carrier means
CN118860300A (en) Printer automatic calibration method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Applicant after: Shenzhen Hansen Software Co.,Ltd.

Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000

Applicant before: SHENZHEN HOSONSOFT Co.,Ltd.