CN116297346A - Key transmittance testing method, device, equipment and medium - Google Patents

Key transmittance testing method, device, equipment and medium Download PDF

Info

Publication number
CN116297346A
CN116297346A CN202310141788.7A CN202310141788A CN116297346A CN 116297346 A CN116297346 A CN 116297346A CN 202310141788 A CN202310141788 A CN 202310141788A CN 116297346 A CN116297346 A CN 116297346A
Authority
CN
China
Prior art keywords
key
light source
brightness
brightness value
surface light
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
Application number
CN202310141788.7A
Other languages
Chinese (zh)
Inventor
李春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to CN202310141788.7A priority Critical patent/CN116297346A/en
Publication of CN116297346A publication Critical patent/CN116297346A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/59Transmissivity
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for testing key transmittance, wherein the method comprises the following steps: acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source of a current test system, which are acquired by a camera of the current test system; determining a surface light source correction coefficient of the light-emitting area based on the numerical relation between the first brightness values; correcting the second brightness value based on the area light source correction coefficient to obtain the corrected key brightness value; and obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value. According to the method and the device, the brightness value can be corrected based on the area light source correction coefficient in the actual measurement process, the influence of wide-angle distortion of the camera is compensated, and the accuracy of the transmittance test is improved.

Description

Key transmittance testing method, device, equipment and medium
Technical Field
The application relates to the technical field of material testing, in particular to a method, a device, equipment and a medium for testing key transmittance.
Background
In the related art, the key structure includes a Dome sheet key film layer and a Rubber layer which are laminated. Wherein the rubber layer is required to be subjected to an optical transmittance test. The optical transmittance testing system consists of a camera, a surface light source and an external shielding cover, wherein the external shielding cover provides a dark closed environment, the surface light source provides a luminous surface with uniform brightness in the closed environment, a test sample is placed between the camera and the surface light source, so that light rays penetrate the test sample, and the camera measures the brightness of the test sample.
Generally, the brightness uniformity of a surface light source is above 95%, but the brightness uniformity measured in the field of view of a camera cannot reach an ideal degree due to wide-angle distortion of the camera, resulting in a test accuracy still to be improved.
Content of the application
The main purpose of the application is to provide a key transmittance test method, device, equipment and medium, and aims to solve the technical problem that the test precision of a rubber layer of the existing key in the optical transmittance test is low.
In order to achieve the above objective, the present application provides a method for testing key transmittance, the method comprising:
acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source of a current test system, which are acquired by a camera of the current test system; when the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is the brightness value of the key bulge of the rubber layer when the rubber layer is placed on a surface light source which emits light with the brightness value of the first surface light source;
determining a surface light source correction coefficient of the light-emitting area based on the numerical relation between the first brightness values;
correcting the second brightness value based on the area light source correction coefficient to obtain a corrected key brightness value;
and obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value.
In a possible embodiment of the present application, determining a surface light source correction coefficient of a light emitting area based on a numerical relationship between first luminance values includes:
determining a brightness reference value based on the first brightness value;
a surface light source correction coefficient of the light emitting area is determined based on a ratio between the first luminance value and the luminance reference value.
In a possible embodiment of the present application, obtaining the transmittance of the key protrusion based on the corrected key brightness value and the first surface light source brightness value includes:
determining the backlight brightness of each key bulge close to the surface light source side according to the first surface light source brightness value;
and obtaining the transmittance of the key bulge based on the corrected key brightness value and the backlight brightness.
In a possible embodiment of the present application, determining, according to the first surface light source brightness value, a backlight brightness of each key protrusion near a surface light source side includes:
acquiring laboratory transmittance of each second key bulge in the second rubber layer and at least one third brightness value acquired by a camera; wherein, the third brightness value is the brightness value of the second key bulge when the rubber layer is arranged on the surface light source which emits light with the brightness value of the first surface light source;
correcting the third brightness value based on the area light source correction coefficient to obtain a reference key brightness correction value;
and obtaining the backlight brightness value based on the reference key brightness correction value and the laboratory transmittance.
In a possible embodiment of the present application, obtaining the third brightness value of each second key protrusion of the second rubber layer includes:
acquiring third brightness values of at least two second rubber layers acquired by a camera;
obtaining a backlight luminance value based on the reference key luminance correction value and the laboratory transmittance, comprising:
obtaining initial backlight brightness values of the second key protrusions based on the reference key brightness correction value and the laboratory transmittance;
and obtaining the backlight brightness value based on at least two initial backlight brightness values.
In one possible embodiment of the present application, the laboratory transmittance is obtained by testing a standard rubber layer sample with a laboratory test system that is more accurate than the current test system.
In a possible embodiment of the present application, determining the luminance reference value based on the first luminance value includes:
the maximum value of the at least one first luminance value is taken as a luminance reference value.
In a second aspect, the present application further discloses a device for testing the transmittance of a key, where the device includes:
the brightness acquisition module is used for acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source of the current test system, which are acquired by a camera of the current test system; when the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is the brightness value of the key bulge of the rubber layer when the rubber layer is placed on a surface light source which emits light with the brightness value of the first surface light source;
the coefficient determining module is used for determining a surface light source correction coefficient of the light-emitting area based on the numerical relation between the first brightness values;
the brightness compensation module is used for correcting the second brightness value based on the area light source correction coefficient to obtain a corrected key brightness value;
the transmittance calculation module is used for obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value.
In a third aspect, the present application further provides a key transmittance test apparatus, including: the key transmittance testing method comprises the steps of a processor, a memory and a key transmittance testing program stored in the memory, wherein the key transmittance testing program realizes the key transmittance testing method when being run by the processor.
In a fourth aspect, the present application further provides a computer readable storage medium, on which a key transmittance test program is stored, where the key transmittance test program when executed by a processor implements the key transmittance test method as described above.
The key transmittance testing method provided by the embodiment of the application comprises the following steps: acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source of a current test system, which are acquired by a camera; when the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is the brightness value of the key bulge of the rubber layer when the rubber layer is placed on a surface light source which emits light with the brightness value of the first surface light source; correcting the second brightness value based on the numerical relation between the first brightness values to obtain corrected key brightness values; and obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value.
Therefore, when the rubber layer is not arranged, the first brightness value of each light-emitting area is independently measured by using the camera, the influence of camera lens distortion on brightness uniformity can be reflected by the numerical relation between the first brightness values, so that the area light source correction coefficient for overcoming the influence of camera lens distortion is obtained, the area light source correction coefficient is used for correcting the second brightness value in actual measurement, the influence of camera distortion is compensated, and the accuracy of transmittance test is improved.
Drawings
Fig. 1 is a schematic structural diagram of a key transmittance test device in a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a flowchart of a first embodiment of a key transmittance testing method according to the present disclosure;
FIG. 3 is a schematic view of the positions of a rubber layer and a surface light source of the current test system of the present application;
FIG. 4 is a flowchart of a second embodiment of a key transmittance testing method according to the present disclosure;
FIG. 5 is a flowchart illustrating a third embodiment of a key transmittance testing method according to the present disclosure;
fig. 6 is a schematic block diagram of a key transmittance testing device according to the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the related art, many electronic products such as remote controllers have LED lighting structures, that is, light generated by a light source such as an LED inside the electronic product is transmitted to the outside of the electronic product, or light sensing structures, that is, an ambient light sensor built in the electronic product needs to detect light outside the electronic product, and both the above structures relate to transmittance performance of related transparent members. Therefore, in the manufacturing process, the transmittance of the transparent member needs to be tested to ensure the yield of the electronic product. For a key structure with a backlight function, an optical transmittance test is required for a rubber layer of the key structure. The optical transmittance testing system consists of a camera, a surface light source and an external shielding cover, wherein the external shielding cover provides a dark closed environment, the surface light source provides a luminous surface with uniform brightness in the closed environment, a test sample is placed between the camera and the surface light source, so that light rays penetrate the test sample, and the camera analyzes the brightness of the test sample through the configured photometry function of the camera. Generally, the brightness uniformity of a surface light source is 95% or more. The camera of the current test system is provided with a camera photometry function for measuring the intensity of illumination in a view-finding range.
However, the uniformity of brightness measured in the field of view of the camera cannot reach an ideal degree due to wide-angle distortion of the camera, and thus the test accuracy still needs to be improved.
Therefore, the application provides a solution, by determining the numerical relation between the first brightness values of each light-emitting area measured by an individual area light source under the same camera, the influence of camera lens distortion on the brightness values is determined, so that the area light source correction coefficient for overcoming the influence of camera lens distortion is obtained, and in the actual measurement process, the brightness values of the rubber layers are corrected based on the area light source correction coefficient, so that the area light source reaches the same level, and the accuracy of the transmittance test is improved.
The inventive concepts of the present application are further described below in conjunction with some specific embodiments.
The following description will be given to a key transmittance test device applied in implementation of the technology of the present application:
referring to fig. 1, fig. 1 is a schematic structural diagram of a key transmittance test device in a hardware operation environment according to an embodiment of the present application.
As shown in fig. 1, the key transmittance test apparatus may include: a processor 1001, such as a central processing unit (Centra l Process i ng Un it, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a display (Di sp l ay), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WI-fi (WI-F I) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory or a stable Non-volatile memory (Non-Vo l at i l e Memory, NVM), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is not limiting of the key transmittance test apparatus and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
As shown in fig. 1, an operating system, a data storage module, a network communication module, a user interface module, and a key function configuration program may be included in the memory 1005 as one type of storage medium.
In the key transmittance test apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the key transmittance test apparatus may be provided in the key transmittance test apparatus, and the key transmittance test apparatus invokes a key function configuration program stored in the memory 1005 through the processor 1001, and executes the key function configuration method provided in the embodiment of the present application.
Based on the above hardware structure, but not limited to the above hardware structure, the present application provides a first embodiment of a key transmittance testing method. Referring to fig. 2, fig. 2 is a flow chart illustrating a first embodiment of a key transmittance testing method according to the present application.
It should be noted that although a logical order is depicted in the flowchart, in some cases the steps depicted or described may be performed in a different order than presented herein.
In this embodiment, the method includes:
step S100, acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source acquired by a camera.
When the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is the brightness value of the key bulge of the rubber layer when the rubber layer is placed on the surface light source which emits light with the brightness value of the first surface light source.
Specifically, in this embodiment, a television remote controller is taken as an example of a key structure to be tested. It will be appreciated that the rubber layer of the television remote control has 22 keys. Referring to fig. 3, in testing a key product to be tested, a specific testing method includes the following steps:
(1) And placing the rubber layer on the surface light source, closing the external shielding cover, determining the position information of each key protrusion of the rubber layer in the visual field of the camera through the camera, and determining the light-emitting areas corresponding to each key protrusion one by one on the surface light source according to the position information.
(2) The rubber layer is removed from the surface light source 10, and when no article is placed on the surface light source 10, the external shielding cover is closed, and the camera measures the first brightness value of each light emitting area.
(3) The rubber layer is replaced on the surface light source, the brightness of the surface light source is configured to be the brightness value of the first surface light source, then the external shielding cover is closed, and the camera measures to obtain the second brightness value of each key protrusion 21 of the rubber layer 20.
Step 200, determining a surface light source correction coefficient of the light emitting area based on the numerical relation between the first brightness values.
Specifically, the first luminance values of the respective light emitting areas measured by the camera should ideally be uniform, but the values of the respective first luminance values actually measured by the camera are not uniform due to wide-angle distortion of the camera lens or the like. It will be appreciated that the wide angle distortion of the lens should be relatively stable for the same camera, and that the position of each light emitting region in the camera lens should be fixed for the same test system when the positional relationship between the camera and the surface light source is unchanged. Therefore, for the same test system, the numerical relation between the brightness values of the light-emitting areas is relatively stable during each measurement, so that the influence of the wide-angle distortion of the camera lens on the brightness values of the light-emitting areas can be quantified based on the numerical relation between the first brightness values measured in the step (2). And further obtaining a surface light source correction coefficient which enables the brightness value of each light-emitting area to overcome the wide-angle distortion influence of the camera lens according to the quantization condition. That is, the area light source correction coefficient required to compensate the actual luminance value of each light emitting region to an ideal value may be determined based on the numerical relationship between the first luminance values.
And step S300, correcting the second brightness value based on the area light source correction coefficient to obtain a corrected key brightness value.
Step S400, obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value.
After the area light source correction coefficients of the key areas are obtained, the area light source correction coefficients are used for correcting deviation generated by wide-angle distortion of the camera lens in the measured second brightness value. Specifically, for each key protrusion, the correction key luminance value=second luminance value/surface light source correction coefficient.
As an example, the area light source correction coefficient k of the light emitting area corresponding to the switch key IO =0.78, second luminance value L IO =76, correct the key brightness value L IO, correct =76/0.78=97.4; the area light source coefficient of the light-emitting area corresponding to the volume increasing key is k =0.932, the second luminance value is L =132, correct the key brightness value L Λ, correct =132/0.932=141.7。
After the corrected key brightness value of each key bulge is obtained through calculation, namely, the deviation caused by camera distortion is compensated through the surface light source coefficient, the transmittance of each key bulge can be obtained through calculation. It can be appreciated that the transmittance = correction key luminance value/first-plane light source luminance value.
Therefore, in this embodiment, when there is no rubber layer, the first brightness value of the light emitting area corresponding to each key protrusion on the surface light source collected by the camera is measured separately. Because the same measuring system is used, the area light source correction coefficient of each light-emitting area can be obtained according to the numerical relation between the first brightness values, and the area light source correction coefficient can compensate the actual brightness value of each light-emitting area to an ideal value, so that the brightness value of the rubber layer can be corrected and compensated based on the area light source correction coefficient in the actual measuring process, the brightness value overcomes the influence of wide-angle distortion of a camera lens, and the accuracy of the transmittance test is improved.
Based on the above embodiments, the present application provides a second embodiment of a key transmittance testing method. Referring to fig. 4, fig. 4 is a flow chart illustrating a second embodiment of the key transmittance testing method of the present application.
In this embodiment, step S200 specifically includes:
step S210, determining a brightness reference value based on the first brightness value.
Specifically, after the first luminance value of each key protrusion is obtained, the first luminance value may be subjected to data processing to obtain the luminance reference value. The brightness reference value is used as a reference value for processing other first brightness values when the subsequent data processing is performed, so as to reflect the overall numerical proportion relation among the first brightness values.
Thus, the luminance reference value may be an average value, or a mode, or may be an intermediate value, or the like, of at least one luminance value, which is not limited in this embodiment.
As an embodiment, step S210 specifically includes: the maximum value of the at least one first luminance value is taken as a luminance reference value.
It will be appreciated that the distortion is due to the irregular refraction of the light as it passes through the lens in the lens. Therefore, the brightness of the area where distortion occurs will decrease, that is, the area where the brightness value is the largest can be approximately regarded as no distortion occurs. Therefore, the maximum value in the at least one first brightness value is taken as a brightness reference value, and the numerical relation between the brightness value of the area with distortion and the ideal brightness value of the area without distortion can be better represented in the subsequent processing process.
Step S220, determining the area light source correction coefficient of the key area based on the ratio between the first brightness value and the brightness reference value.
Specifically, after the brightness reference value is determined, the ratio between each first brightness value and the brightness reference value can be used as the area light source correction coefficient corresponding to each key area.
Based on the foregoing, since the distortion is caused by irregular refraction of light rays when the light rays pass through the lens in the lens, the ratio of the irregularly refracted light rays generated for the same camera lens is approximately fixed, and the ratio between each first luminance value and the luminance reference value can be used as the area light source correction coefficient corresponding to each key region.
It will be understood, of course, that it is important to obtain the ratio between each first luminance value and the luminance reference value, instead of the magnitude of each first luminance value itself, when step (2) of the foregoing test method is performed, and thus the actual light emission luminance of the surface light source may not be limited, as the surface light source may be configured to emit light still at the first surface light source luminance value, or may be configured to emit light at a luminance greater than the first surface light source luminance value, when step (2) is performed. Alternatively, when step S (2) is performed, the surface light source emits light at the second surface light source luminance. As an example, when the brightness value of the first surface light source is 280l ux, the brightness of the second surface light source may be 60l ux.
Based on the foregoing embodiments, a third embodiment of the key transmittance testing method is provided. Referring to fig. 5, fig. 5 is a flow chart of a third embodiment of the transmittance testing method of the present application.
In this embodiment, step S400 specifically includes:
step S410, determining the backlight brightness of each key bulge near the surface light source side according to the first surface light source brightness value.
Step S420, obtaining the transmittance of the key bulge based on the corrected key brightness value and the backlight brightness.
Specifically, since the uniformity of the surface light source is not ideal 100%, the backlight luminance of each key protrusion on the side close to the surface light source is not necessarily equal to the first surface light source luminance value, and therefore the backlight luminance of each key protrusion on the side close to the surface light source can be determined first according to the first surface light source luminance value, and the transmittance of the key protrusion can be obtained based on correcting the key luminance value and the backlight luminance. At this time, the calculated transmittance of the key protrusions is higher in accuracy.
Further, the area light source correction coefficient is obtained based on the current test system, so that the area light source correction coefficient is affected by parameters of the current test system such as a camera, a distance between the camera and the area light source, and the like, and at the moment, the brightness value is corrected and compensated through the area light source correction coefficient, so that the obtained corrected key brightness value and the correlation degree of the current test system are possibly higher. Therefore, in order to eliminate the influence of the current test system on the test result, the brightness value of the backlight source can be converted into the parameter environment corresponding to the current test system and then the transmittance is calculated.
At this time, in the present embodiment, step S410 specifically includes:
step S411, obtaining the laboratory transmittance of each second key bulge in the second rubber layer and at least one third brightness value acquired by a camera; the third brightness value is the brightness value of the second key bulge when the rubber layer is placed on the surface light source which emits light with the brightness value of the first surface light source.
And step S412, correcting the third brightness value based on the area light source correction coefficient to obtain a reference key brightness correction value.
Step S413, obtaining the backlight brightness value based on the reference key brightness correction value and the standard sample laboratory transmittance.
Specifically, in this embodiment, the specific test method includes the following steps:
(1) And placing the rubber layer on the surface light source, closing the external shielding cover, determining the position information of each key protrusion of the rubber layer in the visual field of the camera through the camera, and determining the light-emitting areas corresponding to each key protrusion one by one on the surface light source according to the position information.
(2) The rubber layer is removed from the surface light source 10, and when no article is placed on the surface light source 10, the external shielding cover is closed, and the camera measures the first brightness value of each light emitting area.
(3) The rubber layer is replaced on the surface light source, the brightness of the surface light source is configured to be the brightness value of the first surface light source, then the external shielding cover is closed, and the camera measures to obtain the second brightness value of each key protrusion 21 of the rubber layer 20.
(4) And placing the second rubber layer on a surface light source of the current test system, wherein the surface light source still emits light according to the brightness value of the first surface light source, then closing the external shielding cover, and acquiring the third brightness value of each second key protrusion of the second rubber layer by a camera. The transmittance of each second key protrusion of the second rubber layer has been calculated by a laboratory, i.e., a laboratory transmittance.
It will be appreciated that the laboratory transmittance is obtained from the laboratory test system testing the standard rubber layer samples, with the laboratory test system being more accurate than the current test system. Therefore, the transmittance of the key protrusions of the rubber layer is calculated by using the laboratory transmittance with higher precision, so that the test error is reduced.
In this embodiment, the test provided in this application is calibrated by the standard rubber layer sample and the standard sample laboratory transmittance with higher precision, so as to further improve the test precision.
In this embodiment, the surface light source and the light emission luminance of the surface light source are unchanged, and then the rubber layer of the product to be tested is replaced with another second rubber layer whose laboratory transmittance is already known. And it is worth mentioning that the specification model of second rubber layer and rubber layer are unanimous, and place the position unanimous at the area source to light's propagation path and light's propagation path on the rubber layer are roughly unanimous.
At this time, the backlight brightness value can be obtained by reversely calculating the third brightness value of the second key bulge of the second rubber layer acquired in the current test system. I.e. backlight brightness value = third brightness value/standard laboratory transmittance.
Of course, it can be understood that, since the problem of wide-angle distortion of the camera still exists in this process, the third luminance value can be compensated by the area light source coefficient, that is, the reference key luminance correction value is obtained, also according to the concept of the embodiment of the present application. Whereby:
backlight brightness value = reference key brightness correction value/laboratory transmittance.
Therefore, in the embodiment, the method for determining the brightness value of the backlight source is provided, and the brightness of the backlight source can be effectively obtained, so that the transmittance of a product can be accurately measured.
Further, as an embodiment, step S411 specifically includes: and acquiring third brightness values of at least two second rubber layers acquired by the camera.
The step S413 specifically includes: obtaining initial backlight brightness values of the second key protrusions based on the reference key brightness correction value and the laboratory transmittance; and obtaining the backlight brightness value based on at least two initial backlight brightness values.
Specifically, in the present embodiment, in order to further improve the test accuracy, the second rubber layer includes at least two, such as 10 or the like.
To enable those skilled in the art to better understand the scope of the claims of the present application. The following description is made by way of specific examples of embodiments in specific application scenarios, and it is understood that the following examples are only used to explain the present application, and are not intended to limit the scope of the claims of the present application.
In an example, when the brightness value of the first surface light source is 280l ux, the second surface light source may be 60l ux, and the obtained surface light source coefficients are shown in table 1 below:
TABLE 1
Figure BDA0004088400640000111
Wherein L is 1 The first luminance value, K, is a surface light source coefficient, wherein the maximum value of the first luminance values is 132, that is, the reference luminance value is 132.
And placing the second rubber layer of the No.1 on a surface light source of the current test system, wherein the surface light source still emits light according to the brightness value of the first surface light source, then closing the external shielding cover, and acquiring the third brightness value of each second key protrusion of the second rubber layer of the No.1 by a camera.
And then the second rubber layer of the No.1 is taken out, the second rubber layer of the No.2 is placed on a surface light source of the current test system, the surface light source still emits light according to the brightness value of the first surface light source, then the external shielding cover is closed, and the camera acquires the third brightness value of each second key protrusion of the second rubber layer.
The above steps were circulated to obtain the luminance value data of the second rubber layer of No.1 to No.10 shown in table 2 below:
table 2:
sequence number No.1 No.2 No.3 36 No.5 No.6 No.7 No.8 No.9 No.10
1 76 75 78 74 75 66 75 78 74 73
2 82 84 85 84 79 85 84 79 82 82
3 109 112 106 108 104 108 102 104 106 103
4 113 113 114 103 110 114 110 111 110 110
5 103 104 107 103 105 110 102 101 108 102
6 118 122 116 114 122 125 115 122 120 120
7 122 126 127 116 122 125 115 122 120 111
8 96 102 102 99 100 105 97 99 102 101
9 123 129 130 124 123 131 121 122 130 124
10 118 119 121 115 115 119 119 123 117 118
11 96 95 98 95 93 96 95 98 96 94
12 136 137 137 128 143 142 137 135 136 135
13 113 117 115 110 111 118 114 118 112 112
14 95 96 96 96 97 102 93 101 99 96
15 132 138 134 122 138 142 129 131 131 131
16 86 90 87 82 88 86 85 89 89 88
17 68 70 71 70 71 72 66 75 69 70
18 85 85 88 84 83 86 87 84 86 82
19 26 27 26 23 22 22 24 25 25 27
20 27 28 26 23 22 22 24 25 25 27
21 60 58 59 58 59 62 55 59 54 53
22 37 38 37 36 37 37 38 36 38 38
The area light source coefficients in table 1 are substituted into the above table 2, and the reference key brightness correction values in table 3 are calculated according to the reference key brightness correction value=third brightness value/area light source coefficient.
Table 3:
Figure BDA0004088400640000121
Figure BDA0004088400640000131
and the laboratory transmittance of the standard samples measured under laboratory conditions for the 10 second rubber layers is shown in table 4 below:
table 4:
sequence number No.1 No.2 No.3 36 No.5 No.6 No.7 No.8 No.9 No.10
1 0.138 0.135 0.14 0.133 0.132 0.119 0.133 0.138 0.132 0.13
2 0.14 0.142 0.14 0.14 0.129 0.14 0.139 0.131 0.135 0.137
3 0.17 0.169 0.162 0.163 0.157 0.165 0.154 0.157 0.159 0.157
4 0.168 0.171 0.16 0.154 0.162 0.168 0.159 0.162 0.162 0.162
5 0.159 0.159 0.159 0.156 0.157 0.164 0.152 0.15 0.163 0.153
6 0.176 0.18 0.172 0.169 0.175 0.176 0.168 0.168 0.175 0.169
7 0.17 0.174 0.173 0.164 0.166 0.174 0.161 0.171 0.169 0.165
8 0.144 0.151 0.148 0.144 0.144 0.15 0.143 0.146 0.146 0.146
9 0.175 0.179 0.18 0.174 0.17 0.183 0.169 0.171 0.181 0.175
10 0.179 0.176 0.178 0.168 0.166 0.171 0.175 0.178 0.168 0.17
11 0.155 0.149 0.152 0.149 0.145 0.148 0.148 0.153 0.151 0.145
12 0.199 0.198 0.197 0.184 0.202 0.202 0.195 0.195 0.193 0.193
13 0.177 0.175 0.178 0.168 0.168 0.179 0.175 0.179 0.169 0.169
14 0.13 0.153 0.15 0.152 0.15 0.161 0.146 0.158 0.155 0.15
15 0.2 0.205 0.197 0.181 0.203 0.211 0.19 0.194 0.193 0.194
16 0.134 0.142 0.136 0.128 0.134 0.136 0.133. 0.137 0.137 0.134
17 0.119 0.119 0.121 0.118 0.116 0.124 0.111 0.126 0.122 0.121
18 0.14 0.137 0.14 0.132 0.131 0.137 0.138 0.134 0.137 0.129
19 0.046 0.046 0.045 0.04 0.037 0.038 0.041 0.041 0.043 0.046
20 0.048 0.05 0.045 0.042 0.042 0.047 0.043 0.042 0.047 0.045
21 0.113 0.11 0.112 0.11 0.112 0.117 0.105 0.11 0.101 0.101
22 0.068 0.069 0.066 0.064 0.066 0.068 0.068 0.064 0.068 0.068
Then, according to the backlight brightness value=the reference key brightness correction value/the laboratory transmittance, the initial backlight brightness value and the final backlight brightness value of each second key protrusion can be obtained as shown in the following table 5:
table 5:
Figure BDA0004088400640000132
Figure BDA0004088400640000141
wherein the backlight brightness value is finally obtained according to the "Avg" column in table 5, i.e., according to the average value of the initial backlight of 10 second rubber layers.
It should be noted that the area light source correction coefficient based on the foregoing statement is obtained based on the current test system, and is thus affected by parameters of the current test system such as the distance between the camera and the area light source, and at this time, correction and compensation are performed on the brightness value by the area light source correction coefficient, which may result in that the obtained corrected key brightness value has a higher correlation with the current test system, and the unit of each numerical value in Avg' column in table 5 is not l ux, but reflects the relative backlight brightness value obtained under the current test system. And the first brightness value is also the relative brightness value obtained under the current test system after being processed by the area light source correction coefficient, so that the transmittance calculated by the first brightness value and the second brightness value still can accurately reflect the actual transmittance of the key bulge.
In a second aspect, referring to fig. 6, based on the same inventive concept, the present application further provides a key transmittance testing device, where the device includes:
the brightness acquisition module 100 is configured to acquire at least two first brightness values, at least two second brightness values, and a first surface light source brightness value of a surface light source of a current test system, which are acquired by a camera of the current test system; when the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is the brightness value of the key bulge of the rubber layer when the rubber layer is placed on a surface light source which emits light with the brightness value of the first surface light source;
the coefficient determining module 200 is configured to determine a surface light source correction coefficient of the light emitting area based on a numerical relationship between the first luminance values;
the brightness compensation module 300 is configured to correct the second brightness value based on the area light source correction coefficient to obtain a corrected key brightness value;
the transmittance calculating module 400 is configured to obtain the transmittance of the key protrusion based on the corrected key brightness value and the first surface light source brightness value.
It should be noted that, in this embodiment, each implementation manner of the key transmittance testing device and the technical effects achieved by the implementation manner may refer to various implementation manners of the key transmittance testing method in the foregoing embodiment, and are not described herein again.
In addition, the embodiment of the application also provides a computer storage medium, wherein the storage medium stores a key transmittance test program, and the key transmittance test program realizes the steps of the key transmittance test method when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of computer programs, which may be stored on a computer-readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-On/Read memory (ROM), a Random access memory (Random AccessMemory, RAM), or the like.
It should be further noted that the above-described apparatus embodiments are merely illustrative, where elements described as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the application, the connection relation between the modules represents that the modules have communication connection therebetween, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general purpose hardware, or of course may be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions can be varied, such as analog circuits, digital circuits, or dedicated circuits. However, a software program implementation is a preferred embodiment in many cases for the present application. Based On such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a Read-only memory (ROM), a random-access memory (RAM, randomAccessMemory), a magnetic disk or an optical disk of a computer, etc., including several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute the method of the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. The method for testing the key transmittance is characterized by comprising the following steps:
acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source of a current test system, which are acquired by a camera of the current test system; when the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is a brightness value of a key protrusion of the rubber layer when the rubber layer is placed on the surface light source which emits light with the brightness value of the first surface light source;
determining a surface light source correction coefficient of the light-emitting area based on the numerical relation between the first brightness values;
correcting the second brightness value based on the area light source correction coefficient to obtain the corrected key brightness value;
and obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value.
2. The method for testing the transmittance of a key according to claim 1, wherein determining the area light source correction factor of the light emitting area based on the numerical relationship between the first luminance values comprises:
determining a brightness reference value based on the first brightness value;
and determining a surface light source correction coefficient of the light emitting area based on the ratio between the first brightness value and the brightness reference value.
3. The key transmittance testing method according to claim 1, wherein the obtaining the transmittance of the key protrusion based on the corrected key luminance value and the first surface light source luminance value comprises:
determining the backlight brightness of each key bulge close to the surface light source side according to the first surface light source brightness value;
and obtaining the transmittance of the key bulge based on the corrected key brightness value and the backlight brightness.
4. The method of claim 3, wherein determining the backlight brightness of each key protrusion near the surface light source according to the first surface light source brightness value comprises:
acquiring laboratory transmittance of each second key bulge in the second rubber layer and at least one third brightness value acquired by the camera; wherein the third brightness value is a brightness value of the second key protrusion when the rubber layer is placed on the surface light source which emits light with the brightness value of the first surface light source;
correcting the third brightness value based on the area light source correction coefficient to obtain a reference key brightness correction value;
and obtaining the backlight brightness value based on the reference key brightness correction value and the laboratory transmittance.
5. The method of claim 4, wherein obtaining the third luminance value of each second key protrusion of the second rubber layer comprises:
acquiring third brightness values of at least two second rubber layers acquired by the camera;
the obtaining the backlight brightness value based on the reference key brightness correction value and the laboratory transmittance includes:
obtaining initial backlight source brightness values of all second key protrusions based on the reference key brightness correction value and the laboratory transmittance;
and obtaining the backlight brightness value based on at least two initial backlight brightness values.
6. The key transmittance test method of claim 4, wherein the laboratory transmittance is obtained by testing a standard rubber layer sample by a laboratory test system, the laboratory test system having a higher accuracy than the current test system.
7. The key transmittance testing method according to any one of claims 1 to 6, wherein determining a luminance reference value based on the first luminance value includes:
and taking the maximum value of at least one first brightness value as the brightness reference value.
8. A key transmittance testing device, the device comprising:
the brightness acquisition module is used for acquiring at least two first brightness values, at least two second brightness values and a first surface light source brightness value of a surface light source of the current test system, which are acquired by a camera of the current test system; when the rubber layer is placed on the surface light source, the surface light source is provided with at least one light-emitting area corresponding to the key protrusions of the rubber layer one by one, and the first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source; the second brightness value is a brightness value of a key protrusion of the rubber layer when the rubber layer is placed on the surface light source which emits light with the brightness value of the first surface light source;
the coefficient determining module is used for determining a surface light source correction coefficient of the light-emitting area based on the numerical relation between the first brightness values;
the brightness compensation module is used for correcting the second brightness value based on the area light source correction coefficient to obtain the corrected key brightness value;
and the transmittance calculation module is used for obtaining the transmittance of the key bulge based on the corrected key brightness value and the first surface light source brightness value.
9. A key transmittance testing apparatus, comprising: a processor, a memory and a key transmittance test program stored in the memory, which when executed by the processor, implements the steps of the key transmittance test method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a key transmittance test program is stored on the computer-readable storage medium, and the key transmittance test program, when executed by a processor, implements the key transmittance test method according to any one of claims 1 to 7.
CN202310141788.7A 2023-02-16 2023-02-16 Key transmittance testing method, device, equipment and medium Pending CN116297346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310141788.7A CN116297346A (en) 2023-02-16 2023-02-16 Key transmittance testing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310141788.7A CN116297346A (en) 2023-02-16 2023-02-16 Key transmittance testing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116297346A true CN116297346A (en) 2023-06-23

Family

ID=86827938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310141788.7A Pending CN116297346A (en) 2023-02-16 2023-02-16 Key transmittance testing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116297346A (en)

Similar Documents

Publication Publication Date Title
WO2018153108A1 (en) Gamma curve correction method for display apparatus, and display apparatus
CN108496184B (en) Image processing method and device and electronic equipment
CN108775958B (en) Brightness measuring and calibrating method and device based on light sensor and electronic equipment
US20130314447A1 (en) Method and Apparatus for Display Calibration
CN109414183A (en) A kind of skin examination equipment of exception for identification
CN112232213B (en) Under-screen fingerprint identification anti-counterfeiting method and system
KR20200055330A (en) Electronic device and method for sensing ambient light based on display information of the electronic device
CN108204979B (en) Method and device for calibrating light source in test paper detection equipment
CN110310596B (en) GAMMA (GAMMA-GAMMA) adjustment initial value prediction method and system of OLED module
CN110503011B (en) Data calibration method, electronic device and non-volatile computer-readable storage medium
WO2022059402A1 (en) Inspection device, inspection method, and inspection program
CN116297346A (en) Key transmittance testing method, device, equipment and medium
CN109884682B (en) Crystal position lookup table generation method, device, equipment and medium
CN114038372B (en) Gamma adjustment method, related device and storage medium
CN115826368A (en) Time-varying light source-mask cooperative optimization method and related equipment
CN109357754B (en) Tunnel hole internal and external brightness instrument calibration method and system based on deep learning
KR102486485B1 (en) Gamma calibration apparatus using 2D luminance meter
CN116187470A (en) Tongue diagnosis image color correction model training method, color correction method and equipment
US20200233210A1 (en) Light sensing method, physiological parameter computing method and light sensing system
CN116105977A (en) Light source parameter measurement method and device, electronic equipment and storage medium
CN114820523A (en) Light sensitive hole glue overflow detection method, device, system, equipment and medium
JP2010078418A (en) Spectral measurement apparatus, calibration apparatus, spectral measurement method and calibration method
US6934055B2 (en) Method of adjusting gray scale response to more closely correlate scanner based image analysis systems
CN110708537B (en) Image sensor performance testing method and device and storage medium
TW201344163A (en) Method of calibrating ambient light sensor and its system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination