A method and system for identifying color differences in patterns

By setting detection point ID codes on the surface of decorative paper, collecting multispectral image data and performing electrical signal processing, and combining it with an environmental brightness and material characteristic database, accurate identification of color differences in decorative paper patterns is achieved. This solves the problem of high false judgment rate in existing technologies and improves the accuracy and reliability of detection.

CN121120511BActive Publication Date: 2026-05-26杭州新洋科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511155638.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-18
Publication Date
2026-05-26
Estimated Expiration
2045-08-18

Smart Images

  • Figure CN121120511B_ABST
    Figure CN121120511B_ABST
Patent Text Reader

Abstract

This invention relates to a method and system for pattern color difference recognition, relating to the field of decorative materials. The method includes: setting a detection point ID code on the surface of the decorative paper to be tested; acquiring multispectral image data containing the surface of the decorative paper to be tested, and extracting the detection point ID code and reflection distance value from the multispectral image data; determining the corresponding detection surface type by comparing the reflection distance value of the detection point with a reflection reference value, where the detection surface type includes a plane, concave surface, and convex surface; acquiring the brightness information of the current environment and generating a shadow grayscale value based on the detection surface type; transmitting a detection signal to the detection point and receiving the reflected electrical signal; determining the color value corresponding to the electrical signal based on the matching relationship between the electrical signal and the color value, and calculating the difference between the color value and the shadow grayscale value to determine the color restoration value; and comparing the color value and color restoration value of the detection point sequentially with the corresponding standard color value to determine the consistency of the detection point's color. This application has the effect of reducing misjudgments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of decorative materials, and in particular to a method and system for identifying color differences in patterns. Background Technology

[0002] Decorative paper, a material widely used in furniture, architectural decoration, packaging and other fields, uses its textured surface as an important design element to enhance its texture and aesthetics.

[0003] Currently, in the color difference detection of decorative paper patterns, the color difference is monitored by inspectors comparing the sample with the standard under a standard light source box.

[0004] Regarding the aforementioned technologies, factors such as differences in color perception ability of inspectors and visual fatigue can lead to large fluctuations in rating results. At the same time, the texture itself may produce optical interference such as shadows or reflections, or environmental factors such as moisture in the decorative paper may cause color distortion, which can easily lead to misjudgment. Summary of the Invention

[0005] To reduce misjudgments, this invention provides a method and system for identifying pattern color differences.

[0006] In a first aspect, the present invention provides a method for identifying color differences in patterns, employing the following technical solution:

[0007] A method for identifying color differences in patterns, comprising:

[0008] S100: Set a uniquely identified detection point ID code on the surface of the decorative paper to be tested;

[0009] S101: Acquire multispectral image data of the surface of the decorative paper to be tested, including the detection points, and extract the detection point ID code and reflection distance value from the multispectral image data;

[0010] S102: By comparing the reflection distance value of the detection point with the preset reflection reference value, the detection surface type of the detection surface corresponding to the detection point is determined. The detection surface type includes plane, concave surface and convex surface.

[0011] S103: Obtain the brightness information of the current environment and generate a shadow grayscale value in combination with the detected surface type;

[0012] S104: Transmits a detection signal to the detection point and receives the reflected electrical signal;

[0013] S105: Based on the preset matching relationship between electrical signals and color values, determine the color value corresponding to the electrical signal, and calculate the difference between the color value and the shadow gray value to determine the color restoration value;

[0014] S106: The color value and color restoration value of the detection point are compared with the corresponding preset standard color value in sequence to determine the consistency of the color of the detection point.

[0015] By adopting the above technical solution, the detection surface is determined based on the reflection distance value of the detection point of the decorative paper to be tested. The shadow gray value is generated by combining the ambient brightness. The detection signal is emitted and the reflected electrical signal is processed to obtain the color value and color restoration value. The color value and color restoration value are compared with the preset standard color value in turn to determine the color consistency, thereby realizing the identification of color difference in decorative paper pattern. By identifying the color difference, the accuracy of color difference detection is improved, meeting the needs of decorative paper pattern color difference detection in different scenarios, which is conducive to improving the quality and quality control level of decorative paper production.

[0016] Optionally, the verification method for the electrical signal includes:

[0017] S200: Acquire the waveform characteristics of the electrical signal and obtain the current peak amplitude based on the waveform characteristics;

[0018] S201: Calculate the difference between the preset original peak amplitude and the current peak amplitude, and define the quotient of the difference and the original peak amplitude as the attenuation degree;

[0019] S202: Determine the phase offset based on the waveform characteristics;

[0020] S203: Based on the attenuation level and the phase offset, match the material medium type of the decorative paper to be tested from a preset material feature database;

[0021] S204: Match a material compensation value based on the material medium type, and update the electrical signal according to the material compensation value.

[0022] By adopting the above technical solution, the waveform characteristics of the reflected electrical signal are collected and the amplitude and phase changes are analyzed. The material medium type is determined by combining the material characteristic database, and the color restoration value is compensated accordingly to obtain the updated electrical signal. This effectively improves the accuracy of color difference recognition, reduces the interference of electrical signal attenuation on detection, and ensures the reliability of decorative paper color detection.

[0023] Optionally, the method for verifying the electrical signal further includes:

[0024] S300: Determine whether the detection point is located on the detection surface based on the reflection distance value;

[0025] S301: When the detection point is not on the detection surface, obtain the coordinate position of the detection point;

[0026] S302: Obtain the minimum distance value within the preset receiving range based on the coordinate position, and use the corresponding receiving point as the pre-receiving point;

[0027] S303: Calculate the distance difference between the pre-receiving point and the preset default receiving point, and extract the minimum distance difference;

[0028] S304: Control the preset default receiving point to move towards the preset receiving point with the minimum distance difference, and use the direction of movement as the gradient direction;

[0029] S305: Match the target electrical signal based on the gradient direction and the material medium type, and verify whether the target electrical signal is consistent with the electrical signal. If they are consistent, the verification is completed.

[0030] By adopting the above technical solution, the system determines whether the detection point is located on the detection surface based on the reflection distance value. If not, it obtains the coordinates of the detection point in the boundary area, thereby determining the pre-receiving point and calculating the distance difference. Finally, it controls the default receiving point to move towards the pre-receiving point and matches the target electrical signal to complete the verification. This process effectively solves the problem of inaccurate electrical signals caused by detection point position deviations, improving the accuracy of color difference recognition.

[0031] Optionally, the method for verifying the electrical signal further includes:

[0032] S400: Determine the geometric positional relationship of the detection point among the plane, concave surface, and convex surface;

[0033] S401: Based on the geometric positional relationship, the corresponding reflection distance value is calculated as the intermediate reflection distance by dividing it equally;

[0034] S402: Based on the intermediate reflection distance and the preset refractive index comparison table, obtain the refractive characteristics of the area where the detection point is located, so as to determine whether the color value of the area is affected by the position of the detection point;

[0035] S403: If affected by the position of the detection point, the electrical signal corresponding to the affected color value is corrected, and the corrected electrical signal is determined based on the corrected color value;

[0036] S404: Determine the color consistency within the region based on the corrected electrical signal;

[0037] S405: If the colors match, the verification is complete.

[0038] By adopting the above technical solution, the geometric positional relationship of the detection points is determined, the intermediate reflection distance is calculated by adjusting the multispectral image data, and the influence of light and shadow characteristics on color values ​​is determined by combining the refractive index reference table. If an influence is found, corrections are made and the correction electrical signal is determined to complete the verification. This process further optimizes the accuracy of color value correction and improves the adaptability and reliability of color difference recognition in different geometric positions.

[0039] Optionally, correcting the electrical signal corresponding to the affected color value includes:

[0040] S500: The detection points in the gradient direction are selected by a preset area range to obtain the transition interval;

[0041] S501: Obtain multiple reflection sample points corresponding to the reflection distance values ​​of the transition interval;

[0042] S502: Generate a surface model of the transition interval based on the reflection sample points;

[0043] S503: Determine the correction signal quantity based on the surface model and the preset standard color corresponding to the detection point ID code;

[0044] S504: The received electrical signal is compensated and corrected using the corrected signal quantity.

[0045] By employing the above technical solution, a transition interval is selected along the gradient direction, and a surface model is generated from the reflection sample points. Combined with a preset standard color, a correction signal is determined, and the received electrical signal is compensated and corrected. This process refines the handling of color value correction in the transition interval, enhancing the accuracy and consistency of color difference recognition within the transition interval.

[0046] Optionally, after determining the color consistency within the region based on the corrected electrical signal, the method further includes:

[0047] S600: When the colors are inconsistent, the area where the detection point is located is defined as a two-color overlay area;

[0048] S601: Obtain the color percentage information of the dual-color overlay area;

[0049] S602: Compare the color proportion information with the preset dual-color standard information corresponding to the detection point ID code to obtain a preliminary comparison result, and then compare the preliminary comparison result with the preset dual-color shadow deviation information to determine the basic color layer;

[0050] S603: Determine the light and shadow characteristics of the dual-color overlay region based on the multispectral image data and the color proportion information;

[0051] S604: Based on the light and shadow characteristics, the base color layer in the dual-color overlay area is compared color by color with the base color layer in the preset standard color layer corresponding to the detection point ID code, so as to obtain the two-color comparison result;

[0052] S605: Based on the two-color contrast results, extract geometric structural features on the two-color overlay area;

[0053] S606: Generate a shadow interference region based on the aforementioned geometric features;

[0054] S607: Based on the surface microstructure of the shadow interference area, determine the state of the decorative paper, which includes the deformed state and the unfolded state.

[0055] S608: When the decorative paper to be tested is in the unfolded state, update the correction electrical signal based on the two-color comparison result.

[0056] By adopting the above technical solution, when the colors are inconsistent, it is defined as a two-color superposition area. The color ratio information is obtained and compared with the preset information to determine the basic color layer. The light and shadow characteristics are analyzed and color-by-color comparison is performed. Geometric structural features are extracted to generate shadow interference areas. The surface microstructure is adjusted to determine the state of the decorative paper. When unfolded, the electrical signal is updated and corrected to achieve accurate identification and processing of the two-color superposition area and improve the accuracy of pattern color difference identification.

[0057] Optionally, updating the corrected electrical signal based on the two-color contrast result includes:

[0058] S700: When the decorative paper to be tested is in the deformed state, acquire the dynamic spectral data of the base color layer;

[0059] S701: Calculate the color difference offset between the dynamic spectral data and the two-color comparison result;

[0060] S702: When the color difference value offset exceeds the preset offset range value, optical shadow interference is determined;

[0061] S703: Update the corrected electrical signal based on the optical shadow interference to complete the correction.

[0062] By adopting the above technical solution, when the decorative paper is in a deformed state, the dynamic spectral data of the basic color layer is obtained, the color difference value offset is calculated, and if it exceeds the preset value, optical shadow interference is determined. Based on this, the electrical signal is updated and corrected, thereby enhancing the color difference recognition accuracy of the decorative paper in the deformed state.

[0063] Optionally, matching the material compensation value based on the material medium type includes:

[0064] S800: Acquires the real-time humidity value of the current environment and the humidity information of the decorative paper to be tested;

[0065] S801: Generate an interference verification value based on the real-time humidity value and match the corresponding spectral refraction compensation model;

[0066] S802: Based on the real-time humidity value and the material medium type, match the propagation interference value and the medium interference value;

[0067] S803: When the medium interference value is consistent with the interference verification value, a humidity compensation value is generated based on the medium interference value and the propagation interference value.

[0068] S804: The material compensation value is updated based on the humidity compensation value and the spectral refraction compensation model.

[0069] By adopting the above technical solution, based on the material medium type matching material compensation value, real-time humidity and decorative paper humidity information are obtained, and an interference verification value matching spectral refraction compensation model is generated. Combining real-time humidity and material medium type matching propagation interference value and medium interference value, when the medium interference value is consistent with the interference verification value, a humidity compensation value is generated, and the material compensation value is obtained accordingly. This effectively compensates for the influence of humidity on pattern color difference recognition and improves the reliability of recognition.

[0070] Optionally, the corresponding spectral refractive compensation models include:

[0071] S900: Collect the fluorescence shift difference at the detection points;

[0072] S901: The coating thickness distribution is obtained based on the fluorescence shift difference;

[0073] S902: The real-time humidity value is weighted and corrected based on the thickness distribution to obtain the humidity correction value;

[0074] S903: Match the thick and wet spectrum compensation model based on the humidity correction value and use it as the spectrum refraction compensation model.

[0075] By adopting the above technical solution, when matching the spectral refraction compensation model, the fluorescence shift difference of the detection point is collected to obtain the coating thickness distribution. Based on this, the real-time humidity is weighted and corrected, thereby matching the thick and wet spectral compensation model as the spectral refraction compensation model, which improves the accuracy and adaptability of pattern color difference recognition under the condition of uneven thickness of decorative paper.

[0076] Secondly, this application provides a pattern color difference recognition system, which adopts the following technical solution:

[0077] The acquisition module is used to acquire multispectral image data and reflectance distance values;

[0078] A memory used to store a program for a pattern color difference recognition method;

[0079] The processor loads and executes programs from memory.

[0080] In summary, this application includes at least one of the following beneficial technical effects:

[0081] 1. By adopting the above technical solution, the detection surface is determined based on the reflection distance value of the detection point of the decorative paper to be tested. The shadow gray value is generated by combining the ambient brightness. The detection signal is emitted and the reflected electrical signal is processed to obtain the color value and color restoration value. The color value and color restoration value are compared with the preset standard color value in turn to determine the color consistency, thereby realizing the identification of the color difference of the decorative paper pattern. By identifying the color difference, the accuracy of color difference detection is improved, meeting the needs of decorative paper pattern color difference detection in different scenarios, which is conducive to improving the quality and quality control level of decorative paper production.

[0082] 2. By adopting the above technical solution, the waveform characteristics of the reflected electrical signal are collected and the amplitude and phase changes are analyzed. The material medium type is determined by combining the material characteristic database, and the color restoration value is compensated accordingly to obtain the updated electrical signal. This effectively improves the accuracy of color difference recognition, reduces the interference of electrical signal attenuation on detection, and ensures the reliability of decorative paper color detection.

[0083] 3. By adopting the above technical solution, when the decorative paper is in a deformed state, the dynamic spectral data of the basic color layer is obtained, the color difference value offset is calculated, and if it exceeds the preset value, optical shadow interference is determined. Based on this, the electrical signal is updated and corrected to enhance the color difference recognition accuracy of the decorative paper in the deformed state. Attached Figure Description

[0084] Figure 1 This is a flowchart of a pattern color difference recognition method according to an embodiment of the present invention;

[0085] Figure 2 This is a method flow chart of the electrical signal verification method according to an embodiment of the present invention. Figure 1 ;

[0086] Figure 3 This is a method flow chart of the electrical signal verification method according to an embodiment of the present invention. Figure 2 . Detailed Implementation

[0087] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0088] This application discloses a method for identifying color differences in patterns.

[0089] Reference Figure 1 A method for identifying color differences in patterns includes the following steps:

[0090] S100: Set a uniquely identified detection point ID code on the surface of the decorative paper to be tested.

[0091] The decorative paper to be tested refers to the decorative paper being tested, and it is the object of color difference detection.

[0092] A test point ID code is a unique coded identifier used to distinguish different test points. A test point is a specific location on the decorative paper to be tested, used for subsequent inspection. Technicians manually select the corresponding test points according to the actual situation, thereby identifying the test points. This enables precise positioning and effective identification of different locations on the decorative paper, providing a fundamental guarantee for the accurate correspondence between subsequent test data and their respective locations.

[0093] S101: Acquire multispectral image data of the surface of the decorative paper to be tested, including the detection points, and extract the detection point ID code and reflection distance value from the multispectral image data.

[0094] Multispectral image data refers to image data containing light information at multiple wavelengths, which is acquired by a preset multispectral sensor. The multispectral sensor has a signal processing module and a ranging module, which are preset by technicians and will not be described in detail here.

[0095] The reflection distance value refers to the distance reflected back from the detection point.

[0096] During data collection, a multispectral beam with a specific wavelength combination is emitted onto the surface of the decorative paper in advance, covering the detection point and its surrounding area. The reflected beam is received by a multispectral sensor, and the sensor's signal processing module extracts the detection point ID code corresponding to the detection point from the reflected beam. Simultaneously, the distance measurement module in the sensor obtains the reflection distance value of the detection point from the reflected beam.

[0097] Multispectral beam reflection information acquisition can capture information about the decorative paper surface in different spectral bands, which helps to more comprehensively analyze the pattern and color characteristics. At the same time, extracting the detection point ID code and reflection distance value can not only determine the specific location of the detection point, but also provide data support for the subsequent determination of the detection surface.

[0098] S102: By comparing the reflection distance value of the detection point with the preset reflection reference value, the detection surface type of the detection surface corresponding to the detection point is determined.

[0099] The reflection reference value refers to a pre-set standard reference value used for comparison with the reflection distance value.

[0100] The type of surface to be inspected refers to different morphological areas on the surface of decorative paper, including flat, concave, and convex surfaces.

[0101] The reflection distance value of each detection point is compared with a pre-set reflection reference value to determine whether the reflection distance value is greater than, less than, or equal to the reflection reference value. Based on the different comparison results, the detection surface is determined to be a plane, concave, or convex surface. When the difference between the reflection distance value and the reflection reference value exceeds the preset distance value range, the detection point is not on the detection surface. For example, if the preset distance value range is [-1, 1], the reflection distance value is equal to the reflection reference value, indicating a plane; the reflection distance value is greater than the reflection reference value, and the difference is greater than 0 and does not exceed 1, indicating a concave surface; and the reflection distance value is less than the reflection reference value, and the difference is less than 0 and does not exceed -1, indicating a convex surface.

[0102] Different detection surfaces differ in light reflection and color presentation. By clearly defining the type of detection surface, more appropriate detection and processing strategies can be adopted to improve the accuracy of color difference recognition. Determining the type of detection surface provides a guarantee for subsequent accurate color detection and analysis for different detection surfaces.

[0103] S103: Obtain the brightness information of the current environment and generate shadow grayscale values ​​by combining the detected surface type.

[0104] Brightness information refers to the light intensity data in the current environment, which is collected by the signal processing module on the multispectral sensor.

[0105] The shadow grayscale value is a numerical value used to represent the brightness of the shadow area, which is generated based on the brightness information and the detection surface.

[0106] Different brightness information corresponds to different shadow grayscale values ​​for the detection surface. The shadow grayscale values ​​are determined by analyzing a pre-set shadow grayscale database. The shadow grayscale database stores a reference table of different brightness information, detection surface, and shadow grayscale values. This database is formed by experimentally measuring and recording the grayscale value performance of shadows under different brightness information and detection surfaces, as well as the corresponding grayscale requirements.

[0107] By acquiring ambient brightness information and shadow grayscale values, the brightness of shadow areas is quantified, providing data support for subsequent removal of the impact of shadows on color detection, avoiding misjudgments caused by shadow factors, and improving the accuracy of detection results.

[0108] S104: Transmits a detection signal to the detection point and receives the reflected electrical signal.

[0109] The detection signal is a signal emitted towards the detection point for detection purposes; in this embodiment, an analog signal is used.

[0110] An electrical signal refers to the form of an electrical signal that can be recognized and processed by the device after the detected signal is reflected back. A multispectral signal transmitting device (electro-optical type) is used to transmit a multispectral detection signal towards the detection point. After the signal is reflected at the detection point, a photoelectric receiving device adapted to the transmitting device converts the reflected signal into a reflected photoelectric signal, which is then received and stored. By transmitting and receiving signals, the reflected photoelectric signal related to the color of the detection point is obtained, providing the raw data foundation for subsequent color value calculations.

[0111] S105: Based on the preset matching relationship between electrical signals and color values, determine the color value corresponding to the electrical signal, and calculate the difference between the color value and the shadow gray value to determine the color restoration value.

[0112] Color value refers to the color quantization value corresponding to the electrical signal, which can represent the specific color situation.

[0113] Color reproduction value refers to a numerical value that accurately reflects the true nature of a color.

[0114] Different electrical signals correspond to different color values, which are obtained by querying a pre-set color value database. The color value database stores a lookup table of color values ​​for different electrical signals, and is formed by technicians who test and record the color values ​​corresponding to different electrical signals in sequence.

[0115] The obtained color value is subtracted from the previously generated shadow grayscale value to remove the influence of the shadow on the color, resulting in a color restoration value that is closer to the true color.

[0116] The process of converting electrical signals into color values ​​and obtaining color restoration values ​​enables the quantification of the color of the detection point and the removal of shadow interference. It transforms the abstract reflected photoelectric signals into intuitive color numerical expressions. At the same time, the color restoration values ​​obtained after removing the shadow effects can more accurately reflect the actual color of the decorative paper pattern, providing a prerequisite for accurate comparison with standard colors.

[0117] S106: Compare the color value and color reproduction value of the detection point with the corresponding preset standard color value in turn to determine the consistency of the color of the detection point.

[0118] The preset standard color value refers to the numerical value corresponding to the decorative paper pattern color that is set in advance and used as a standard reference.

[0119] The calculated color value and color reproduction value are compared with the preset standard color value associated with the detection point ID code corresponding to the detection point. The comparison can be made by calculating the color difference between them.

[0120] The consistency between the color of the test point and the standard color is judged based on the size of the color difference. The smaller the color difference, the higher the consistency, and vice versa. This determines whether the color difference of the pattern is within the allowable range.

[0121] By comparing the color with the preset standard color value, it is determined whether the pattern color at the detection point is consistent with the standard color, thereby realizing the quantitative identification and judgment of the pattern color difference and ensuring that the color quality of the decorative paper meets the relevant requirements.

[0122] The method for verifying electrical signals also includes the following steps:

[0123] S200: Acquires the waveform characteristics of the electrical signal and obtains the current peak amplitude based on the waveform characteristics.

[0124] Waveform characteristics refer to the features exhibited by the shape, frequency, amplitude, phase, and other attributes of an electrical signal waveform.

[0125] The current peak amplitude refers to the maximum amplitude value of the reflected electrical signal waveform, reflecting the peak intensity of the electrical signal after reflection.

[0126] The trigger signal transmitter sends an electrical signal to the detection point, and at the same time, the signal receiver is activated to prepare to receive the reflected electrical signal.

[0127] The trigger signal transmitter is installed on the back of the decorative paper. It can be an infrared or other photoelectric signal transmitter. A signal receiver is preset in the corresponding position. The signal receiver has a data storage device. All of these are preset by technicians and will not be described in detail here.

[0128] Once the reflected electrical signal is captured by the signal receiver, its waveform data is converted into digital information and stored in a data storage device for subsequent analysis. This provides raw data support for accurate analysis of the signal's attenuation and phase shift.

[0129] The electrical signal to be transmitted is monitored using signal monitoring equipment. The waveform data of the collected reflected electrical signal is analyzed, and signal processing software is used to identify the maximum amplitude value in the waveform. This identified maximum amplitude value is recorded as the current peak amplitude and stored in the data processing system for subsequent comparison with the original peak amplitude. The signal processing software is existing technology and will not be described in detail here.

[0130] S201: Calculate the difference between the preset original peak amplitude and the current peak amplitude, and define the quotient of the difference and the original peak amplitude as the attenuation degree.

[0131] The original peak amplitude refers to the maximum amplitude of the waveform when the electrical signal is transmitted, that is, the initial peak intensity of the electrical signal at the moment of transmission. It is preset by technicians according to the actual situation and will not be elaborated here.

[0132] Attenuation refers to the magnitude of energy loss during the reflection of an electrical signal, expressed as a ratio between signals, and is used to quantify the signal. The original peak amplitude and the current peak amplitude are retrieved from the data processing system. A subtraction operation is used to subtract the current peak amplitude from the original peak amplitude, yielding the difference. This difference is then divided by the original peak amplitude. This ratio allows for a more accurate assessment of the influence of different materials on the electrical signal, providing a basis for determining the material medium type and reproducing color values, facilitating subsequent analysis and application.

[0133] S202: Determine the phase offset based on waveform characteristics.

[0134] Phase offset refers to the change in phase delay of the emitted detection signal after reflection from an object's surface. Essentially, it's a change in energy propagation characteristics caused by the interaction between electromagnetic waves and materials. By identifying the start point, end point, peaks, and troughs of the reflected electrical signal waveform, and comparing it with the original emitted electrical signal waveform, the time difference or angle difference between the corresponding feature points is calculated using a cross-correlation algorithm, thus determining the phase offset. The cross-correlation algorithm is existing technology and will not be elaborated upon here. Analyzing the attenuation level and phase offset provides a deeper understanding of the changes the electrical signal undergoes during reflection, offering data support for accurate matching of material medium types.

[0135] S203: Based on the attenuation level and phase offset, match the material medium type of the decorative paper to be tested from the preset material feature database.

[0136] The material characteristic database refers to a pre-established and stored database containing characteristic information such as the media types of different decorative paper materials and their corresponding attenuation degree and phase shift.

[0137] The material medium type refers to the type of material used in the decorative paper. Different materials have different physical, chemical, and electromagnetic properties. Different attenuation levels and phase shifts correspond to different material medium types of the decorative paper under test, which are determined by matching a preset material characteristic database.

[0138] The material characteristic database pre-stores a table mapping different combinations of attenuation levels and phase shifts to material media types. This database was formed by experimentally testing and recording the attenuation and phase shift characteristics of decorative papers of different materials under specific electrical signal conditions, along with corresponding material classification identifiers. By matching the attenuation level and phase shift with the pre-set material characteristic database, the material media type of the decorative paper under test can be quickly and accurately determined, providing an accurate basis for subsequent personalized color reproduction value compensation for different materials.

[0139] S204: Match material compensation values ​​based on material medium type, and update electrical signals according to material compensation values.

[0140] Material compensation value refers to the adjustment of the electrical signal based on the reflectivity of the material, in order to reduce the impact of material reflectivity differences on color measurement results.

[0141] Material compensation values ​​are obtained by inputting the material medium type into a preset material compensation value database. The material compensation value database is a database that is preset by technicians according to the actual situation. The material compensation value database contains a lookup table between material medium types and material compensation values. The actual parameters are preset by technicians according to the actual situation, which will not be elaborated here.

[0142] The material compensation value obtained after material compensation of the color reproduction value can more accurately reflect the actual color of the decorative paper, reduce the interference caused by the difference in reflectivity of different materials, and improve the accuracy and reliability of color detection.

[0143] The process of matching material compensation values ​​based on material medium type includes the following steps:

[0144] S800: Obtains the real-time humidity value of the current environment and the humidity information of the decorative paper to be tested.

[0145] Real-time humidity refers to the current humidity level of the environment, which is collected by a humidity sensor. The humidity sensor is preset by technicians according to the actual situation, and will not be described in detail here.

[0146] Humidity information refers to the humidity level of the decorative paper being tested, which is collected by an infrared humidity sensor. The infrared humidity sensor is preset by technicians according to the actual situation and will not be described in detail here.

[0147] S801: Generates interference verification values ​​based on real-time humidity values ​​and matches the corresponding spectral refraction compensation model.

[0148] Interference check value refers to the check value used to correct the impact of humidity on identification and detection.

[0149] The spectral refraction compensation model is a mathematical model constructed to correct spectral refraction deviations caused by humidity. The spectral refraction compensation model is modeled using a multiple linear regression method based on environmental parameters (such as temperature and humidity), sample characteristics (such as material type), and optical parameters (such as light and shadow characteristics and interference verification values). It is pre-set by technicians according to the actual situation and will not be elaborated here.

[0150] The humidity value is used to find the corresponding interference check value according to the preset interference reference table. The interference check value is then input into the pre-set spectral refraction compensation model to determine the spectral refraction compensation model corresponding to the interference check value. The interference reference table is preset by the technicians according to the actual situation and will not be described in detail here.

[0151] S802: Matches propagation interference value and media interference value based on real-time humidity value and material medium type.

[0152] The propagation interference value refers to the interference value caused by humidity.

[0153] The medium interference value refers to the interference value caused by the type of material medium.

[0154] The real-time humidity value differs from the material medium, and the corresponding propagation interference value and medium interference value also differ. The real-time humidity value and the material medium are input into the interference value database to obtain a corrected electrical signal. The interference value database is a database that is pre-set by technicians according to the actual situation. The interference value database contains a parameter table that corresponds one-to-one with the propagation interference value and the medium interference value based on the real-time humidity value and the material medium. The actual parameter table is pre-set by technicians according to the actual situation, which will not be elaborated here.

[0155] S803: When the medium interference value is consistent with the interference check value, a humidity compensation value is generated based on the medium interference value and the propagation interference value.

[0156] Humidity compensation value refers to the compensation value generated based on media interference value and propagation interference value.

[0157] The humidity compensation value is obtained by inputting the media interference value and the propagation interference value into a preset humidity compensation value database. The humidity compensation value database is a database that is preset by technicians according to the actual situation. The humidity compensation value database contains a lookup table between the media interference value, the propagation interference value and the humidity compensation value. The actual parameters are preset by technicians according to the actual situation, which will not be elaborated here.

[0158] When the medium interference value matches the interference check value, it indicates that only medium interference is present at this time. A humidity compensation value is generated based on the medium interference value and the propagation interference value.

[0159] When the media interference value is inconsistent with the interference verification value, it indicates that the propagation process is the cause, and the propagation interference value is used as the humidity compensation value.

[0160] S804: The material compensation value is updated based on the humidity compensation value and the spectral refraction compensation model.

[0161] Material compensation values ​​are obtained by inputting humidity compensation values ​​and spectral refraction compensation models into a preset updated material compensation value database. The updated material compensation value database is a database that is preset by technicians according to the actual situation. The updated material compensation value database contains a lookup table between humidity compensation values, spectral refraction compensation models and material compensation values. The actual parameters are preset by technicians according to the actual situation, which will not be elaborated here.

[0162] Matching the corresponding spectral refractive compensation model includes the following steps:

[0163] S900: Fluorescence shift difference at the acquisition and detection points.

[0164] Fluorescence shift difference refers to the fluorescence shift difference at the detection point, which is collected by a preset photodetector. The photodetector is preset by technicians according to the actual situation and will not be described in detail here.

[0165] S901: The coating thickness distribution is obtained based on the difference in fluorescence offset.

[0166] Coating thickness distribution refers to the distribution of coating thickness.

[0167] The coating thickness distribution is obtained by inputting the fluorescence shift difference into a preset coating thickness distribution database. The coating thickness distribution database is a database that is preset by technicians according to the actual situation. The coating thickness distribution database contains a comparison table between fluorescence shift difference and coating thickness distribution. The actual parameters are preset by technicians according to the actual situation, which will not be elaborated here.

[0168] S902: The real-time humidity value is weighted and corrected based on the thickness distribution as the humidity correction value.

[0169] The humidity correction value refers to the humidity value after correction based on the coating thickness distribution.

[0170] Based on the thickness distribution in different regions, the real-time humidity values ​​of each region are assigned corresponding weights, with larger thickness regions receiving larger weights and smaller thickness regions receiving smaller weights. The real-time humidity values ​​are then adjusted and optimized through weighted calculations to obtain humidity correction values ​​that can be corrected according to the actual humidity.

[0171] The specific weighting parameters are preset by technical personnel according to the actual situation, and will not be elaborated here.

[0172] S903: Based on humidity correction values, a thick and humid spectral compensation model is matched and used as a spectral refraction compensation model.

[0173] The thick and humid spectral compensation model refers to a mathematical model constructed to compensate for the spectral refraction deviation caused by thick and humid conditions. It is modeled by multiple linear regression method using environmental parameters (such as humidity correction value), sample characteristics (such as material type), thickness parameters (such as thickness distribution) and optical parameters (such as light and shadow characteristics and interference verification value). It is pre-set by technicians according to the actual situation and will not be elaborated here.

[0174] The humidity correction value is input into the thickness and humidity spectral compensation model to make up for the thickness parameters that were not present in the original spectral refraction compensation model.

[0175] The verification method for electrical signals also includes the following steps:

[0176] S300: Determines whether the detection point is located on the detection surface based on the reflection distance value.

[0177] By comparing the reflection distance value with the reflection reference value in S102, it is determined whether the detection point is located on the detection surface based on the comparison result.

[0178] S301: When the detection point is not on the detection surface, obtain the coordinate position of the detection point.

[0179] The coordinates refer to the specific coordinates of the detection point. These are set and confirmed when the detection point is configured.

[0180] When the detection point is not on the detection surface, it indicates that there is a problem with the recognition position and the position needs to be corrected.

[0181] S302: Obtain the minimum distance value within the preset receiving range based on the coordinate position, and use the corresponding receiving point as the pre-receiving point.

[0182] The receiving range refers to the range of signals that can be received. It is set in advance by technicians according to the actual situation and will not be elaborated here.

[0183] The minimum distance value refers to the smallest distance value among all distance values ​​from the coordinate location to the receiving range. After arranging all distance values, the smallest value is selected as the minimum distance value.

[0184] The pre-receiving point refers to the receiving point corresponding to the minimum distance value. Since the coordinate position is known, the distance between the receiving point and the coordinate position is the minimum distance value. One end of the line segment with the longest minimum distance value is set at the coordinate position, and the other end is the pre-receiving point.

[0185] S303: Calculate the distance difference between the pre-receiving point and the preset default receiving point, and extract the minimum distance difference.

[0186] The default receiving point refers to the receiving point of electrical signals under normal circumstances. It is preset by technicians according to the actual situation and will not be described in detail here.

[0187] The distance difference refers to the difference in distance between the pre-receiving point and the default receiving point.

[0188] S304: Controls the preset default receiving point to move towards the pre-receiving point with the minimum distance difference, and uses the direction of movement as the gradient direction.

[0189] The gradient direction refers to the direction of movement.

[0190] The system controls the default receiving point to move towards the pre-receiving point with the minimum distance difference, adjusting the receiving position to improve the recognition effect of electrical signals, and uses the direction of movement as the gradient direction.

[0191] S305: Match the target electrical signal based on the gradient direction and material medium type, and verify whether the target electrical signal is consistent with the electrical signal. If they are consistent, the verification is completed.

[0192] The target electrical signal refers to the electrical signal that matches the material medium type under normal conditions.

[0193] With a fixed gradient direction, different material media types will result in different target electrical signals. The target electrical signal is obtained by inputting the gradient direction and material media type into a preset target electrical signal database. The target electrical signal database is a database that is preset by technicians according to the actual situation. The target electrical signal database contains a reference table between the corresponding material media type and the target electrical signal under different gradient directions. The actual reference table is preset by technicians according to the actual situation, which will not be elaborated here.

[0194] If the target electrical signal is consistent with the electrical signal, it means that there is no interference caused by the positional deviation of the corresponding electrical signal, and the verification is completed.

[0195] The verification method for electrical signals also includes the following steps:

[0196] S400: Determine the geometric positional relationship of the detection point among planes, concave surfaces, and convex surfaces.

[0197] Geometric positional relationship refers to the positional relationship between detection points on different surfaces, which can be three types: plane and concave surface connected, plane and convex surface connected, and concave surface and convex surface connected.

[0198] In S102, when determining the detection surface type corresponding to the detection point, the geometric positional relationship can be determined simultaneously.

[0199] S401: Based on the geometric positional relationship, the corresponding reflection distance value is calculated as the intermediate reflection distance by dividing it equally.

[0200] The intermediate reflection distance refers to the average reflection distance value that is evenly distributed across different geometric positional relationships.

[0201] For example, when the geometric positional relationship is that the plane and the concave surface are connected, the distance between the plane and the concave surface is 11, and the distance between the concave surface and the concave surface is 9. Then the intermediate reflection distance is (11+9) / 2=10.

[0202] S402: Based on the intermediate reflection distance and a preset refractive index comparison table, obtain the refractive characteristics of the area where the detection point is located to determine whether the color value of the area is affected by the position of the detection point.

[0203] The refractive index comparison table refers to the refractive index data table corresponding to different materials at different intermediate reflection distances. It is preset by technicians according to the actual situation and will not be described in detail here.

[0204] Refractive properties refer to the changes in brightness of decorative paper of different materials after light is refracted. Based on the intermediate reflection distance, a refractive index reference table is selected for different materials. The refractive properties of the area where the test point is located are determined according to the selected refractive index reference table. For example, if the value obtained from the refractive index reference table is positive, it is determined that the color value of the area is not affected by the position of the test point; otherwise, it is affected.

[0205] S403: If affected by the position of the detection point, the electrical signal corresponding to the affected color value is corrected, and the corrected electrical signal is determined based on the corrected color value.

[0206] Corrected electrical signal refers to the corrected electrical signal.

[0207] If the location of the detection point affects the color value, it means that the electrical signal corresponding to the affected color value needs to be corrected to eliminate the influence. The specific correction method is described in S500 to S504, and will not be elaborated here.

[0208] S404: Determine the color consistency within the area based on the corrected electrical signal.

[0209] Color consistency refers to whether the colors within a region are the same.

[0210] The color of the area is determined by the amplitude of the change in the corrected electrical signal. If the change is regular and linear, the colors are consistent; otherwise, the colors are inconsistent.

[0211] S405: If the colors match, the verification is complete.

[0212] When the colors are consistent, it means there is no overlap between the two colors, and the verification is complete.

[0213] Correcting the electrical signals corresponding to the affected color values ​​involves the following steps:

[0214] S500: The detection points in the gradient direction are selected by a preset area range to obtain the transition interval.

[0215] The area range refers to the size of the area used for selection, which is preset by technical personnel according to the actual situation, and will not be elaborated here.

[0216] The transition interval refers to the area of ​​size near the detection point in the gradient direction.

[0217] S501: Obtain reflection sample points corresponding to multiple reflection distance values ​​in the transition interval.

[0218] Reflection sample points refer to sample points with multiple reflection distance values ​​collected within the transition interval.

[0219] Multiple reflection sample points within the transition zone are collected using photoelectric receiving equipment.

[0220] S502: Generate a surface model of the transition interval based on the reflection sample points.

[0221] The curved surface model refers to the curved surface model constructed corresponding to the transition section of the decorative paper.

[0222] The reflection sample points are input into Meshlab software, feature lines are extracted based on the characteristics of the point cloud, and the corresponding surface model is generated by selecting the parametric surface modeling (fitting regular geometric shapes) method.

[0223] S503: Determine the correction signal quantity based on the preset standard color corresponding to the surface model and the detection point ID code.

[0224] The standard color refers to the base color corresponding to the preset detection point ID code. It is preset by technicians according to the actual situation and will not be elaborated here.

[0225] The surface model and the corresponding preset standard color are input into the preset correction signal database to obtain the correction signal. The correction signal database is a database that is preset by the technicians according to the actual situation. The correction signal database contains a lookup table between the surface model and the corresponding preset standard color and the correction signal. The actual parameters are preset by the technicians according to the actual situation, which will not be elaborated here.

[0226] S504: Compensate and correct the received electrical signal using a correction signal quantity.

[0227] The received electrical signal and the correction signal are added together to obtain the correction electrical signal, thus completing the compensation correction.

[0228] After determining the color consistency within the region based on the corrected electrical signal, the following steps are also included:

[0229] S600: When the colors are inconsistent, the area where the detection point is located is defined as a two-color overlay area.

[0230] A two-color overlay area refers to an area where two colors overlap.

[0231] When the colors are inconsistent, it indicates that there is overlap between the two colors, which needs to be identified and confirmed.

[0232] S601: Obtain the color percentage information of the two-color overlay area.

[0233] Color proportion information refers to the proportion of each color in the two-color overlay area.

[0234] Color proportion information is obtained through RGB camera recognition. The RGB camera is pre-set by technicians and, together with image recognition software, can perform pixel-level analysis of color distribution in large-area images. For example, it can be used in the textile and printing industries to detect the color uniformity of fabrics or printed materials, which will not be elaborated on here.

[0235] S602: Compare the color proportion information with the preset dual-color standard information corresponding to the detection point ID code to obtain a preliminary comparison result, and then compare the preliminary comparison result with the preset dual-color shadow deviation information to determine the basic color layer.

[0236] The two-color standard information refers to the ratio of the two standard colors of the decorative paper under normal circumstances. It is a comparative information for identifying the decorative paper and is preset by technicians according to the actual situation. It will not be elaborated here.

[0237] Two-color shadow deviation information refers to the standard ratio range that does not cause deviation under the influence of light and dark. It is preset by technicians according to the actual situation and will not be described in detail here.

[0238] The base color layer refers to the color proportion of the main color layer in the two-color overlay area.

[0239] The color proportion information is compared with the preset two-color standard information corresponding to the detection point ID code to initially determine the base color layer. Then, the color proportion information is compared with the preset two-color shadow deviation information to determine whether the base color layer is within the normal standard proportion range, thereby determining the base color layer.

[0240] For example, a preliminary base color layer is obtained by comparing the color proportion information with the preset dual-color standard information corresponding to the detection point ID code. If the color proportion of the base color layer exceeds the normal standard proportion range, it is then compared and selected from the dual-color shadow deviation information to obtain the final base color layer. If it does not exceed the standard proportion range, the preliminary base color layer is the final base color layer.

[0241] S603: Determine the light and shadow characteristics of the two-color overlay region based on multispectral image data and color ratio information.

[0242] Light and shadow characteristics refer to the optical performance and light and shadow patterns presented by the interaction of two colors under different spectral bands in a two-color superposition area.

[0243] Lighting characteristics are obtained by inputting multispectral image data and color ratio information into a preset lighting characteristic database. The lighting characteristic database is a database that is preset by technicians according to the actual situation. The lighting characteristic database contains a lookup table between multispectral image data and color ratio information and lighting characteristics. The actual parameters are preset by technicians according to the actual situation, which will not be elaborated here.

[0244] S604: Based on the characteristics of light and shadow, the base color layer in the dual-color overlay area is compared color by color with the base color layer in the preset standard color layer corresponding to the detection point ID code, so as to obtain the two-color comparison result.

[0245] The preset standard color layer refers to the standard color layer corresponding to the decorative paper, which is set in advance by technicians according to the actual situation, and will not be elaborated here.

[0246] The two-color contrast result refers to the comparison result between the base color layer and the standard color layer.

[0247] By comparing the base color layer of the two-color overlay area with the base color layer of the preset standard color layer color by color, the color difference between the two-color overlay area and the preset standard color layer is obtained, thus obtaining the two-color comparison result.

[0248] S605: Based on the two-color contrast results, extract geometric structural features on the two-color overlay area.

[0249] Geometric structural features refer to the geometric shape and structural characteristics of the two-color overlay area.

[0250] Based on the two-color contrast results, the edge contours of each color region are extracted within the two-color overlay area using an edge detection algorithm. Then, the contours are optimized through morphological operations to remove noise interference. Next, a polygon approximation algorithm is used to simplify the contours and obtain key points and line segment features. Finally, by calculating parameters such as region area, perimeter, centroid coordinates, and concavity / convexity, and combining Fourier calculations, the geometric structural features of the two-color overlay area are extracted.

[0251] S606: Generate shadow interference regions based on geometric structural features.

[0252] The shadow interference area refers to the shadow area generated by the geometric features of the lighting.

[0253] The geometric features are projected onto the target plane, the shadow boundary is determined by calculating light occlusion, the edge is perturbed by a noise algorithm to enhance the interference, and finally the shadow effect and interference parameters are optimized in combination with the application scenario to obtain the shadow interference area.

[0254] S607: Based on the matching of surface microstructure in the shadow interference area, the state of the decorative paper is determined, including the deformed state and the unfolded state.

[0255] Surface microstructure refers to the microstructure of the surface of decorative paper.

[0256] The state of decorative paper refers to its spatial state, including its deformed state and its unfolded state.

[0257] The parameters of the shadow interference area are input into the micro database to obtain the surface microstructure. The micro database is a database that is pre-set by technicians according to the actual situation. The micro database contains parameter paths between surface microstructures determined by the parameters of the shadow interference area. The actual parameters are pre-set by technicians according to the actual situation, which will not be elaborated here.

[0258] S608: When the decorative paper to be tested is in an unfolded state, update and correct the electrical signal based on the two-color comparison results.

[0259] Correction signals refer to electrical signals used to correct color detection results.

[0260] Different color comparison results result in different update amounts for the correction electrical signal. The color comparison results are input into the update database to match and obtain the correction electrical signal. The update database is a database that is pre-set by technicians according to the actual situation. The update database contains the parameter path for updating the correction electrical signal according to the color comparison results. The actual parameters are pre-set by technicians according to the actual situation, which will not be elaborated here.

[0261] When the decorative paper to be tested is in an unfolded state, it indicates that the decorative paper is not folded or deformed, and the electrical signal is updated and corrected based on the two-color comparison results.

[0262] Updating and correcting the electrical signal based on the two-color contrast results includes the following steps:

[0263] S700: When the decorative paper to be tested is in a deformed state, acquire the dynamic spectral data of the basic color layer.

[0264] Dynamic spectral data refers to the spectral parameters of the base color layer after dynamic changes such as folding and wrinkling under deformation.

[0265] When the decorative paper under test is in a deformed state, it indicates that the decorative paper has deformed such as folds and wrinkles, and the spectral reflectance has changed nonlinearly, which needs to be corrected. Dynamic spectral data of the basic color layer is collected by photoelectric receiving equipment.

[0266] S701: Calculate the offset of color difference values ​​between dynamic spectral data and two-color contrast results.

[0267] Color difference offset refers to the calculated value used to determine whether the offset is outside the range.

[0268] S702: When the color difference value offset exceeds the preset offset range value, optical shadow interference is determined.

[0269] The offset range value refers to the preset color difference offset range, which is preset by technicians according to the actual situation, and will not be elaborated here.

[0270] Optical shadow interference refers to interference caused by excessive color difference shift.

[0271] When the color difference value offset exceeds the preset offset range, it indicates that the color difference offset is too large and needs to be corrected. The difference between the color difference value offset and the preset offset range is then used as the judgment value for optical shadow interference.

[0272] S703: Update and correct electrical signals based on optical shadow interference to complete the correction.

[0273] The judgment value of optical shadow interference is added to the correction electrical signal to update the correction electrical signal.

[0274] Based on the same inventive concept, embodiments of the present invention provide a pattern color difference recognition system, including:

[0275] The acquisition module is used to acquire multispectral image data, reflection distance values, brightness information, waveform features, coordinate positions, minimum distance values, reflection sample points, color proportion information, dynamic spectral data, real-time humidity values, humidity information, and fluorescence shift differences.

[0276] The memory is used to store a program for a pattern color difference recognition method.

[0277] The processor loads and executes programs from memory.

[0278] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0279] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A method for identifying color differences in patterns, characterized in that, include: S100: Set a uniquely identified detection point ID code on the surface of the decorative paper to be tested; S101: Acquire multispectral image data of the surface of the decorative paper to be tested, including the detection points, and extract the detection point ID code and reflection distance value from the multispectral image data; S102: By comparing the reflection distance value of the detection point with the preset reflection reference value, the detection surface type of the detection surface corresponding to the detection point is determined. The detection surface type includes plane, concave surface and convex surface. S103: Obtain the brightness information of the current environment and generate a shadow grayscale value in combination with the detected surface type; S104: Transmits a detection signal to the detection point and receives the reflected electrical signal; S105: Based on the preset matching relationship between electrical signals and color values, determine the color value corresponding to the electrical signal, and calculate the difference between the color value and the shadow gray value to determine the color restoration value; S106: The color value and color restoration value of the detection point are compared with the corresponding preset standard color value in sequence to determine the consistency of the color of the detection point.

2. The pattern color difference recognition method according to claim 1, characterized in that, After step S104 and before step S105, a method for verifying the electrical signal is further included, the verification method for the electrical signal including: S200: Acquire the waveform characteristics of the electrical signal and obtain the current peak amplitude based on the waveform characteristics; S201: Calculate the difference between the preset original peak amplitude and the current peak amplitude, and define the quotient of the difference and the original peak amplitude as the attenuation degree; S202: Determine the phase offset based on the waveform characteristics; S203: Based on the attenuation level and the phase offset, match the material medium type of the decorative paper to be tested from a preset material feature database; S204: Match a material compensation value based on the material medium type, and update the electrical signal according to the material compensation value.

3. The pattern color difference recognition method according to claim 2, characterized in that, Following step S204, the method for verifying the electrical signal further includes: S300: Determine whether the detection point is located on the detection surface based on the reflection distance value; S301: When the detection point is not on the detection surface, obtain the coordinate position of the detection point; S302: Obtain the minimum distance value within the preset receiving range based on the coordinate position, and use the corresponding receiving point as the pre-receiving point; S303: Calculate the distance difference between the pre-receiving point and the preset default receiving point, and extract the minimum distance difference; S304: Control the preset default receiving point to move towards the preset receiving point with the minimum distance difference, and use the direction of movement as the gradient direction; S305: Match the target electrical signal based on the gradient direction and the material medium type, and verify whether the target electrical signal is consistent with the electrical signal. If they are consistent, the verification is completed.

4. The pattern color difference recognition method according to claim 3, characterized in that, Following step S305, the method for verifying the electrical signal further includes: S400: Determine the geometric positional relationship of the detection point among the plane, concave surface, and convex surface; S401: Based on the geometric positional relationship, the corresponding reflection distance value is calculated as the intermediate reflection distance by dividing it equally; S402: Based on the intermediate reflection distance and the preset refractive index comparison table, obtain the refractive characteristics of the area where the detection point is located, so as to determine whether the color value of the area is affected by the position of the detection point; S403: If affected by the position of the detection point, the electrical signal corresponding to the affected color value is corrected, and the corrected electrical signal is determined based on the corrected color value; S404: Determine the color consistency within the region based on the corrected electrical signal; S405: If the colors match, the verification is complete.

5. The pattern color difference recognition method according to claim 4, characterized in that, Correcting the electrical signal corresponding to the affected color value includes: S500: The detection points in the gradient direction are selected by a preset area range to obtain the transition interval; S501: Obtain multiple reflection sample points corresponding to the reflection distance values ​​of the transition interval; S502: Generate a surface model of the transition interval based on the reflection sample points; S503: Determine the correction signal quantity based on the surface model and the preset standard color corresponding to the detection point ID code; S504: The received electrical signal is compensated and corrected using the corrected signal quantity.

6. The pattern color difference recognition method according to claim 4, characterized in that, After determining the color consistency within the region based on the corrected electrical signal, the method further includes: S600: When the colors are inconsistent, the area where the detection point is located is defined as a two-color overlay area; S601: Obtain the color percentage information of the dual-color overlay area; S602: Compare the color proportion information with the preset dual-color standard information corresponding to the detection point ID code to obtain a preliminary comparison result, and then compare the preliminary comparison result with the preset dual-color shadow deviation information to determine the basic color layer; S603: Determine the light and shadow characteristics of the dual-color overlay region based on the multispectral image data and the color proportion information; S604: Based on the light and shadow characteristics, the base color layer in the dual-color overlay area is compared color by color with the base color layer in the preset standard color layer corresponding to the detection point ID code, so as to obtain the two-color comparison result; S605: Based on the two-color contrast results, extract geometric structural features on the two-color overlay area; S606: Generate a shadow interference region based on the aforementioned geometric features; S607: Based on the surface microstructure of the shadow interference area, determine the state of the decorative paper, which includes the deformed state and the unfolded state. S608: When the decorative paper to be tested is in the unfolded state, update the correction electrical signal based on the two-color comparison result.

7. The pattern color difference recognition method according to claim 6, characterized in that, Updating the corrected electrical signal based on the two-color contrast result includes: S700: When the decorative paper to be tested is in the deformed state, acquire the dynamic spectral data of the base color layer; S701: Calculate the color difference offset between the dynamic spectral data and the two-color comparison result; S702: When the color difference value offset exceeds the preset offset range value, optical shadow interference is determined; S703: Update the corrected electrical signal based on the optical shadow interference to complete the correction.

8. The pattern color difference recognition method according to claim 2, characterized in that, The material compensation value is matched based on the material medium type, including: S800: Acquires the real-time humidity value of the current environment and the humidity information of the decorative paper to be tested; S801: Generate an interference verification value based on the real-time humidity value and match the corresponding spectral refraction compensation model; S802: Based on the real-time humidity value and the material medium type, match the propagation interference value and the medium interference value; S803: When the medium interference value is consistent with the interference verification value, a humidity compensation value is generated based on the medium interference value and the propagation interference value. S804: The material compensation value is updated based on the humidity compensation value and the spectral refraction compensation model.

9. The pattern color difference recognition method according to claim 8, characterized in that, The corresponding spectral refraction compensation models include: S900: Collect the fluorescence shift difference at the detection points; S901: The coating thickness distribution is obtained based on the fluorescence shift difference; S902: The real-time humidity value is weighted and corrected based on the thickness distribution to obtain the humidity correction value; S903: Match the thick and wet spectrum compensation model based on the humidity correction value and use it as the spectrum refraction compensation model.

10. A pattern color difference recognition system, characterized in that, include: The acquisition module is used to acquire multispectral image data and reflectance distance values; A memory for storing a program for a pattern color difference recognition method as described in any one of claims 1 to 9; The processor loads and executes programs from memory.

Citation Information

Patent Citations

  • Online detection system and method for printing and dyeing chromatic aberration and medium

    CN118758429A

  • Wood color difference online detection method based on spectral reflectivity reconstruction

    CN119379625A