CN117969517A - Screen protection film testing method, device, equipment and storage medium - Google Patents
Screen protection film testing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117969517A CN117969517A CN202410370481.9A CN202410370481A CN117969517A CN 117969517 A CN117969517 A CN 117969517A CN 202410370481 A CN202410370481 A CN 202410370481A CN 117969517 A CN117969517 A CN 117969517A
- Authority
- CN
- China
- Prior art keywords
- protective film
- image
- pixel
- screen
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 39
- 230000001681 protective effect Effects 0.000 claims abstract description 158
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000001179 sorption measurement Methods 0.000 claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims abstract description 24
- 238000002834 transmittance Methods 0.000 claims abstract description 23
- 230000000694 effects Effects 0.000 claims abstract description 17
- 230000003678 scratch resistant effect Effects 0.000 claims abstract description 16
- 238000004364 calculation method Methods 0.000 claims abstract description 9
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 claims description 53
- 239000000741 silica gel Substances 0.000 claims description 53
- 229910002027 silica gel Inorganic materials 0.000 claims description 53
- 238000007790 scraping Methods 0.000 claims description 22
- 239000004071 soot Substances 0.000 claims description 20
- 238000012935 Averaging Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 3
- 238000010998 test method Methods 0.000 claims 3
- 238000001514 detection method Methods 0.000 abstract description 9
- 230000008569 process Effects 0.000 abstract description 5
- 238000011156 evaluation Methods 0.000 abstract description 4
- 230000003068 static effect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 3
- 230000000149 penetrating effect Effects 0.000 description 3
- 235000019504 cigarettes Nutrition 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000002156 adsorbate Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for testing a screen protection film, which relate to the field of protection film detection and comprise the following steps: judging whether the light transmission judging value is larger than a first preset value or not; judging whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value; judging whether the adsorption quantity is larger than a given value or not; calculating pixel value difference values of the scraped display image and the display image; judging whether the pixel value difference is larger than a preset pixel value or not; when the transmittance of the protective film meets the requirements, the display of the screen is clear, the antistatic effect of the protective film meets the requirements, and the scratch-resistant effect of the protective film meets the requirements, the protective film is detected to be qualified, otherwise, the protective film is detected to be unqualified. By arranging the image acquisition module, the data calculation module and the judgment comparison module, the performance evaluation of the test result on the protective film is sufficient, so that the protective film qualified by the detection of the method can adapt to most conditions of the use process.
Description
Technical Field
The invention relates to the field of detection of protective films, in particular to a method, a device, equipment and a storage medium for testing a screen protective film.
Background
In recent years, the touch screen has the advantages of simplicity and convenience in interaction mode, accurate positioning and high response speed, and gradually becomes the most commonly used display screen on intelligent equipment. Because of the large size of the touch screen, many users can attach a protective film over the touch screen to better protect the touch screen.
Once the protective film is attached to the touch screen, the protective film may affect the operation process of the intelligent device. The influence is mainly reflected in transmittance, fuzzy influence degree, electrostatic influence and protectiveness, the transmittance determines the penetrating effect of screen display, the fuzzy influence degree is the blurring degree of an image passing through a protective film, the electrostatic influence can influence the sensitivity and accuracy of touch response, and the protectiveness determines the influence of scraping on the screen.
The detection means of the existing protective film testing method is single, the protective film is not comprehensively detected from the angles of transmittance, fuzzy influence degree, electrostatic influence and protection during detection, and the test result is insufficient for evaluating the performance of the protective film.
Disclosure of Invention
In order to solve the technical problems, the technical scheme provides a testing method, a device, equipment and a storage medium for a screen protective film, and solves the problems that the testing means of the existing testing method for the protective film provided in the background art is single, the protective film is not comprehensively tested from the angles of light transmittance, fuzzy influence degree, electrostatic influence and protectiveness during detection, and the performance evaluation of the test result on the protective film is insufficient.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the screen protection film testing method comprises the following steps:
the method comprises the steps of obtaining a screen for displaying a standard image of a test;
displaying a standard image in a screen, acquiring a light intensity image of the screen when a protective film is not attached, and acquiring a light intensity contrast image of the screen when the protective film is attached;
calculating the light intensity difference between the light intensity contrast image and the light intensity image to be used as a light transmission judgment value;
judging whether the light transmission judging value is larger than a first preset value, if so, judging that the light transmission of the protective film is insufficient, and if not, judging that the light transmission of the protective film meets the requirement;
Displaying a standard image in a screen, acquiring a display image of the screen when a protective film is not attached, and acquiring a display contrast image of the screen when the protective film is attached;
Calculating an average gradient of the display image as a first ambiguity;
calculating an average gradient of the display contrast image as a second ambiguity;
Judging whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value, if so, judging that the protective film affects the display definition of the screen, and if not, the protective film does not affect the display definition of the screen;
The silica gel surface of the protective film is exposed, the adsorption quantity of the silica gel surface facing the soot is obtained, whether the adsorption quantity is larger than a given value or not is judged, if yes, the protective film is judged to be insufficient in antistatic effect, and if not, the protective film is judged to be satisfactory in antistatic effect;
displaying a standard image in a screen, and acquiring a display image of the screen when a protective film is not attached;
Under the condition that a protective film is attached to a screen, scraping the protective film with preset force, and after scraping, obtaining a scraping display image of the screen when the protective film is not attached;
calculating pixel value difference values of the scraped display image and the display image;
judging whether the pixel value difference is larger than a preset pixel value, if so, judging that the scratch-resistant effect of the protective film is insufficient, and if not, judging that the scratch-resistant effect of the protective film meets the requirement;
when the transmittance of the protective film meets the requirements, the display of the screen is clear, the antistatic effect of the protective film meets the requirements, and the scratch-resistant effect of the protective film meets the requirements, the protective film is detected to be qualified, otherwise, the protective film is detected to be unqualified.
Preferably, the calculating the light intensity difference between the light intensity contrast image and the light intensity image as the light transmission judgment value includes the following steps:
Carrying out coordinate modeling on the light intensity contrast image and the light intensity image by using the same coordinate system, and endowing coordinates to each pixel point in the light intensity contrast image and the light intensity image;
Pairing the light intensity contrast image with the pixel points with the same coordinates in the light intensity image to obtain at least one pixel point group;
Calculating the absolute value of the difference value of the light intensity of two pixel points in the pixel point group to obtain the light intensity difference;
And accumulating at least one light intensity difference and averaging to obtain a light transmission judgment value.
Preferably, the calculating the average gradient of the display image as the first ambiguity includes the steps of:
acquiring the distance between adjacent pixel points in a display image as a first characteristic distance;
Acquiring one pixel point in a display image as a first characteristic pixel point;
Acquiring at least one pixel point adjacent to a first characteristic pixel point as a first gradient pixel point;
The pixel value of the first characteristic pixel point is differenced with the pixel value of the first gradient pixel point, and the absolute value is taken, so that a first pixel intermediate value is obtained;
Accumulating at least one first pixel intermediate value and dividing the value by the first characteristic distance to obtain a first pixel gradient of a first characteristic pixel point;
when the first characteristic pixel points traverse all the pixel points in the display image, obtaining first pixel gradients of all the pixel points;
and accumulating at least one first pixel gradient and averaging to obtain a first ambiguity.
Preferably, the calculating of the average gradient of the displayed contrast image as the second ambiguity comprises the steps of:
acquiring the distance between adjacent pixel points in the display contrast image as a second characteristic distance;
Acquiring one pixel point in the display contrast image as a second characteristic pixel point;
acquiring at least one pixel point adjacent to the second characteristic pixel point as a second gradient pixel point;
The pixel value of the second characteristic pixel point is differenced with the pixel value of the second gradient pixel point, and the absolute value is taken, so that a second pixel intermediate value is obtained;
accumulating at least one second pixel intermediate value and dividing the second pixel intermediate value by the second characteristic distance to obtain a second pixel gradient of a second characteristic pixel point;
When the second characteristic pixel points traverse and display all the pixel points in the contrast image, obtaining second pixel gradients of all the pixel points;
And accumulating at least one second pixel gradient and averaging to obtain a second ambiguity.
Preferably, the step of obtaining the adsorption amount of silica gel facing the soot comprises the following steps:
acquiring a silica gel surface image when the silica gel surface is not adsorbed with the ash, and acquiring a silica gel surface image when the silica gel surface is adsorbed with the ash;
Carrying out coordinate modeling on the silica gel surface image and the silica gel surface contrast image by using the same coordinate system to obtain the coordinates of each pixel point in the silica gel surface image and the silica gel surface contrast image;
Matching pixel points with the same coordinates in the silica gel face image and the silica gel face contrast image to obtain a pixel point matching group;
Judging whether the pixel values of two pixels in the pixel point pairing group are consistent, if so, not performing any processing, otherwise, marking the pixel point pairing group as a soot identification group;
counting the number of the soot identification groups, wherein the number is used as a first number, and the number of pixel points in the silica gel face image is counted and used as a second number;
the result of dividing the first number by the second number is multiplied by the area of the silica gel surface image to obtain the adsorption amount of the soot.
Preferably, the calculating the pixel value difference between the scraped display image and the display image includes the steps of:
carrying out coordinate modeling on the scraping display image and the display image by using the same coordinate system to obtain the coordinates of each pixel point in the scraping display image and the display image;
pairing the scraped display image with pixel points with the same coordinates in the display image to obtain a pixel point association group;
Calculating the absolute value of the difference value of the pixel values of the pixel points in the pixel point association group to obtain an association difference value;
And accumulating and averaging at least one correlation difference value to obtain a pixel value difference value between the scraping display image and the display image.
The device for testing the screen protection film is used for realizing the method for testing the screen protection film, and comprises the following steps:
the image acquisition module is used for acquiring a standard image of a screen for displaying a test, acquiring a light intensity image of the screen when a protective film is not attached, acquiring a light intensity contrast image of the screen when the protective film is not attached, acquiring a display contrast image of the screen when the protective film is attached, acquiring the adsorption quantity of silica gel facing soot, acquiring a display image of the screen when the protective film is not attached, and acquiring a scratch display image of the screen when the protective film is not attached;
The data calculation module calculates the light intensity difference between the light intensity contrast image and the light intensity image, calculates the average gradient of the display image as a light transmission judgment value, calculates the average gradient of the display contrast image as a first ambiguity, and calculates the pixel value difference between the scratch display image and the display image as a second ambiguity;
The judging and comparing module judges whether the light transmission judging value is larger than a first preset value, judges whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value, judges whether the adsorption quantity is larger than a given value and judges whether the pixel value difference is larger than a preset pixel value;
And the comprehensive judgment module judges that the protective film is qualified when the transmittance of the protective film meets the requirement, the protective film does not influence the display definition of the screen, the antistatic effect of the protective film meets the requirement and the scratch-resistant effect of the protective film meets the requirement, and otherwise, the protective film is unqualified.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the steps of the method for testing a screen saver described above.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the screen saver testing method described above.
Compared with the prior art, the invention has the beneficial effects that:
Through setting up image acquisition module, data calculation module and judgement comparison module, from the transmittance, the degree of fuzzy influence, the static influence and four angles of protectiveness carry out comprehensive detection to the protection film, satisfy the screen display demand when judging the penetrating effect of protection film, judge whether the protection film can neglect to the blurring degree of screen display, judge whether the static that the protection film produced can neglect, judge whether the protection of protection film to the screen satisfies the demand, test result is abundant to the performance evaluation of protection film, thereby detect the most circumstances of qualified protection film can adapt to the use through this method, can not influence user's use experience, can also produce sufficient protection to the screen simultaneously.
Drawings
FIG. 1 is a schematic flow chart of a method for testing a screen protective film according to the present invention;
FIG. 2 is a flow chart of calculating the light intensity difference between the light intensity contrast image and the light intensity image as a light transmittance judgment value according to the present invention;
FIG. 3 is a schematic diagram of a first ambiguity procedure for calculating the average gradient of a display image according to the present invention;
FIG. 4 is a schematic diagram of a second ambiguity procedure for calculating the average gradient of a displayed contrast image according to the present invention;
FIG. 5 is a schematic diagram of the process for obtaining the adsorption amount of silica gel facing soot according to the present invention;
FIG. 6 is a flow chart of calculating pixel value differences between scraped display images according to the present invention.
Detailed Description
The following description is presented to enable one of ordinary skill in the art to make and use the invention. The preferred embodiments in the following description are by way of example only and other obvious variations will occur to those skilled in the art.
Referring to fig. 1, the method for testing a screen protective film includes:
the method comprises the steps of obtaining a screen for displaying a standard image of a test;
displaying a standard image in a screen, acquiring a light intensity image of the screen when a protective film is not attached, and acquiring a light intensity contrast image of the screen when the protective film is attached;
calculating the light intensity difference between the light intensity contrast image and the light intensity image to be used as a light transmission judgment value;
judging whether the light transmission judging value is larger than a first preset value, if so, judging that the light transmission of the protective film is insufficient, and if not, judging that the light transmission of the protective film meets the requirement;
Displaying a standard image in a screen, acquiring a display image of the screen when a protective film is not attached, and acquiring a display contrast image of the screen when the protective film is attached;
Calculating an average gradient of the display image as a first ambiguity;
calculating an average gradient of the display contrast image as a second ambiguity;
Judging whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value, if so, judging that the protective film affects the display definition of the screen, and if not, the protective film does not affect the display definition of the screen;
The silica gel surface of the protective film is exposed, the adsorption quantity of the silica gel surface facing the soot is obtained, whether the adsorption quantity is larger than a given value or not is judged, if yes, the protective film is judged to be insufficient in antistatic effect, and if not, the protective film is judged to be satisfactory in antistatic effect;
displaying a standard image in a screen, and acquiring a display image of the screen when a protective film is not attached;
Under the condition that a protective film is attached to a screen, scraping the protective film with preset force, and after scraping, obtaining a scraping display image of the screen when the protective film is not attached;
calculating pixel value difference values of the scraped display image and the display image;
judging whether the pixel value difference is larger than a preset pixel value, if so, judging that the scratch-resistant effect of the protective film is insufficient, and if not, judging that the scratch-resistant effect of the protective film meets the requirement;
when the transmittance of the protective film meets the requirements, the display of the screen is clear, the antistatic effect of the protective film meets the requirements, and the scratch-resistant effect of the protective film meets the requirements, the protective film is detected to be qualified, otherwise, the protective film is detected to be unqualified.
Referring to fig. 2, calculating a light intensity difference between a light intensity contrast image and a light intensity image as a light transmittance judgment value includes the steps of:
Carrying out coordinate modeling on the light intensity contrast image and the light intensity image by using the same coordinate system, and endowing coordinates to each pixel point in the light intensity contrast image and the light intensity image;
Pairing the light intensity contrast image with the pixel points with the same coordinates in the light intensity image to obtain at least one pixel point group;
Calculating the absolute value of the difference value of the light intensity of two pixel points in the pixel point group to obtain the light intensity difference;
accumulating at least one light intensity difference and averaging to obtain a light transmission judgment value;
When judging that the transmittance of the protective film is insufficient, the light intensity contrast image filtered by the protective film is greatly different from the light intensity image, so that the light intensity difference between the light intensity contrast image filtered by the protective film and the light intensity image is larger than a first preset value, the defect that the transmittance of the protective film is insufficient can be judged, and the screen display effect is poor due to the insufficient transmittance of the protective film, so that the use is affected.
Referring to fig. 3, calculating the average gradient of the display image as the first degree of blur includes the steps of:
acquiring the distance between adjacent pixel points in a display image as a first characteristic distance;
Acquiring one pixel point in a display image as a first characteristic pixel point;
Acquiring at least one pixel point adjacent to a first characteristic pixel point as a first gradient pixel point;
The pixel value of the first characteristic pixel point is differenced with the pixel value of the first gradient pixel point, and the absolute value is taken, so that a first pixel intermediate value is obtained;
Accumulating at least one first pixel intermediate value and dividing the value by the first characteristic distance to obtain a first pixel gradient of a first characteristic pixel point;
when the first characteristic pixel points traverse all the pixel points in the display image, obtaining first pixel gradients of all the pixel points;
Accumulating at least one first pixel gradient and averaging to obtain a first ambiguity;
If the display contrast image passing through the protective film is blurred, the difference between adjacent pixel points in the image can be reduced, the average gradient can describe the degree of blurring, the average gradient of the display contrast image is obviously changed necessarily, so that the difference between the display contrast image and the average gradient of the display image exceeds a second preset value, and if the display contrast image passing through the protective film is not blurred, the display contrast image is not obviously different from the display image, so that the difference between the average gradient of the display contrast image and the average gradient of the display image does not exceed the second preset value.
Referring to fig. 4, calculating the average gradient of the display contrast image as the second degree of blur includes the steps of:
acquiring the distance between adjacent pixel points in the display contrast image as a second characteristic distance;
Acquiring one pixel point in the display contrast image as a second characteristic pixel point;
acquiring at least one pixel point adjacent to the second characteristic pixel point as a second gradient pixel point;
The pixel value of the second characteristic pixel point is differenced with the pixel value of the second gradient pixel point, and the absolute value is taken, so that a second pixel intermediate value is obtained;
accumulating at least one second pixel intermediate value and dividing the second pixel intermediate value by the second characteristic distance to obtain a second pixel gradient of a second characteristic pixel point;
When the second characteristic pixel points traverse and display all the pixel points in the contrast image, obtaining second pixel gradients of all the pixel points;
And accumulating at least one second pixel gradient and averaging to obtain a second ambiguity.
Referring to fig. 5, the acquisition of the adsorption amount of silica gel to soot includes the steps of:
acquiring a silica gel surface image when the silica gel surface is not adsorbed with the ash, and acquiring a silica gel surface image when the silica gel surface is adsorbed with the ash;
Carrying out coordinate modeling on the silica gel surface image and the silica gel surface contrast image by using the same coordinate system to obtain the coordinates of each pixel point in the silica gel surface image and the silica gel surface contrast image;
Matching pixel points with the same coordinates in the silica gel face image and the silica gel face contrast image to obtain a pixel point matching group;
Judging whether the pixel values of two pixels in the pixel point pairing group are consistent, if so, not performing any processing, otherwise, marking the pixel point pairing group as a soot identification group;
counting the number of the soot identification groups, wherein the number is used as a first number, and the number of pixel points in the silica gel face image is counted and used as a second number;
multiplying the result of dividing the first number by the second number by the area of the silica gel surface image to obtain the adsorption quantity of the soot;
The adsorption degree of static needs to rely on the adsorption to tiny object to embody, consequently, selects cigarette ash as the adsorbate, from this, can judge the degree of static according to the adsorption amount of cigarette ash, and the protection film has the multilayer, and wherein the silica gel face that produces static easily wherein, consequently, expose out the silica gel face, static can lead to the screen to respond to the deviation in touch screen in-process, influences the use, consequently, need carry out static detection to the protection film.
Referring to fig. 6, calculating the pixel value difference between the scraped display image and the display image includes the steps of:
carrying out coordinate modeling on the scraping display image and the display image by using the same coordinate system to obtain the coordinates of each pixel point in the scraping display image and the display image;
pairing the scraped display image with pixel points with the same coordinates in the display image to obtain a pixel point association group;
Calculating the absolute value of the difference value of the pixel values of the pixel points in the pixel point association group to obtain an association difference value;
Accumulating and averaging at least one correlation difference value to obtain a pixel value difference value between the scraping display image and the display image;
Since the screen is repeatedly scratched during the screen touching process, it is necessary to detect the protection degree of the screen by the protective film, that is, whether the display effect is deviated after the screen under the protection of the protective film is scratched.
The device for testing the screen protection film is used for realizing the method for testing the screen protection film, and comprises the following steps:
the image acquisition module is used for acquiring a standard image of a screen for displaying a test, acquiring a light intensity image of the screen when a protective film is not attached, acquiring a light intensity contrast image of the screen when the protective film is not attached, acquiring a display contrast image of the screen when the protective film is attached, acquiring the adsorption quantity of silica gel facing soot, acquiring a display image of the screen when the protective film is not attached, and acquiring a scratch display image of the screen when the protective film is not attached;
The data calculation module calculates the light intensity difference between the light intensity contrast image and the light intensity image, calculates the average gradient of the display image as a light transmission judgment value, calculates the average gradient of the display contrast image as a first ambiguity, and calculates the pixel value difference between the scratch display image and the display image as a second ambiguity;
The judging and comparing module judges whether the light transmission judging value is larger than a first preset value, judges whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value, judges whether the adsorption quantity is larger than a given value and judges whether the pixel value difference is larger than a preset pixel value;
And the comprehensive judgment module judges that the protective film is qualified when the transmittance of the protective film meets the requirement, the protective film does not influence the display definition of the screen, the antistatic effect of the protective film meets the requirement and the scratch-resistant effect of the protective film meets the requirement, and otherwise, the protective film is unqualified.
The working process of the testing device for the screen protection film is as follows:
step one: the image acquisition module acquires a standard image for displaying a test;
Step two: displaying a standard image in a screen, and acquiring a light intensity image of the screen when a protective film is not attached by an image acquisition module, and acquiring a light intensity contrast image of the screen when the protective film is attached;
step three: the data calculation module calculates the light intensity difference between the light intensity contrast image and the light intensity image to be used as a light transmission judgment value;
step four: the comparison module judges whether the light transmittance judging value is larger than a first preset value, if yes, the protective film is judged to be insufficient in light transmittance, and if not, the protective film is judged to be light transmittance meeting the requirement;
step five: displaying a standard image in a screen, and acquiring a display image of the screen when a protective film is not attached by an image acquisition module, and acquiring a display contrast image of the screen when the protective film is attached;
Step six: the data calculation module calculates the average gradient of the display image as a first ambiguity, and calculates the average gradient of the display contrast image as a second ambiguity;
Step seven: judging whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value or not by the judging module, if so, judging that the screen display is affected clearly by the protective film, and if not, not affecting the screen display clearly by the protective film;
Step eight: the method comprises the steps that a silica gel surface of a protective film is exposed, an image acquisition module acquires the adsorption quantity of the silica gel surface facing soot, a comparison module judges whether the adsorption quantity is larger than a given value, if yes, the protective film is judged to be insufficient in antistatic effect, and if not, the protective film is judged to meet the requirement;
step nine: displaying a standard image in a screen, and acquiring a display image of the screen when a protective film is not attached by an image acquisition module;
step ten: under the condition that a protective film is attached to a screen, scraping the protective film with preset force, and after scraping, acquiring a scraping display image of the screen when the protective film is not attached by an image acquisition module;
Step eleven: the data calculation module calculates pixel value difference values of the scratch display image and the display image;
step twelve: judging whether the pixel value difference value is larger than a preset pixel value or not by the judging module, if so, judging that the scratch-resistant effect of the protective film is insufficient, and if not, judging that the scratch-resistant effect of the protective film meets the requirement;
Step thirteen: when the transmittance of the protective film meets the requirement, the display of the screen is clear, the antistatic effect of the protective film meets the requirement, and the scratch-resistant effect of the protective film meets the requirement, the comprehensive judgment module judges that the protective film is qualified, otherwise, the comprehensive judgment module judges that the protective film is unqualified.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the steps of the method for testing a screen saver described above.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the screen saver testing method described above.
It is understood that the storage medium may be a magnetic medium, e.g., floppy disk, hard disk, magnetic tape; optical media such as DVD; or a semiconductor medium such as a solid state disk SolidStateDisk, SSD, etc.
In summary, the invention has the advantages that: through setting up image acquisition module, data calculation module and judgement comparison module, from the transmittance, the degree of fuzzy influence, the static influence and four angles of protectiveness carry out comprehensive detection to the protection film, satisfy the screen display demand when judging the penetrating effect of protection film, judge whether the protection film can neglect to the blurring degree of screen display, judge whether the static that the protection film produced can neglect, judge whether the protection of protection film to the screen satisfies the demand, test result is abundant to the performance evaluation of protection film, thereby detect the most circumstances of qualified protection film can adapt to the use through this method, can not influence user's use experience, can also produce sufficient protection to the screen simultaneously.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made therein without departing from the spirit and scope of the invention, which is defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (9)
1. A method for testing a screen protective film, comprising:
the method comprises the steps of obtaining a screen for displaying a standard image of a test;
displaying a standard image in a screen, acquiring a light intensity image of the screen when a protective film is not attached, and acquiring a light intensity contrast image of the screen when the protective film is attached;
calculating the light intensity difference between the light intensity contrast image and the light intensity image to be used as a light transmission judgment value;
judging whether the light transmission judging value is larger than a first preset value, if so, judging that the light transmission of the protective film is insufficient, and if not, judging that the light transmission of the protective film meets the requirement;
Displaying a standard image in a screen, acquiring a display image of the screen when a protective film is not attached, and acquiring a display contrast image of the screen when the protective film is attached;
Calculating an average gradient of the display image as a first ambiguity;
calculating an average gradient of the display contrast image as a second ambiguity;
Judging whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value, if so, judging that the protective film affects the display definition of the screen, and if not, the protective film does not affect the display definition of the screen;
The silica gel surface of the protective film is exposed, the adsorption quantity of the silica gel surface facing the soot is obtained, whether the adsorption quantity is larger than a given value or not is judged, if yes, the protective film is judged to be insufficient in antistatic effect, and if not, the protective film is judged to be satisfactory in antistatic effect;
displaying a standard image in a screen, and acquiring a display image of the screen when a protective film is not attached;
Under the condition that a protective film is attached to a screen, scraping the protective film with preset force, and after scraping, obtaining a scraping display image of the screen when the protective film is not attached;
calculating pixel value difference values of the scraped display image and the display image;
judging whether the pixel value difference is larger than a preset pixel value, if so, judging that the scratch-resistant effect of the protective film is insufficient, and if not, judging that the scratch-resistant effect of the protective film meets the requirement;
when the transmittance of the protective film meets the requirements, the display of the screen is clear, the antistatic effect of the protective film meets the requirements, and the scratch-resistant effect of the protective film meets the requirements, the protective film is detected to be qualified, otherwise, the protective film is detected to be unqualified.
2. The method for testing a screen protective film according to claim 1, wherein calculating a light intensity difference between the light intensity contrast image and the light intensity image as the light transmittance judgment value comprises the steps of:
Carrying out coordinate modeling on the light intensity contrast image and the light intensity image by using the same coordinate system, and endowing coordinates to each pixel point in the light intensity contrast image and the light intensity image;
Pairing the light intensity contrast image with the pixel points with the same coordinates in the light intensity image to obtain at least one pixel point group;
Calculating the absolute value of the difference value of the light intensity of two pixel points in the pixel point group to obtain the light intensity difference;
And accumulating at least one light intensity difference and averaging to obtain a light transmission judgment value.
3. The method of testing a screen saver according to claim 2, wherein the calculating the average gradient of the display image as the first degree of blurring comprises the steps of:
acquiring the distance between adjacent pixel points in a display image as a first characteristic distance;
Acquiring one pixel point in a display image as a first characteristic pixel point;
Acquiring at least one pixel point adjacent to a first characteristic pixel point as a first gradient pixel point;
The pixel value of the first characteristic pixel point is differenced with the pixel value of the first gradient pixel point, and the absolute value is taken, so that a first pixel intermediate value is obtained;
Accumulating at least one first pixel intermediate value and dividing the value by the first characteristic distance to obtain a first pixel gradient of a first characteristic pixel point;
when the first characteristic pixel points traverse all the pixel points in the display image, obtaining first pixel gradients of all the pixel points;
and accumulating at least one first pixel gradient and averaging to obtain a first ambiguity.
4. A method of testing a screen saver according to claim 3, wherein the calculating an average gradient of the displayed contrast image as the second ambiguity includes the steps of:
acquiring the distance between adjacent pixel points in the display contrast image as a second characteristic distance;
Acquiring one pixel point in the display contrast image as a second characteristic pixel point;
acquiring at least one pixel point adjacent to the second characteristic pixel point as a second gradient pixel point;
The pixel value of the second characteristic pixel point is differenced with the pixel value of the second gradient pixel point, and the absolute value is taken, so that a second pixel intermediate value is obtained;
accumulating at least one second pixel intermediate value and dividing the second pixel intermediate value by the second characteristic distance to obtain a second pixel gradient of a second characteristic pixel point;
When the second characteristic pixel points traverse and display all the pixel points in the contrast image, obtaining second pixel gradients of all the pixel points;
And accumulating at least one second pixel gradient and averaging to obtain a second ambiguity.
5. The method for testing a screen protective film according to claim 4, wherein the step of obtaining the adsorption amount of silica gel to soot comprises the steps of:
acquiring a silica gel surface image when the silica gel surface is not adsorbed with the ash, and acquiring a silica gel surface image when the silica gel surface is adsorbed with the ash;
Carrying out coordinate modeling on the silica gel surface image and the silica gel surface contrast image by using the same coordinate system to obtain the coordinates of each pixel point in the silica gel surface image and the silica gel surface contrast image;
Matching pixel points with the same coordinates in the silica gel face image and the silica gel face contrast image to obtain a pixel point matching group;
Judging whether the pixel values of two pixels in the pixel point pairing group are consistent, if so, not performing any processing, otherwise, marking the pixel point pairing group as a soot identification group;
counting the number of the soot identification groups, wherein the number is used as a first number, and the number of pixel points in the silica gel face image is counted and used as a second number;
the result of dividing the first number by the second number is multiplied by the area of the silica gel surface image to obtain the adsorption amount of the soot.
6. The method for testing a screen protective film according to claim 5, wherein calculating a pixel value difference between a scraped display image and a display image comprises the steps of:
carrying out coordinate modeling on the scraping display image and the display image by using the same coordinate system to obtain the coordinates of each pixel point in the scraping display image and the display image;
pairing the scraped display image with pixel points with the same coordinates in the display image to obtain a pixel point association group;
Calculating the absolute value of the difference value of the pixel values of the pixel points in the pixel point association group to obtain an association difference value;
And accumulating and averaging at least one correlation difference value to obtain a pixel value difference value between the scraping display image and the display image.
7. A screen protective film testing apparatus for implementing the screen protective film testing method according to any one of claims 1 to 6, comprising:
the image acquisition module is used for acquiring a standard image of a screen for displaying a test, acquiring a light intensity image of the screen when a protective film is not attached, acquiring a light intensity contrast image of the screen when the protective film is not attached, acquiring a display contrast image of the screen when the protective film is attached, acquiring the adsorption quantity of silica gel facing soot, acquiring a display image of the screen when the protective film is not attached, and acquiring a scratch display image of the screen when the protective film is not attached;
The data calculation module calculates the light intensity difference between the light intensity contrast image and the light intensity image, calculates the average gradient of the display image as a light transmission judgment value, calculates the average gradient of the display contrast image as a first ambiguity, and calculates the pixel value difference between the scratch display image and the display image as a second ambiguity;
The judging and comparing module judges whether the light transmission judging value is larger than a first preset value, judges whether the difference between the first ambiguity and the second ambiguity is larger than a second preset value, judges whether the adsorption quantity is larger than a given value and judges whether the pixel value difference is larger than a preset pixel value;
And the comprehensive judgment module judges that the protective film is qualified when the transmittance of the protective film meets the requirement, the protective film does not influence the display definition of the screen, the antistatic effect of the protective film meets the requirement and the scratch-resistant effect of the protective film meets the requirement, and otherwise, the protective film is unqualified.
8. A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, performs the steps of the method of testing a screen saver according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the method for testing a screen saver according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410370481.9A CN117969517A (en) | 2024-03-29 | 2024-03-29 | Screen protection film testing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410370481.9A CN117969517A (en) | 2024-03-29 | 2024-03-29 | Screen protection film testing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117969517A true CN117969517A (en) | 2024-05-03 |
Family
ID=90858365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410370481.9A Pending CN117969517A (en) | 2024-03-29 | 2024-03-29 | Screen protection film testing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117969517A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09329972A (en) * | 1996-06-12 | 1997-12-22 | Ricoh Co Ltd | Wet-type image forming device |
US20100157297A1 (en) * | 2008-12-19 | 2010-06-24 | Tae Man Kim | Apparatus and method of testing liquid crystal display device |
US20190340739A1 (en) * | 2018-05-02 | 2019-11-07 | Samsung Display Co., Ltd. | Defect detection apparatus and method |
KR102212708B1 (en) * | 2020-06-29 | 2021-02-05 | 주식회사 오플렉스 | Protection film for uniformalizing luminance and preventing defects of diplay device and and diaplay device having the same |
CN113095287A (en) * | 2021-04-30 | 2021-07-09 | Oppo广东移动通信有限公司 | Image processing method, image processing device, mobile terminal and storage medium |
CN114031801A (en) * | 2021-11-26 | 2022-02-11 | 艾力利荣化工科技(惠州)有限公司 | Modified antistatic acrylic resin and preparation method thereof |
US20220245792A1 (en) * | 2019-10-11 | 2022-08-04 | Beijing Didi Infinity Technology And Development Co., Ltd. | Systems and methods for image quality detection |
CN116754566A (en) * | 2023-08-17 | 2023-09-15 | 绍兴旭源新材料科技有限公司 | Flexible folding screen protective film detection method |
-
2024
- 2024-03-29 CN CN202410370481.9A patent/CN117969517A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09329972A (en) * | 1996-06-12 | 1997-12-22 | Ricoh Co Ltd | Wet-type image forming device |
US20100157297A1 (en) * | 2008-12-19 | 2010-06-24 | Tae Man Kim | Apparatus and method of testing liquid crystal display device |
US20190340739A1 (en) * | 2018-05-02 | 2019-11-07 | Samsung Display Co., Ltd. | Defect detection apparatus and method |
US20220245792A1 (en) * | 2019-10-11 | 2022-08-04 | Beijing Didi Infinity Technology And Development Co., Ltd. | Systems and methods for image quality detection |
KR102212708B1 (en) * | 2020-06-29 | 2021-02-05 | 주식회사 오플렉스 | Protection film for uniformalizing luminance and preventing defects of diplay device and and diaplay device having the same |
CN113095287A (en) * | 2021-04-30 | 2021-07-09 | Oppo广东移动通信有限公司 | Image processing method, image processing device, mobile terminal and storage medium |
CN114031801A (en) * | 2021-11-26 | 2022-02-11 | 艾力利荣化工科技(惠州)有限公司 | Modified antistatic acrylic resin and preparation method thereof |
CN116754566A (en) * | 2023-08-17 | 2023-09-15 | 绍兴旭源新材料科技有限公司 | Flexible folding screen protective film detection method |
Non-Patent Citations (1)
Title |
---|
萧铂钿: "基于对照学习的图像缺陷检测算法", 《计算机应用》, vol. 43, no. 2, 31 December 2023 (2023-12-31), pages 216 - 222 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678192B (en) | Mura defect detection method based on machine vision | |
CN107576432A (en) | A kind of Dynamic Crack tip stress fields method for measurement and device | |
CN106412573A (en) | Method and device for detecting lens stain | |
CN106530271A (en) | Infrared image significance detection method | |
CN104683793A (en) | Detecting method for camera | |
CN104376323B (en) | A kind of method and device for determining target range | |
CN115187553A (en) | DIC strain detection device and method based on speckle image display | |
CN114663744A (en) | Instrument automatic identification method and system based on machine learning | |
TWI751869B (en) | Computation apparatus and method of detecting defects for near-eye display | |
CN104457911B (en) | A kind of liquid level detection system and liquid-level detecting method | |
CN117969517A (en) | Screen protection film testing method, device, equipment and storage medium | |
CN113446932A (en) | Non-contact crack measuring method and system | |
KR20150125155A (en) | Apparatus and method for brightness uniformity inspecting of display panel | |
CN110836706B (en) | Liquid level detection method and device | |
CN113614774A (en) | Method and system for defect detection in image data of target coating | |
CN116067671A (en) | Method, system and medium for testing vehicle paint quality | |
KR101024598B1 (en) | Surface inspection method using algorithm calculating variance of variance on surface brightness | |
Li et al. | Vehicle seat detection based on improved RANSAC-SURF algorithm | |
CN112699824B (en) | Method and device for detecting constant of electric energy meter and storage medium | |
KR20220154345A (en) | Contour detection device using gaussian-weighted least squares and contour detection method thereof | |
CN209264595U (en) | Illuminating source structure and column workpiece detection device | |
CN112241962A (en) | Method and system for calculating propagation speed of shock wave generated by discharge | |
CN113865487A (en) | Fatigue crack propagation real-time monitoring method based on structure surface displacement field | |
de Lima et al. | A computer vision system to read meter displays | |
US9219890B1 (en) | Optical surface analysis system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination |