WO2023078304A1 - Spray head compensation method based on binary image - Google Patents
Spray head compensation method based on binary image Download PDFInfo
- Publication number
- WO2023078304A1 WO2023078304A1 PCT/CN2022/129291 CN2022129291W WO2023078304A1 WO 2023078304 A1 WO2023078304 A1 WO 2023078304A1 CN 2022129291 W CN2022129291 W CN 2022129291W WO 2023078304 A1 WO2023078304 A1 WO 2023078304A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pixel
- binary image
- color difference
- error
- value
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 239000007921 spray Substances 0.000 title abstract 2
- 238000007639 printing Methods 0.000 claims abstract description 31
- 230000004075 alteration Effects 0.000 claims description 5
- 238000009792 diffusion process Methods 0.000 claims description 2
- 238000004590 computer program Methods 0.000 claims 4
- 230000008569 process Effects 0.000 description 15
- 238000007641 inkjet printing Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 239000000976 ink Substances 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000000758 substrate Substances 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000010297 mechanical methods and process Methods 0.000 description 1
- 230000005226 mechanical processes and functions Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/005—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
- B41J2/01—Ink jet
- B41J2/07—Ink jet characterised by jet control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
- G06F3/1248—Job translation or job parsing, e.g. page banding by printer language recognition, e.g. PDL, PCL, PDF
-
- G06T5/90—
Definitions
- the invention relates to the technical field of printing, in particular to a nozzle compensation method based on a binary image.
- Inkjet printing refers to a printing method in which ink is attached to a substrate from a nozzle through a computer to obtain graphics and text. It is a printing without contact, pressure, and printing plate.
- the information stored in the electronic computer can be printed by entering the inkjet printer.
- An inkjet printing machine is composed of a system controller, an inkjet controller, a nozzle, and a substrate driving mechanism. Under the control of the inkjet controller, the ink is ejected from the nozzles of the print head and printed on the substrate.
- inkjet printing equipment Compared with traditional large-scale printing equipment, inkjet printing equipment is lower in cost, more convenient to use and maintain, and can win future production capacity through a small investment. It is undoubtedly a powerful weapon for the production of high value-added products.
- the application of a large number of inkjet printing equipment in packaging printing also provides favorable conditions for the standardized production of packaging printed matter. With the continuous development and maturity of the domestic digital printing market, inkjet printing will have greater development.
- the main processing flow of inkjet printing is first to process files or images, such as parsing PDF files, and the second step is to perform RIP processing on the parsed files, mainly for color management and halftone processing , and then get the processed binary image, which is generally a TIFF format file, and finally, under the control of the printing control equipment, use the nozzle to present the equipment on paper, fabrics and other substrates.
- files or images such as parsing PDF files
- the second step is to perform RIP processing on the parsed files, mainly for color management and halftone processing , and then get the processed binary image, which is generally a TIFF format file, and finally, under the control of the printing control equipment, use the nozzle to present the equipment on paper, fabrics and other substrates.
- the present invention proposes a compensation result generation method based on a binary image and a nozzle compensation method, and the compensation result is obtained based on the binary image of the color difference map, thereby improving the effect quality of inkjet printing.
- the nozzle compensation method based on the binary image of the present invention its steps include:
- the nozzle prints based on the original image and obtains the first print result
- the present invention has the following advantages:
- FIG. 1 is a flowchart of a conventional inkjet printing method.
- Fig. 2 is a flow chart of the chromatic aberration compensation of the nozzle of the present invention.
- Fig. 3 is a flow chart of binary image processing in the present invention.
- the main process of the present invention includes: first, print a special test chart, the second step is to use a measuring instrument to measure all areas with macroscopic color difference, and record all color difference values in each area, and the third step
- the first step is to adjust the binary image data in the color difference area in a targeted manner, and finally print the test image again. This process needs to be carried out several times. When the technician thinks that the printing effect is good, or the measurement values of all areas with macroscopic color difference are close to the same as the measurement values of other normal areas (that is, within a set threshold), it can be considered that the accurate color difference is obtained Graph, so as to achieve the best processing effect.
- the steps of the present invention include:
- the nozzle first prints based on the original image, and obtains the print result L 1 ;
- the detailed processing flow of the binary image is shown in Figure 3.
- the first part is to obtain the binary image of the color difference map.
- the test image area to be processed is determined according to the nozzle area, and the actual printing value of each pixel in the current area is calculated according to the measured value.
- the difference of the gray value of the corresponding position then use the halftone algorithm, or the frequency modulation algorithm such as error diffusion or dithering, to perform halftone processing on the calculated color difference map to obtain the binary map of the color difference map.
- the second part is to use the binary image of the color difference map to process all the binary images to be printed.
- the binary image of the original image and the binary image of the color difference map are added or subtracted in the corresponding area.
- the specific process is: process each pixel of the binary image of the color difference map sequentially, if the current pixel is 255 (that is, the error can be compensated), then process the next pixel, otherwise, judge whether the corresponding position in the binary image of the original image is 0, If it is, set it to 255, if not, judge whether there are 0 pixels in the 8 pixels around the pixel, if there is only 1, set this pixel to 255, if there are more than 2, then randomly choose one of them and set it to 255, if not, just skip and process the next pixel.
- the color difference map of the nozzle color difference area can be accurately obtained, and finally the color difference in the macro color difference area is eliminated, and the optimal compensation result is obtained.
- the method of the present invention does not process the original image, let alone modify and optimize the halftone method, which determines that the method has good applicability.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Color, Gradation (AREA)
- Ink Jet (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
A compensation result generation method based on a binary image and a spray head compensation method. The method comprises: for an area where a macroscopic color difference exists, generating a color difference image Qt of each color surface according to a color difference value of each pixel in an original image and the corresponding position of the printing result; respectively generating a binary image Pt of each color difference image and a binary image P' of the original image; and performing an addition operation or a subtraction operation on each binary image Pt and the binary image P' to generate a compensation result of each color surface; and obtaining a compensation result for printing the original image on the basis of the compensation result of each color surface.
Description
本发明涉及打印技术领域,具体为一种基于二值图像的喷头补偿方法。The invention relates to the technical field of printing, in particular to a nozzle compensation method based on a binary image.
喷墨印刷是指通过计算机使油墨从喷嘴附在承印物上而获得图文的一种印刷方法,是一种无接触、无压力、无印版的印刷。电子计算机中存储的信息,输入喷墨印刷机即可印刷。喷墨印刷机由系统控制器、喷墨控制器、喷头、承印物驱动机构等组成。油墨在喷墨控制器的控制下,从喷头的喷嘴喷出喷印在承印物上。Inkjet printing refers to a printing method in which ink is attached to a substrate from a nozzle through a computer to obtain graphics and text. It is a printing without contact, pressure, and printing plate. The information stored in the electronic computer can be printed by entering the inkjet printer. An inkjet printing machine is composed of a system controller, an inkjet controller, a nozzle, and a substrate driving mechanism. Under the control of the inkjet controller, the ink is ejected from the nozzles of the print head and printed on the substrate.
近年来,众多的印刷设备商已将普通彩色喷墨打印机的新技术应用到了大幅面喷墨打印机中,如微小墨滴、分体墨盒、色彩分层和多色墨水、微压电技术等。同时,大幅面彩色喷墨打印机以其快速灵活和精美的输出受到了各行业用户的青睐,有力地推动了喷墨印刷技术和喷墨印刷机的发展。In recent years, many printing equipment manufacturers have applied the new technologies of ordinary color inkjet printers to large-format inkjet printers, such as tiny ink droplets, split ink cartridges, color layering and multi-color inks, and micro piezoelectric technology. At the same time, large-format color inkjet printers are favored by users in various industries for their fast, flexible and exquisite output, which has effectively promoted the development of inkjet printing technology and inkjet printing machines.
与传统大型印刷设备相比,喷墨印刷设备成本更低,使用维护更加方便,通过较小的投资就能够赢得未来的生产能力,无疑它是生产高附加值产品的有力武器。同时,大量喷墨印刷设备在包装印刷中的应用也为包装印品的标准化生产提供了有利的条件。随着国内数字化印刷市场的不断发展成熟,喷墨印刷将会有更大的发展。Compared with traditional large-scale printing equipment, inkjet printing equipment is lower in cost, more convenient to use and maintain, and can win future production capacity through a small investment. It is undoubtedly a powerful weapon for the production of high value-added products. At the same time, the application of a large number of inkjet printing equipment in packaging printing also provides favorable conditions for the standardized production of packaging printed matter. With the continuous development and maturity of the domestic digital printing market, inkjet printing will have greater development.
喷墨印刷的主要处理流程,如图1所示,首先是对文件或者图像进行处理,比如解析PDF文件,第二步是对解析后的文件进行RIP处理,主要是进行颜色管理和半色调处理,而后得到处理后的二值图像,一般情况下为TIFF格式文件,最后在印刷控制设备的控制下,利用喷头将设备呈现在纸张、面料等承印物上。The main processing flow of inkjet printing, as shown in Figure 1, is first to process files or images, such as parsing PDF files, and the second step is to perform RIP processing on the parsed files, mainly for color management and halftone processing , and then get the processed binary image, which is generally a TIFF format file, and finally, under the control of the printing control equipment, use the nozzle to present the equipment on paper, fabrics and other substrates.
在印刷过程中,由于受到控制技术、机械工艺、压力等影响,各个喷头之间或者喷头内部在最后的印刷效果上存在一定的缺陷,比如某个区域存在与其他区域较为明显的色差,称之为色带。这些缺陷的存在,极大地影响了最后的印刷效果。通过调整原图、优化半色调算法等方法,可以一定程度上缓解这些缺陷带来的影响。但是这些方法都存在着算法复杂、适用性不强的问题。In the printing process, due to the influence of control technology, mechanical process, pressure, etc., there are certain defects in the final printing effect between each nozzle or inside the nozzle, such as a certain area with obvious color difference from other areas, which is called for the ribbon. The existence of these defects greatly affects the final printing effect. By adjusting the original image and optimizing the halftone algorithm, the impact of these defects can be alleviated to a certain extent. However, these methods all have the problems of complex algorithms and poor applicability.
发明内容Contents of the invention
为解决上述问题,本发明提出一种基于二值图像的补偿结果生成方法及喷头补偿方法,基于色差图的二值图像获取补偿结果,从而提高喷墨打印的效果质量。In order to solve the above problems, the present invention proposes a compensation result generation method based on a binary image and a nozzle compensation method, and the compensation result is obtained based on the binary image of the color difference map, thereby improving the effect quality of inkjet printing.
本发明的基于二值图像的喷头补偿方法,其步骤包括:The nozzle compensation method based on the binary image of the present invention, its steps include:
喷头基于原图进行打印,得到首次打印结果;The nozzle prints based on the original image and obtains the first print result;
获取所述首次打印结果中存在宏观色差的所有区域,并记录下每个区域的所有色差值;Obtaining all areas in the first printing result where macroscopic color difference exists, and recording all color difference values of each area;
根据所述原图中与所述区域各对应像素的色差值,生成各色面的色差图;Generate a color difference map of each color surface according to the color difference value of each corresponding pixel in the original image and the region;
生成所述色差图的二值图像与所述原图对应的二值图像,对所述色差图的 二值图像每一不能弥补误差的像素进行调整,得到各色面的补偿结果;Generate the binary image of the color difference map and the binary image corresponding to the original image, adjust each pixel that cannot compensate for the error in the binary image of the color difference map, and obtain the compensation results of each color surface;
根据上述补偿结果补偿喷头后结合原图继续打印并对打印结果中存在宏观色差的所有区域进行上述调整,直至宏观色差区域的色差消除。After compensating the nozzle according to the above compensation results, continue printing in combination with the original image, and perform the above adjustments on all areas with macroscopic color difference in the printing result until the color difference in the macroscopic color difference area is eliminated.
当打印结果中存在宏观色差区域的色差值与不存在宏观色差区域的色差值之间的差值小于设定的阈值时可视为宏观色差区域的色差已消除。When the difference between the color difference value of the macroscopic color difference region and the color difference value of the non-macroscopic color difference region in the printing result is smaller than the set threshold, it can be considered that the color difference of the macroscopic color difference region has been eliminated.
与现有技术相比,本发明的具有以下优势:Compared with the prior art, the present invention has the following advantages:
1、只需一次比较精确区域色差测试,得到区域色差值,即可适用于所有图像。1. It only needs one more accurate regional color difference test to get the regional color difference value, which can be applied to all images.
2、只是对待打印的二值进行处理,不需要对图像原图、半色调算法进行修改,适用性较好。2. Only the binary value to be printed is processed, and there is no need to modify the original image and the halftone algorithm, so the applicability is good.
图1是现有喷墨印刷的方法流程图。FIG. 1 is a flowchart of a conventional inkjet printing method.
图2是本发明的喷头色差补偿流程图。Fig. 2 is a flow chart of the chromatic aberration compensation of the nozzle of the present invention.
图3是本发明的二值图像处理流程图。Fig. 3 is a flow chart of binary image processing in the present invention.
在下文中将结合附图对本发明的示范性实施例进行描述。为了清楚和简明起见,在说明书中并未描述实际实施方式的所有特征。然而,应该了解,在开发任何这种实际实施例的过程中必须做出很多特定于实施方式的决定,以便实 现开发人员的具体目标,例如,符合与系统及业务相关的那些限制条件,并且这些限制条件可能会随着实施方式的不同而有所改变。Exemplary embodiments of the present invention will be described below with reference to the accompanying drawings. In the interest of clarity and conciseness, not all features of an actual implementation are described in this specification. It should be understood, however, that in developing any such practical embodiment, many implementation-specific decisions must be made in order to achieve the developer's specific goals, such as meeting those constraints related to the system and business, and those Restrictions may vary from implementation to implementation.
本发明的主要流程,如图2所示,包括:首先是打印专用测试图,第二步是使用测量仪器测量存在宏观色差的所有区域,并记录下每个区域的所有色差值,第三步是有针对性的调整存在色差区域的二值图像数据,最后再次打印测试图像。此过程需要进行多次,当技术人员认为打印效果良好、或存在宏观色差的所有区域的测量值与其他正常区域测量值接近相等(即在一设定阈值内)时,可认为得到准确的色差图,从而达到最佳处理效果。The main process of the present invention, as shown in Figure 2, includes: first, print a special test chart, the second step is to use a measuring instrument to measure all areas with macroscopic color difference, and record all color difference values in each area, and the third step The first step is to adjust the binary image data in the color difference area in a targeted manner, and finally print the test image again. This process needs to be carried out several times. When the technician thinks that the printing effect is good, or the measurement values of all areas with macroscopic color difference are close to the same as the measurement values of other normal areas (that is, within a set threshold), it can be considered that the accurate color difference is obtained Graph, so as to achieve the best processing effect.
具体说来,本发明步骤包括:Specifically, the steps of the present invention include:
喷头先基于原图进行打印,得到打印结果L
1;
The nozzle first prints based on the original image, and obtains the print result L 1 ;
获取L
1中存在宏观色差的所有区域,并记录下每个区域的所有色差值;
Obtain all areas in L1 where macroscopic chromatic aberration exists, and record all chromatic aberration values of each area;
对所述打印结果L
j中存在宏观色差的区域,根据原图中每个像素与打印结果相应位置的色差值,生成每个色面的色差图Q
t,其中t为色面序号;
For the region where there is macroscopic color difference in the printing result Lj , according to the color difference value of each pixel in the original image and the corresponding position of the printing result, a color difference map Q t for each color plane is generated, where t is the color plane number;
分别生成所述色差图Q
t的二值图像P
t与所述原图的二值图像P′;
Generate the binary image P t of the color difference map Q t and the binary image P' of the original image respectively;
对二值图像的详细处理流程如图3所示,第一部分是得到色差图的二值图,首先是根据喷嘴区域确定需要处理的测试图像区域,根据测量值计算当前区域每个像素与实际打印相应位置的灰度值差值;然后采用半色调算法,或误差扩散或抖动等调频算法均可,对计算所得到的色差图进行半色调处理,得到色差图的二值图。第二部分是利用色差图的二值图像对所有待印刷的二值图像进行处理。The detailed processing flow of the binary image is shown in Figure 3. The first part is to obtain the binary image of the color difference map. First, the test image area to be processed is determined according to the nozzle area, and the actual printing value of each pixel in the current area is calculated according to the measured value. The difference of the gray value of the corresponding position; then use the halftone algorithm, or the frequency modulation algorithm such as error diffusion or dithering, to perform halftone processing on the calculated color difference map to obtain the binary map of the color difference map. The second part is to use the binary image of the color difference map to process all the binary images to be printed.
具体为针对二值图像P
t,获取所述二值图像P
t中一像素
的值,并判断所述像素
的值能否弥补误差;其中,i为像素序号;
Specifically, for the binary image P t , obtain a pixel in the binary image P t value, and determine that the pixel Can the value of can make up for the error; where, i is the pixel serial number;
若像素
的值能弥补误差,则返回所述针对二值图像P
t,获取所述二值图像P
t中一像素
的值,然后处理像素
if pixel The value of can make up for the error, then return to the binary image P t to obtain a pixel in the binary image P t value, and then process the pixel
若像素
的值不能弥补误差,则判断所述二值图像P′中的相应位置是否不能弥补误差;
if pixel The value of can not make up the error, then judge whether the corresponding position in the binary image P' can not make up the error;
若所述二值图像P′中的相应位置不能弥补误差,则将该相应位置设置为能弥补误差,并返回所述针对二值图像P
t,获取所述二值图像P
t中一像素
的值,然后处理像素
If the corresponding position in the binary image P' cannot make up for the error, then set the corresponding position to be able to make up for the error, and return to the target binary image P t to obtain a pixel in the binary image P t value, and then process the pixel
若所述二值图像P′中的相应位置能弥补误差,则判断所述像素
周围的8个像素中是否存在不能够弥补误差的像素;
If the corresponding position in the binary image P' can make up for the error, then judge the pixel Whether there are pixels that cannot compensate for the error among the surrounding 8 pixels;
若所述像素
周围的8个像素中不存在能够弥补误差像素,则返回所述针对二值图像P
t,获取所述二值图像P
t中一像素
的值,然后处理像素
If the pixel If there is no pixel that can compensate for the error in the surrounding 8 pixels, then return to the binary image P t to obtain a pixel in the binary image P t value, and then process the pixel
若所述像素
周围的8个像素中存在能够弥补误差像素,则将任一元素设置为能够弥补误差,并返回所述针对二值图像P
t,获取所述二值图像P
t中一像素
的值,然后处理像素
If the pixel If there is a pixel that can make up for the error in the surrounding 8 pixels, set any element to be able to make up for the error, and return to the binary image P t to obtain a pixel in the binary image P t value, and then process the pixel
即在相应区域对原图二值图像与色差图二值图像进行加运算或者减运算。具体流程为:依次处理色差图的二值图像的每个像素,如果当前像素为255(即能弥补误差),则处理下一像素,否则,判断原图二值图中相应位置是否为0,如果是,则将其设置为255,如果不是,则判断该像素周围的8个像素是否存 在为0的像素,如果只有1个,则将这个像素设置为255,如果有大于2个,则随机选择其中一个设置为255,如果没有,直接跳过,处理下一像素。That is, the binary image of the original image and the binary image of the color difference map are added or subtracted in the corresponding area. The specific process is: process each pixel of the binary image of the color difference map sequentially, if the current pixel is 255 (that is, the error can be compensated), then process the next pixel, otherwise, judge whether the corresponding position in the binary image of the original image is 0, If it is, set it to 255, if not, judge whether there are 0 pixels in the 8 pixels around the pixel, if there is only 1, set this pixel to 255, if there are more than 2, then randomly Choose one of them and set it to 255, if not, just skip and process the next pixel.
当处理完所有像素
后,获取第t个色面的补偿结果;
When all pixels are processed After that, obtain the compensation result of the tth color surface;
基于所有色面的补偿结果,获取补偿结果T
j;
Obtain the compensation result T j based on the compensation results of all color surfaces;
然后计算打印结果L
j的补偿结果T
j,并使用所述补偿结果T
j对喷头补偿后,结合原图进行打印,得到打印结果L
j+1,其中,j≥1。
Then calculate the compensation result T j of the printing result L j , use the compensation result T j to compensate the nozzle, and then print in combination with the original image to obtain the printing result L j+1 , where j≥1.
容易理解,若是要补偿彩色图像的宏观误差,需要对每个色面重复上面过程。It is easy to understand that if you want to compensate the macroscopic error of the color image, you need to repeat the above process for each color plane.
经过多次补偿后,可以准确得到喷头色差区域的色差图,最终消除存在宏观色差区域的色差,获得最优补偿结果。After multiple compensations, the color difference map of the nozzle color difference area can be accurately obtained, and finally the color difference in the macro color difference area is eliminated, and the optimal compensation result is obtained.
通过以下步骤进行判断色差是否消除:Use the following steps to judge whether the chromatic aberration is eliminated:
1)基于原图与打印结果L
1,获取存在宏观色差区域与不存在宏观色差区域;
1) Based on the original image and the printing result L 1 , obtain the area with macroscopic color difference and the area without macroscopic color difference;
2)测量打印结果L
j中存在宏观色差区域的色差值C
1;
2) Measure the color difference value C 1 of the macroscopic color difference area in the printed result Lj ;
3)测量打印结果L
j中不存在宏观色差区域的色差值C
2;
3) Measuring the color difference value C2 of the macroscopic color difference area that does not exist in the printed result Lj ;
4)当色差值C
1与色差值C
2的差值小于一设定阈值时,判断色差已消除。
4) When the difference between the color difference value C1 and the color difference value C2 is smaller than a set threshold, it is determined that the color difference has been eliminated.
根据上述最优补偿结果对喷头进行补偿,可以获得理想的打印效果。Compensate the nozzle according to the above optimal compensation result to obtain ideal printing effect.
本发明方法不会对原图进行处理,更不会对半色调方法进行更改优化,这也就决定了这一方法具有良好的适用性。The method of the present invention does not process the original image, let alone modify and optimize the halftone method, which determines that the method has good applicability.
以上所述仅为本发明的其中一个实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改,等同替换,改进等,均应包含在 本发明的保护范围之内。The above description is only one of the embodiments of the present invention, and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (6)
- 一种基于二值图像的喷头补偿方法,其步骤包括:A nozzle compensation method based on a binary image, the steps comprising:喷头基于原图进行打印,得到首次打印结果;The nozzle prints based on the original image and obtains the first print result;获取所述首次打印结果中存在宏观色差的所有区域,并记录下每个区域的所有色差值;Obtaining all areas in the first printing result where macroscopic color difference exists, and recording all color difference values of each area;根据所述原图中与所述区域各对应像素的色差值,生成各色面的色差图;Generate a color difference map of each color surface according to the color difference value of each corresponding pixel in the original image and the region;生成所述色差图的二值图像与所述原图对应的二值图像,对所述色差图的二值图像每一不能弥补误差的像素进行补偿,得到各色面的补偿结果;Generating the binary image of the color difference map and the binary image corresponding to the original image, and compensating each pixel of the binary image of the color difference map that cannot make up the error to obtain the compensation results of each color surface;根据上述补偿结果补偿喷头后结合原图继续打印并对打印结果中存在宏观色差的所有区域进行所述补偿,直至宏观色差区域的色差消除。After compensating the nozzle according to the above compensation results, continue printing in combination with the original image, and perform the compensation on all regions with macroscopic color difference in the printing result until the color difference in the macroscopic color difference region is eliminated.
- 如权利要求1所述的方法,其特征在于,通过下述步骤得到各色面的补充结果:针对打印结果L j中存在宏观色差的区域,获取色差图Q t的二值图像P t中一像素 的值,并判断所述像素 的值能否弥补误差;其中,j≥1,表示打印次数,t≥1,表示色面序号,i为像素序号; The method according to claim 1, wherein the supplementary results of each color surface are obtained by the following steps: for the area of macroscopic color difference in the print result L j , obtain a pixel in the binary image P t of the color difference map Q t value, and determine that the pixel Whether the value of can make up for the error; among them, j≥1 means the number of printing times, t≥1 means the number of the color surface, and i is the number of the pixel;若像素 的值能弥补误差,则返回所述针对二值图像P t,获取所述二值图像P t中一像素 的值,以得到像素 if pixel The value of can make up for the error, then return to the binary image P t to obtain a pixel in the binary image P t value to get the pixel若像素 的值不能弥补误差,则判断所述原图的二值图像P′中的相应位置是否不能弥补误差; if pixel The value of can not make up the error, then judge whether the corresponding position in the binary image P ' of the original picture can not make up the error;若所述二值图像P′中的相应位置不能弥补误差,则将该相应位置设置为能弥补误差,并返回所述针对二值图像P t,获取所述二值图像P t中一像素 的值, 以得到像素 If the corresponding position in the binary image P' cannot make up for the error, then set the corresponding position to be able to make up for the error, and return to the target binary image P t to obtain a pixel in the binary image P t value to get the pixel若所述二值图像P′中的相应位置能弥补误差,则判断所述像素 周围的8个像素中是否存在不能够弥补误差的像素; If the corresponding position in the binary image P' can make up for the error, then judge the pixel Whether there are pixels that cannot compensate for the error among the surrounding 8 pixels;若所述像素 周围的8个像素中不存在能够弥补误差像素,则返回所述针对二值图像P t,获取所述二值图像P t中一像素 的值,以得到像素 If the pixel If there is no pixel that can compensate for the error in the surrounding 8 pixels, then return to the binary image P t to obtain a pixel in the binary image P t value to get the pixel若所述像素 周围的8个像素中存在能够弥补误差像素,则将任一元素设置为能够弥补误差,并返回所述针对二值图像P t,获取所述二值图像P t中一像素 的值,以得到像素 If the pixel If there is a pixel that can make up for the error in the surrounding 8 pixels, set any element to be able to make up for the error, and return to the binary image P t to obtain a pixel in the binary image P t value to get the pixel
- 如权利要求1所述的方法,其特征在于,当打印结果中存在宏观色差区域的色差值与不存在宏观色差区域的色差值之间的差值小于设定的阈值时宏观色差区域的色差消除。The method according to claim 1, characterized in that, when the difference between the color difference value of the macroscopic color difference region and the color difference value of the macroscopic color difference region in the printing result is less than the set threshold value, the value of the macroscopic color difference region Chromatic aberration is eliminated.
- 如权利要求1所述的方法,其特征在于,生成所述色差图的二值图像或所述原图的二值图像的方法包括:误差扩散算法或抖动调频算法。The method according to claim 1, wherein the method for generating the binary image of the color difference map or the binary image of the original image comprises: an error diffusion algorithm or a dithering frequency modulation algorithm.
- 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行权利要求1-4中任一所述方法。A storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to perform the method of any one of claims 1-4 when running.
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行如权利要求1-4中任一所述方法。An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1-4.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111300304.6 | 2021-11-04 | ||
CN202111300304.6A CN114211882B (en) | 2021-11-04 | 2021-11-04 | Compensation result generation method based on binary image and spray head compensation method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023078304A1 true WO2023078304A1 (en) | 2023-05-11 |
Family
ID=80695678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/129291 WO2023078304A1 (en) | 2021-11-04 | 2022-11-02 | Spray head compensation method based on binary image |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114211882B (en) |
WO (1) | WO2023078304A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114211882B (en) * | 2021-11-04 | 2023-01-17 | 北京大学 | Compensation result generation method based on binary image and spray head compensation method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5381246A (en) * | 1992-12-08 | 1995-01-10 | Mutoh Industries, Ltd. | Image processing system for converting a full color image into a pseudo-color CMY dot representation |
CN1893537A (en) * | 2005-06-28 | 2007-01-10 | 三星电子株式会社 | Defective pixel compensation device and method |
CN101197908A (en) * | 2006-12-07 | 2008-06-11 | 佳能株式会社 | Image processing apparatus, printing apparatus and image processing method |
CN104029510A (en) * | 2013-03-08 | 2014-09-10 | 北大方正集团有限公司 | Method and device for ink-jet printing concentration correction and method and device for ink-jet printing |
CN110949015A (en) * | 2018-09-26 | 2020-04-03 | 海德堡印刷机械股份公司 | Two-stage density compensation method |
CN112477438A (en) * | 2020-11-13 | 2021-03-12 | 深圳汉弘软件技术有限公司 | Printing method, printing device, ink-jet printer and storage medium |
CN113580769A (en) * | 2021-07-08 | 2021-11-02 | 浙江海印数码科技有限公司 | Ink jet printing device and fault nozzle compensation method |
CN114211882A (en) * | 2021-11-04 | 2022-03-22 | 北京大学 | Compensation result generation method based on binary image and spray head compensation method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1778556A (en) * | 2004-11-25 | 2006-05-31 | 精工爱普生株式会社 | Image processing device and image processing method |
CN100435547C (en) * | 2006-08-22 | 2008-11-19 | 北京北大方正电子有限公司 | Method and device capable of quickening image screening speed |
US9914309B2 (en) * | 2014-06-13 | 2018-03-13 | Electronics For Imaging, Inc. | Method and apparatus for single-pass failed nozzle compensation |
DE102017205505B4 (en) * | 2017-03-31 | 2019-03-07 | Heidelberger Druckmaschinen Ag | Method for compensating for tonal fluctuations in an inkjet printing press |
JP7204405B2 (en) * | 2018-10-02 | 2023-01-16 | 株式会社ミマキエンジニアリング | LIQUID EJECTING APPARATUS AND LIQUID EJECTING METHOD |
-
2021
- 2021-11-04 CN CN202111300304.6A patent/CN114211882B/en active Active
-
2022
- 2022-11-02 WO PCT/CN2022/129291 patent/WO2023078304A1/en unknown
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5381246A (en) * | 1992-12-08 | 1995-01-10 | Mutoh Industries, Ltd. | Image processing system for converting a full color image into a pseudo-color CMY dot representation |
CN1893537A (en) * | 2005-06-28 | 2007-01-10 | 三星电子株式会社 | Defective pixel compensation device and method |
CN101197908A (en) * | 2006-12-07 | 2008-06-11 | 佳能株式会社 | Image processing apparatus, printing apparatus and image processing method |
CN104029510A (en) * | 2013-03-08 | 2014-09-10 | 北大方正集团有限公司 | Method and device for ink-jet printing concentration correction and method and device for ink-jet printing |
CN110949015A (en) * | 2018-09-26 | 2020-04-03 | 海德堡印刷机械股份公司 | Two-stage density compensation method |
CN112477438A (en) * | 2020-11-13 | 2021-03-12 | 深圳汉弘软件技术有限公司 | Printing method, printing device, ink-jet printer and storage medium |
CN113580769A (en) * | 2021-07-08 | 2021-11-02 | 浙江海印数码科技有限公司 | Ink jet printing device and fault nozzle compensation method |
CN114211882A (en) * | 2021-11-04 | 2022-03-22 | 北京大学 | Compensation result generation method based on binary image and spray head compensation method |
Also Published As
Publication number | Publication date |
---|---|
CN114211882B (en) | 2023-01-17 |
CN114211882A (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8730524B2 (en) | Image processing apparatus to correct an image during double-sided printing | |
US7828405B2 (en) | Correction table generation method and method of controlling correction table generation apparatus | |
JP6823962B2 (en) | Ink consumption estimation method, ink consumption estimation device, and printing system | |
CN116940470A (en) | Defective nozzle correction mechanism | |
US8049939B2 (en) | Method, apparatus and computer program for generating transfer functions to be used in a printiing system | |
US11636296B1 (en) | Print artifact compensation mechanism | |
JP2020100064A (en) | Image processing device, image processing method, and program | |
JP2006224419A (en) | Printing device, printing program, printing method, image processor, image processing program, image processing method, and recording medium having program recorded therein | |
WO2023078304A1 (en) | Spray head compensation method based on binary image | |
JP2018149690A (en) | Image processing device, image processing program, and printer | |
US11831844B2 (en) | Print artifact compensation mechanism using transfer functions for each color generated based on ink deposition functions for groups of nozzles | |
JP2019155748A (en) | Image data processing method and printing system | |
JP4797308B2 (en) | Image processing apparatus and image processing program | |
JP2018154060A (en) | Image formation apparatus and image formation method | |
US20140268241A1 (en) | Image data processing apparatus, print apparatus, and print system | |
JP2013163307A (en) | Printing apparatus, method for producing printed matter, and device and method for generating dot data | |
US20220286579A1 (en) | Defective nozzle compensation mechanism | |
JP6531484B2 (en) | Device for discharging liquid, method for processing image data, program | |
US10757269B2 (en) | Image forming system, density adjusting method, and recording medium | |
US11734537B1 (en) | Print artifact compensation mechanism | |
JP2013059938A (en) | Apparatus, method and program for processing image | |
US11818318B2 (en) | Print artifact compensation mechanism | |
JP7277175B2 (en) | Image processing device, image processing method, and program | |
JP4501647B2 (en) | Error information acquisition method, error information acquisition program, error information acquisition device, print control method, print control program, and print control device | |
US10744760B2 (en) | Image processing apparatus, printing system, and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22889326 Country of ref document: EP Kind code of ref document: A1 |