A method and system for evaluating images of printed publications

By collecting image data and light perception analysis of printed publications, and using the random forest algorithm to build an image light perception color evaluation model, it solves the problems of difficulty in restoring printed images and low evaluation accuracy caused by the influence of ambient light perception in traditional methods. Improved printing effect.

CN118396987BActive Publication Date: 2024-09-20CHENGDU AERONAUTIC POLYTECHNIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410824178.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

Traditional image evaluation methods for printed publications cannot accurately analyze the difficulty of restoring printed images due to the influence of ambient light perception, and the evaluation accuracy is low.

Method used

Through image data collection, color pattern analysis, environmental perception and light perception analysis of printed publications, the random forest algorithm is used to build an image light perception color evaluation model to perform error compensation and print restoration difficulty evaluation.

Benefits of technology

It improves the quality and effect of image restoration in printing, and reduces the difficulty of printing image restoration and low evaluation accuracy caused by ambient light sensitivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396987B
    Figure CN118396987B
Patent Text Reader

Abstract

The present invention relates to the field of image evaluation technology, and in particular to an image evaluation method and system for printed publications. The method comprises the following steps: collecting image data of printed publications and performing color mode analysis to obtain publication image color mode data; performing image content environment perception analysis and content environment light perception analysis based on the publication image color mode data to obtain image content light perception data; performing quantile regression mean square error calculation based on the image content light perception data to obtain balanced quantile error data; constructing an image light perception color evaluation model based on the balanced quantile error data to obtain an image light perception color evaluation model; performing image printing restoration difficulty evaluation based on the image light perception color evaluation model to obtain image printing restoration difficulty evaluation data. The present invention makes the image evaluation technology more accurate by optimizing the image evaluation technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image evaluation, and in particular to a method and system for evaluating images of printed publications. Background Art

[0002] With the development of printing technology, people's requirements for printing quality are also increasing. The previous visual inspection can no longer meet the needs of accurate evaluation of image quality. Therefore, various image evaluation methods have emerged. These methods include but are not limited to color measurement, image analysis, image processing, etc., which can achieve objective evaluation of printing quality by quantitatively analyzing the color, clarity, contrast and other aspects of the image. These evaluation methods not only improve the consistency and stability of printing quality, but also provide technical support for the development and innovation of the printing industry. However, the traditional image evaluation method of printed publications cannot accurately analyze the problem that the image is affected by the ambient light, which makes it difficult to restore the printed image, and the low accuracy of the evaluation. Summary of the invention

[0003] Based on this, it is necessary to provide an image evaluation method and system for printed publications to solve at least one of the above technical problems.

[0004] To achieve the above object, a method for evaluating an image of a printed publication is provided, the method comprising the following steps:

[0005] Step S1: collecting image data of printed publications to obtain a printed publication image data set; performing color mode analysis on the printed publication image data set to obtain publication image color mode data; performing image content environment perception analysis based on the publication image color mode data to obtain image content environment perception data;

[0006] Step S2: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data; performing image color granularity restoration analysis based on the image content light perception data to obtain image light perception color restoration data; performing light perception color gradient balance analysis based on the image light perception color restoration data to obtain light perception color gradient balance data; performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data;

[0007] Step S3: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data; constructing an image light-sensitive color evaluation model on the light-sensitive color gradient balance compensation data based on a random forest algorithm to obtain an image light-sensitive color evaluation model;

[0008] Step S4: performing image printing restoration difficulty evaluation according to the image light sensitivity and color evaluation model to obtain image printing restoration difficulty evaluation data; and feeding back the image printing restoration difficulty evaluation data to the terminal.

[0009] The present invention collects image data from printed publications, which involves using a digital camera or scanner to obtain a high-quality image data set, performing color mode analysis on the image data set to determine the color mode used in the image, such as RGB, CMYK, and performing environmental perception analysis on the image content based on the color mode data, which includes considering factors such as the scene and light conditions in the image to better understand the image content; analyzing the image content environmental perception data to understand the light perception in the image, which helps to evaluate the visual effect of the image, wherein the light perception in the image refers to the content environment light perception data obtained after machine vision analysis, and analyzing the granularity restoration of the image color based on the light perception data, that is, the detail level and clarity of the color in the image, and further The first step is to analyze the gradient balance of light-sensitive colors to determine the smoothness and naturalness of color transitions in the image. Finally, by performing quantile regression mean square error calculation on the light-sensitive color gradient balance data, the balance quantile error data is obtained, which can be used to quantify the balance and accuracy of image color gradients. The balance quantile error data is used to compensate for the error of the light-sensitive color gradient balance data, which means that the system can automatically correct the balance problems in the image and improve the color gradient balance of the image. An image light-sensitive color evaluation model is constructed based on the random forest algorithm. This model can more accurately evaluate the light and color characteristics of the image and provide a more accurate basis for subsequent evaluation. Based on the image light-sensitive color evaluation model, the difficulty of printing restoration of the image is evaluated. This means that the system can evaluate the difficulty encountered by the image in printing according to the model, such as color restoration, light balance and other issues, and feed back the image printing restoration difficulty evaluation data to the terminal, so that the printer or production personnel can adjust the printing parameters or image processing strategies according to the evaluation results to improve the restoration quality and effect of the image in printing. Therefore, the present invention optimizes the traditional image evaluation method for printed publications, solves the problem that the traditional image evaluation method for printed publications cannot accurately analyze the difficulty of restoring the printed image due to the influence of ambient light, and the problem of low evaluation accuracy.

[0010] Preferably, step S1 comprises the following steps:

[0011] Step S11: collecting image data of printed publications to obtain a printed publication image data set;

[0012] Step S12: performing image smoothing processing on the printed publication image dataset to obtain a publication image smoothing dataset;

[0013] Step S13: performing color mode analysis on the printed publication image data set according to the publication image smoothing data set to obtain publication image color mode data;

[0014] Step S14: performing image content environment perception analysis based on the publication image smoothing data set and the publication image color mode data to obtain image content environment perception data.

[0015] The present invention collects image data of printed publications, and the system can obtain the original data that needs to be analyzed, providing necessary materials for subsequent processing. The collected image data set should be comprehensive and representative to ensure the accuracy and reliability of subsequent analysis. Image smoothing processing helps to reduce noise and interference in the image, improve image quality, and make subsequent analysis more accurate and reliable. Smoothing processing can make the image softer and clearer, improve machine vision effects, and make subsequent analysis easier to understand and operate. Color mode analysis can accurately identify the color mode used in the image, which is crucial for subsequent color processing and analysis. Color mode data provides a basis for subsequent image content environmental perception, enabling the system to better understand the color characteristics of the image content. Through environmental perception analysis of image smoothing data sets and color mode data, the system can comprehensively consider environmental factors such as scenes and light in the image, so as to more comprehensively understand the image content. Image content environmental perception data provides richer information for subsequent analysis, improves the accuracy and reliability of analysis, and enables the system to better cope with various complex situations.

[0016] Preferably, step S2 comprises the following steps:

[0017] Step S21: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data;

[0018] Step S22: performing image color granularity restoration analysis on the publication image color mode data according to the image content light perception data to obtain image light perception color restoration data;

[0019] Step S23: evaluating the light-sensitive color gradient smoothness according to the image light-sensitive color restoration degree data to obtain light-sensitive color gradient smoothness data;

[0020] Step S24: performing a light-sensitive color gradient balance analysis based on the image light-sensitive color restoration data and the light-sensitive color gradient smoothness data to obtain light-sensitive color gradient balance data;

[0021] Step S25: performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data.

[0022] By performing light perception analysis on the image content environment perception data, the present invention can extract the light perception features in the image, including information such as light intensity and light direction. The image content light perception data provides a basis for subsequent analysis, enabling the system to better understand the light perception conditions in the image, thereby more accurately evaluating the color features of the image. By analyzing the light perception data, the system can evaluate the color granularity restoration of the image, that is, the clarity and degree of restoration of the color details in the image. The image light perception color restoration data can be used as one of the important indicators for measuring image quality, thereby providing a reference for subsequent processing and printing quality of the image. The system evaluates the color gradient smoothness of the image, that is, the smoothness of the color transition, based on the light perception color restoration data. The light-sensitive color gradient smoothness data can help improve the visual experience of the image and make the color transition more natural and comfortable. The color gradient balance of the image is analyzed according to the light-sensitive color restoration data and the gradient smoothness data, that is, the degree of balance of the color transition. The light-sensitive color gradient balance data can quantitatively evaluate the balance of color transition in the image and provide a basis for subsequent adjustment and optimization. The light-sensitive color gradient balance data is subjected to quantile regression mean square error calculation to quantitatively evaluate the balance and accuracy of the image color gradient. The traditional mean square error calculation is sensitive to outliers. By introducing quantiles, the sensitivity of the mean square error to outliers is reduced, thereby obtaining more accurate balance quantile error data.

[0023] Preferably, step S22 includes the following steps:

[0024] Step S221: analyzing the illumination background conditions in the image content on the image content light sensing data to obtain illumination background condition data; analyzing the illumination intensity based on the illumination background condition data to obtain illumination background intensity data;

[0025] Step S222: performing image content illumination intensity non-uniformity distribution analysis on the image content light perception data according to the illumination background intensity data to obtain illumination intensity non-uniformity distribution data; performing image shadow distribution area recognition on the illumination intensity non-uniformity distribution data using a preset image shadow recognition model to obtain image shadow distribution area data;

[0026] Step S223: performing image color distortion structure analysis on the publication image color mode data according to the image shadow distribution area data and the illumination intensity non-uniformity distribution data to obtain image color distortion structure data; performing image color deformation evaluation according to the image color distortion structure data to obtain image color deformation data;

[0027] Step S224: performing image color misalignment analysis according to the image color distortion structure data and the image color deformation data to obtain image color misalignment data; performing adjacent image color distortion rate calculation according to the image color misalignment data to obtain adjacent image color distortion rate data;

[0028] Step S225: performing distortion rate gradient block effect numerical interval fitting on the color distortion rate data of adjacent images to obtain distortion rate block effect numerical fitting data;

[0029] Step S226: performing image color granularity restoration analysis on the publication image color mode data according to the distortion rate block effect numerical fitting data and the image content light perception data to obtain image light perception color restoration data.

[0030] By analyzing the light-sensing data of the image content, the system of the present invention can extract the illumination background condition data in the image, including information such as the intensity, direction and uniformity of the illumination. According to the illumination background condition data, the system can analyze the illumination intensity to understand the illumination conditions of different areas in the image, thereby providing a basis for subsequent processing. According to the illumination background intensity data, the system analyzes the non-uniform distribution of illumination in the light-sensing data of the image content, namely, the difference in illumination intensity in different areas. By using a preset image shadow recognition model, the system can identify the shadow distribution area in the image, thereby further understanding the illumination conditions and characteristics of the image. According to the image shadow distribution area data and the light intensity non-uniform distribution data, the system analyzes the color distortion structure of the image, namely, the change and distortion of the color under the illumination conditions. Based on the image color distortion structure data, the system evaluates the color deformation of the image to understand the change of the color of the image under different illumination conditions, including color shift, saturation change, etc. By analyzing the color distortion structure data and the color deformation data of the image, the system can provide The color misalignment of the image is obtained, that is, the offset or misalignment of the color position in the image. Based on the image color misalignment data, the system calculates the distortion rate of adjacent image colors, that is, the discontinuity of color transition in adjacent areas, which can help evaluate the overall color quality of the image. The gradient block effect numerical interval fitting is performed on the adjacent image color distortion rate data. The system can extract the fitting data of the distortion rate block effect numerical value, that is, the gradient block effect of each distortion rate interval. Through the fitting of the distortion rate data, the system can better understand the change of the distortion rate in different intervals, thereby providing a more accurate basis for subsequent analysis. Based on the distortion rate block effect numerical fitting data and the image content light perception data, the system performs light perception color restoration analysis on the publication image color mode data. The image light perception color restoration data can help evaluate the color restoration of the image under different conditions, that is, the color restoration degree and quality of the image. Through the analysis of these steps, the system can enhance the image processing capabilities, improve the efficiency and accuracy of image processing, and thus provide users with better image processing services.

[0031] Preferably, performing distortion rate gradient block effect numerical interval fitting on adjacent image color distortion rate data comprises the following steps:

[0032] Calculating the color distortion rate difference of adjacent images on the color distortion rate data of adjacent images to obtain the color distortion rate difference data of adjacent images; drawing the image color distortion rate gradient change curve according to the color distortion rate difference data of adjacent images to obtain the color distortion rate gradient change curve;

[0033] According to the color distortion rate gradient change curve, extreme points are extracted to obtain a gradient change extreme point data set; according to the gradient change extreme point data set, the curve turning angles between different extreme points are calculated to obtain the gradient change curve turning angle data;

[0034] Using a preset turning angle classification judgment threshold, the turning angle data of the gradient change curve is subjected to turning angle classification processing to obtain turning angle classification data; according to the turning angle classification data and the turning angle data of the gradient change curve, the color distortion rate gradient change curve is subjected to stage characteristic segmentation analysis to obtain distortion rate stage characteristic segmentation data;

[0035] The distortion rate stage change variance is calculated according to the distortion rate stage characteristic segmented data to obtain the distortion rate stage change variance data; the distortion rate stage characteristic segmented data is analyzed according to the distortion rate stage change variance data to obtain the distortion rate stage normal distribution data;

[0036] Performing Monte Carlo sampling on the distortion rate stage normal distribution data to obtain distortion rate normal uniform sampling data;

[0037] Perform Lagrange interpolation processing on the uniform distortion rate distribution according to the distortion rate normal uniform sampling data to obtain the distortion rate distribution fitting data;

[0038] According to the distortion rate distribution fitting data and the distortion rate stage change variance data, the distortion rate gradient block effect numerical interval fitting is performed on the color distortion rate data of adjacent images to obtain the distortion rate block effect numerical fitting data.

[0039] By calculating the color distortion rate difference between adjacent images, the present invention can accurately capture the changing trend of the color distortion rate, which is helpful for analyzing the color change between images. Drawing the color distortion rate gradient change curve can intuitively show the change of the image color distortion rate, helping users understand the distribution and change trend of the color distortion rate in the image, extracting the extreme value points in the gradient change curve, and calculating the curve turning angle between different extreme value points, which is helpful for determining the key nodes of the color distortion rate change in the image, providing a basis for subsequent analysis, and classifying the turning angle of the gradient change curve according to the preset turning angle classification threshold, and then performing stage-by-stage feature segmentation on the color distortion rate gradient change curve. The analysis can more clearly understand the changing characteristics and trends of the color distortion rate in the image, calculate the variance of the distortion rate stage change, and then perform normal distribution analysis on the distortion rate stage feature segmented data, which is helpful to determine the stability and distribution of the color distortion rate change in the image. Through Monte Carlo sampling processing, the normal uniform sampling data of the distortion rate is obtained, and the Lagrange interpolation is used to perform uniform fitting of the distortion rate distribution, so as to more accurately describe the distribution of the color distortion rate in the image. Finally, according to the distortion rate distribution fitting data and the distortion rate stage change variance data, the gradient block effect numerical interval of the color distortion rate data of adjacent images is fitted, making the analysis of the image color distortion rate more accurate and comprehensive.

[0040] Preferably, step S25 comprises the following steps:

[0041] Step S251: performing balance value variance calculation on the light color gradient balance data to obtain balance value variance data; performing multiple comparison analysis on the balance value variance data to obtain balance value difference multiple comparison data;

[0042] Step S252: performing a balance value Bonferroni correction process on the light color gradient balance data according to the balance value difference multiple comparison data to obtain light color gradient balance correction data;

[0043] Step S253: performing quantile regression analysis on the light-sensing color gradient balance data according to the light-sensing color gradient balance correction data to obtain color gradient balance quantile data;

[0044] Step S254: performing quantile regression mean square error calculation based on the color gradient balance quantile data to obtain balance quantile error data.

[0045] The present invention calculates the numerical variance of the light-sensitive color gradient balance data, and the system can evaluate the degree of balance of the color gradient. Multiple comparison analysis can help determine the differences between different balance data and provide a basis for subsequent analysis. Bonferroni correction processing based on multiple comparison data can effectively control the statistical significance level, reduce the possibility of false positive findings, and ensure the reliability and accuracy of data analysis. Quantile regression analysis using light-sensitive color gradient balance correction data helps to determine the distribution law and trend of color gradient. This can help users understand the distribution of color gradients in images and have a deeper understanding of them. By calculating the regression mean square error of color gradient balance quantile data, the degree of fit of the regression model can be evaluated. This helps to determine the accuracy and reliability of the quantile regression model.

[0046] Preferably, step S3 comprises the following steps:

[0047] Step S31: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data;

[0048] Step S32: using a weight factor ratio division algorithm to perform required weight ratio adaptation calculation on the light color gradient balance compensation data and the image light color restoration degree data, and obtain a weight adaptation ratio value; wherein the weight adaptation ratio value includes a color gradient balance weight ratio value and a color restoration degree weight ratio value;

[0049] Step S33: constructing an image light color evaluation model based on the light color gradient balance compensation data and the image light color restoration degree data based on the random forest algorithm and the weight adaptation ratio value to obtain an image light color evaluation model.

[0050] The present invention can adjust the color gradient in the image and reduce the balance error by performing error compensation on the light color gradient balance data according to the balance percentile error data, thereby improving the visual quality and color accuracy of the image, and using the weight factor ratio division algorithm to perform weight ratio adaptation calculation on the light color gradient balance compensation data and the image light color restoration data, and can adjust the weight between the color gradient balance and the color restoration degree according to the specific situation, so that the evaluation model is more in line with the actual needs, and based on the random forest algorithm and the weight adaptation ratio value, the light color gradient balance compensation data and the image light color restoration degree data are used to construct an image light color evaluation model. Such an evaluation model can comprehensively consider the color gradient balance and color restoration degree of the image, and provide a more comprehensive and accurate indicator for image quality evaluation.

[0051] Preferably, the weight factor ratio division algorithm in step S32 is as follows:

[0052] ;

[0053] In the formula, P Indicates the required weight ratio adaptation result value, t It indicates the estimated time required for calculation. b Indicates the complexity coefficient of the light-sensitive color gradient balance compensation data. c Indicates the image color restoration difficulty coefficient in the image light sensitivity color restoration data. w Indicates the number of color types in the image. a Represents the color temperature range coefficient in the image, e represents a natural constant, γ Indicates the estimated accuracy of color restoration in the image light sensitivity color restoration data, d represents the differential, dt Express t Differentiate, that is t The amount of change, ε Represents the error correction value of the weight factor proportional partitioning algorithm.

[0054] The present invention constructs a weight factor ratio division algorithm, which can adjust the weight between color gradient balance and color restoration according to specific circumstances, so that the evaluation model is more in line with actual needs; the algorithm fully considers the estimated time required for calculation t This parameter indicates the time required for the algorithm to execute. A larger time estimate will increase the weight ratio adaptation result value.P , because the longer the algorithm execution time, the more resources and precision are needed to determine the result; the complexity coefficient of the light perception color gradient balance compensation data b , which indicates the complexity of the light-sensitive color gradient balance compensation data. A larger complexity coefficient b Will increase P The value of, because more complex data requires more processing and compensation to achieve the adaptation of the weight ratio; the image color restoration difficulty coefficient in the image light sensitivity color restoration data c , which indicates the difficulty of image color restoration. A larger difficulty coefficient c Will increase P The value of, because more difficult color restoration requires more effort and resources to achieve the adaptation of the weight ratio; the number of color types in the image w , which indicates the number of colors in the image. A larger number of colors will increase P The value of, because different color types require more weights to adapt; the color temperature range coefficient in the image a , which represents the color temperature range in the image. A larger color temperature range coefficient a Will increase P , because a wider range of color temperatures requires more weights to adapt; the natural constant e , its approximate value is 2.71828. In the weight factor ratio partitioning algorithm, e Used for mathematical operations to affect the weight ratio and adapt the result value P Calculation of color reproduction estimation accuracy in image light sensitivity color reproduction data γ ,when γ When it increases, that is, when the color restoration accuracy improves, the corresponding weight ratio adapts to the result value P This is because higher accuracy requirements usually require more computing and processing resources to achieve, so in the weight factor ratio division algorithm, more accurate color restoration tasks will receive more weight ratios. This ensures that the accuracy of color restoration is valued and appropriately weighted throughout the image processing process; d represents the differential, dt Express t Differentiate, Differentiate dt Can capture time t Slight changes in the formula allow the formula to more accurately simulate the actual situation t The change pattern of the estimated value over time will be dt Incorporating it into the integral operation can better reflect the effect of time changes on the final result. PThis can make the algorithm more accurately predict the required weight ratio adaptation results; the error correction value of the weight factor ratio division algorithm ε , this parameter is used to correct the error of the algorithm to improve the accuracy of the results.

[0055] Preferably, step S33 includes the following steps:

[0056] Step S331: dividing the light color gradient balance compensation data and the image light color restoration degree data by data weight ratio based on the color gradient balance weight ratio value and the color restoration degree weight ratio value, respectively, to obtain light color gradient balance weight data and image light color restoration degree weight data;

[0057] Step S332: dividing the light-sensitive color gradient balance weight data and the image light-sensitive color restoration weight data into a test set and a training set, respectively, to obtain a gradient balance weight test set and a gradient balance weight training set, and a color restoration weight test set and a color restoration weight training set;

[0058] Step S333: performing training set feature association on the gradient balance weight training set and the color restoration weight training set to obtain a balance-restoration degree association training set; performing test set random sampling processing on the gradient balance weight test set and the color restoration degree weight test set to obtain a balance-restoration degree random sampling test set;

[0059] Step S334: constructing an initial image light perception and color evaluation model for the balance-reduction degree association training set based on a random forest algorithm to obtain an initial image light perception and color evaluation model;

[0060] Step S335: inputting the balance-reduction degree random sampling test set into the initial image light perception and color evaluation model to perform a model verification test, thereby obtaining the image light perception and color evaluation model.

[0061] The present invention divides the data by weight ratio based on the color gradient balance weight ratio value and the color restoration weight ratio value, which can ensure that the influence of these two key factors is fully considered when constructing the evaluation model. This helps to more accurately evaluate the color gradient balance and color restoration of the image, and divides the data set into a test set and a training set, which can provide a reliable data basis in the model training and verification process. By respectively obtaining a gradient balance weight test set and a gradient balance weight training set and a color restoration weight test set and a color restoration weight training set, the generalization ability and accuracy of the evaluation model can be guaranteed, and feature association of the training set can effectively capture the correlation between balance and restoration, thereby establishing a more reliable evaluation model. At the same time, random sampling of the test set can reduce deviation and improve the credibility of the evaluation model. Based on the random forest algorithm, the initial image light perception color evaluation model is constructed using the balance-restoration degree association training set. The random forest algorithm has the advantages of high efficiency, accuracy and anti-overfitting, can effectively process large-scale data sets, and generate high-quality evaluation models. The balance-restoration degree random sampling test set is input into the initial image light perception color evaluation model for verification testing, which can evaluate the performance and accuracy of the model. Such a verification process can help confirm the reliability of the evaluation model and make necessary adjustments and optimizations to the model to achieve better evaluation results.

[0062] Preferably, the present invention provides an image evaluation system for printed publications, which is used to execute the image evaluation method for printed publications as described above, and the image evaluation system for printed publications comprises:

[0063] The image content environment perception module is used to collect image data of printed publications to obtain a printed publication image data set; perform color mode analysis on the printed publication image data set to obtain publication image color mode data; perform image content environment perception analysis based on the publication image color mode data to obtain image content environment perception data;

[0064] The image light perception and color analysis module is used to perform content environment light perception analysis on the image content environment perception data to obtain image content light perception data; perform image color granularity restoration analysis based on the image content light perception data to obtain image light perception color restoration data; perform light perception color gradient balance analysis based on the image light perception color restoration data to obtain light perception color gradient balance data; perform quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data;

[0065] The image light perception color evaluation model construction module is used to perform error compensation on the light perception color gradient balance data according to the color balance quantile error data to obtain light perception color gradient balance compensation data; the image light perception color evaluation model is constructed based on the light perception color gradient balance compensation data based on the random forest algorithm to obtain the image light perception color evaluation model;

[0066] The image printing restoration difficulty evaluation module is used to evaluate the image printing restoration difficulty according to the image light perception and color evaluation model to obtain image printing restoration difficulty evaluation data; and feed back the image printing restoration difficulty evaluation data to the terminal.

[0067] The beneficial effects of the present invention are as follows: by collecting image data of printed publications, this involves using a digital camera or scanner to obtain a high-quality image data set, performing color mode analysis on the image data set to determine the color mode used in the image, such as RGB, CMYK, and performing environmental perception analysis on the image content based on the color mode data, which includes considering factors such as the scene and light conditions in the image to better understand the image content; analyzing the image content environmental perception data to understand the light perception in the image, which helps to evaluate the visual effect of the image, wherein the light perception in the image refers to the content environment light perception data obtained after machine vision analysis, and based on the light perception data, analyzing the granularity restoration of the image color, that is, the detail level and clarity of the color in the image. , further analyze the gradient balance of light-sensitive colors to determine the smoothness and naturalness of color transitions in the image. Finally, by calculating the mean square error of quantile regression on the light-sensitive color gradient balance data, the balance quantile error data is obtained, which can be used to quantify the balance and accuracy of the image color gradient. The balance quantile error data is used to compensate the error of the light-sensitive color gradient balance data, which means that the system can automatically correct the balance problems in the image and improve the color gradient balance of the image. An image light-sensitive color evaluation model is constructed based on the random forest algorithm. This model can more accurately evaluate the light and color characteristics of the image and provide a more accurate basis for subsequent evaluation. Based on the image light-sensitive color evaluation model, the difficulty of printing restoration of the image is evaluated. This means that the system can evaluate the difficulty encountered by the image in printing according to the model, such as color restoration, light balance and other issues, and feed back the image printing restoration difficulty evaluation data to the terminal, so that the printer or production personnel can adjust the printing parameters or image processing strategies according to the evaluation results to improve the restoration quality and effect of the image in printing. Therefore, the present invention optimizes the traditional image evaluation method for printed publications, solves the problem that the traditional image evaluation method for printed publications cannot accurately analyze the difficulty of restoring the printed image due to the influence of ambient light, and the problem of low evaluation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 A schematic flow chart of the steps of a method for evaluating an image of a printed publication;

[0069] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;

[0070] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.

[0071] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0072] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0073] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0074] To achieve this, please refer to Figures 1 to 3 , a method for evaluating an image of a printed publication, the method comprising the following steps:

[0075] Step S1: collecting image data of printed publications to obtain a printed publication image data set; performing color mode analysis on the printed publication image data set to obtain publication image color mode data; performing image content environment perception analysis based on the publication image color mode data to obtain image content environment perception data;

[0076] Step S2: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data; performing image color granularity restoration analysis based on the image content light perception data to obtain image light perception color restoration data; performing light perception color gradient balance analysis based on the image light perception color restoration data to obtain light perception color gradient balance data; performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data;

[0077] Step S3: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data; constructing an image light-sensitive color evaluation model on the light-sensitive color gradient balance compensation data based on a random forest algorithm to obtain an image light-sensitive color evaluation model;

[0078] Step S4: performing image printing restoration difficulty evaluation according to the image light sensitivity and color evaluation model to obtain image printing restoration difficulty evaluation data; and feeding back the image printing restoration difficulty evaluation data to the terminal.

[0079] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of a method for evaluating an image of a printed publication according to the present invention. In this example, the method for evaluating an image of a printed publication comprises the following steps:

[0080] Step S1: collecting image data of printed publications to obtain a printed publication image data set; performing color mode analysis on the printed publication image data set to obtain publication image color mode data; performing image content environment perception analysis based on the publication image color mode data to obtain image content environment perception data;

[0081] In an embodiment of the present invention, a suitable image acquisition device (such as a camera or a scanner) is used to photograph or scan a printed publication to obtain high-quality image data. Ensure that the acquired images cover various types and styles of printed publications, perform color mode analysis on the acquired image data, and determine the color mode used by each image, such as RGB, CMYK or other color spaces. This can be achieved through image processing software or libraries in programming languages, such as the OpenCV library in Python, to extract the color mode data of the publication image from the color mode analysis results, including the distribution of color channels, color depth and other information. These data will be used for subsequent image content environmental perception analysis, and the content of each image is analyzed for environmental perception using image processing and computer vision technology. This includes identifying elements such as objects, scenes, and people in the image, and understanding their position, relationship and context in the image. This can be achieved through deep learning models, such as convolutional neural networks (CNNs) or recurrent neural networks (RNNs), or can be combined with traditional image processing methods to extract key data from the results of image content environmental perception analysis, such as the main objects, scene descriptions, and emotional color information contained in the image.

[0082] Step S2: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data; performing image color granularity restoration analysis based on the image content light perception data to obtain image light perception color restoration data; performing light perception color gradient balance analysis based on the image light perception color restoration data to obtain light perception color gradient balance data; performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data;

[0083] In an embodiment of the present invention, first, a content environment light perception analysis is performed for the image content environment perception data. This includes quantitative and qualitative evaluation of the light intensity, light source direction, and illumination uniformity in the image. The light perception of the image is analyzed by image processing techniques such as histogram equalization, illumination model, and machine vision technology. Then, the image color granularity restoration degree analysis is performed based on the image content light perception data. This involves evaluating the subtle changes and granularity of the color in the image to determine the color restoration degree of the image. The quality and accuracy of color restoration are evaluated by comparing the original image with the processed image, and then, the light perception color gradient balance analysis is performed based on the image light perception color restoration degree data. This step aims to evaluate the balance and naturalness of the color gradient in the image. The color gradient balance of the image is judged by analyzing the color transition between different areas in the image. Finally, the light perception color gradient balance data is calculated by quantile regression mean square error to obtain balance quantile error data. This step evaluates the quality of light perception color gradient balance by comparing the error between the color gradient predicted by the model and the color gradient actually observed.

[0084] Step S3: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data; constructing an image light-sensitive color evaluation model on the light-sensitive color gradient balance compensation data based on a random forest algorithm to obtain an image light-sensitive color evaluation model;

[0085] In an embodiment of the present invention, first, the light color gradient balance data is error compensated according to the balance quantile error data. This involves adjusting and correcting the color gradient balance of the image according to the previously calculated balance quantile error data to reduce the error; then, based on the random forest algorithm or other suitable machine learning algorithms, the image light color evaluation model is constructed for the light color gradient balance data after error compensation. This step aims to establish a model that can automatically evaluate the light color quality of the image. Before building the model, the data needs to be preprocessed, including steps such as data cleaning, feature selection and feature engineering. This helps to improve the performance and generalization ability of the model. The preprocessed data is trained using the random forest algorithm to construct an image light color evaluation model. During the training process, the model will learn the light color features of the image and establish the association between the features and the color quality. After the training is completed, the model is evaluated and optimized. This includes using a validation data set to evaluate the model performance, and adjusting the model parameters or algorithms according to the evaluation results to improve the accuracy and stability of the model. Finally, the trained image light color evaluation model is applied to the actual image data for color quality evaluation. The model will automatically evaluate the light perception and color of the image and output the corresponding evaluation results to provide a reference for subsequent image processing and optimization.

[0086] Step S4: performing image printing restoration difficulty evaluation according to the image light sensitivity and color evaluation model to obtain image printing restoration difficulty evaluation data; and feeding back the image printing restoration difficulty evaluation data to the terminal.

[0087] In an embodiment of the present invention, first, the image light perception and color evaluation model constructed in step S3 is used to evaluate the light perception and color quality of the image to be evaluated. This step can use the model to predict the light perception and color quality of the image, and output the corresponding evaluation results. According to the evaluation results of the image light perception and color evaluation model, the difficulty of printing and restoring the image is evaluated. This involves quantifying and analyzing the difficulty of printing and restoring the image based on the evaluation data output by the model. For example, the difficulty of printing and restoring the image can be classified or scored according to the degree and scope of the evaluation data, and the image printing and restoration difficulty evaluation data can be fed back to the end user or relevant stakeholders. This can be done through reports, visual displays or data interfaces. Feedback on the evaluation data can help users understand the difficulty of printing and restoring the image and guide subsequent printing or processing operations.

[0088] Therefore, the present invention optimizes the traditional image evaluation method for printed publications, solves the problem that the traditional image evaluation method for printed publications cannot accurately analyze the difficulty of restoring the printed image due to the influence of ambient light, and the problem of low evaluation accuracy.

[0089] Preferably, step S1 comprises the following steps:

[0090] Step S11: collecting image data of printed publications to obtain a printed publication image data set;

[0091] Step S12: performing image smoothing processing on the printed publication image dataset to obtain a publication image smoothing dataset;

[0092] Step S13: performing color mode analysis on the printed publication image data set according to the publication image smoothing data set to obtain publication image color mode data;

[0093] Step S14: performing image content environment perception analysis based on the publication image smoothing data set and the publication image color mode data to obtain image content environment perception data.

[0094] In the embodiment of the present invention, a professional image acquisition device is used to collect high-quality image data of printed publications. Ensure that the collected images cover various types and styles of printed publications, and ensure image clarity and accuracy. After the image data is collected, the image is smoothed to reduce noise and details, and enhance the overall quality of the image. This can be achieved by applying a smoothing filter or other image processing technology to ensure the stability and accuracy of subsequent analysis, and perform color mode analysis on the smoothed image data set to determine the color mode used for each image, such as RGB, CMYK, etc. This can be achieved using image processing software or libraries in programming languages ​​to ensure accurate acquisition of color information, and combine the smoothed image data and color mode data to perform image content environmental perception analysis using image processing and computer vision technology. This includes identifying objects, scenes, and people in the image, and understanding their position, relationship, and context in the image. The analysis is achieved through a deep learning model or traditional image processing methods to ensure accurate environmental perception data.

[0095] Preferably, step S2 comprises the following steps:

[0096] Step S21: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data;

[0097] Step S22: performing image color granularity restoration analysis on the publication image color mode data according to the image content light perception data to obtain image light perception color restoration data;

[0098] Step S23: evaluating the light-sensitive color gradient smoothness according to the image light-sensitive color restoration degree data to obtain light-sensitive color gradient smoothness data;

[0099] Step S24: performing a light-sensitive color gradient balance analysis based on the image light-sensitive color restoration data and the light-sensitive color gradient smoothness data to obtain light-sensitive color gradient balance data;

[0100] Step S25: performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data.

[0101] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:

[0102] Step S21: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data;

[0103] In an embodiment of the present invention, image processing techniques, such as histogram equalization, grayscale transformation, and machine vision methods, are used to perform light perception analysis on the image content environmental perception data, and evaluate factors such as light intensity, light source direction, and lighting uniformity in the image to obtain image content light perception data. By performing quantitative and qualitative analysis on image characteristics such as brightness and contrast, the light perception of the image is described.

[0104] Step S22: performing image color granularity restoration analysis on the publication image color mode data according to the image content light perception data to obtain image light perception color restoration data;

[0105] In an embodiment of the present invention, the light-sensitive data of the image content is used to analyze the image color granularity restoration of the publication image color mode data. By comparing the original image and the processed image, the subtle changes in color and granularity in the image are evaluated to determine the light-sensitive color restoration of the image. The image color is repaired and optimized using a color restoration algorithm or color space conversion technology to improve the light-sensitive color restoration.

[0106] Step S23: evaluating the light-sensitive color gradient smoothness according to the image light-sensitive color restoration degree data to obtain light-sensitive color gradient smoothness data;

[0107] In the embodiment of the present invention, the image light-sensitive color restoration data is used to evaluate the smoothness of the color gradient in the image. First, the color difference between adjacent pixels in the image is analyzed to determine the position and intensity of the color gradient. Then, the continuity and smoothness of the gradient are considered to quantitatively evaluate the color gradient in the image. This involves the calculation and analysis of indicators such as the slope and change rate of the gradient area. Finally, according to the frequency and degree of the gradient, a quantitative score of the smoothness of the light-sensitive color gradient is given to describe the smoothness and naturalness of the color change in the image.

[0108] Step S24: performing a light-sensitive color gradient balance analysis based on the image light-sensitive color restoration data and the light-sensitive color gradient smoothness data to obtain light-sensitive color gradient balance data;

[0109] In the embodiment of the present invention, the image light color restoration data and the light color gradient smoothness data are combined to conduct an in-depth analysis of the color gradient balance in the image. First, the gradual transition between different colors in the image is considered, including changes in hue, saturation and brightness. Secondly, the balance and harmony between various colors in the gradient process, as well as the overall smoothness of the gradient, are evaluated. Finally, based on the quantitative analysis results, an evaluation of the light color gradient balance is given to reflect the overall quality and coordination of the color gradient in the image.

[0110] Step S25: performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data.

[0111] In an embodiment of the present invention, the light-sensitive color gradient balance data is further analyzed, and a quantile regression mean square error calculation method is used to evaluate the balance of the image. First, the quantiles to be calculated are determined, and usually a series of key quantiles are selected to cover the entire data set. Then, regression analysis is performed on each quantile, and its corresponding mean square error is calculated to represent the balance error at that quantile. Finally, the mean square errors at each quantile are comprehensively considered to obtain the balance quantile error data for comprehensively evaluating the color gradient balance of the image.

[0112] Preferably, step S22 includes the following steps:

[0113] Step S221: analyzing the illumination background conditions in the image content on the image content light sensing data to obtain illumination background condition data; analyzing the illumination intensity based on the illumination background condition data to obtain illumination background intensity data;

[0114] Step S222: performing image content illumination intensity non-uniformity distribution analysis on the image content light perception data according to the illumination background intensity data to obtain illumination intensity non-uniformity distribution data; performing image shadow distribution area recognition on the illumination intensity non-uniformity distribution data using a preset image shadow recognition model to obtain image shadow distribution area data;

[0115] Step S223: performing image color distortion structure analysis on the publication image color mode data according to the image shadow distribution area data and the illumination intensity non-uniformity distribution data to obtain image color distortion structure data; performing image color deformation evaluation according to the image color distortion structure data to obtain image color deformation data;

[0116] Step S224: performing image color misalignment analysis according to the image color distortion structure data and the image color deformation data to obtain image color misalignment data; performing adjacent image color distortion rate calculation according to the image color misalignment data to obtain adjacent image color distortion rate data;

[0117] Step S225: performing distortion rate gradient block effect numerical interval fitting on the color distortion rate data of adjacent images to obtain distortion rate block effect numerical fitting data;

[0118] Step S226: performing image color granularity restoration analysis on the publication image color mode data according to the distortion rate block effect numerical fitting data and the image content light perception data to obtain image light perception color restoration data.

[0119] In the embodiment of the present invention, the illumination background conditions of the image content light sensing data are analyzed to understand the illumination conditions in the image, which involves the analysis of the overall distribution of illumination in the image, the position and intensity of the main light source, etc., and the illumination intensity is quantitatively analyzed based on the illumination background condition data. The illumination intensity data of different regions in the image is obtained by measuring the brightness of the illumination or using a photometer or other equipment. Based on the illumination background intensity data, the illumination intensity distribution in the image content light sensing data is analyzed to detect whether the illumination intensity in the image has obvious non-uniformity in different regions. The illumination intensity non-uniformity distribution data is analyzed using a preset image shadow recognition model to identify the shadow distribution area in the image, which involves the threshold segmentation based on pixel intensity, regional growth and other technologies to identify and mark the shadow part in the image, and the image color distortion structure analysis is performed on the publication image color mode data based on the image shadow distribution area data and the illumination intensity non-uniformity distribution data to analyze the influence of the shadow area on the color in the image and the influence of the illumination intensity change on the color. Distortion effect: Based on the image color distortion structure data, the color deformation in the image is evaluated. By comparing the original color and the color after the distortion, the overall deformation degree of the color in the image is evaluated; based on the image color distortion structure data and the image color deformation data, the image color dislocation analysis is performed. By analyzing the offset and dislocation between the colors in the image, the degree and form of the color distortion in the image are determined. According to the image color dislocation data, the distortion rate of adjacent image colors is calculated, which involves quantitative analysis of the color difference between adjacent pixels to determine the size and distribution of the distortion rate. The gradient block effect numerical range is fitted for the adjacent image color distortion rate data. Through statistical methods or mathematical modeling techniques, the gradient block effect values ​​of the distortion rate in different intervals are fitted to describe the distribution characteristics of the distortion rate. In combination with the distortion rate block effect numerical fitting data and the image content light perception data, the image color granularity restoration degree analysis is performed on the publication image color mode data. The granularity and distribution of the colors in the image are analyzed to evaluate the color restoration degree and quality of the image.

[0120] Preferably, performing distortion rate gradient block effect numerical interval fitting on adjacent image color distortion rate data comprises the following steps:

[0121] Calculating the color distortion rate difference of adjacent images on the color distortion rate data of adjacent images to obtain the color distortion rate difference data of adjacent images; drawing the image color distortion rate gradient change curve according to the color distortion rate difference data of adjacent images to obtain the color distortion rate gradient change curve;

[0122] According to the color distortion rate gradient change curve, extreme points are extracted to obtain a gradient change extreme point data set; according to the gradient change extreme point data set, the curve turning angles between different extreme points are calculated to obtain the gradient change curve turning angle data;

[0123] Using a preset turning angle classification judgment threshold, the turning angle data of the gradient change curve is subjected to turning angle classification processing to obtain turning angle classification data; according to the turning angle classification data and the turning angle data of the gradient change curve, the color distortion rate gradient change curve is subjected to stage characteristic segmentation analysis to obtain distortion rate stage characteristic segmentation data;

[0124] The distortion rate stage change variance is calculated according to the distortion rate stage characteristic segmented data to obtain the distortion rate stage change variance data; the distortion rate stage characteristic segmented data is analyzed according to the distortion rate stage change variance data to obtain the distortion rate stage normal distribution data;

[0125] Performing Monte Carlo sampling on the distortion rate stage normal distribution data to obtain distortion rate normal uniform sampling data;

[0126] Perform Lagrange interpolation processing on the uniform distortion rate distribution according to the distortion rate normal uniform sampling data to obtain the distortion rate distribution fitting data;

[0127] According to the distortion rate distribution fitting data and the distortion rate stage change variance data, the distortion rate gradient block effect numerical interval fitting is performed on the color distortion rate data of adjacent images to obtain the distortion rate block effect numerical fitting data.

[0128] In the embodiment of the present invention, the difference between the color distortion rates of adjacent images is calculated based on the color distortion rate data of adjacent images. This can be achieved through a simple subtraction operation to obtain the color distortion rate difference data of adjacent images to describe the color distortion change between adjacent images. Based on the color distortion rate difference data of adjacent images, an image color distortion rate gradient change curve is drawn. The horizontal axis represents the position or index of the adjacent images, and the vertical axis represents the difference in the color distortion rate of the adjacent images. A curve of the color distortion rate changing with the image position is drawn, and extreme value points are extracted on the color distortion rate gradient change curve. These extreme value points represent The local maximum or local minimum of the curve reflects the critical point of the change of the color distortion rate. According to the gradient change extreme point data set, the turning angle of the curve between different extreme points is calculated. By calculating the slope between the extreme points, the turning angle of the curve at the point is obtained. The turning angle is classified and processed using the preset turning angle classification judgment threshold. According to whether the turning angle exceeds the threshold, the turning angle is divided into different categories for further analysis and processing. Combined with the turning angle classification data and the turning angle data of the gradient change curve, the color distortion rate gradient change curve is analyzed by stage characteristics. The characteristics and trends of the analysis curve at different stages are used to reveal the different stage characteristics of the image color distortion rate change; according to the distortion rate stage characteristic segmented data, the variance of the distortion rate stage change is calculated. The variance measures the degree of difference between each data point in the data set and its mean, and is used to describe the change amplitude of the distortion rate at different stages. According to the distortion rate stage change variance data, the distortion rate stage characteristic segmented data is subjected to normal distribution analysis. Normal distribution analysis can be used to describe the distribution characteristics of the distortion rate at different stages, including the mean and standard deviation. Monte Carlo sampling is performed on the distortion rate stage normal distribution data. Turkalo sampling is a random sampling method that simulates random phenomena by drawing samples from a probability distribution. It performs Lagrangian interpolation processing on the distortion rate distribution uniformly based on the distortion rate normal uniform sampling data. Lagrangian interpolation is an interpolation method used to infer the values ​​of other points based on the relationship between known data points. It uses the distortion rate distribution fitting data and the distortion rate stage change variance data to fit the distortion rate gradient block effect numerical range of the adjacent image color distortion rate data. This step aims to analyze and describe the gradient change characteristics of the distortion rate in different intervals to provide more detailed distortion rate analysis results.

[0129] Preferably, step S25 comprises the following steps:

[0130] Step S251: performing balance value variance calculation on the light color gradient balance data to obtain balance value variance data; performing multiple comparison analysis on the balance value variance data to obtain balance value difference multiple comparison data;

[0131] Step S252: performing a balance value Bonferroni correction process on the light color gradient balance data according to the balance value difference multiple comparison data to obtain light color gradient balance correction data;

[0132] Step S253: performing quantile regression analysis on the light-sensing color gradient balance data according to the light-sensing color gradient balance correction data to obtain color gradient balance quantile data;

[0133] Step S254: performing quantile regression mean square error calculation based on the color gradient balance quantile data to obtain balance quantile error data.

[0134] In an embodiment of the present invention, first, the light perception color gradient balance data to be analyzed are collected. These data are obtained by experiments, measurements or other means, representing the characteristics of light perception color gradient, and the collected data are averaged. This average represents the center position of the data set, which is the balance center of all data points, and the difference between each data point and the average is calculated. The square value of the difference can be obtained by subtracting the average value from each data point and then squaring it, adding all the square values ​​of the difference and dividing it by the total number of data points to obtain the average value of the difference, and the average value of the difference is the balance value variance. Variance represents the average amount of the degree of discreteness of data distribution, which is one of the statistical characteristics of the balance value, wherein the balance value refers to the balance degree of gradient in the analysis image, that is, whether the gradient of color, illumination or other features in the image is smooth, natural and uniform, the time value required in the gradient process, and the balance value variance of each region or feature in the image is comprehensively considered to evaluate whether the visual effect of the overall image is balanced and harmonious. In another embodiment, the balance value variance calculation involves evaluating the color gradient balance of each sample in the data set. The "balance numerical variance" here is a statistical indicator used to measure the degree of change in the light-color gradient balance of each sample in the data set. If the variance is small, it means that the samples in the data set do not change much in the light-color gradient balance, that is, they have a higher balance. On the contrary, if the variance is large, it means that the performance of the samples in the data set in this aspect is quite different and the balance is low. Based on the balanced numerical variance data, multiple comparison analysis is performed. Multiple comparison analysis can be used to compare the differences between multiple groups, so as to determine the degree of difference between the balance values. Based on the balanced numerical difference multiple comparison data, the light-sensitive color gradient balance data is subjected to Bonferroni correction. Bonferroni correction is a correction method for multiple comparisons, which is used to control the error rate in multiple comparisons and improve the reliability and accuracy of the comparison results. Based on the light-sensitive color gradient balance correction data, quantile regression analysis is performed. Quantile regression analysis is a statistical method used to study the regression relationship of data at different quantiles, which can more comprehensively evaluate the balance characteristics of light-sensitive color gradients. Based on the color gradient balance quantile data, the mean square error of quantile regression is calculated. The mean square error is an indicator used to measure the degree of fit of the quantile regression model, which can reflect the fitness and accuracy of the light-sensitive color gradient balance data in the regression model.

[0135] Preferably, step S3 comprises the following steps:

[0136] Step S31: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data;

[0137] Step S32: using a weight factor ratio division algorithm to perform required weight ratio adaptation calculation on the light color gradient balance compensation data and the image light color restoration degree data, and obtain a weight adaptation ratio value; wherein the weight adaptation ratio value includes a color gradient balance weight ratio value and a color restoration degree weight ratio value;

[0138] Step S33: constructing an image light color evaluation model based on the light color gradient balance compensation data and the image light color restoration degree data based on the random forest algorithm and the weight adaptation ratio value to obtain an image light color evaluation model.

[0139] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:

[0140] Step S31: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data;

[0141] In an embodiment of the present invention, first, raw data for balance quantile error data is collected and prepared. This involves acquiring data from a sensor, camera or other data source. Then, the data is preprocessed, including denoising, correction and normalization, to ensure the quality and comparability of the data; the prepared raw data is used to calculate the quantile error of the light-sensitive color gradient balance. This usually involves sorting the data according to a certain quantile (for example, 50 percent, 90 percent), determining the error value at each quantile, and establishing an error compensation model based on the quantile error data. This involves using statistical methods, machine learning techniques or other mathematical modeling methods. The selection of the model should take into account the characteristics of the data, the distribution of errors and the requirements of the system, and use the established error compensation model to compensate each light-sensitive color gradient data point to generate light-sensitive color gradient balance compensation data. This involves applying some correction or adjustment to each data point to eliminate or reduce the deviation introduced by the quantile error, and after generating the compensation data, verifying and adjusting it. This includes comparing with the actual scene to evaluate the accuracy and feasibility of the compensation effect. According to the verification results, the compensation model or parameters need to be adjusted to further improve the compensation effect. Finally, the generated light-sensitive color gradient balance compensation data is output to the system and applied to the corresponding light-sensitive color gradient processing process to ensure the correctness of the compensation data.

[0142] Step S32: using a weight factor ratio division algorithm to perform required weight ratio adaptation calculation on the light color gradient balance compensation data and the image light color restoration degree data, and obtain a weight adaptation ratio value; wherein the weight adaptation ratio value includes a color gradient balance weight ratio value and a color restoration degree weight ratio value;

[0143] In an embodiment of the present invention, a weight factor ratio division algorithm is used to perform weight ratio adaptation calculation on the light-sensitive color gradient balance compensation data and the image light-sensitive color restoration data to obtain a color gradient balance weight ratio value and a color restoration weight ratio value. First, for the color gradient balance compensation data, this step will quantitatively analyze the gradient balance effects of different color channels to determine the contribution of each channel to the overall gradient balance. This involves analyzing indicators such as the brightness and saturation of the color channel, and giving a weight ratio value based on this. For the image light-sensitive color restoration data, a similar analysis will also be performed, but the focus is on the degree of restoration of the image color, that is, the degree of color difference between the image and the original scene. Through these two processes, weight adaptation ratio values ​​for gradient balance and color restoration can be obtained.

[0144] Step S33: constructing an image light color evaluation model based on the light color gradient balance compensation data and the image light color restoration degree data based on the random forest algorithm and the weight adaptation ratio value to obtain an image light color evaluation model.

[0145] In an embodiment of the present invention, an image light perception and color evaluation model is constructed based on a random forest algorithm, and the model will use the weight adaptation ratio value obtained in the previous step. Specifically, this step will use the random forest algorithm, an integrated learning method, to model the light perception and color gradient balance compensation data and the image light perception and color restoration data. In this process, the weight adaptation ratio value will be used as an important parameter for model training to ensure that the model can accurately reflect the influence of gradient balance and color restoration on the image light perception and color. Ultimately, the image light perception and color evaluation model obtained through this step will be able to comprehensively consider gradient balance and color restoration, providing a reliable basis for the evaluation of image color quality.

[0146] The present invention can adjust the color gradient in the image and reduce the balance error by performing error compensation on the light color gradient balance data according to the balance percentile error data, thereby improving the visual quality and color accuracy of the image, and using the weight factor ratio division algorithm to perform weight ratio adaptation calculation on the light color gradient balance compensation data and the image light color restoration data, and can adjust the weight between the color gradient balance and the color restoration degree according to the specific situation, so that the evaluation model is more in line with the actual needs, and based on the random forest algorithm and the weight adaptation ratio value, the light color gradient balance compensation data and the image light color restoration degree data are used to construct an image light color evaluation model. Such an evaluation model can comprehensively consider the color gradient balance and color restoration degree of the image, and provide a more comprehensive and accurate indicator for image quality evaluation.

[0147] Preferably, the weight factor ratio division algorithm in step S32 is as follows:

[0148] ;

[0149] In the formula, P Indicates the required weight ratio adaptation result value, t It indicates the estimated time required for calculation. b Indicates the complexity coefficient of the light-sensitive color gradient balance compensation data. c Indicates the image color restoration difficulty coefficient in the image light sensitivity color restoration data. w Indicates the number of color types in the image. a Represents the color temperature range coefficient in the image, e represents a natural constant, γ Indicates the estimated accuracy of color restoration in the image light sensitivity color restoration data, d represents the differential, dt Express t Differentiate, that is t The amount of change, ε Represents the error correction value of the weight factor proportional partitioning algorithm.

[0150] The present invention constructs a weight factor ratio division algorithm, which can adjust the weight between color gradient balance and color restoration according to specific circumstances, so that the evaluation model is more in line with actual needs; the algorithm fully considers the estimated time required for calculation t This parameter indicates the time required for the algorithm to execute. A larger time estimate will increase the weight ratio adaptation result value. P , because the longer the algorithm execution time, the more resources and precision are needed to determine the result; the complexity coefficient of the light perception color gradient balance compensation data b , which indicates the complexity of the light-sensitive color gradient balance compensation data. A larger complexity coefficient b Will increase P The value of, because more complex data requires more processing and compensation to achieve the adaptation of the weight ratio; the image color restoration difficulty coefficient in the image light sensitivity color restoration data c , which indicates the difficulty of image color restoration. A larger difficulty coefficient c Will increase P The value of, because more difficult color restoration requires more effort and resources to achieve the adaptation of the weight ratio; the number of color types in the image w , which indicates the number of colors in the image. A larger number of colors will increase P The value of, because different color types require more weights to adapt; the color temperature range coefficient in the image a , which represents the color temperature range in the image. A larger color temperature range coefficient a Will increase P, because a wider range of color temperatures requires more weights to adapt; the natural constant e , its approximate value is 2.71828. In the weight factor ratio partitioning algorithm, e Used for mathematical operations to affect the weight ratio and adapt the result value P Calculation of color reproduction estimation accuracy in image light sensitivity color reproduction data γ ,when γ When it increases, that is, when the color restoration accuracy improves, the corresponding weight ratio adapts to the result value P This is because higher accuracy requirements usually require more computing and processing resources to achieve, so in the weight factor ratio division algorithm, more accurate color restoration tasks will receive more weight ratios. This ensures that the accuracy of color restoration is valued and appropriately weighted throughout the image processing process; d represents the differential, dt Express t Differentiate, Differentiate dt Can capture time t Slight changes in the formula allow the formula to more accurately simulate the actual situation t The change pattern of the estimated value over time will be dt Incorporating it into the integral operation can better reflect the effect of time changes on the final result. P This can make the algorithm more accurately predict the required weight ratio adaptation results; the error correction value of the weight factor ratio division algorithm ε , this parameter is used to correct the error of the algorithm to improve the accuracy of the results.

[0151] Preferably, step S33 includes the following steps:

[0152] Step S331: dividing the light color gradient balance compensation data and the image light color restoration degree data by data weight ratio based on the color gradient balance weight ratio value and the color restoration degree weight ratio value, respectively, to obtain light color gradient balance weight data and image light color restoration degree weight data;

[0153] Step S332: dividing the light-sensitive color gradient balance weight data and the image light-sensitive color restoration weight data into a test set and a training set, respectively, to obtain a gradient balance weight test set and a gradient balance weight training set, and a color restoration weight test set and a color restoration weight training set;

[0154] Step S333: performing training set feature association on the gradient balance weight training set and the color restoration weight training set to obtain a balance-restoration degree association training set; performing test set random sampling processing on the gradient balance weight test set and the color restoration degree weight test set to obtain a balance-restoration degree random sampling test set;

[0155] Step S334: constructing an initial image light perception and color evaluation model for the balance-reduction degree association training set based on a random forest algorithm to obtain an initial image light perception and color evaluation model;

[0156] Step S335: inputting the balance-reduction degree random sampling test set into the initial image light perception and color evaluation model to perform a model verification test, thereby obtaining the image light perception and color evaluation model.

[0157] In the embodiment of the present invention, in this step, the light-sensitive color gradient balance compensation data and the image light-sensitive color restoration data are divided according to the data weight ratio based on the color gradient balance weight ratio value and the color restoration weight ratio value. This process is intended to ensure the trade-off and balance between the light-sensitive color gradient balance and the image color restoration. First, weight ratio values ​​are set for the color gradient balance and the color restoration, respectively, and these values ​​reflect the relative importance of allocating weights between the light-sensitive color gradient balance and the image light-sensitive color restoration. Then, these weight ratio values ​​are applied to the original data to determine the weight data of the light-sensitive color gradient balance and the image light-sensitive color restoration; in this step, the light-sensitive color gradient balance weight data and the image light-sensitive color restoration weight data are divided into a test set and a training set, respectively. The purpose of this step is to have reliable data for training and verification when establishing a model. By dividing the data set into a training set and a test set, the training set can be used to adjust the model parameters when training the model, and the performance of the model can be verified on the test set; in this step, the training set features are associated with the gradient balance weight training set and the color restoration weight training set. This process involves associating the features in the training set with the desired output (i.e., balance and restoration) so that the model can learn the relationship between the features and the output. Next, the gradient balance weight test set and the color restoration weight test set were randomly sampled. The purpose of this step is to ensure the representativeness and diversity of the test set so that the generalization ability of the model can be effectively evaluated; in this step, the initial image light perception and color evaluation model was constructed using the random forest algorithm on the balance-restoration association training set. Random forest is an ensemble learning algorithm that improves the performance and stability of the model by building multiple decision trees and combining them. In this step, the association between balance and restoration is used to train the model in order to accurately evaluate the light perception and color of the image. Finally, in this step, the balance-restoration random sampling test set is input into the initial image light perception and color evaluation model for model verification testing, thereby obtaining the image light perception and color evaluation model. By inputting the test set into the model and verifying it based on the output results of the model, the performance and accuracy of the model can be evaluated. This step is the last step of the whole process, which aims to confirm that the constructed image light perception and color evaluation model can effectively evaluate the light perception and color of the image and play a role in practical applications.

[0158] Preferably, the present invention provides an image evaluation system for printed publications, which is used to execute the image evaluation method for printed publications as described above, and the image evaluation system for printed publications comprises:

[0159] The image content environment perception module is used to collect image data of printed publications to obtain a printed publication image data set; perform color mode analysis on the printed publication image data set to obtain publication image color mode data; perform image content environment perception analysis based on the publication image color mode data to obtain image content environment perception data;

[0160] The image light perception and color analysis module is used to perform content environment light perception analysis on the image content environment perception data to obtain image content light perception data; perform image color granularity restoration analysis based on the image content light perception data to obtain image light perception color restoration data; perform light perception color gradient balance analysis based on the image light perception color restoration data to obtain light perception color gradient balance data; perform quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data;

[0161] The image light perception color evaluation model construction module is used to perform error compensation on the light perception color gradient balance data according to the color balance quantile error data to obtain light perception color gradient balance compensation data; the image light perception color evaluation model is constructed based on the light perception color gradient balance compensation data based on the random forest algorithm to obtain the image light perception color evaluation model;

[0162] The image printing restoration difficulty evaluation module is used to evaluate the image printing restoration difficulty according to the image light perception and color evaluation model to obtain image printing restoration difficulty evaluation data; and feed back the image printing restoration difficulty evaluation data to the terminal.

[0163] Therefore, the present invention optimizes the traditional image evaluation method for printed publications, solves the problem that the traditional image evaluation method for printed publications cannot accurately analyze the difficulty of restoring the printed image due to the influence of ambient light, and the problem of low evaluation accuracy.

[0164] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0165] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for evaluating an image of a printed publication, characterized in that: The following steps are involved: Step S1: collecting image data of printed publications to obtain a printed publication image data set; Performing color mode analysis on the printed publication image data set to obtain the publication image color mode data; Perform image content environment perception analysis based on publication image color mode data to obtain image content environment perception data; Step S2: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data; Perform image color granularity restoration analysis based on image content light perception data to obtain image light perception color restoration data; Performing a light-sensitive color gradient balance analysis based on the image light-sensitive color restoration data to obtain light-sensitive color gradient balance data; Perform quantile regression mean square error calculation on the light color gradient balance data to obtain balance quantile error data; Step S3: performing error compensation on the light color gradient balance data according to the balance percentile error data to obtain light color gradient balance compensation data; constructing an image light color evaluation model for the light color gradient balance compensation data based on a random forest algorithm to obtain an image light color evaluation model; wherein step S3 includes: Step S31: performing error compensation on the light-sensitive color gradient balance data according to the balance percentile error data to obtain light-sensitive color gradient balance compensation data; Step S32: Use the weight factor ratio division algorithm to perform the required weight ratio adaptation calculation on the light color gradient balance compensation data and the image light color restoration data to obtain the weight adaptation ratio value; wherein the weight adaptation ratio value includes the color gradient balance weight ratio value and the color restoration weight ratio value; wherein the weight factor ratio division algorithm is as follows: , In the formula, P Indicates the required weight ratio adaptation result value, t It indicates the estimated time required for calculation. b Indicates the complexity coefficient of the light-sensitive color gradient balance compensation data. c Indicates the image color restoration difficulty coefficient in the image light sensitivity color restoration data. w Indicates the number of color types in the image. a Represents the color temperature range coefficient in the image, e represents a natural constant, γ Indicates the estimated accuracy of color restoration in the image light sensitivity color restoration data, d represents the differential, dt Express t Differentiate, that is t The amount of change, ε Indicates the error correction value of the weight factor ratio partitioning algorithm; Step S33: constructing an image light color evaluation model based on the light color gradient balance compensation data and the image light color restoration degree data based on the random forest algorithm and the weight adaptation ratio value to obtain an image light color evaluation model; wherein step S33 includes the following steps: Step S331: dividing the light color gradient balance compensation data and the image light color restoration degree data by data weight ratio based on the color gradient balance weight ratio value and the color restoration degree weight ratio value, respectively, to obtain light color gradient balance weight data and image light color restoration degree weight data; Step S332: dividing the light-sensitive color gradient balance weight data and the image light-sensitive color restoration weight data into a test set and a training set, respectively, to obtain a gradient balance weight test set and a gradient balance weight training set, and a color restoration weight test set and a color restoration weight training set; Step S333: performing training set feature association on the gradient balance weight training set and the color restoration weight training set to obtain a balance-restoration degree association training set; performing test set random sampling processing on the gradient balance weight test set and the color restoration degree weight test set to obtain a balance-restoration degree random sampling test set; Step S334: constructing an initial image light perception and color evaluation model for the balance-reduction degree association training set based on a random forest algorithm to obtain an initial image light perception and color evaluation model; Step S335: inputting the balance-reduction degree random sampling test set into the initial image light perception and color evaluation model to perform a model verification test, thereby obtaining the image light perception and color evaluation model; Step S4: performing image printing restoration difficulty evaluation according to the image light sensitivity and color evaluation model to obtain image printing restoration difficulty evaluation data; and feeding back the image printing restoration difficulty evaluation data to the terminal.

2. The image evaluation method for printed publications according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: collecting image data of printed publications to obtain a printed publication image data set; Step S12: performing image smoothing processing on the printed publication image dataset to obtain a publication image smoothing dataset; Step S13: performing color mode analysis on the printed publication image data set according to the publication image smoothing data set to obtain publication image color mode data; Step S14: performing image content environment perception analysis based on the publication image smoothing data set and the publication image color mode data to obtain image content environment perception data.

3. The image evaluation method of a printed publication according to claim 2, characterized in that: Step S2 includes the following steps: Step S21: performing content environment light perception analysis on the image content environment perception data to obtain image content light perception data; Step S22: performing image color granularity restoration analysis on the publication image color mode data according to the image content light perception data to obtain image light perception color restoration data; Step S23: evaluating the light-sensitive color gradient smoothness according to the image light-sensitive color restoration degree data to obtain light-sensitive color gradient smoothness data; Step S24: performing a light-sensitive color gradient balance analysis based on the image light-sensitive color restoration data and the light-sensitive color gradient smoothness data to obtain light-sensitive color gradient balance data; Step S25: performing quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data.

4. The image evaluation method of a printed publication according to claim 3, characterized in that: Step S22 includes the following steps: Step S221: analyzing the illumination background conditions in the image content on the image content light sensing data to obtain illumination background condition data; analyzing the illumination intensity based on the illumination background condition data to obtain illumination background intensity data; Step S222: performing image content illumination intensity non-uniformity distribution analysis on the image content light perception data according to the illumination background intensity data to obtain illumination intensity non-uniformity distribution data; performing image shadow distribution area recognition on the illumination intensity non-uniformity distribution data using a preset image shadow recognition model to obtain image shadow distribution area data; Step S223: performing image color distortion structure analysis on the publication image color mode data according to the image shadow distribution area data and the illumination intensity non-uniformity distribution data to obtain image color distortion structure data; performing image color deformation evaluation according to the image color distortion structure data to obtain image color deformation data; Step S224: performing image color misalignment analysis according to the image color distortion structure data and the image color deformation data to obtain image color misalignment data; performing adjacent image color distortion rate calculation according to the image color misalignment data to obtain adjacent image color distortion rate data; Step S225: performing distortion rate gradient block effect numerical interval fitting on the color distortion rate data of adjacent images to obtain distortion rate block effect numerical fitting data; Step S226: performing image color granularity restoration analysis on the publication image color mode data according to the distortion rate block effect numerical fitting data and the image content light perception data to obtain image light perception color restoration data.

5. The image evaluation method of a printed publication according to claim 4, characterized in that: Fitting the distortion rate gradient block effect numerical interval of the adjacent image color distortion rate data includes the following steps: Calculating the color distortion rate difference of adjacent images on the color distortion rate data of adjacent images to obtain the color distortion rate difference data of adjacent images; drawing the image color distortion rate gradient change curve according to the color distortion rate difference data of adjacent images to obtain the color distortion rate gradient change curve; According to the color distortion rate gradient change curve, extreme points are extracted to obtain a gradient change extreme point data set; according to the gradient change extreme point data set, the curve turning angles between different extreme points are calculated to obtain the gradient change curve turning angle data; Using a preset turning angle classification judgment threshold, the turning angle data of the gradient change curve is subjected to turning angle classification processing to obtain turning angle classification data; according to the turning angle classification data and the turning angle data of the gradient change curve, the color distortion rate gradient change curve is subjected to stage characteristic segmentation analysis to obtain distortion rate stage characteristic segmentation data; The distortion rate stage change variance is calculated according to the distortion rate stage characteristic segmented data to obtain the distortion rate stage change variance data; the distortion rate stage characteristic segmented data is analyzed according to the distortion rate stage change variance data to obtain the distortion rate stage normal distribution data; Performing Monte Carlo sampling on the distortion rate stage normal distribution data to obtain distortion rate normal uniform sampling data; Perform Lagrange interpolation processing on the uniform distortion rate distribution according to the distortion rate normal uniform sampling data to obtain the distortion rate distribution fitting data; According to the distortion rate distribution fitting data and the distortion rate stage change variance data, the distortion rate gradient block effect numerical interval fitting is performed on the color distortion rate data of adjacent images to obtain the distortion rate block effect numerical fitting data.

6. The image evaluation method for printed publications according to claim 3, characterized in that: Step S25 includes the following steps: Step S251: performing balance value variance calculation on the light color gradient balance data to obtain balance value variance data; performing multiple comparison analysis on the balance value variance data to obtain balance value difference multiple comparison data; Step S252: performing a balance value Bonferroni correction process on the light color gradient balance data according to the balance value difference multiple comparison data to obtain light color gradient balance correction data; Step S253: performing quantile regression analysis on the light-sensing color gradient balance data according to the light-sensing color gradient balance correction data to obtain color gradient balance quantile data; Step S254: performing quantile regression mean square error calculation based on the color gradient balance quantile data to obtain balance quantile error data.

7. An image evaluation system for printed publications, characterized in that: Used to perform the image evaluation method for printed publications as claimed in claim 1, the image evaluation system for printed publications comprises: The image content environment perception module is used to collect image data of printed publications to obtain a printed publication image data set; perform color mode analysis on the printed publication image data set to obtain publication image color mode data; perform image content environment perception analysis based on the publication image color mode data to obtain image content environment perception data; The image light perception and color analysis module is used to perform content environment light perception analysis on the image content environment perception data to obtain image content light perception data; perform image color granularity restoration analysis based on the image content light perception data to obtain image light perception color restoration data; perform light perception color gradient balance analysis based on the image light perception color restoration data to obtain light perception color gradient balance data; perform quantile regression mean square error calculation on the light perception color gradient balance data to obtain balance quantile error data; The image light perception color evaluation model construction module is used to perform error compensation on the light perception color gradient balance data according to the color balance quantile error data to obtain light perception color gradient balance compensation data; the image light perception color evaluation model is constructed based on the light perception color gradient balance compensation data based on the random forest algorithm to obtain the image light perception color evaluation model; The image printing restoration difficulty evaluation module is used to evaluate the image printing restoration difficulty according to the image light perception and color evaluation model to obtain image printing restoration difficulty evaluation data; and feed back the image printing restoration difficulty evaluation data to the terminal.