Finished film quality detection method and system based on colorimeter calibration
Through the finished film quality detection method based on the color difference meter, image data is collected and chromatic difference value is calculated, and the problems of slow detection speed and high cost of traditional equipment are solved, and the rapid and accurate chromatic difference detection of finished films is achieved, which improves the detection efficiency and accuracy.
Patent Information
- Application Number
- CN202510349807.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-07-04
AI Technical Summary
Traditional RGB color cameras have poor color reduction. High-precision color difference detection equipment such as spectrometers are expensive and have slow measurement speed, making it difficult to meet the speed and sampling frequency requirements of online color difference detection, affecting the color detection efficiency and accuracy of finished films.
The finished film quality detection method based on the color difference meter is adopted, image data is collected through target imaging, regions are divided, and digital image processing is performed using the color difference meter to calculate the color difference value to judge the color difference problem of the finished film, and the standard color difference value is preset to quickly identify the color difference.
It realizes rapid and accurate detection of the color difference of the finished film, improves the standard rate of the finished film, reduces the impact of color differences, and improves the detection efficiency and accuracy.
Smart Images

Figure CN120259247A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and system for detecting the quality of a finished film based on the calibration of a color difference meter. Background Art
[0002] Since traditional RGB (including BAYER mode) color cameras have poor color reducibility and are generally rarely used in the field of precise color measurement, high-precision color difference detection uses a spectrophotometer. However, due to the high price and slow measurement speed of the spectrophotometer, it is rarely used in occasions with high requirements for speed and sampling frequency such as on-line color difference detection, and is generally used in laboratory or off-line sampling inspection occasions.
[0003] Therefore, a method and system for detecting the quality of a finished film based on the calibration of a color difference meter. Summary of the Invention
[0004] The purpose of the present invention is to provide a method and system for detecting the quality of a finished film based on the calibration of a color difference meter to overcome the existing defects, which can quickly solve the problem of affecting color difference and improve the standard rate of the finished film.
[0005] The technical solution for achieving the above purpose is as follows: A method for detecting the quality of a finished film based on the calibration of a color difference meter according to one of the present inventions includes: Step S1, collecting image data of multiple positions of a standard finished film and a finished film to be detected through a target imaging method, and dividing them into multiple regions; Step S2, using a color difference meter to detect the surface color of the images of the standard finished film and the finished film to be detected; Step S3, performing digital image processing on the surface color of the image; Step S4, calculating the color difference between the finished film to be detected and the standard finished film by calculating the color difference of each region of the standard finished film and the finished film to be detected , and then determining whether there is a color difference problem with the finished film to be detected.
[0006] Preferably, in the step S1, the image data of multiple positions includes the front area and the back area of the finished film, and the color sampling areas are selected in the front area and the back area. The color sampling areas are in the shape of a square or a circle, and the Lab values of all pixel points in the color sampling areas are averaged, and The value represents the Lab value of the color sampling area of the standard finished film, and The value represents the Lab value of the color sampling area of the finished film to be detected.
[0007] Preferably, in the step S4, according to the lightness change value , the red-green difference value And the yellow-blue difference value , obtain the color difference value between the film to be tested and the standard finished film , and determine whether there is a color difference problem with the film to be tested; Among them, the lightness change value characterizes the degree of light and dark change of the film to be tested, and the color difference value characterizes the difference in chromaticity of the film to be tested.
[0008] Preferably, in the step S4, the color difference value between the film to be tested and the standard finished film The calculation formula is: ; Among them, the lightness value, red-green value, and yellow-blue value of the standard finished film are respectively , and , and the lightness value, red-green value, and yellow-blue value of the film to be tested are respectively , and ; then: ; ; .
[0009] Preferably, in the step S4, a preset standard color difference value , if , it is determined that there is a color difference in the color of the film to be tested, and if , it is determined that there is no color difference in the color of the film to be tested.
[0010] Preferably, in the step S4, after it is determined that there is a color difference in the color of the film to be tested, further analyze the data affecting the color difference, and preset the standard lightness value , standard red-green value and standard yellow-blue value , including: If , the lightness value of the film to be tested affects the color difference; If , the red-green value of the film to be tested affects the color difference; If , the yellow-blue value of the film to be tested affects the color difference; If , the lightness value and red-green value of the film to be tested affect the color difference; If , the lightness value and yellow-blue value of the film to be tested affect the color difference; If , the red-green value and yellow-blue value of the film to be tested affect the color difference; If , the lightness value, red-green value, and yellow-blue value of the finished product film to be measured affect the color difference.
[0011] A finished product film quality detection system based on color difference meter calibration according to the second aspect of the present invention includes: A data acquisition module for acquiring image data of multiple positions of a standard finished product film and a finished product film to be detected through a target imaging method and dividing them into multiple regions; A film detection module for detecting the surface color of the images of the standard finished product film and the finished product film to be detected using a color difference meter; A light-number conversion module for performing digital image processing on the surface color of the image; A difference calculation module for calculating the color difference value between the finished product film to be measured and the standard finished product film according to the obtained lightness value , red-green value and yellow-blue value of the standard finished product film, and the lightness value , red-green value and yellow-blue value of the finished product film to be detected; ; A color difference judgment module for comparing the obtained color difference calculation result with a preset standard color difference value to judge whether there is a color difference problem with the finished product film to be detected.
[0012] Preferably, in the difference calculation module, the color difference value between the finished product film to be measured and the standard finished product film is calculated by the following formula: ; ; .
[0013] Preferably, in the color difference judgment module, , it is judged that there is a color difference in the color of the finished product film to be measured. If , it is judged that there is no color difference in the color of the finished product film to be measured.
[0014] Preferably, in the color difference judgment module, after judging that there is a color difference in the color of the finished product film to be measured, the data affecting the color difference is further analyzed. The preset standard lightness value , standard red-green value and standard yellow-blue value include: If , the lightness value of the finished product film to be measured affects the color difference; If , the red-green value of the finished product film to be measured affects the color difference; If , the yellow - blue value of the finished product film to be measured affects the color difference; If , the lightness value and red - green value of the finished product film to be measured affect the color difference; If , the lightness value and yellow - blue value of the finished product film to be measured affect the color difference; If , the red - green value and yellow - blue value of the finished product film to be measured affect the color difference; If , the lightness value, red - green value and yellow - blue value of the finished product film to be measured affect the color difference.
[0015] The beneficial effects of the present invention are as follows: By collecting image data at multiple positions, the present invention solves the influence of factors such as light source, viewing angle, and measurement environment on the measurement results, calculates the color difference between the finished product film to be measured and the standard finished product film from multiple directions respectively, and presets the standard color difference , standard lightness value , standard red - green value and standard yellow - blue value . After determining the color difference of the finished product film to be measured and further obtaining the reasons affecting the color difference, the problem affecting the color difference can be quickly solved, and the standard rate of the finished product film can be improved. By detecting the color of each area, the present invention can further determine whether the color of the finished product film is uniform. Brief Description of the Drawings
[0016] Figure 1 is a flowchart of a method for detecting the quality of a finished product film based on color difference meter calibration according to the present invention; Figure 2 is a module diagram of a system for detecting the quality of a finished product film based on color difference meter calibration according to the present invention. Detailed Embodiments
[0017] The technical solutions of the present invention will be described clearly and completely below with reference to the accompanying drawings. In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention. In addition, the terms "first", "second", "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0018] The present invention will be further described below with reference to the accompanying drawings.
[0019] As Figure 1 shown, a method for detecting the quality of a finished film based on the calibration of a color difference meter includes: Step S1, acquiring image data of multiple positions of a standard finished film and a finished film to be detected through a target imaging method, and dividing them into multiple regions.
[0020] In the embodiment, the image data of multiple positions includes the front area and the back area of the finished film. Color sampling areas are selected in the front area and the back area. The color sampling area is in the shape of a square or a circle, and the Lab values of all pixel points in the color sampling area are averaged, and the value represents the Lab value of the color sampling area of the standard finished film, and the value represents the Lab value of the color sampling area of the finished film to be detected.
[0021] Step S2, using a color difference meter to detect the surface color of the images of the standard finished film and the finished film to be detected.
[0022] Step S3, performing digital image processing on the surface color of the image.
[0023] Step S4, calculating the color difference between the colors of each region of the standard finished film and the finished film to be detected to obtain the color difference value between the finished film to be detected and the standard finished film , and further determining whether there is a color difference problem with the finished film to be detected.
[0024] In the embodiment, according to the lightness change value , the red-green difference value , and the yellow-blue difference value , the color difference value between the finished film to be detected and the standard finished film is obtained , and it is determined whether there is a color difference problem with the finished film to be detected; wherein, the lightness change value represents the degree of light and dark change of the finished film to be detected, and the color difference value represents the difference in chromaticity of the finished film to be detected.
[0025] Preferably, in the step S4, the color difference value between the finished film to be detected and the standard finished film is calculated by the following formula: ; wherein, the lightness value, the red-green value, and the yellow-blue value of the standard finished film are respectively , , and , and the lightness value, the red-green value, and the yellow-blue value of the finished film to be detected are respectively , , and ; then: ; ; 。
[0026] In the embodiment, a preset standard color difference value , if , it is determined that there is a color difference in the film to be tested for the finished product. If , it is determined that there is no color difference in the film to be tested for the finished product.
[0027] In the embodiment, after it is determined that there is a color difference in the film to be tested for the finished product, data affecting the color difference is further analyzed. A preset standard lightness value , standard red-green value and standard yellow-blue value are included, including: If , the lightness value of the film to be tested for the finished product affects the color difference; If , the red-green value of the film to be tested for the finished product affects the color difference; If , the yellow-blue value of the film to be tested for the finished product affects the color difference; If , the lightness value and red-green value of the film to be tested for the finished product affect the color difference; If , the lightness value and yellow-blue value of the film to be tested for the finished product affect the color difference; If , the red-green value and yellow-blue value of the film to be tested for the finished product affect the color difference; If , the lightness value, red-green value and yellow-blue value of the film to be tested for the finished product affect the color difference.
[0028] As Figure 2 shown, a finished film quality detection system based on color difference meter calibration includes: a data acquisition module 1, a film detection module 2, an optical data conversion module 3, a difference calculation module 4, and a color difference judgment module 5.
[0029] The data acquisition module 1 is used to collect image data of multiple positions of a standard finished film and a finished film to be detected through a target imaging method, and divide them into multiple regions.
[0030] In the embodiment, the image data of multiple positions includes the front area and the back area of the finished film. Color sampling areas are selected in the front area and the back area. The color sampling areas are in the shape of a square or a circle, and the Lab values of all pixel points in the color sampling areas are averaged, and the Lab value of the color sampling area of the standard finished film is represented by the value, and The numerical value represents the Lab value of the color sampling area of the finished film to be detected.
[0031] The film detection module 2 is used to detect the surface color of the standard finished film and the finished film to be detected using a color difference meter.
[0032] The light-number conversion module 3 is used to perform digital image processing on the surface color of the image.
[0033] The difference calculation module 4 is used to calculate the color difference value between the finished film to be measured and the standard finished film according to the obtained lightness value , red-green value and yellow-blue value of the standard finished film, and the lightness value , red-green value and yellow-blue value of the finished film to be detected. .
[0034] In the embodiment, the calculation formula for the color difference value between the finished film to be measured and the standard finished film is: ; wherein, the lightness value, red-green value and yellow-blue value of the standard finished film are respectively , and , and the lightness value, red-green value and yellow-blue value of the finished film to be detected are respectively , and ; then: ; ; .
[0035] Preferably, in the color difference judgment module, if , it is determined that there is a color difference in the finished film to be measured, and if , it is determined that there is no color difference in the finished film to be measured.
[0036] The color difference judgment module 5 is used to compare the obtained color difference calculation result with the preset standard color difference value to determine whether there is a color difference problem in the finished film to be detected.
[0037] In the embodiment, after it is determined that there is a color difference in the finished film to be measured, the data affecting the color difference is further analyzed, and the preset standard lightness value , standard red-green value and standard yellow-blue value , including: If , then the lightness value of the film to be tested for the finished product affects the color difference; If , then the red-green value of the film to be tested for the finished product affects the color difference; If , then the yellow-blue value of the film to be tested for the finished product affects the color difference; If , then the lightness value and the red-green value of the film to be tested for the finished product affect the color difference; If , then the lightness value and the yellow-blue value of the film to be tested for the finished product affect the color difference; If , then the red-green value and the yellow-blue value of the film to be tested for the finished product affect the color difference; If , then the lightness value, the red-green value, and the yellow-blue value of the film to be tested for the finished product affect the color difference.
[0038] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting the quality of a finished film based on the calibration of a color difference meter, characterized in that, Including: Step S1: Collect image data of multiple positions of a standard finished film and a film to be detected by a target imaging method, and divide them into multiple regions; Step S2: Use a color difference meter to detect the surface color of the images of the standard finished film and the film to be detected; Step S3: Perform digital image processing on the surface color of the images; Step S4: Calculate the color difference of each area between the standard finished film and the film to be tested, so as to obtain the color difference value between the film to be tested and the standard finished film , and then determine whether there is a color difference problem with the film to be tested 2. The quality inspection method for finished films based on the calibration of a color difference meter according to claim 1, wherein In the step S1, the image data at multiple positions includes the front area and the back area of the finished film. Color sampling areas are selected in the front area and the back area. The color sampling areas are in the shape of a square or a circle. The Lab values of all the pixel points in the color sampling areas are averaged, and The value represents the Lab value of the color sampling area of the standard finished film, and The value represents the Lab value of the color sampling area of the finished film to be detected.
3. A method for detecting the quality of a finished film based on the calibration of a color difference meter according to claim 1, characterized in that, In the step S4, according to the lightness change value , the red-green difference value , and the yellow-blue difference value , calculate the color difference between the film to be tested and the standard film, and determine whether there is a color difference problem with the film to be tested; Among them, the lightness change value characterizes the degree of light and dark change of the film to be detected, and the color difference value characterizes the difference in chromaticity of the film to be detected.
4. A method for detecting the quality of a finished film based on the calibration of a color difference meter according to claim 3, characterized in that In the step S4, the color difference between the film to be tested and the standard finished film is calculated by the following formula: ; Among them, the lightness value, red-green value, and yellow-blue value of the standard finished film are respectively , and , and the lightness value, red-green value, and yellow-blue value of the finished film to be detected are respectively , and ; then: ; ; 。 5. A method for detecting the quality of a finished film based on the calibration of a color difference meter according to claim 4, characterized in that, In the step S4, a preset standard color difference value , if , it is determined that there is a color difference in the film to be tested for the finished product. If , it is determined that there is no color difference in the film to be tested for the finished product.
6. The quality inspection method for finished films based on the calibration of a color difference meter according to claim 5, characterized in that In the step S4, after it is determined that there are color differences in the film to be tested, the data affecting the color differences is further analyzed, and a preset standard lightness value , standard red-green value and standard yellow-blue value are included, including: If , the lightness value of the film to be tested affects the color difference. If , the red and green values of the film to be tested that affect the color difference are those of the finished product film. If , then the yellow-blue value of the film to be tested affects the color difference; If , the lightness value and red-green value of the film to be measured affect the color difference. If , the lightness value and yellow-blue value of the film to be tested affect the color difference; If , the red-green value and yellow-blue value of the film to be tested that affect the color difference If , then the lightness value, red-green value, and yellow-blue value of the film to be tested affect the color difference.
7. A finished film quality detection system based on the calibration of a color difference meter, characterized in that, Including: A data acquisition module, configured to collect image data of multiple positions of a standard finished film and a film to be detected by a target imaging method, and divide them into multiple regions; A film detection module, configured to use a color difference meter to detect the surface color of the images of the standard finished film and the film to be detected; A light-number conversion module, configured to perform digital image processing on the surface color of the images; The difference calculation module is used to calculate, based on the obtained lightness value of the standard finished film , red-green value and yellow-blue value of the standard finished film, and the lightness value , red-green value and yellow-blue value of the finished film to be detected, the color difference between the finished film to be detected and the standard finished film ; Color difference judgment module, which is used to compare the obtained color difference calculation result with a preset standard color difference value to determine whether there is a color difference problem in the finished film to be detected.
8. The finished film quality detection system based on color difference meter calibration according to claim 7, characterized in that, In the difference calculation module, the color difference between the film to be measured and the standard film is calculated by the following formula: ; Among them, the lightness value, red-green value, and yellow-blue value of the standard finished film are respectively , and , and the lightness value, red-green value, and yellow-blue value of the finished film to be detected are respectively , and ; then: ; ; 。 9. The finished film quality detection system based on the calibration of a color difference meter according to claim 8, wherein In the color difference judgment module, if , it is determined that there is a color difference in the film of the finished product to be tested. If , it is determined that there is no color difference in the film of the finished product to be tested.
10. A finished film quality detection system based on color difference meter calibration according to claim 9, characterized in that, After determining that there are color differences in the film of the finished product to be tested, further analyze the data affecting the color differences, and preset the standard lightness value , standard red-green value and standard yellow-blue value , including: If , the lightness value of the film to be tested that affects the color difference; If , the red and green values of the film to be tested that affect the color difference If , the yellow-blue value of the film to be tested affects the color difference; If , the lightness value and red-green value of the film to be tested affect the color difference. If , the lightness value and yellow-blue value of the film to be tested that affect the color difference; If , the red-green value and yellow-blue value of the film to be tested affect the color difference; If , the lightness value, red-green value, and yellow-blue value of the film to be tested that affect the color difference
Citation Information
Cited By
Method for testing and detecting color development quality of photochromic paint surface protective film
CN121595483A