WO2018223514A1 - Printing evaluation method, terminal device and computer-readable storage medium - Google Patents

Printing evaluation method, terminal device and computer-readable storage medium Download PDF

Info

Publication number
WO2018223514A1
WO2018223514A1 PCT/CN2017/095890 CN2017095890W WO2018223514A1 WO 2018223514 A1 WO2018223514 A1 WO 2018223514A1 CN 2017095890 W CN2017095890 W CN 2017095890W WO 2018223514 A1 WO2018223514 A1 WO 2018223514A1
Authority
WO
WIPO (PCT)
Prior art keywords
pattern
determined
value
pixel
background
Prior art date
Application number
PCT/CN2017/095890
Other languages
French (fr)
Chinese (zh)
Inventor
侯苏丽
杨维
Original Assignee
百富计算机技术(深圳)有限公司
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 百富计算机技术(深圳)有限公司 filed Critical 百富计算机技术(深圳)有限公司
Publication of WO2018223514A1 publication Critical patent/WO2018223514A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/028Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by thermal printers

Definitions

  • the invention belongs to the technical field of POS printing, and particularly relates to a method for printing evaluation, a terminal device and a computer readable storage medium.
  • the printers currently used by POS (Point Of Sales) machines are thermal printers.
  • the thermal printer works by mounting a semiconductor heating element on the printhead that prints the desired pattern after the printhead is heated and touches the thermal paper.
  • there is no objective evaluation method for the sample data printed by the POS machine and most of them only subjectively determine the printing effect. And the difference in the criteria for judging the same print pattern is not enough to determine the true print effect.
  • the present invention provides a method for printing evaluation, a terminal device, and a computer readable storage medium, in view of the fact that there is a difference in the evaluation criteria for the same printed pattern, which is insufficient to determine the true printing effect.
  • a first aspect of the embodiments of the present invention provides a method for printing evaluation, including:
  • the contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated to determine the printing effect.
  • the method further includes:
  • the electronic pattern is intercepted to obtain a pattern to be determined.
  • processing the pixel data to obtain a contrast value of the pattern to be determined includes:
  • method 1 is used to obtain a contrast value; if the background of the pattern to be determined is a white background, method 2 is used to obtain a contrast value, wherein
  • the first method is: calculating the sum of the squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, the formula is as follows:
  • ⁇ (i,j)
  • is the gradation difference between adjacent pixels
  • P ⁇ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is ⁇ ;
  • the second method is: calculating a variance of a content pixel of the to-be-determined pattern and 255, and the variance is used as a contrast value of the to-be-determined pattern.
  • processing the pixel data to obtain a uniformity value of the pattern to be determined includes:
  • the variance of the image pixel and the mean is obtained, and the variance is used as the uniformity value of the pattern to be determined.
  • processing the pixel data to obtain the blooming value of the pattern to be determined includes:
  • the ratio of the background pixels of the corresponding position of the last aliquot to the first aliquot is calculated, and the ratio of the background pixels is taken as the blooming value of the pattern to be determined.
  • a second aspect of the embodiments of the present invention provides an apparatus for printing evaluation, including:
  • An extraction module configured to extract pixel data of the pattern to be determined
  • a processing module configured to process the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined
  • the determination module is configured to integrate the contrast value, the uniformity value, and the blooming value of the pattern to be determined, and determine the printing effect.
  • processing module includes:
  • a determining unit configured to determine a degree of discrimination between the content of the to-be-determined pattern and the background
  • method 1 is used to obtain a contrast value; if the background of the pattern to be determined is a white background, method 2 is used to obtain a contrast value, wherein
  • the first method is: calculating the sum of the squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, the formula is as follows:
  • ⁇ (i,j)
  • is the gradation difference between adjacent pixels
  • P ⁇ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is ⁇ ;
  • the second method is: calculating a variance of a content pixel of the to-be-determined pattern and 255, and the variance is used as a contrast value of the to-be-determined pattern.
  • processing module further includes:
  • the calculating unit is configured to calculate a ratio of the background pixels of the last aliquot to the corresponding position of the first aliquot, and use the ratio of the background pixels as the blooming value of the pattern to be determined.
  • a third aspect of the embodiments of the present invention provides a terminal device for print evaluation, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor performing the following steps when executing the computer program:
  • the contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated to determine the printing effect.
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium for print evaluation.
  • the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
  • the contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated to determine the printing effect.
  • the present invention has the beneficial effects that the three dimensions of the to-be-determined pattern include the contrast value, the uniformity value, and the blooming value.
  • the comprehensive POS is determined from the objective dimension.
  • the way of printing the effect of the machine avoids the conclusion that the subjective judgment of the printing effect is not necessarily true; on the other hand, the POS machine printing problem reflected from different dimensions can be adopted, and the corresponding solution is adopted; Since the printing effect of the POS machine can be objectively determined, the user does not need to repeatedly test and judge the printing effect, thereby saving the cost of the hardware device for purchasing the test printing effect.
  • FIG. 1 is a schematic flowchart showing an implementation of a method for print evaluation provided by an embodiment of the present invention
  • FIG. 2 is a schematic flow chart showing an implementation of a method for calculating a contrast in a pattern in the embodiment provided in FIG. 1;
  • FIG. 3 is a schematic flow chart showing an implementation of a method for calculating uniformity of a pattern in the embodiment provided in FIG. 1;
  • Figure 4 is a diagram of a method for evaluating a blooming evaluation in the embodiment provided in Figure 1;
  • FIG. 5 is a schematic diagram showing an implementation flow of a method for calculating a blooming degree in a pattern provided in FIG. 1;
  • Figure 6 (a) is a series of a series of examples A for calculating contrast by two contrast methods in the embodiment provided in Figure 1;
  • Figure 6 (b) is a series of sample B for the calculation of contrast by the two contrast methods in the embodiment provided in Figure 1;
  • Figure 6 (c) is a sample series C of the sample for calculating the uniformity of the sample in the embodiment provided in Figure 1;
  • Figure 6 (d) is a series of sample diagram D for calculating the degree of blooming of the sample in the embodiment provided in Figure 1;
  • FIG. 7 is a schematic diagram of an apparatus for print evaluation provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a terminal device for print evaluation according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of an implementation of a method for print evaluation according to an embodiment of the present invention
  • the execution subject of the embodiment is a device for print evaluation
  • the method for print evaluation provided by the embodiment may include:
  • MATLAB is a high-tech computing environment developed by mathworks of the United States that focuses on scientific computing, visualization, and interactive programming. MATLAB can perform matrix operations, draw functions and data, implement algorithms, create user interfaces, and connect programs in other programming languages. It is mainly used in engineering calculation, control design, signal processing and communication, image processing, signal detection, and financial modeling design. And other areas such as analysis.
  • Pixel refers to the basic encoding of the basic pigment and its gradation. It is the basic unit that constitutes a digital image. It usually represents the resolution of the image in units of PPI (pixels per inch).
  • 300x300PPI resolution means that the number of pixels per inch in the horizontal and vertical directions is 300, or it can be expressed as 90,000 (300x300) pixels in one square inch.
  • the electronic pattern of the pattern is scanned by scanning the pattern; the electronic pattern is intercepted to obtain the pattern to be determined and saved for use.
  • the contrast ratio refers to the measurement of different brightness levels between the brightest white and the darkest black in the dark and dark areas of an image.
  • Uniformity refers to the difference between the brightest and darkest parts of the image.
  • the degree of blooming refers to the ghosting of the color. Generally, the closer to the bottom of the pattern, the more serious the blooming. The lower the smudge value, the better the smudge of the printed pattern.
  • the method 1 is used to obtain the contrast value; if the background of the pattern to be determined is determined For a white background, method 2 is used to obtain the contrast value, wherein
  • the first method is: calculating the sum of the squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, the formula is as follows:
  • ⁇ (i,j)
  • is the gradation difference between adjacent pixels
  • P ⁇ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is ⁇ ;
  • the second method is as follows: as shown in the flow diagram of calculating the contrast of the pattern as shown in FIG. 2, the variance of the content pixel of the image to be determined and the variance of 255 is calculated, and the variance is used as the contrast value of the pattern to be determined, and the specific steps are as follows: (1) Get the background pixel value; (2) Get the content pixel value matrix; (3) Find the 2-step transition probability matrix and 255 variance.
  • each element of the matrix in the transition probability matrix is non-negative, and the sum of the elements of each row is equal to 1.
  • Each element is represented by a probability, and is transferred to each other under certain conditions, so it is called a transition probability matrix.
  • the two-step transition probability matrix is exactly the square of the one-step transition probability matrix.
  • the k-step transition probability matrix is exactly the k-th power of the one-step transition probability matrix.
  • the uniformity of the pattern is based on the idea that the pixel in the image is smaller and more uniform with the true mean value difference, and a value close to the true mean is obtained as the mean value, and then the variance is obtained as the uniformity value of the pattern to be determined.
  • the steps specifically included in calculating the uniformity of the pattern include:
  • the flow chart of uniformity shows that the ratio of the fourth aliquot to the background pixel of the first aliquot, that is, the ratio of the number of white pixels, is obtained from the bottom up, and the smaller the ratio, the better, otherwise the worse.
  • the steps specifically included in calculating the pattern uniformity include:
  • test results are as follows:
  • the contrast method (2) evaluation results are as follows:
  • the contrast method (1) evaluation results are as follows:
  • the contrast method (1) evaluation results are as follows:
  • the three dimensions of the pattern to be determined include the contrast value, the uniformity value, and the blooming value.
  • the objective is to comprehensively determine the printing effect of the POS machine from the objective dimension. The way to avoid people's conclusion that the printing effect is not necessarily true through subjective judgment; on the other hand, the POS machine printing problem reflected from different dimensions can be adopted, and the corresponding solution is adopted; in the third aspect, since the POS can be objectively determined The printing effect of the machine eliminates the need for the user to repeatedly test and judge the printing effect, thereby saving the cost of the hardware device for purchasing the test printing effect.
  • FIG. 7 is a schematic diagram of an apparatus for performing print evaluation according to an embodiment of the present invention. As shown in FIG. 7, the execution subject of the embodiment is a device for print evaluation, and the apparatus for print evaluation provided by the embodiment may include:
  • the extracting module 71 is configured to extract pixel data of the pattern to be determined
  • the processing module 72 is configured to process the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
  • the determining module 73 is configured to integrate the contrast value, the uniformity value, and the blooming value of the pattern to be determined, and determine the printing effect.
  • the three dimensions of the pattern to be determined include the contrast value, the uniformity value, and the blooming value.
  • the printing effect of the POS machine is comprehensively determined from the objective dimension. The way to avoid people from the subjective judgment of the printing effect is not necessarily true conclusion; on the other hand, it can also reflect the POS machine printing problems from different dimensions, and take corresponding solutions; the third aspect, because it can be objectively determined
  • the printing effect of the POS machine eliminates the need for the user to repeatedly test and judge the printing effect, thereby saving the cost of the hardware device for purchasing the test printing effect.
  • FIG. 8 is a schematic diagram of a terminal device for print evaluation according to an embodiment of the present invention.
  • the terminal device 8 for print evaluation of this embodiment includes a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and operable on the processor 80, for example, for implementing print evaluation.
  • the processor 80 executes the computer program 82 to implement the steps in the method embodiments of the various print evaluations described above, such as steps 101 through 103 shown in FIG.
  • the processor 80 executes the computer program 82, the functions of the modules/units in the above-described respective device embodiments are implemented, such as the functions of the modules 71 to 73 shown in FIG.
  • the present invention provides a computer program 82 for implementing a method for printing evaluation, comprising: extracting pixel data of a pattern to be determined; processing the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined; The contrast value, the uniformity value, and the blooming value of the determination pattern are described, and the printing effect is determined.
  • Computer program 82 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 81 and executed by processor 80 to complete the present invention.
  • the one or more modules/units may be a series of computer program instruction segments capable of performing a particular function for describing the execution of computer program 82 in print evaluation terminal device 8.
  • the computer program 82 can be divided into a synchronization module, a summary module, an acquisition module, and a return module (modules in a virtual device), and the specific functions of each module are as follows:
  • the terminal device 8 for print evaluation may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device that prints the evaluation may include, but is not limited to, the processor 80 and the memory 81. It will be understood by those skilled in the art that FIG. 6 is merely an example of the terminal device 8 for print evaluation, does not constitute a limitation of the terminal device 8 for print evaluation, may include more or less components than those illustrated, or may combine some
  • the components, or different components, such as the printed evaluation terminal device 8, may also include input and output devices, network access devices, buses, and the like.
  • the processor 80 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), and application specific integrated circuits. (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 81 may be an internal storage unit of the terminal device 8 for print evaluation, for example, a hard disk or a memory of the terminal device 8 for printing evaluation.
  • the memory 81 may also be an external storage device of the terminal device 8 for print evaluation, such as a plug-in hard disk provided on the terminal device 8 for print evaluation, a smart memory card (SMC), and a secure digital (Secure Digital, SD). Card, flash card, etc.
  • the memory 81 may also include both an internal storage unit of the terminal device 8 for print evaluation and an external storage device.
  • the memory 81 is used to store computer programs and other programs and data required for printing the evaluated terminal device 8.
  • the memory 81 can also be used to temporarily store data that has been output or is about to be output.
  • each functional unit and module in the foregoing system may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be hardware.
  • Formal implementation can also be implemented in the form of software functional units.
  • the specific names of the respective functional units and modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present application.
  • the disclosed apparatus/terminal device and method may be implemented in other manners.
  • the device/terminal device embodiments described above are merely illustrative, for example, the division of modules or units is only one logical function division, and may be further divided in actual implementation, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated module/unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, can be stored in a computer readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the above embodiments, and can also be completed by a computer program to instruct related hardware.
  • the computer program can be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when executed by a processor.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code form, executable file or some intermediate form.
  • the computer readable medium may include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-Only Memory (ROM), a random access device. Memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media does not include Electrical carrier signal and telecommunication signal.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Printing Methods (AREA)

Abstract

A printing evaluation method, a terminal device and a computer-readable storage medium, which relate to the technical field of POS machine printing. The method comprises: extracting pixel data of a pattern to be determined (101); processing the pixel data to obtain a contrast value, a uniformity value and a blooming value of the pattern to be determined (102); and determining a printing effect by synthesizing the contrast value, the uniformity value and the blooming value of the pattern to be determined (103). The method provides an approach to comprehensively determine the printing effect of a POS machine from an objective dimension, and a corresponding method can also be used to solve a POS machine printing problem reflected from different dimensions.

Description

打印评价的方法、终端设备及计算机可读存储介质Method for printing evaluation, terminal device and computer readable storage medium 技术领域Technical field
本发明属于POS机打印技术领域,尤其涉及一种打印评价的方法、终端设备及计算机可读存储介质。The invention belongs to the technical field of POS printing, and particularly relates to a method for printing evaluation, a terminal device and a computer readable storage medium.
背景技术Background technique
POS(Point Of Sales,支付终端)机目前使用的打印机都是热敏打印机。热敏打印机的工作原理是打印头上安装有半导体加热元件,打印头加热并接触热敏打印纸后就可以打印出需要的图案。目前对POS机打印出的样张字据没有客观的评测方法,大都仅仅通过人们主观判定打印效果。而人们对同样一张打印图样存在评判标准的差异,不足以判定真实的打印效果。The printers currently used by POS (Point Of Sales) machines are thermal printers. The thermal printer works by mounting a semiconductor heating element on the printhead that prints the desired pattern after the printhead is heated and touches the thermal paper. At present, there is no objective evaluation method for the sample data printed by the POS machine, and most of them only subjectively determine the printing effect. And the difference in the criteria for judging the same print pattern is not enough to determine the true print effect.
上述问题亟待解决。The above problems need to be resolved.
发明内容Summary of the invention
针对目前人们对同样一张打印图样存在评判标准的差异,不足以判定真实的打印效果的缺陷,本发明提供一种打印评价的方法、终端设备及计算机可读存储介质。The present invention provides a method for printing evaluation, a terminal device, and a computer readable storage medium, in view of the fact that there is a difference in the evaluation criteria for the same printed pattern, which is insufficient to determine the true printing effect.
本发明实施例的第一方面提供了一种打印评价的方法,包括:A first aspect of the embodiments of the present invention provides a method for printing evaluation, including:
提取待判定图样的像素数据;Extracting pixel data of the pattern to be determined;
处理像素数据得到待判定图样的对比度值、均匀度值以及晕染值;Processing the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
综合待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。The contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated to determine the printing effect.
进一步地,提取待判定图样的像素数据之前,方法还包括:Further, before the pixel data of the to-be-determined pattern is extracted, the method further includes:
扫描打印纸样得到电子图样;Scanning the printed paper to obtain an electronic pattern;
截取电子图样得到待判定图样。The electronic pattern is intercepted to obtain a pattern to be determined.
进一步地,处理像素数据得到待判定图样的对比度值包括:Further, processing the pixel data to obtain a contrast value of the pattern to be determined includes:
判定待判定图样的内容和背景的区分度;Determining the degree of discrimination between the content of the pattern to be determined and the background;
若待判定图样的背景为灰度背景,则采用方法一获取对比度值;若待判定图样的背景为白色背景,则采用方法二获取对比度值,其中,If the background of the pattern to be determined is a grayscale background, method 1 is used to obtain a contrast value; if the background of the pattern to be determined is a white background, method 2 is used to obtain a contrast value, wherein
方法一为:按照公式计算中心像素值与周围四邻近像素值之差的平方之和,乘以灰度差的像素分布概率,计算结果C作为所述待判定图样的对比度值,公式如下:The first method is: calculating the sum of the squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, the formula is as follows:
Figure PCTCN2017095890-appb-000001
Figure PCTCN2017095890-appb-000001
δ(i,j)=|i-j|为相邻像素间灰度差,Pδ(i,j)为相邻像素间的灰度差为δ的像素分布概率;δ(i,j)=|ij| is the gradation difference between adjacent pixels, and P δ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is δ;
方法二为:计算待判定图样的内容像素与255的方差,所述方差作为所述待判定图样的对比度值。The second method is: calculating a variance of a content pixel of the to-be-determined pattern and 255, and the variance is used as a contrast value of the to-be-determined pattern.
进一步地,处理像素数据得到待判定图样的均匀度值包括:Further, processing the pixel data to obtain a uniformity value of the pattern to be determined includes:
获取图像像素的均值;Get the mean of the image pixels;
获取图像像素和均值的方差,方差作为待判定图样的均匀度值。The variance of the image pixel and the mean is obtained, and the variance is used as the uniformity value of the pattern to be determined.
进一步地,处理像素数据得到待判定图样的晕染值包括:Further, processing the pixel data to obtain the blooming value of the pattern to be determined includes:
将图像从上至下至少分为四等份;Divide the image into at least four equal parts from top to bottom;
计算最后一等份与第一等份的对应位置的背景像素之比,将背景像素之比作为待判定图样的晕染值。The ratio of the background pixels of the corresponding position of the last aliquot to the first aliquot is calculated, and the ratio of the background pixels is taken as the blooming value of the pattern to be determined.
本发明实施例的第二方面提供了一种打印评价的装置,包括:A second aspect of the embodiments of the present invention provides an apparatus for printing evaluation, including:
提取模块,用于提取待判定图样的像素数据;An extraction module, configured to extract pixel data of the pattern to be determined;
处理模块,用于处理像素数据得到待判定图样的对比度值、均匀度值以及晕染值;a processing module, configured to process the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
判定模块,用于综合待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。The determination module is configured to integrate the contrast value, the uniformity value, and the blooming value of the pattern to be determined, and determine the printing effect.
进一步地,处理模块包括:Further, the processing module includes:
判定单元,用于判定待判定图样的内容和背景的区分度;a determining unit, configured to determine a degree of discrimination between the content of the to-be-determined pattern and the background;
若待判定图样的背景为灰度背景,则采用方法一获取对比度值;若待判定图样的背景为白色背景,则采用方法二获取对比度值,其中,If the background of the pattern to be determined is a grayscale background, method 1 is used to obtain a contrast value; if the background of the pattern to be determined is a white background, method 2 is used to obtain a contrast value, wherein
方法一为:按照公式计算中心像素值与周围四邻近像素值之差的平方之和,乘以灰度差的像素分布概率,计算结果C作为所述待判定图样的对比度值,公式如下:The first method is: calculating the sum of the squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, the formula is as follows:
Figure PCTCN2017095890-appb-000002
Figure PCTCN2017095890-appb-000002
δ(i,j)=|i-j|为相邻像素间灰度差,Pδ(i,j)为相邻像素间的灰度差为δ的像素分布概率;δ(i,j)=|ij| is the gradation difference between adjacent pixels, and P δ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is δ;
方法二为:计算待判定图样的内容像素与255的方差,所述方差作为所述待判定图样的对比度值。The second method is: calculating a variance of a content pixel of the to-be-determined pattern and 255, and the variance is used as a contrast value of the to-be-determined pattern.
进一步地,处理模块还包括:Further, the processing module further includes:
分等份单元,用于将图像从上至下至少分为四等份; An aliquot unit for dividing an image into at least four equal parts from top to bottom;
计算单元,用于计算最后一等份与第一等份的对应位置的背景像素之比,将背景像素之比作为待判定图样的晕染值。The calculating unit is configured to calculate a ratio of the background pixels of the last aliquot to the corresponding position of the first aliquot, and use the ratio of the background pixels as the blooming value of the pattern to be determined.
本发明实施例的第三方面提供了一种打印评价的终端设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:A third aspect of the embodiments of the present invention provides a terminal device for print evaluation, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor performing the following steps when executing the computer program:
提取待判定图样的像素数据;Extracting pixel data of the pattern to be determined;
处理像素数据得到待判定图样的对比度值、均匀度值以及晕染值;Processing the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
综合待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。The contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated to determine the printing effect.
本发明实施例的第四方面提供了一种打印评价的计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现以下步骤:A fourth aspect of the embodiments of the present invention provides a computer readable storage medium for print evaluation. The computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
提取待判定图样的像素数据;Extracting pixel data of the pattern to be determined;
处理像素数据得到待判定图样的对比度值、均匀度值以及晕染值;Processing the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
综合待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。The contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated to determine the printing effect.
本发明实施例与现有技术相比存在的有益效果是:本发明通过获取待判定图样的三个维度包括对比度值、均匀度值以及晕染值,一方面,提供了从客观维度综合判定POS机的打印效果的方式,避免了人们通过主观判定打印效果产生不一定真实的结论;另一方面,也可以从不同维度体现出的POS机打印问题,而采取相应的解决办法;第三方面,由于能够客观判定POS机的打印效果,无需用户反复去测试判断打印效果,因而也节省了用于购置测试打印效果的硬件设备的成本。Compared with the prior art, the present invention has the beneficial effects that the three dimensions of the to-be-determined pattern include the contrast value, the uniformity value, and the blooming value. On the one hand, the comprehensive POS is determined from the objective dimension. The way of printing the effect of the machine avoids the conclusion that the subjective judgment of the printing effect is not necessarily true; on the other hand, the POS machine printing problem reflected from different dimensions can be adopted, and the corresponding solution is adopted; Since the printing effect of the POS machine can be objectively determined, the user does not need to repeatedly test and judge the printing effect, thereby saving the cost of the hardware device for purchasing the test printing effect.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below. It is obvious that the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art in light of the inventive workability.
图1是本发明实施例提供的打印评价的方法的实现流程示意图;1 is a schematic flowchart showing an implementation of a method for print evaluation provided by an embodiment of the present invention;
图2是图1提供的实施例中给图样计算对比度的方法的实现流程示意图;2 is a schematic flow chart showing an implementation of a method for calculating a contrast in a pattern in the embodiment provided in FIG. 1;
图3是图1提供的实施例中给图样计算均匀度的方法的实现流程示意图;3 is a schematic flow chart showing an implementation of a method for calculating uniformity of a pattern in the embodiment provided in FIG. 1;
图4是图1提供的实施例中用于评测晕染评价方法的图例;Figure 4 is a diagram of a method for evaluating a blooming evaluation in the embodiment provided in Figure 1;
图5是图1提供的实施例中给图样计算晕染度的方法的实现流程示意图;FIG. 5 is a schematic diagram showing an implementation flow of a method for calculating a blooming degree in a pattern provided in FIG. 1; FIG.
图6(a)是图1提供的实施例中用于通过两种对比度方法计算对比度的样例系列图A;Figure 6 (a) is a series of a series of examples A for calculating contrast by two contrast methods in the embodiment provided in Figure 1;
图6(b)是图1提供的实施例中用于通过两种对比度方法计算对比度的样例系列图B; Figure 6 (b) is a series of sample B for the calculation of contrast by the two contrast methods in the embodiment provided in Figure 1;
图6(c)是图1提供的实施例中用于计算样张的均匀度的样例图系列C;Figure 6 (c) is a sample series C of the sample for calculating the uniformity of the sample in the embodiment provided in Figure 1;
图6(d)是图1提供的实施例中用于计算样张的晕染度的样例图系列D;Figure 6 (d) is a series of sample diagram D for calculating the degree of blooming of the sample in the embodiment provided in Figure 1;
图7是本发明实施例提供的打印评价的装置的示意图;7 is a schematic diagram of an apparatus for print evaluation provided by an embodiment of the present invention;
图8是本发明实施例提供的打印评价的终端设备的示意图。FIG. 8 is a schematic diagram of a terminal device for print evaluation according to an embodiment of the present invention.
具体实施方式detailed description
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for purposes of illustration and description However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the invention.
为了说明本发明的技术方案,下面通过具体实施例来进行说明。In order to explain the technical solution of the present invention, the following description will be made by way of specific embodiments.
图1是本发明实施例提供的打印评价的方法的实现流程示意图;如图1所示,本实施例的执行主体是打印评价的装置,本实施例提供的打印评价的方法,可以包括:1 is a schematic flowchart of an implementation of a method for print evaluation according to an embodiment of the present invention; as shown in FIG. 1 , the execution subject of the embodiment is a device for print evaluation, and the method for print evaluation provided by the embodiment may include:
101、提取待判定图样的像素数据;101. Extract pixel data of a pattern to be determined;
具体地,市面上提取图样的图像处理工具具有多种,本实施例采用数学软件MATLAB进行提取。MATLAB由美国mathworks公司发布的主要面对科学计算、可视化以及交互式程序设计的高科技计算环境。MATLAB可以进行矩阵运算、绘制函数和数据、实现算法、创建用户界面、连接其他编程语言的程序等,主要应用于工程计算、控制设计、信号处理与通讯、图像处理、信号检测、金融建模设计与分析等领域。像素是指基本原色素及其灰度的基本编码,是构成数码影像的基本单元,通常以像素每英寸PPI(pixels per inch)为单位来表示影像分辨率的大小。例如300x300PPI分辨率,即表示水平方向与垂直方向上每英寸长度上的像素数都是300,也可表示为一平方英寸内有9万(300x300)像素。进一步的,提取图样的像素之前还需要扫描打印纸样得到图样的电子图样;截取电子图样得到待判定图样并保存待用。Specifically, there are various image processing tools for extracting patterns on the market, and the embodiment uses the mathematical software MATLAB for extraction. MATLAB is a high-tech computing environment developed by mathworks of the United States that focuses on scientific computing, visualization, and interactive programming. MATLAB can perform matrix operations, draw functions and data, implement algorithms, create user interfaces, and connect programs in other programming languages. It is mainly used in engineering calculation, control design, signal processing and communication, image processing, signal detection, and financial modeling design. And other areas such as analysis. Pixel refers to the basic encoding of the basic pigment and its gradation. It is the basic unit that constitutes a digital image. It usually represents the resolution of the image in units of PPI (pixels per inch). For example, 300x300PPI resolution means that the number of pixels per inch in the horizontal and vertical directions is 300, or it can be expressed as 90,000 (300x300) pixels in one square inch. Further, before extracting the pixels of the pattern, the electronic pattern of the pattern is scanned by scanning the pattern; the electronic pattern is intercepted to obtain the pattern to be determined and saved for use.
102、处理像素数据得到待判定图样的对比度值、均匀度值以及晕染值;102. Processing pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
具体地,对比度,即黑白比值,指的是一幅图像中明暗区域最亮的白和最暗的黑之间不同亮度层级的测量,差异范围越大代表对比越大,差异范围越小代表对比越小。均匀度指的图像最亮与最暗部分的差异值,均匀度越高,图像内容一致性就越高,当均匀度越低,图像内容一致性就越低。晕染度指的是颜色的重影情况,一般越靠近图样的下方,晕染越严重。晕染度值越低,打印图样的晕染度越好。 Specifically, the contrast ratio, that is, the black-and-white ratio, refers to the measurement of different brightness levels between the brightest white and the darkest black in the dark and dark areas of an image. The larger the difference range, the larger the contrast, and the smaller the difference range is. The smaller. Uniformity refers to the difference between the brightest and darkest parts of the image. The higher the uniformity, the higher the consistency of the image content. When the uniformity is lower, the consistency of the image content is lower. The degree of blooming refers to the ghosting of the color. Generally, the closer to the bottom of the pattern, the more serious the blooming. The lower the smudge value, the better the smudge of the printed pattern.
进一步地,处理像素数据判定图样的对比度值时首先判定待判定图样的内容和背景的区分度;若待判定图样的背景为灰度背景,则采用方法一获取对比度值;若待判定图样的背景为白色背景,则采用方法二获取对比度值,其中,Further, when processing the contrast value of the pixel data determination pattern, first determining the discrimination between the content of the pattern to be determined and the background; if the background of the pattern to be determined is a gray background, the method 1 is used to obtain the contrast value; if the background of the pattern to be determined is determined For a white background, method 2 is used to obtain the contrast value, wherein
方法一为:按照公式计算中心像素值与周围四邻近像素值之差的平方之和,乘以灰度差的像素分布概率,计算结果C作为所述待判定图样的对比度值,公式如下:The first method is: calculating the sum of the squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, the formula is as follows:
Figure PCTCN2017095890-appb-000003
Figure PCTCN2017095890-appb-000003
δ(i,j)=|i-j|为相邻像素间灰度差,Pδ(i,j)为相邻像素间的灰度差为δ的像素分布概率;δ(i,j)=|ij| is the gradation difference between adjacent pixels, and P δ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is δ;
方法二为:如图2计算图样对比度的流程示意图所示,计算待判定图样的内容像素与255的方差,所述方差作为所述待判定图样的对比度值,具体包括的步骤为:(1)获取背景像素值;(2)获取内容像素值矩阵;(3)求2步转移概率矩阵与255方差。其中,转移概率矩阵中矩阵各元素都是非负的,并且各行元素之和等于1,各元素用概率表示,在一定条件下是互相转移的,故称为转移概率矩阵。二步转移概率矩阵正好是一步转移概率矩阵的平方。一般地,k步转移概率矩阵正好是一步转移概率矩阵的k次方。The second method is as follows: as shown in the flow diagram of calculating the contrast of the pattern as shown in FIG. 2, the variance of the content pixel of the image to be determined and the variance of 255 is calculated, and the variance is used as the contrast value of the pattern to be determined, and the specific steps are as follows: (1) Get the background pixel value; (2) Get the content pixel value matrix; (3) Find the 2-step transition probability matrix and 255 variance. Wherein, each element of the matrix in the transition probability matrix is non-negative, and the sum of the elements of each row is equal to 1. Each element is represented by a probability, and is transferred to each other under certain conditions, so it is called a transition probability matrix. The two-step transition probability matrix is exactly the square of the one-step transition probability matrix. In general, the k-step transition probability matrix is exactly the k-th power of the one-step transition probability matrix.
判定图样的均匀度基于图像中的像素与其真实的均值方差越小越均匀的思想,求一个接近真实均值的值作为均值,然后求方差,方差作为待判定图样的均匀度值。方差越大均匀度越差,反之越均匀。如图3计算图样均匀度的流程示意图所示,计算图样均匀度具体包括的步骤为包括:It is determined that the uniformity of the pattern is based on the idea that the pixel in the image is smaller and more uniform with the true mean value difference, and a value close to the true mean is obtained as the mean value, and then the variance is obtained as the uniformity value of the pattern to be determined. The larger the variance, the worse the uniformity, and the more uniform the opposite. As shown in the flow diagram of calculating the uniformity of the pattern as shown in FIG. 3, the steps specifically included in calculating the uniformity of the pattern include:
1)求均值1) Average value
(1)对图像进行分块,求各块方差,排序得到矩阵A;(1) Dividing the image, finding the variance of each block, and sorting to obtain matrix A;
(2)求矩阵A所在的列标,记做B;(2) Find the column in which the matrix A is located, and record it as B;
(3)求图像中变化最大的s个地方,并记录列标C和列标左边是黑的还是右边是黑的矩阵D;(3) Find the s places with the largest change in the image, and record whether the column C and the left side of the column mark are black or the matrix D on the right side is black;
(4)分析B,若等于C中的值或者是左边或者右边最黑列,修改值为0;(4) Analysis B, if it is equal to the value in C or the left or right black column, the modified value is 0;
(5)求B中前k个不为0的列标块的均值;(5) Find the mean value of the first k non-zero column blocks in B;
(6)得到均值。(6) Get the mean.
2)求方差2) Find the variance
通过观察如图4给定的用于测试晕染度的图片可得出规律,出现晕染情况,多数是越往下越严重,则可以将图像分为至少四均等份,本实施例采用分为四等份。如图3计算图样 均匀度的流程示意图所示,从下往上求第四等份与第一等份的背景像素之比,即白色像素个数之比,比值越小越好,否则越差。计算图样均匀度具体包括的步骤为包括:By observing the picture for testing the degree of blooming as shown in Fig. 4, the law can be obtained, and the blooming condition is generated. Most of the cases are more serious, and the image can be divided into at least four equal parts. Four equal parts. Calculate the pattern as shown in Figure 3. The flow chart of uniformity shows that the ratio of the fourth aliquot to the background pixel of the first aliquot, that is, the ratio of the number of white pixels, is obtained from the bottom up, and the smaller the ratio, the better, otherwise the worse. The steps specifically included in calculating the pattern uniformity include:
1)获取背景像素值;1) Get the background pixel value;
(1)获取图像img,求均值M;(1) Obtain an image img and find an average value M;
(2)求每均等份(img-M)*10后是大于0还是小于0,若大于0表示这列应该为白色,否则为黑色,得到矩阵B;(2) Finding that each aliquot (img-M)*10 is greater than 0 or less than 0, if greater than 0, the column should be white, otherwise it is black, and the matrix B is obtained;
(3)求矩阵B为白色的像素个数,记为Num;(3) Find the number of pixels in which matrix B is white, denoted as Num;
2)获取第一均等份与第四均等份背景像素个数,将背景像素之比作为待判定图样的晕染值。2) Obtain the number of background pixels of the first equal part and the fourth equal part, and use the ratio of the background pixels as the blooming value of the pattern to be determined.
103、综合待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。103. Synthesize the contrast value, the uniformity value, and the blooming value of the pattern to be determined, and determine the printing effect.
具体地,如图6(a)给出的用于测试对比度的系列图A,以及如图6(c)给出的用于测试对比度的系列图B,测试结果如下:Specifically, as shown in FIG. 6(a), a series of graphs A for testing contrast, and a series of graphs B for testing contrast as shown in FIG. 6(c), the test results are as follows:
对样张系列图A的测试结果:Test results for the sample series A:
机型model 均值Mean 对比度方法(2)Contrast method (2) 对比度方法(1)Contrast method (1)
D210D210 7474 9279.8679279.867 1.9446e+31.9446e+3
D820D820 8484 3890.67153890.6715 841.1354841.1354
Q80Q80 6161 15006.411715006.4117 2.1239e+32.1239e+3
S500 S500 8282 5640.29415640.2941 1.2358e+31.2358e+3
S58S58 5151 24575.289124575.2891 2.7972e+32.7972e+3
S80 S80 8181 4276.72564276.7256 862.9423862.9423
S90 S90 7676 9233.70139233.7013 1.9501e+31.9501e+3
S800MS800M 8989 1798.16371798.1637 318.1914318.1914
S800P S800P 8080 6403.91636403.9163 1.4601e+31.4601e+3
S900MS900M 8888 2267.27472267.2747 447.7294447.7294
S900PS900P 7777 7844.99087844.9908 1.7131e+31.7131e+3
S910S910 6161 17341.051817341.0518 2.8508e+32.8508e+3
对比度方法(2)评价结果如下:The contrast method (2) evaluation results are as follows:
S58<S910<Q80<D210<S90<S900p<S800p<S500<S80<D820<S900M<S800MS58<S910<Q80<D210<S90<S900p<S800p<S500<S80<D820<S900M<S800M
对比度方法(1)评价结果如下:The contrast method (1) evaluation results are as follows:
S910<S58<Q80<S90<D210<S900P<S800P<S500<S80<D820<S900M<S800MS910<S58<Q80<S90<D210<S900P<S800P<S500<S80<D820<S900M<S800M
对样张系列图B的测试结果Test results for the sample series B
机型model 均值Mean 对比度方法(2)Contrast method (2) 对比度方法(1)Contrast method (1)
Q80Q80 3131 11604.29611604.296 1.156004349264674e+031.156004349264674e+03
S500S500 3535 12228.161812228.1618 1.424356339354240e+031.424356339354240e+03
S58S58 3535 13276.684213276.6842 1.404159512915325e+031.404159512915325e+03
S80S80 3636 12118.242812118.2428 1.352621141645200e+031.352621141645200e+03
S800PS800P 3434 6897.74576897.7457 8.137334396357295e+028.137334396357295e+02
S900MS900M 3636 10406.066310406.0663 1.254064446704026e+031.254064446704026e+03
S900PS900P 3333 7784.34287784.3428 8.964782746649744e+028.964782746649744e+02
S910S910 3333 14016.628214016.6282 1.564389753972771e+031.564389753972771e+03
S60S60 3333 14320.529114320.5291 1.621295644743565e+031.621295644743565e+03
A920A920 3434 10846.577210846.5772 1.176425150083025e+031.176425150083025e+03
对样张B对比度方法(2)评价结果如下:The evaluation results of the sample B contrast method (2) are as follows:
S60<S910<S58<S500<s80<Q80<A920<S900M<S900P<S800PS60<S910<S58<S500<s80<Q80<A920<S900M<S900P<S800P
对比度方法(1)评价结果如下:The contrast method (1) evaluation results are as follows:
S60<S910<S500<S58<S80<S900M<A920<Q80<S900P<S800PS60<S910<S500<S58<S80<S900M<A920<Q80<S900P<S800P
如图6(c)给出的用于测试均匀度的系列图C,测试结果如下:As shown in Figure 6(c), the series of graphs C for testing uniformity, the test results are as follows:
机型model 均值Mean
D210D210 581.8413581.8413
Q80Q80 186.5913186.5913
S500S500 106.3839106.3839
S58S58 201.652201.652
S80S80 136.1141136.1141
S90S90 167.4571167.4571
S800MS800M 70.975670.9756
S800PS800P 160.8222160.8222
S900MS900M 38.223438.2234
S900PS900P 127.1462127.1462
S910S910 14.518414.5184
A920CA920C 767.2058767.2058
S920S920 26.196726.1967
A920A920 84.515384.5153
S60S60 342.1596342.1596
对样张系列图C均匀度评价结果如下:The results of the uniformity evaluation of the sample series C are as follows:
S910<S920<S900M<S800M<A920<S500<S900P<S80<S800P<S90<Q80<S58<S60<D210<A920CS910<S920<S900M<S800M<A920<S500<S900P<S80<S800P<S90<Q80<S58<S60<D210<A920C
如图6(d)给出的用于测试均匀度的系列图D,测试结果如下:As shown in Figure 6(d), the series of graphs D for testing uniformity, the test results are as follows:
机型model 均值Mean
D210D210 0.32840.3284
D820D820 0.794290.79429
Q80Q80 0.881490.88149
S500S500 0.434380.43438
S58S58 0.301080.30108
S80S80 0.44210.4421
S90S90 0.820820.82082
S800MS800M 0.614860.61486
S800PS800P 0.37690.3769
S900MS900M 0.852230.85223
S900PS900P 0.849310.84931
S910S910 0.455440.45544
A920CA920C 0.789880.78988
S920S920 0.862170.86217
A920A920 0.364350.36435
S60S60 0.558380.55838
对样张系列图D评价晕染度结果如下:The evaluation results of the sample of the sample series D are as follows:
Q80<S920<S900M<S900P<S90<D820<A920C<S800M<S60<S910<S80<S500<S800P<A920<D210<S58Q80<S920<S900M<S900P<S90<D820<A920C<S800M<S60<S910<S80<S500<S800P<A920<D210<S58
通过对比度、均匀度和晕染度三个维度对样张进行评测,可以综合对样张进行分析,不仅仅是依靠肉眼单方面下评价结论。并且可以从评测结果对POS机的打印过程进行改进。By evaluating the proofs in terms of contrast, uniformity, and smear, you can analyze the proofs comprehensively, not just relying on the naked eye to evaluate the conclusions unilaterally. And can improve the printing process of the POS machine from the evaluation results.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not imply a sequence of executions, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation of the embodiments of the present invention.
从上述实施例提供的方法可以看出,本发明通过获取待判定图样的三个维度包括对比度值、均匀度值以及晕染值,一方面,提供了从客观维度综合判定POS机的打印效果的方式,避免了人们通过主观判定打印效果产生不一定真实的结论;另一方面,也可以从不同维度体现出的POS机打印问题,而采取相应的解决办法;第三方面,由于能够客观判定POS机的打印效果,无需用户反复去测试判断打印效果,因而也节省了用于购置测试打印效果的硬件设备的成本。It can be seen from the method provided in the above embodiment that the three dimensions of the pattern to be determined include the contrast value, the uniformity value, and the blooming value. On the one hand, the objective is to comprehensively determine the printing effect of the POS machine from the objective dimension. The way to avoid people's conclusion that the printing effect is not necessarily true through subjective judgment; on the other hand, the POS machine printing problem reflected from different dimensions can be adopted, and the corresponding solution is adopted; in the third aspect, since the POS can be objectively determined The printing effect of the machine eliminates the need for the user to repeatedly test and judge the printing effect, thereby saving the cost of the hardware device for purchasing the test printing effect.
图7是本发明实施例提供的打印评价的装置的示意图;如图7所示,本实施例的执行主体是打印评价的装置,本实施例提供的打印评价的装置,可以包括:FIG. 7 is a schematic diagram of an apparatus for performing print evaluation according to an embodiment of the present invention; as shown in FIG. 7, the execution subject of the embodiment is a device for print evaluation, and the apparatus for print evaluation provided by the embodiment may include:
提取模块71,用于提取待判定图样的像素数据;The extracting module 71 is configured to extract pixel data of the pattern to be determined;
处理模块72,用于处理像素数据得到待判定图样的对比度值、均匀度值以及晕染值;The processing module 72 is configured to process the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined;
判定模块73,用于综合待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。 The determining module 73 is configured to integrate the contrast value, the uniformity value, and the blooming value of the pattern to be determined, and determine the printing effect.
需要说明的是,本发明实施例提供的上述系统中各个模块,由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that, the modules in the foregoing system provided by the embodiments of the present invention are based on the same concept as the method embodiment of the present invention, and the technical effects thereof are the same as the method embodiments of the present invention. For details, refer to the method implementation of the present invention. The description in the example will not be repeated here.
从上述实施例提供的装置同样可以看出,本发明通过获取待判定图样的三个维度包括对比度值、均匀度值以及晕染值,一方面,提供了从客观维度综合判定POS机的打印效果的方式,避免了人们通过主观判定打印效果产生不一定真实的结论;另一方面,也可以从不同维度体现出的POS机打印问题,而采取相应的解决办法;第三方面,由于能够客观判定POS机的打印效果,无需用户反复去测试判断打印效果,因而也节省了用于购置测试打印效果的硬件设备的成本。It can also be seen from the apparatus provided in the above embodiment that the three dimensions of the pattern to be determined include the contrast value, the uniformity value, and the blooming value. On the one hand, the printing effect of the POS machine is comprehensively determined from the objective dimension. The way to avoid people from the subjective judgment of the printing effect is not necessarily true conclusion; on the other hand, it can also reflect the POS machine printing problems from different dimensions, and take corresponding solutions; the third aspect, because it can be objectively determined The printing effect of the POS machine eliminates the need for the user to repeatedly test and judge the printing effect, thereby saving the cost of the hardware device for purchasing the test printing effect.
图8是本发明一实施例提供的打印评价的终端设备的示意图。如图8所示,该实施例的打印评价的终端设备8包括:处理器80、存储器81以及存储在存储器81中并可在处理器80上运行的计算机程序82,例如用于实现打印评价的方法的计算机程序。处理器80执行计算机程序82时实现上述各个打印评价的方法实施例中的步骤,例如图1所示的步骤101至103。或者,处理器80执行计算机程序82时实现上述各装置实施例中各模块/单元的功能,例如图7所示模块71至73的功能。FIG. 8 is a schematic diagram of a terminal device for print evaluation according to an embodiment of the present invention. As shown in FIG. 8, the terminal device 8 for print evaluation of this embodiment includes a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and operable on the processor 80, for example, for implementing print evaluation. Method of computer program. The processor 80 executes the computer program 82 to implement the steps in the method embodiments of the various print evaluations described above, such as steps 101 through 103 shown in FIG. Alternatively, when the processor 80 executes the computer program 82, the functions of the modules/units in the above-described respective device embodiments are implemented, such as the functions of the modules 71 to 73 shown in FIG.
本发明提出用于实现打印评价的方法的计算机程序82,包括:提取待判定图样的像素数据;处理所述像素数据得到所述待判定图样的对比度值、均匀度值以及晕染值;综合所述待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。计算机程序82可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器81中,并由处理器80执行,以完成本发明。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序82在打印评价终端设备8中的执行过程。例如,计算机程序82可以被分割成同步模块、汇总模块、获取模块、返回模块(虚拟装置中的模块),各模块具体功能如下:The present invention provides a computer program 82 for implementing a method for printing evaluation, comprising: extracting pixel data of a pattern to be determined; processing the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the pattern to be determined; The contrast value, the uniformity value, and the blooming value of the determination pattern are described, and the printing effect is determined. Computer program 82 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 81 and executed by processor 80 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing a particular function for describing the execution of computer program 82 in print evaluation terminal device 8. For example, the computer program 82 can be divided into a synchronization module, a summary module, an acquisition module, and a return module (modules in a virtual device), and the specific functions of each module are as follows:
打印评价的终端设备8可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。打印评价的终端设备可包括,但不仅限于,处理器80、存储器81。本领域技术人员可以理解,图6仅仅是打印评价的终端设备8的示例,并不构成对打印评价的终端设备8的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如打印评价的终端设备8还可以包括输入输出设备、网络接入设备、总线等。The terminal device 8 for print evaluation may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device that prints the evaluation may include, but is not limited to, the processor 80 and the memory 81. It will be understood by those skilled in the art that FIG. 6 is merely an example of the terminal device 8 for print evaluation, does not constitute a limitation of the terminal device 8 for print evaluation, may include more or less components than those illustrated, or may combine some The components, or different components, such as the printed evaluation terminal device 8, may also include input and output devices, network access devices, buses, and the like.
所称处理器80可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 80 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), and application specific integrated circuits. (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器81可以是打印评价的终端设备8的内部存储单元,例如打印评价的终端设备8的硬盘或内存。存储器81也可以是打印评价的终端设备8的外部存储设备,例如打印评价的终端设备8上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器81还可以既包括打印评价的终端设备8的内部存储单元也包括外部存储设备。存储器81用于存储计算机程序以及打印评价的终端设备8所需的其他程序和数据。存储器81还可以用于暂时地存储已经输出或者将要输出的数据。The memory 81 may be an internal storage unit of the terminal device 8 for print evaluation, for example, a hard disk or a memory of the terminal device 8 for printing evaluation. The memory 81 may also be an external storage device of the terminal device 8 for print evaluation, such as a plug-in hard disk provided on the terminal device 8 for print evaluation, a smart memory card (SMC), and a secure digital (Secure Digital, SD). Card, flash card, etc. Further, the memory 81 may also include both an internal storage unit of the terminal device 8 for print evaluation and an external storage device. The memory 81 is used to store computer programs and other programs and data required for printing the evaluated terminal device 8. The memory 81 can also be used to temporarily store data that has been output or is about to be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed, dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be hardware. Formal implementation can also be implemented in the form of software functional units. In addition, the specific names of the respective functional units and modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present application. For the specific working process of the unit and the module in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed or described in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点, 所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the device/terminal device embodiments described above are merely illustrative, for example, the division of modules or units is only one logical function division, and may be further divided in actual implementation, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not executed. another point, The mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。An integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, can be stored in a computer readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the above embodiments, and can also be completed by a computer program to instruct related hardware. The computer program can be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when executed by a processor. The computer program includes computer program code, and the computer program code may be in the form of source code, object code form, executable file or some intermediate form. The computer readable medium may include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-Only Memory (ROM), a random access device. Memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media does not include Electrical carrier signal and telecommunication signal.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that The technical solutions are modified, or some of the technical features are replaced by equivalents; and these modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the present invention. Within the scope of protection.

Claims (10)

  1. 一种打印评价的方法,其特征在于,包括:A method for printing evaluation, comprising:
    提取待判定图样的像素数据;Extracting pixel data of the pattern to be determined;
    处理所述像素数据得到所述待判定图样的对比度值、均匀度值以及晕染值;Processing the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the to-be-determined pattern;
    综合所述待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。The contrast value, the uniformity value, and the blooming value of the pattern to be determined are integrated, and the printing effect is determined.
  2. 如权利要求1所述的打印评价的方法,其特征在于,所述提取待判定图样的像素数据之前,所述方法还包括:The method of claim 1 as claimed in claim 1, wherein the method further comprises: before the extracting the pixel data of the pattern to be determined;
    扫描打印纸样得到电子图样;Scanning the printed paper to obtain an electronic pattern;
    截取所述电子图样得到所述待判定图样。The electronic pattern is intercepted to obtain the pattern to be determined.
  3. 如权利要求1所述的打印评价的方法,其特征在于,所述处理所述像素数据得到所述待判定图样的对比度值包括:The method of claim 1, wherein the processing the pixel data to obtain the contrast value of the pattern to be determined comprises:
    判定所述待判定图样的内容和背景的区分度;Determining the degree of discrimination between the content of the to-be-determined pattern and the background;
    若所述待判定图样的背景为灰度背景,则采用方法一获取对比度值;若所述待判定图样的背景为白色背景,则采用方法二获取对比度值,其中,If the background of the to-be-determined pattern is a grayscale background, the method 1 is used to obtain a contrast value; if the background of the to-be-determined pattern is a white background, the method 2 is used to obtain a contrast value, where
    所述方法一为:按照公式计算中心像素值与周围四邻近像素值之差的平方之和,乘以灰度差的像素分布概率,计算结果C作为所述待判定图样的对比度值,所述公式如下:The first method is: calculating a sum of squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, The formula is as follows:
    Figure PCTCN2017095890-appb-100001
    Figure PCTCN2017095890-appb-100001
    δ(i,j)=|i-j|为相邻像素间灰度差,Pδ(i,j)为相邻像素间的灰度差为δ的像素分布概率;δ(i,j)=|ij| is the gradation difference between adjacent pixels, and P δ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is δ;
    所述方法二为:计算所述待判定图样的内容像素与255的方差,所述方差作为所述待判定图样的对比度值。The method 2 is: calculating a variance of the content pixel of the to-be-determined pattern and 255, and the variance is used as a contrast value of the to-be-determined pattern.
  4. 如权利要求1所述的打印评价的方法,其特征在于,所述处理所述像素数据得到所述待判定图样的均匀度值包括:The method of printing evaluation according to claim 1, wherein the processing the pixel data to obtain the uniformity value of the pattern to be determined comprises:
    获取图像像素的均值;Get the mean of the image pixels;
    获取所述图像像素和所述均值的方差,所述方差作为所述待判定图样的均匀度值。Obtaining a variance of the image pixel and the mean, the variance being a uniformity value of the pattern to be determined.
  5. 如权利要求1所述的打印评价的方法,其特征在于,所述处理所述像素数据得到所述待判定图样的晕染值包括:The method of claim 1, wherein the processing the pixel data to obtain the blooming value of the pattern to be determined comprises:
    将图像从上至下至少分为四等份; Divide the image into at least four equal parts from top to bottom;
    计算最后一等份与第一等份的对应位置的背景像素之比,将所述背景像素之比作为所述待判定图样的晕染值。Calculating a ratio of a background pixel of a corresponding position of the last aliquot to the first aliquot, and using a ratio of the background pixels as a blooming value of the pattern to be determined.
  6. 一种打印评价的装置,其特征在于,包括:A device for printing evaluation, comprising:
    提取模块,用于提取待判定图样的像素数据;An extraction module, configured to extract pixel data of the pattern to be determined;
    处理模块,用于处理所述像素数据得到所述待判定图样的对比度值、均匀度值以及晕染值;a processing module, configured to process the pixel data to obtain a contrast value, a uniformity value, and a blooming value of the to-be-determined pattern;
    判定模块,用于综合所述待判定图样的对比度值、均匀度值以及晕染值,判定打印效果。The determining module is configured to integrate the contrast value, the uniformity value, and the blooming value of the to-be-determined pattern to determine a printing effect.
  7. 如权利要求6所述的打印评价的装置,其特征在于,所述处理模块包括:The apparatus for print evaluation according to claim 6, wherein the processing module comprises:
    判定单元,用于判定所述待判定图样的内容和背景的区分度;a determining unit, configured to determine a degree of discrimination between the content of the to-be-determined pattern and the background;
    若所述待判定图样的背景为灰度背景,则采用方法一获取对比度值;若所述待判定图样的背景为白色背景,则采用方法二获取对比度值,其中,If the background of the to-be-determined pattern is a grayscale background, the method 1 is used to obtain a contrast value; if the background of the to-be-determined pattern is a white background, the method 2 is used to obtain a contrast value, where
    所述方法一为:按照公式计算中心像素值与周围四邻近像素值之差的平方之和,乘以灰度差的像素分布概率,计算结果C作为所述待判定图样的对比度值,所述公式如下:The first method is: calculating a sum of squares of the difference between the central pixel value and the surrounding four adjacent pixel values according to the formula, multiplying the pixel distribution probability of the gray difference, and calculating the result C as the contrast value of the to-be-determined pattern, The formula is as follows:
    Figure PCTCN2017095890-appb-100002
    Figure PCTCN2017095890-appb-100002
    δ(i,j)=|i-j|为相邻像素间灰度差,Pδ(i,j)为相邻像素间的灰度差为δ的像素分布概率;δ(i,j)=|ij| is the gradation difference between adjacent pixels, and P δ (i, j) is the pixel distribution probability that the gradation difference between adjacent pixels is δ;
    所述方法二为:计算所述待判定图样的内容像素与255的方差,所述方差作为所述待判定图样的对比度值。The method 2 is: calculating a variance of the content pixel of the to-be-determined pattern and 255, and the variance is used as a contrast value of the to-be-determined pattern.
  8. 如权利要求6所述的打印评价的装置,其特征在于,所述处理模块还包括:The apparatus for print evaluation according to claim 6, wherein the processing module further comprises:
    分等份单元,用于将图像从上至下至少分为四等份;An aliquot unit for dividing an image into at least four equal parts from top to bottom;
    计算单元,用于计算最后一等份与第一等份的对应位置的背景像素之比,将所述背景像素之比作为所述待判定图样的晕染值。And a calculating unit, configured to calculate a ratio of the background pixels of the last aliquot to the corresponding position of the first aliquot, and use the ratio of the background pixels as the blooming value of the to-be-determined pattern.
  9. 一种打印评价的终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述方法的步骤。A terminal device for printing evaluation, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor implements the right when executing the computer program The steps of the method of any of 1 to 5 are claimed.
  10. 一种打印评价的计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述方法的步骤。 A computer readable storage medium for printing evaluation, the computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method of any one of claims 1 to 5. step.
PCT/CN2017/095890 2017-06-06 2017-08-03 Printing evaluation method, terminal device and computer-readable storage medium WO2018223514A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710417536.7 2017-06-06
CN201710417536.7A CN107169537B (en) 2017-06-06 2017-06-06 Method for evaluating printing, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2018223514A1 true WO2018223514A1 (en) 2018-12-13

Family

ID=59826086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095890 WO2018223514A1 (en) 2017-06-06 2017-08-03 Printing evaluation method, terminal device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN107169537B (en)
WO (1) WO2018223514A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055560A (en) * 2006-04-12 2007-10-17 株式会社理光 Printing quality evaluation method and system
EP1968298A2 (en) * 2007-03-06 2008-09-10 Samsung Electronics Co., Ltd. Print quality evaluation apparatus and method of print quality evaluation
CN101587589A (en) * 2008-05-22 2009-11-25 天津科技大学 Inkjet printing quality fuzzy evaluation method
CN101639450A (en) * 2009-08-28 2010-02-03 上海派尼科技实业有限公司 Printing quality test device
CN105931257A (en) * 2016-06-12 2016-09-07 西安电子科技大学 SAR image quality evaluation method based on texture feature and structural similarity

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05278205A (en) * 1992-03-31 1993-10-26 New Oji Paper Co Ltd Image processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055560A (en) * 2006-04-12 2007-10-17 株式会社理光 Printing quality evaluation method and system
EP1968298A2 (en) * 2007-03-06 2008-09-10 Samsung Electronics Co., Ltd. Print quality evaluation apparatus and method of print quality evaluation
CN101587589A (en) * 2008-05-22 2009-11-25 天津科技大学 Inkjet printing quality fuzzy evaluation method
CN101639450A (en) * 2009-08-28 2010-02-03 上海派尼科技实业有限公司 Printing quality test device
CN105931257A (en) * 2016-06-12 2016-09-07 西安电子科技大学 SAR image quality evaluation method based on texture feature and structural similarity

Also Published As

Publication number Publication date
CN107169537B (en) 2020-05-01
CN107169537A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN109886928B (en) Target cell marking method, device, storage medium and terminal equipment
US8570609B2 (en) Image processing device with image dilation processing, image processing system, image processing method and computer readable medium
CN107679466B (en) Information output method and device
CN104867225B (en) A kind of bank note towards recognition methods and device
CN104717387B (en) Image evaluation apparatus and image evaluation method
US8346022B2 (en) System and method for generating an intrinsic image using tone mapping and log chromaticity
CN107085728B (en) Method and system for effectively scoring probe in image by using vision system
JP6317725B2 (en) System and method for determining clutter in acquired images
Finlayson Colour and illumination in computer vision
CN104966089B (en) A kind of method and device of image in 2 D code edge detection
WO2021189853A1 (en) Flash light spot position recognition method and apparatus, and electronic device and storage medium
US9087272B2 (en) Optical match character classification
CN112446864A (en) Flaw detection method, flaw detection device, flaw detection equipment and storage medium
CN106709916A (en) Image quality assessment method and device
CN112233076A (en) Structural vibration displacement measurement method and device based on red round target image processing
CN110263781A (en) Image processing apparatus, image processing method and storage medium
CN110879131A (en) Imaging quality testing method and imaging quality testing device for visual optical system, and electronic apparatus
JP6396117B2 (en) Concrete surface quality evaluation apparatus and concrete surface quality evaluation method
CN107578001B (en) Method and device for testing resolution of fingerprint acquisition equipment
WO2018223514A1 (en) Printing evaluation method, terminal device and computer-readable storage medium
CN111222446A (en) Face recognition method, face recognition device and mobile terminal
CN106971386A (en) Judge method, device and the client device of image integrity degree and page loading degree
Zou et al. Statistical analysis of signal-dependent noise: application in blind localization of image splicing forgery
US20180116582A1 (en) Elasticity evaluation apparatus, elasticity evaluation method, and elasticity evaluation program
CN112541899B (en) Incomplete detection method and device of certificate, electronic equipment and computer storage medium

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: 17913054

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17913054

Country of ref document: EP

Kind code of ref document: A1