CN112051037B - Lens detection method and device and terminal equipment - Google Patents

Lens detection method and device and terminal equipment Download PDF

Info

Publication number
CN112051037B
CN112051037B CN202010914226.8A CN202010914226A CN112051037B CN 112051037 B CN112051037 B CN 112051037B CN 202010914226 A CN202010914226 A CN 202010914226A CN 112051037 B CN112051037 B CN 112051037B
Authority
CN
China
Prior art keywords
lens
detected
light
transmittance
preset
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.)
Active
Application number
CN202010914226.8A
Other languages
Chinese (zh)
Other versions
CN112051037A (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010914226.8A priority Critical patent/CN112051037B/en
Publication of CN112051037A publication Critical patent/CN112051037A/en
Application granted granted Critical
Publication of CN112051037B publication Critical patent/CN112051037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • 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

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)

Abstract

The application is applicable to the technical field of lens detection, and provides a lens detection method, a lens detection device and terminal equipment, wherein the lens detection method comprises the following steps: acquiring light intensity of first incident light of a detected lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value; acquiring the light intensity of first transmitted light transmitted from the detected lens; determining a first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmission light; and if the difference between the first transmittance of the detected lens and the preset transmittance threshold value is within a first preset range, judging that the detected lens is a qualified lens. By the method, the accuracy of the detection result of the lens can be improved.

Description

Lens detection method and device and terminal equipment
Technical Field
The present application belongs to the technical field of lens detection, and in particular, to a lens detection method, apparatus, terminal device, and computer-readable storage medium.
Background
The existing lens has a layer of coating film, when the variation of the coating film causes the image shot by a camera where the lens is located to have obvious abnormal color dazzling ghost, so the lens needs to be detected by the lens before being used by a user. The lens detection mainly comprises the steps of irradiating light rays onto the lens, detecting whether the light rays transmitted through the coating film of the lens meet the preset requirement or not, and judging whether the detected lens meets the user requirement or not. For example, if the lens is a lens used by a camera, the lens meeting the user requirements is: and the lens does not have abnormal phenomena such as color cast, glare ghost and the like in the final imaging effect.
The existing lens detection method generally irradiates an area array light source with white light on a lens, and analyzes the light after the light is transmitted by a coating film of the lens to judge whether the lens meets the requirements of a user. However, the method is extensive and depends on the experience of staff for inspection, and still has the problem that the lens with slight variation can not be detected.
Disclosure of Invention
The embodiment of the application provides a lens detection method, which can solve the problem that the existing method still cannot detect a lens with a problem.
In a first aspect, an embodiment of the present application provides a lens inspection method, including:
acquiring light intensity of first incident light of a detected lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value;
acquiring the light intensity of first transmitted light transmitted from the detected lens;
determining a first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmission light;
and if the difference between the first transmittance of the detected lens and the preset transmittance threshold value is within a first preset range, judging that the detected lens is a qualified lens.
In a second aspect, an embodiment of the present application provides a lens detecting apparatus, including: a light source, a photoelectric sensor and industrial control equipment;
the light source is used for sending a first incident light to the detected lens, and the wave band range of the first incident light is smaller than a preset wave band range threshold value;
the photoelectric sensor is used for acquiring the light intensity of first transmission light rays transmitted from the detected lens and sending the light intensity of the first transmission light rays to the industrial control equipment;
the industrial control equipment is used for acquiring the emission light intensity of the light source so as to acquire the light intensity of a first incident ray of the detected lens; and the lens detection device is used for receiving the light intensity of the first transmission light sent by the photoelectric sensor, determining the first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmission light, and if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is within a first preset range, judging that the detected lens is a qualified lens.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the method according to the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the method of the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
in the embodiment of the application, obtain the light intensity of the first incident light that is detected the lens and follow the light intensity of the first transmission light that is transmitted out by the detected lens, according to the light intensity of first incident light with the light intensity of first transmission light confirms the first transmissivity that is detected the lens, if the difference of the first transmissivity that is detected the lens and predetermined transmissivity threshold value is in first preset within range, then judge that it is qualified lens to be detected the lens. Because the wave band range of the first incident light is smaller than the preset wave band range threshold, that is, the obtained transmittance is not the average transmittance corresponding to the light of the large-range wave band, the transmittance can accurately represent the transmission condition of the lens to the wave band where the first incident light is located, and the accuracy of the detection result of the lens is improved.
It is to be understood that, the beneficial effects of the second aspect to the fifth aspect may refer to the relevant description in the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the prior art descriptions will be briefly described below.
FIG. 1 is a schematic diagram of an abnormal blue color appearing in an image provided in an embodiment of the present application;
FIG. 2 is a graph illustrating the reflectivity versus wavelength comparison provided in an embodiment of the present application;
FIG. 3 is a flow chart of a lens inspection method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a full aperture inspection of a lens according to an embodiment of the present application;
FIG. 5 is a schematic view of a portion of a lens being inspected according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a lens detecting device according to a second embodiment of the present application;
FIG. 7 is a schematic view of a fixture for a lens to be inspected according to a second embodiment of the present application;
FIG. 8 is a schematic structural diagram of an on-line lens inspection apparatus provided in the second embodiment of the present application;
FIG. 9 is a schematic structural diagram of another lens inspection device provided in the second embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal device according to a third embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the specification of the present application and the appended claims, the term "if" may be interpreted contextually as "when. Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments," unless otherwise expressly specified. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The first embodiment is as follows:
the existing lens detection method generally irradiates a lens with a white light or an area array light source with a larger wave band range, and analyzes the light transmitted by a coating film of the lens to judge whether the lens meets the requirements of users, but the method still has partial problems that the lens is not detected.
The inventor of the present application can find out through analysis that when the reflectivity exceeds 0.7%, the appearance of the lens will appear blue, and further the lens ghost image will appear blue (the image shown in fig. 1). In addition, since the same lens has differences in reflectivity of different bands, for example, reflectivity of bands where purple and cyan are located is relatively large, reflectivity of the other bands is relatively small (as shown in fig. 2, the ordinate of fig. 2 is reflectivity, the abscissa is wavelength, and in fig. 2, a red curve (i.e., a curve with a relatively deep color) is a curve corresponding to reflectivity and wavelength obtained after the lens is actually tested by using different wavelengths, and an orange curve (i.e., a curve with a relatively shallow color) is a curve corresponding to reflectivity and wavelength which the designed lens should satisfy). In order to solve the above technical problem, an embodiment of the present application provides a lens detection method, in the lens detection method, a light intensity of a first incident light and a light intensity of a corresponding transmitted light are obtained, and then a transmittance of a lens is calculated according to the obtained two light intensity values, because a sum of the transmittance and the reflectance is equal to 1, when the transmittance of the lens meets a requirement, the reflectance of the lens also meets the requirement, that is, whether the lens is a qualified lens can be determined according to the transmittance of the lens. In addition, the wavelength range of the first incident light is set to be smaller than a preset wavelength range threshold, which may be set according to actual conditions, for example, the preset wavelength range threshold is set to be a fractional wavelength band in visible light. Because the wave band range of the first incident light is smaller than the preset wave band range threshold, that is, the obtained transmittance is not the average transmittance corresponding to the light of the large-range wave band, the transmittance can accurately represent the transmission condition of the lens to the wave band where the first incident light is located, and therefore the accuracy of the detection result of the lens is improved.
As shown in fig. 3, fig. 3 shows a flowchart of a lens detection method provided in the embodiment of the present application, where the lens detection method is applicable to a terminal device, and is detailed as follows:
step S31, obtaining the light intensity of a first incident ray of the detected lens, wherein the wave band range of the first incident ray is smaller than a preset wave band range threshold value.
In this embodiment, the wavelength band range of the first incident light may include only a wavelength band of 1 color, such as only a wavelength band of violet, or may include a wavelength band of 2 colors, such as blue and green, and only needs to be smaller than the preset threshold of the wavelength band range.
In some embodiments, since the wavelength range visible to human is limited, in order to reduce useless detection and improve detection efficiency, the wavelength range of the first incident light is set to be a partial wavelength range in visible light.
Step S32, obtaining the light intensity of the first transmitted light transmitted from the detected lens.
Specifically, a first transmission light ray transmitted by the detected lens can be collected through the photoelectric sensor, the light intensity of the first transmission light ray is obtained, and then the light intensity of the first transmission light ray is sent to the terminal device.
Step S33, determining the first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmitted light.
Specifically, the light intensity of the first transmitted light is compared with the light intensity of the first incident light, and the obtained ratio is the first transmittance of the detected lens.
Step S34, if the difference between the first transmittance of the detected lens and the preset transmittance threshold is within a first preset range, determining that the detected lens is a qualified lens.
In this step, the first preset range may include a numerical range corresponding to a negative number and a positive number, or may include a numerical range corresponding to a positive number. That is, if the first predetermined range includes a positive number and a negative number, the detected lens is determined to be a qualified lens when the first transmittance of the detected lens is slightly greater than the predetermined transmittance threshold or slightly less than the predetermined transmittance threshold. In some embodiments, the first predetermined range is different when the wavelength band corresponding to the first incident light is different.
In some embodiments, if the difference between the first transmittance of the detected lens and the preset transmittance threshold is outside the first preset range, the detected lens is discarded, or the detected lens is determined to be a defective lens, or a secondary screening is performed on the detected lens, and so on.
In the embodiment of the application, obtain the light intensity of the first incident light that is detected the lens and follow the light intensity of the first transmission light that is transmitted out by the detected lens, according to the light intensity of first incident light with the light intensity of first transmission light is confirmed the first transmissivity that is detected the lens, if the difference of the first transmissivity that is detected the lens and predetermined transmissivity threshold value is in first preset within range, then judge it is qualified lens to be detected the lens. Because the wave band range of the first incident light is smaller than the preset wave band range threshold, that is, the obtained transmittance is not the average transmittance corresponding to the light of the large-range wave band, the transmittance can accurately represent the transmission condition of the lens to the wave band where the first incident light is located, and the accuracy of the detection result of the lens is improved.
In some embodiments, in order to enable detection of each area of the lens, the first incident light ray is set to be incident in the whole area of the detected lens. As shown in fig. 4, the first incident light emitted from the light source 41 can realize the full aperture detection of the lens 42.
In some embodiments, since the coating of the lens is usually uneven, for example, thicker in the middle of the lens and thinner at the edge of the lens, the transmittance obtained in different areas of the lens may be different in the same waveband range, at this time, as shown in fig. 5, when a certain waveband is adopted for detection, only the area of the lens where the coating is easily changed is detected, and specifically, the second incident light emitted by the light source 51 is set to detect only a partial area of the lens 52, which not only reduces the amount of calculation, but also improves the accuracy of the detection result. At this time, the step S34 includes:
a1, if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is within a first preset range, acquiring the light intensity of second incident light of the detected lens, wherein the wave band range of the second incident light is smaller than the preset wave band range threshold value, the second incident light is incident in a specified area of the detected lens, and the specified area of the detected lens is smaller than all areas of the detected lens.
And A2, acquiring the light intensity of the second transmitted light transmitted from the detected lens.
And A3, determining a second transmittance of the detected lens according to the light intensity of the second incident light and the light intensity of the second transmitted light.
And A4, if the difference between the second transmittance of the detected lens and the preset transmittance threshold is within a second preset range, judging that the detected lens is a qualified lens, wherein the set corresponding to the first preset range is a subset of the set corresponding to the second preset range.
The second incident light and the first incident light may be light in the same wavelength band range or light in different wavelength band ranges.
In this embodiment, it is considered that the coating of the lens is usually not uniform in each area, and therefore, in order to avoid determining the lens that is qualified, the second preset range is widened, that is, the second preset range is set to be larger than the first preset range, and specifically, the set corresponding to the first preset range is set to be a subset of the set corresponding to the second preset range. In some embodiments, when the wavelength bands corresponding to the second incident light are different, the corresponding second predetermined ranges are also different.
In this embodiment, after the lens is irradiated by the first incident light and is subjected to corresponding detection, the lens is continuously irradiated and detected by the second incident light. The light intensity acquisition process and the transmittance calculation process involved in illuminating and detecting the lens with the second incident light are the same as those involved in illuminating and detecting the lens with the first incident light, and the difference between them is that the first incident light illuminates the entire lens and the second incident light illuminates an area of the lens. The second incident light only irradiates and detects partial area of the lens, so that the obtained transmittance is not averaged by the transmittance of other areas, the obtained transmittance can accurately reflect the film coating condition of the irradiated area, and the accuracy of the detection result of the lens is improved.
In some embodiments, in consideration of the fact that there is a large deviation between the coating effect of the center and the coating effect of the edge of each lens, and there is a large difference between the transmittance of the incident light rays at different incident angles, so that the light intensity of the incident light rays at different incident angles can be obtained, in this case, the step A2 includes:
and acquiring the light intensity of a second incident ray which is incident to the detected lens from at least 2 incident angles.
The step A3 specifically includes:
and acquiring the light intensity of at least 2 second transmission light rays transmitted from the detected lens.
In this embodiment, after the lens is irradiated by at least 2 incident angles, the light intensity of the second incident light with the corresponding incident angle and the light intensity of the at least 2 transmitted second transmitted light are obtained. And for each incident angle, dividing the light intensity of the second transmission light ray of the incident angle by the light intensity of the second incident light ray of the incident angle to obtain the transmittance corresponding to each incident angle, and finally, respectively judging whether the difference between the transmittance corresponding to each incident angle and a preset transmittance threshold value is within a second preset range, if so, judging that the detected lens is a qualified lens, otherwise, judging that the detected lens is an unqualified lens.
In some embodiments, in consideration of the fact that there is a large deviation between the coating effect of the center and the coating effect of the edge of each lens, and there is a large difference between the transmittance of the incident light at different incident angles, so that the light intensity of the incident light at different incident angles can be obtained, in this case, the step S31 includes:
and acquiring the light intensity of a first incident ray which enters the detected lens from at least 2 incident angles.
The step S32 specifically includes:
and acquiring the light intensity of at least 2 first transmission light rays transmitted from the detected lens.
In this embodiment, after the lens is irradiated by at least 2 incident angles, the light intensity of the first incident light of the corresponding incident angle and the light intensity of the at least 2 transmitted light are obtained. And for each incident angle, dividing the light intensity of the first transmitted light of the incident angle by the light intensity of the first incident light of the incident angle to obtain the transmittance corresponding to each incident angle, and finally, respectively judging whether the difference between the transmittance corresponding to each incident angle and a preset transmittance threshold value is within a first preset range, if so, judging that the detected lens is a qualified lens, otherwise, judging that the detected lens is an unqualified lens.
In some embodiments, after the step S34, the method further includes:
and updating the waveband range of the first incident ray to a waveband range in an appointed waveband range table, wherein the updating sequence is the same as the storage sequence of each waveband range in the appointed waveband range table, and returning to the step of acquiring the light intensity of the first incident ray of the detected lens and the subsequent steps until the waveband range in the appointed waveband range table is updated to the waveband range of the first incident ray.
In this embodiment, at least 2 wavelength ranges are stored in the specified wavelength range table, for example, one wavelength range is a wavelength range corresponding to purple, and the other wavelength range is a wavelength range corresponding to blue and green, assuming that the wavelength range corresponding to purple is used to detect the lens first, and after the detection meets the requirement, the wavelength range corresponding to blue and green is selected to detect the lens continuously. The accuracy of the detection result can be further improved by respectively adopting a plurality of wave band ranges to detect the lens. It should be noted that each band range in the above specified band range table may be a different band range, or may be a band range having partially overlapping bands.
In some embodiments, when the lens is detected by using a plurality of wavelength ranges, the incident angle may be multiple.
In some embodiments, since a single lens is not satisfactory, a combination of a plurality of lenses may be satisfactory, and in this case, the lens inspection method further includes:
b1, if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is out of a first preset range, marking the detected lens.
Specifically, the detected lens and the lens with the transmittance meeting the requirement are stored separately, so that the detected lens is marked.
In some embodiments, the detected lens is marked and the transmittance of the detected lens is recorded correspondingly.
And B2, combining at least 2 marked lenses to obtain the detected combined lens.
In some embodiments, in order to increase the yield of the combined lens, lenses corresponding to the first transmittances complementary to each other are combined, for example, if 2 marked lenses need to be combined, the first transmittance of 1 marked lens is less than 0 and the first transmittance of the other 1 marked lens is greater than 0 in the 2 marked lenses selected.
And B3, acquiring the light intensity of a first incident light of the detected combined lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value.
And B4, acquiring the light intensity of the first transmitted light transmitted from the detected combined lens.
And B5, determining the first transmittance of the detected combined lens according to the light intensity of the first incident light and the light intensity of the first transmitted light.
And B6, if the difference between the first transmittance of the detected combined lens and a preset transmittance threshold value is within a first preset range, judging that the detected combined lens is a qualified lens.
In this embodiment, at least 2 marked lenses are combined to obtain a detected combined lens, and then the detected combined lens is detected.
In some embodiments, the combined lens can be detected by using a plurality of wavelength ranges, and can also be detected by using a plurality of incident angles, which is not limited herein.
In some embodiments, the lens inspection method further comprises:
and if the difference between the first transmittance of the detected combined lens and the preset transmittance threshold is out of a first preset range, judging that the detected combined lens is an unqualified lens.
In this embodiment, if the detected lenses do not meet the requirements, and the obtained combined lenses do not meet the requirements after the lenses that do not meet the requirements are combined, the lenses are determined to be unqualified lenses. However, in some embodiments, since there may be a plurality of marked lenses, and therefore there are a plurality of corresponding combinations, if the difference between the first transmittance of the detected combined lens and the preset transmittance threshold is outside the first preset range, another combination may be selected, specifically, one of the detected combined lenses is replaced one by one to obtain a new detected combined lens, and the steps B2 to B6 are executed.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example two:
fig. 6 shows a block diagram of a lens inspection device provided in the embodiment of the present application, corresponding to the lens inspection method described in the above embodiment, and only the relevant parts of the embodiment of the present application are shown for convenience of illustration.
Referring to fig. 6, the lens detecting device 6 includes: light source 61, photoelectric sensor 62, industrial control equipment 63.
The light source 61 is configured to send a first incident light to the detected lens, where a wavelength range of the first incident light is smaller than a preset wavelength range threshold.
The photoelectric sensor is used for acquiring the light intensity of first transmission light rays transmitted from the detected lens and sending the light intensity of the first transmission light rays to the industrial control equipment.
The industrial control equipment is used for acquiring the emission light intensity of the light source 61 so as to acquire the light intensity of the first incident light of the detected lens. And the first transmittance of the detected lens is determined according to the light intensity of the first incident light and the light intensity of the first transmission light, and if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is within a first preset range, the detected lens is judged to be a qualified lens.
In the embodiment of the application, because the waveband range of the first incident light is smaller than the preset waveband range threshold, the obtained transmittance is not the average transmittance corresponding to the light of the large-range waveband, and therefore the transmittance of the lens to the waveband where the first incident light is located can be accurately represented, and the accuracy of the detection result of the lens is improved.
In some embodiments, the inspected lens is placed on a fixture for inspection as shown in FIG. 7.
In some embodiments, the lens inspection device 6 further comprises: a focusing mirror for adjusting the range of the light beam emitted by the light source 61, for example, by adjusting the focusing mirror so that the first incident light is incident in the entire area of the lens to be detected.
Further, the focusing mirror may be adjusted so that the size of the light beam emitted from the light source 61 is identical to the size of the lens to be detected.
In some embodiments, the light source 61 may be the same as or different from the light source 61 emitting the first incident light ray by adjusting the focusing lens of the light source 61 so that the second incident light ray irradiates the designated area of the lens to be tested. For example, if the light source 61 emitting the second incident light is different from the light source 61 emitting the first incident light, and there are 2 light sources 61 emitting the first incident light, the schematic diagram of the lens detecting device 6 on the production line is shown in fig. 8. In FIG. 8, there are 3 light sources 61, namely a light source 61-1, a light source 61-2 and a light source 61-3, each of which can be composed of a small laser 2 or an LED lamp 2 and a focusing mirror 3. There are also 3 photosensors in FIG. 8, photosensor 62-1, photosensor 62-2, and photosensor 62-3, respectively. The detected lens 6, the detected lens 12 and the detected lens 16 are respectively placed on the conveyor belt 4 and the conveyor belt 5, the light source 61-1 emits a first incident light 7 to the detected lens 6 to obtain a first transmission light 8, the photoelectric sensor 62-1 determines the light intensity of the first transmission light 8 and sends the light intensity to the industrial control equipment 63, and the industrial control equipment 63 determines the transmittance of the detected lens 6 by combining the light intensity of the first incident light 7 obtained by the industrial control equipment 63. The detection process of the light source 61-2 is similar to the detection process of the light source 61-1, and is not described herein again.
In fig. 8, the light source 61-3 emits a second incident light to the inspected lens 16, and the second incident light is detected only in a designated area of the inspected lens 16. The photoelectric sensor 62-3 obtains the light intensity of the second transmitted light transmitted from the detected lens 16, and sends the light intensity to the industrial control device 63 (not shown in fig. 9), the industrial control device 63 determines the second transmittance of the detected lens 16 by combining the obtained light intensity of the second incident light, and if the difference between the second transmittance and the preset transmittance threshold is within a second preset range, the detected lens is determined to be a qualified lens, wherein the set corresponding to the first preset range is a subset of the set corresponding to the second preset range.
The lens inspection device 6 of fig. 8 further comprises air nozzles (or mechanical push rods) 10, 14, 18, which can push the lenses into the empty space between the conveyor belt 4 and the conveyor belt 5 through the air nozzles (or mechanical push rods) 10, 14, 18, i.e. mark the lenses as defective, when the difference between the first transmittance of the inspected lenses and the preset transmittance threshold is outside the first preset range.
In this embodiment, after the lens is irradiated by the first incident light and is subjected to corresponding detection, the lens is continuously irradiated by the second incident light and is detected. Because the second incident light only irradiates and detects partial area of the lens, the obtained transmittance is not averaged by the transmittance of other areas, so that the obtained transmittance can accurately reflect the film coating condition of the irradiated area, and the accuracy of the detection result of the lens is improved.
In some embodiments, as shown in fig. 9, the lens detecting device 6 further includes a positioning device 64, and the positioning device 64 is used for fixing the light source 61 on the displacement rotation component to adjust the incident angle and the incident position of the detected lens. The emitting angle of the light source 61 is adjusted by the positioning device 64, after the light source 61 sends the first incident light 7 to the detected lens 6, the photoelectric sensor 61 obtains the light intensity of the corresponding first transmitted light 7-1, and then sends the light intensity to the industrial control device 63 (not shown in fig. 9), and the industrial control device 63 determines the transmittance of the detected lens 6 by combining the obtained light intensity of the first incident light 7.
It should be noted that, for the information interaction, execution process, and other contents between the above devices/units, the specific functions and technical effects thereof based on the same concept as those of the method embodiment of the present application can be specifically referred to the method embodiment portion, and are not described herein again.
Example three:
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 10, the terminal device 10 of this embodiment includes: at least one processor 100 (only one processor is shown in fig. 10), a memory 101, and a computer program 102 stored in the memory 101 and executable on the at least one processor 100, the processor 100 implementing the steps in any of the various method embodiments described above when executing the computer program 102:
acquiring light intensity of first incident light of a detected lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value;
acquiring the light intensity of first transmitted light transmitted from the detected lens;
determining a first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmission light;
and if the difference between the first transmittance of the detected lens and the preset transmittance threshold value is within a first preset range, judging that the detected lens is a qualified lens.
Optionally, the first incident ray is incident in the whole area of the detected lens.
Optionally, if a difference between the first transmittance of the detected lens and a preset transmittance threshold is within a first preset range, determining that the detected lens is a qualified lens includes:
if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is within a first preset range, acquiring the light intensity of a second incident light of the detected lens, wherein the wave band range of the second incident light is smaller than the preset wave band range threshold value, the second incident light is incident in a specified area of the detected lens, and the specified area of the detected lens is smaller than all areas of the detected lens;
acquiring the light intensity of second transmitted light transmitted from the detected lens;
determining a second transmittance of the detected lens according to the light intensity of the second incident light and the light intensity of the second transmission light;
and if the difference between the second transmittance of the detected lens and the preset transmittance threshold is within a second preset range, determining that the detected lens is a qualified lens, wherein the set corresponding to the first preset range is a subset of the set corresponding to the second preset range.
Optionally, the obtaining the light intensity of the second incident light of the detected lens includes:
acquiring the light intensity of second incident light rays which are incident to the detected lens from at least 2 incident angles;
the acquiring of the light intensity of the second transmitted light transmitted from the detected lens includes:
and acquiring the light intensity of at least 2 second transmission light rays transmitted from the detected lens.
Optionally, the acquiring the light intensity of the first incident light of the detected lens includes:
acquiring the light intensity of a first incident light ray which is incident to the detected lens from at least 2 incident angles;
the obtaining of the light intensity of the first transmitted light transmitted from the detected lens specifically includes:
and acquiring the light intensity of at least 2 first transmission light rays transmitted from the detected lens.
Optionally, after the difference between the first transmittance of the detected lens and the preset transmittance threshold is within a first preset range, the method further includes:
and updating the waveband range of the first incident ray to a waveband range in a specified waveband range table, wherein the updating sequence is the same as the storage sequence of each waveband range in the specified waveband range table, and returning to the step of acquiring the light intensity of the first incident ray of the detected lens and the subsequent steps until the waveband ranges in the specified waveband range table are all updated to the waveband range of the first incident ray.
Optionally, the lens detecting method further includes:
if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is out of a first preset range, marking the detected lens;
combining at least 2 marked lenses to obtain a detected combined lens;
acquiring the light intensity of a first incident light of the detected combined lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value;
acquiring the light intensity of first transmitted light transmitted from the detected combined lens;
determining a first transmittance of the detected combined lens according to the light intensity of the first incident light and the light intensity of the first transmitted light;
and if the difference between the first transmittance of the detected combined lens and a preset transmittance threshold value is within a first preset range, judging that the detected combined lens is a qualified lens.
Optionally, the lens inspection method further comprises:
and if the difference between the first transmittance of the detected combined lens and the preset transmittance threshold is out of a first preset range, judging that the detected combined lens is an unqualified lens.
The terminal device 10 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor 100, a memory 101. Those skilled in the art will appreciate that fig. 10 is merely an example of the terminal device 10, and does not constitute a limitation of the terminal device 10, and may include more or less components than those shown, or combine some of the components, or different components, such as an input-output device, a network access device, etc.
The Processor 100 may be a Central Processing Unit (CPU), and the Processor 100 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 101 may in some embodiments be an internal storage unit of the terminal device 10, such as a hard disk or a memory of the terminal device 10. In other embodiments, the memory 101 may also be an external storage device of the terminal device 10, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like equipped on the terminal device 10. Further, the memory 101 may also include both an internal storage unit and an external storage device of the terminal device 10. The memory 101 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 101 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned functional units and modules are illustrated as being divided, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to complete all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in the form of a hardware or a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program may implement the steps in the above-described method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, a computer Memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the foregoing embodiments, the descriptions of the respective embodiments have their respective emphasis, and for parts that are not described or recited in detail in a certain embodiment, reference may be made to the description of other embodiments.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the present disclosure, and are intended to be included within the scope thereof.

Claims (8)

1. A method for inspecting a lens, comprising:
acquiring light intensity of first incident light of a detected lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value, and the preset wave band range threshold value is a partial wave band range in visible light; the first incident ray is incident in the whole area of the detected lens;
acquiring the light intensity of first transmitted light transmitted from the detected lens;
determining a first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmission light;
if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is within a first preset range, judging that the detected lens is a qualified lens;
the first preset range corresponds to the wave bands corresponding to the first incident light one by one;
if the difference between the first transmittance of the detected lens and the preset transmittance threshold is within a first preset range, determining that the detected lens is a qualified lens, specifically comprising:
if the difference between the first transmittance of the detected lens and a preset transmittance threshold is within a first preset range, acquiring the light intensity of second incident light of the detected lens, wherein the wave band range of the second incident light is smaller than the preset wave band range threshold, the second incident light is incident in a specified area of the detected lens, and the specified area of the detected lens is smaller than all areas of the detected lens; the appointed area is an area where the lens is easy to generate coating variation;
acquiring the light intensity of second transmitted light transmitted from the detected lens;
determining a second transmittance of the detected lens according to the light intensity of the second incident light and the light intensity of the second transmission light;
if the difference between the second transmittance of the detected lens and the preset transmittance threshold is within a second preset range, determining that the detected lens is a qualified lens, wherein the second preset range corresponds to the wave bands corresponding to the second incident light one by one, and the set corresponding to the first preset range is a subset of the set corresponding to the second preset range;
the lens detection method further comprises the following steps:
if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is out of a first preset range, marking the detected lens;
combining at least 2 marked lenses to obtain a detected combined lens;
acquiring the light intensity of a first incident light of the detected combined lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value;
acquiring the light intensity of first transmitted light transmitted from the detected combined lens;
determining a first transmittance of the detected combined lens according to the light intensity of the first incident light and the light intensity of the first transmitted light;
and if the difference between the first transmittance of the detected combined lens and a preset transmittance threshold value is within a first preset range, judging that the detected combined lens is a qualified lens.
2. The lens inspection method of claim 1, wherein said obtaining the light intensity of the second incident light of the inspected lens comprises:
acquiring the light intensity of second incident light rays which are incident to the detected lens from at least 2 incident angles;
the acquiring of the light intensity of the second transmitted light transmitted from the detected lens includes:
and acquiring the light intensity of at least 2 second transmission light rays transmitted from the detected lens.
3. The lens inspection method of claim 1, wherein said obtaining the light intensity of the first incident light of the inspected lens comprises:
acquiring the light intensity of a first incident light ray which is incident to the detected lens from at least 2 incident angles;
the acquiring of the light intensity of the first transmitted light transmitted from the detected lens specifically includes:
and acquiring the light intensity of at least 2 first transmission light rays transmitted from the detected lens.
4. The lens inspection method according to claim 1, further comprising, after the difference between the first transmittance of the inspected lens and the predetermined transmittance threshold is within a first predetermined range:
and updating the waveband range of the first incident ray to a waveband range in an appointed waveband range table, wherein the updating sequence is the same as the storage sequence of each waveband range in the appointed waveband range table, and returning to the step of acquiring the light intensity of the first incident ray of the detected lens and the subsequent steps until the waveband ranges in the appointed waveband range table are all updated to the waveband range of the first incident ray.
5. The lens inspection method of any one of claims 1 to 4, further comprising:
and if the difference between the first transmittance of the detected combined lens and the preset transmittance threshold is out of a first preset range, judging that the detected combined lens is a unqualified lens.
6. A lens inspection device, comprising: a light source, a photoelectric sensor and industrial control equipment;
the light source is used for sending a first incident light to the detected lens, the wave band range of the first incident light is smaller than a preset wave band range threshold value, and the preset wave band range threshold value is a partial wave band range in visible light; the first incident ray is incident in the whole area of the detected lens;
the photoelectric sensor is used for acquiring the light intensity of first transmission light rays transmitted from the detected lens and sending the light intensity of the first transmission light rays to the industrial control equipment;
the industrial control equipment is used for acquiring the emission light intensity of the light source so as to acquire the light intensity of the first incident light of the detected lens; the lens detection device is used for receiving the light intensity of the first transmission light sent by the photoelectric sensor, determining a first transmittance of the detected lens according to the light intensity of the first incident light and the light intensity of the first transmission light, and if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is within a first preset range, judging the detected lens to be a qualified lens;
the first preset range corresponds to the wave bands corresponding to the first incident light one by one;
if the difference between the first transmittance of the detected lens and the preset transmittance threshold is within a first preset range, the detected lens is determined to be a qualified lens, and the method specifically includes:
if the difference between the first transmittance of the detected lens and a preset transmittance threshold is within a first preset range, acquiring the light intensity of second incident light of the detected lens, wherein the wave band range of the second incident light is smaller than the preset wave band range threshold, the second incident light is incident in a specified area of the detected lens, and the specified area of the detected lens is smaller than all areas of the detected lens; the appointed area is an area where the lens is easy to generate coating variation;
acquiring the light intensity of second transmitted light transmitted from the detected lens;
determining a second transmittance of the detected lens according to the light intensity of the second incident light and the light intensity of the second transmission light;
if the difference between the second transmittance of the detected lens and the preset transmittance threshold is within a second preset range, determining that the detected lens is a qualified lens, wherein the second preset range corresponds to the wave bands corresponding to the second incident light one by one, and the set corresponding to the first preset range is a subset of the set corresponding to the second preset range;
if the difference between the first transmittance of the detected lens and a preset transmittance threshold value is out of a first preset range, marking the detected lens;
combining at least 2 marked lenses to obtain a detected combined lens;
acquiring the light intensity of a first incident light of the detected combined lens, wherein the wave band range of the first incident light is smaller than a preset wave band range threshold value;
acquiring the light intensity of first transmitted light transmitted from the detected combined lens;
determining a first transmittance of the detected combined lens according to the light intensity of the first incident light and the light intensity of the first transmitted light;
and if the difference between the first transmittance of the detected combined lens and a preset transmittance threshold value is within a first preset range, judging that the detected combined lens is a qualified lens.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202010914226.8A 2020-09-03 2020-09-03 Lens detection method and device and terminal equipment Active CN112051037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010914226.8A CN112051037B (en) 2020-09-03 2020-09-03 Lens detection method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010914226.8A CN112051037B (en) 2020-09-03 2020-09-03 Lens detection method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN112051037A CN112051037A (en) 2020-12-08
CN112051037B true CN112051037B (en) 2022-11-04

Family

ID=73607285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010914226.8A Active CN112051037B (en) 2020-09-03 2020-09-03 Lens detection method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN112051037B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117405674B (en) * 2023-12-13 2024-02-23 苏州宣雄智能科技有限公司 Automatic detection system for lens coating film

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014199293A (en) * 2013-03-29 2014-10-23 Hoya株式会社 Spectacle lens evaluation method and production method
JP6327041B2 (en) * 2014-07-25 2018-05-23 株式会社島津製作所 Spectrometer
CN105115701B (en) * 2015-08-13 2018-12-18 中国科学院光电研究院 The device and method of optical mirror slip transmitance in precise measurement high power laser light environment
CN110132541A (en) * 2018-02-02 2019-08-16 深圳光峰科技股份有限公司 Light supply apparatus and optical mirror slip test macro

Also Published As

Publication number Publication date
CN112051037A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
JP6945245B2 (en) Visual inspection equipment
CN110166704B (en) Calibration method and device of multispectral camera
WO2019111426A1 (en) Inspection system and inspection method
WO2010104699A2 (en) Apparatus and method for measuring haze of sheet materials or other materials
JP2012173272A (en) Method and apparatus for evaluating paint color
JP2008249568A (en) Visual examination device
CN112051037B (en) Lens detection method and device and terminal equipment
Huang et al. Polarimetric target depth sensing in ambient illumination based on polarization-coded structured light
KR101416860B1 (en) Particle inspecting system for camera lens module
Yu et al. Bidirectional scattering distribution function by screen imaging synthesis
Trumpy et al. A multispectral design for a new generation of film scanners
Happel et al. Measuring isotropic subsurface light transport
Wang et al. On the development of an effective image acquisition system for diamond quality grading
Ding et al. Real-time robust direct and indirect photon separation with polarization imaging
CN113532800A (en) Analysis method of light-transmitting area and related equipment and device
EP3926575B1 (en) Information processing device, method and program
CN211783857U (en) Spatial distribution optical measuring device
CN109937360A (en) A kind of device and method for detecting light-permeable optical component
CN112161956A (en) Lens detection method, device and system and readable storage medium
CN111886492B (en) Color grading process and system for jadeite
WO2020174596A1 (en) Imaging apparatus
US7876429B2 (en) Method and apparatus as well as corrective optical system for evaluating restoration-premised lens
CN205897018U (en) Multispectral LED lighting detection device
Büchtemann et al. Advanced test station for imaging EO systems in the VIS to SWIR range
CN211956508U (en) Object recognition device based on optical calculation, electronic equipment and optical assembly

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
GR01 Patent grant
GR01 Patent grant