CN113138067A - Detection method, device and equipment for diffraction optical device - Google Patents

Detection method, device and equipment for diffraction optical device Download PDF

Info

Publication number
CN113138067A
CN113138067A CN202110423012.5A CN202110423012A CN113138067A CN 113138067 A CN113138067 A CN 113138067A CN 202110423012 A CN202110423012 A CN 202110423012A CN 113138067 A CN113138067 A CN 113138067A
Authority
CN
China
Prior art keywords
block
luminance
diffractive optical
light field
target 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.)
Granted
Application number
CN202110423012.5A
Other languages
Chinese (zh)
Other versions
CN113138067B (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.)
Orbbec Inc
Original Assignee
Orbbec 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 Orbbec Inc filed Critical Orbbec Inc
Priority to CN202110423012.5A priority Critical patent/CN113138067B/en
Publication of CN113138067A publication Critical patent/CN113138067A/en
Application granted granted Critical
Publication of CN113138067B publication Critical patent/CN113138067B/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

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Studio Devices (AREA)

Abstract

The application is applicable to the technical field of optics, and provides a detection method of a diffraction optical device, which comprises the following steps: acquiring a target light field image corresponding to the diffractive optical device; determining a first luminance block in the target light field image; determining a second luminance block in the target light field image from the first luminance block; and determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block. According to the scheme, subjective judgment is not needed through manpower, the diffraction optical device can be detected through the first brightness information of the first brightness block and the second brightness information of the second brightness block, whether the diffraction optical device is damaged or not is judged, and the detection efficiency is improved. In addition, the detection method in the embodiment of the application has no limitation on the environment, can detect without errors under indoor and outdoor strong light conditions, and has strong robustness.

Description

Detection method, device and equipment for diffraction optical device
Technical Field
The present application relates to the field of optical technologies, and in particular, to a method, an apparatus, and a device for detecting a diffractive optical device.
Background
Diffractive Optics (DOE) are capable of diffracting a laser pattern into space, and the diffracted light field can be used in the fields of laser machining, 3D sensing, special illumination, and the like. When the DOE is detected, the whole laser module is required to be disassembled, the DOE is taken out, and the microstructure of the DOE is observed under a microscope to be damaged or not; or after the image is acquired by an external camera, the image is judged subjectively by human eyes, so that whether the DOE is damaged or not is determined. In the scheme, the method for observing the DOE under the microscope has high operation difficulty, has high requirements on professional ability of operators, has low image judgment efficiency by human eyes, and cannot perform real-time judgment in the DOE using process.
Disclosure of Invention
The embodiment of the application provides a detection method, a detection device and detection equipment of a diffractive optical element, which can be used for solving at least one technical problem.
In a first aspect, an embodiment of the present application provides a method for detecting a diffractive optical device, including:
acquiring a target light field image corresponding to the diffractive optical device;
determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image;
determining a second luminance block in the target light field image from the first luminance block;
and determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block.
In a second aspect, an embodiment of the present application provides an inspection apparatus for a diffractive optical device, including:
the acquisition unit is used for acquiring a target light field image corresponding to the diffraction optical device;
a first determining unit for determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image;
a second determining unit for determining a second luminance block in the target light field image according to the first luminance block;
a third determining unit configured to determine a detection result of the diffractive optical device according to the first luminance information of the first luminance block and the second luminance information of the second luminance block.
In a third aspect, an embodiment of the present application provides a detection apparatus for a diffractive optical element, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: acquiring a target light field image corresponding to the diffractive optical device; determining a first luminance block in the target light field image; determining a second luminance block in the target light field image from the first luminance block; and determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block. According to the scheme, subjective judgment is not needed through manpower, the diffraction optical device can be detected through the first brightness information of the first brightness block and the second brightness information of the second brightness block, whether the diffraction optical device is damaged or not is judged, and the detection efficiency is improved. In addition, the detection method in the embodiment of the application has no limitation on the environment, can detect without errors under indoor and outdoor strong light conditions, and has strong robustness.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a method of inspecting a diffractive optical element according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of a detection apparatus for a diffractive optical element provided in a second embodiment of the present application;
fig. 3 is a schematic diagram of a detection apparatus of a diffractive optical 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 and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". 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," "third," 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 specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flow chart of a detection method of a diffractive optical device according to a first embodiment of the present application. An execution subject of the detection method of the diffractive optical device in the present embodiment is an apparatus having a detection function of the diffractive optical device. The detection method of the diffractive optical device as shown in fig. 1 may include:
s101: and acquiring a target light field image corresponding to the diffractive optical device.
The Diffractive Optical Element (DOE) has high diffraction efficiency, unique dispersion performance, more design freedom, wide material selectivity and special optical performance, and has important application prospects in the fields of optical imaging technology, micro-opto-electro-mechanical systems and the like. If the DOE is damaged, the diffraction effect is affected, and the brightness of the zero-order light intensity region becomes abnormally strong. Therefore, detecting the DOE to detect whether the DOE is damaged is a necessary step.
The equipment acquires a target light field image corresponding to the diffractive optical device, wherein the target light field image corresponding to the diffractive optical device can be acquired through the light field camera, and then the target light field image corresponding to the diffractive optical device is sent to the local terminal equipment.
In one embodiment, the device acquires a first initial image and a second initial image corresponding to the diffractive optical device, wherein the first initial image is an image acquired in a laser environment, and the second initial image is an image acquired in a non-laser environment. And obtaining a target light field image corresponding to the diffractive optical device according to the first initial image and the second initial image, wherein the device can subtract the image data of the first initial image and the image data of the second initial image to obtain the target light field image corresponding to the diffractive optical device.
It should be noted that, in this embodiment, there is no limitation on the acquisition environment of the target light field image corresponding to the diffractive optical device, that is, both an indoor environment and an outdoor strong light environment may acquire the target light field image corresponding to the diffractive optical device. That is, in the present embodiment, the detection of the diffractive optical device can be performed both in an indoor environment and in an outdoor intense light environment.
It can be understood that, in order to further ensure the accuracy of the detection result in the outdoor strong light environment, in an embodiment, the image acquired by the device may be processed with a background subtraction function, that is, the interference of the strong background light is effectively weakened, so as to achieve the effect of approaching the indoor environment. Therefore, in the above embodiment, the background subtraction processing may be performed on the first initial image and the second initial image, and then the subtraction of the image data may be performed.
S102: determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image.
The apparatus determines a first luminance block in the target light field image, wherein the first luminance block is a block in the target light field image having a highest average luminance. That is, the target light field image may be divided into a plurality of blocks, and the apparatus may take a block having the highest average luminance as the first luminance block by acquiring the average luminance of each block.
In one embodiment, the device segments the target light field image into a number of initial blocks, for example, divides the target light field image into a plurality of blocks. Specifically, the apparatus may set a division rule in advance to determine the size of each block, the number of divided blocks, and the like, and then divide the target light field image into a plurality of blocks according to the division rule. For example, the device may divide the image into M × N blocks, obtain the average luminance of each initial block, and use the initial block with the highest average luminance as the first luminance block, where the specific values of M and N may be determined according to actual situations.
S103: a second luminance block is determined in the target light field image from the first luminance block.
The device determines a second luminance block in the target light field image according to the first luminance block, that is, the second luminance block is determined according to the first luminance block, a determination rule of the second luminance block may be prestored in the device, and the second luminance block is determined in the target light field image according to the determination rule.
For example, the apparatus may preset a positional relationship between the second luminance block and the first luminance block, and a magnitude relationship between the average luminance of the second luminance block and the average luminance of the first luminance block, and determine the second luminance block according to the two defined relationships.
Specifically, in order to more accurately determine the second luminance block and thus more accurately perform the detection of the diffractive optical device, the apparatus may set a block having the largest average luminance among blocks adjacent to the first luminance block as the second luminance block. Further, the device determines a block adjacent to the first luminance block in the target light field image as an adjacent block, obtains average luminance corresponding to the adjacent block, and determines an adjacent block with the highest average luminance as a second luminance block, wherein the number and the size of the adjacent blocks are not limited.
S104: and determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block.
After the device determines the first brightness block and the second brightness block, the average brightness of the first brightness block is used as first brightness information of the first brightness block, and the average brightness of the second brightness block is used as second brightness information of the second brightness block. The device may have a preset detection strategy pre-stored therein, and based on the preset detection strategy, the device may determine a detection result of the diffractive optical element according to the first luminance information and the second luminance information.
In one embodiment, the apparatus calculates a ratio between first luminance information of a first luminance block and second luminance information of a second luminance block. The first luminance information is L1, the second luminance information is L2, and a ratio between the first luminance information of the first luminance block and the second luminance information of the second luminance block is L1/L2.
The preset detection strategy comprises the following steps: judging the ratio, and when the ratio meets a preset condition, judging that the detection result of the diffractive optical element is that the diffractive optical element is damaged; when the ratio does not satisfy the preset condition, the detection result of the diffractive optical element can be judged as that the diffractive optical element is not damaged.
In one embodiment, the preset detection strategy further includes: if the ratio is greater than a first preset threshold value and the first brightness information is greater than a second preset threshold value, the detection result of the diffractive optical element is that the diffractive optical element is damaged. If the ratio is smaller than or equal to the first preset threshold, or the first brightness information is smaller than or equal to the second preset threshold, the detection result of the diffractive optical element is that the diffractive optical element is not damaged.
It can be understood that, in this embodiment, since a ratio between the first luminance information of the first luminance block and the second luminance information of the second luminance block is introduced, the detection method in this embodiment can adapt to detection environments with different distances. The definition of the long distance and the short distance is not limited, a detection interval may be set, and the detection method of the present application may be practically applied in the detection interval, for example, the short distance may be set to 20cm, the long distance may be set to 150cm, and the detection method of the present application may be applied between 20cm and 150 cm.
The distance is described here only in the context of the detection method of the present embodiment, and the use of distance data is not required during the detection process.
In order to avoid misinterpreting an undamaged diffractive optical element as a damaged diffractive optical element, the second brightness information of the undamaged diffractive optical element is larger at close range, but the second brightness information of the damaged diffractive optical element remains smaller. The second luminance information of undamaged diffractive optics is small at long distances, but the second luminance information of damaged diffractive optics remains large.
Compared with the prior art, the embodiment of the application has the advantages that: acquiring a target light field image corresponding to the diffractive optical device; determining a first luminance block in the target light field image; determining a second luminance block in the target light field image from the first luminance block; and determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block. According to the scheme, subjective judgment is not needed through manpower, the diffraction optical device can be detected through the first brightness information of the first brightness block and the second brightness information of the second brightness block, whether the diffraction optical device is damaged or not is judged, and the detection efficiency is improved. In addition, the detection method in the embodiment of the application has no limitation on the environment, can detect without errors under indoor and outdoor strong light conditions, and has strong robustness.
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.
Referring to fig. 2, fig. 2 is a schematic diagram of a detection apparatus of a diffractive optical device according to a second embodiment of the present application. The units are included for performing the steps in the corresponding embodiment of fig. 1. Please refer to fig. 1 for the related description of the corresponding embodiment. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 2, the detection apparatus 2 of the diffractive optical device includes:
an acquiring unit 210, configured to acquire a target light field image corresponding to the diffractive optical device;
a first determining unit 220 for determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image;
a second determining unit 230 for determining a second luminance block in the target light field image according to the first luminance block;
a third determining unit 240, configured to determine a detection result of the diffractive optical device according to the first luminance information of the first luminance block and the second luminance information of the second luminance block.
Further, the first determining unit 220 is specifically configured to:
segmenting the target light field image into a number of initial blocks;
acquiring the average brightness of the initial block;
and taking the initial block with the highest average brightness as a first brightness block.
Further, the second determining unit 230 is specifically configured to:
determining a block in the target light field image that is adjacent to the first luminance block as a neighboring block;
acquiring the average brightness corresponding to the adjacent blocks;
and determining the adjacent block with the highest average brightness as a second brightness block.
Further, the third determining unit 240 is specifically configured to:
calculating a ratio between first luminance information of the first luminance block and second luminance information of the second luminance block;
if the ratio is greater than a first preset threshold value and the first brightness information is greater than a second preset threshold value, the detection result of the diffractive optical element is that the diffractive optical element is damaged.
Further, the third determining unit 240 is specifically configured to:
if the ratio is smaller than or equal to the first preset threshold, or the first brightness information is smaller than or equal to the second preset threshold, the detection result of the diffractive optical element is that the diffractive optical element is not damaged.
Further, the obtaining unit 210 is specifically configured to:
acquiring a first initial image and a second initial image corresponding to the diffractive optical device; the first initial image is an image collected in a laser environment; the second initial image is an image acquired in a non-laser environment;
and obtaining a target light field image corresponding to the diffractive optical element according to the first initial image and the second initial image.
Fig. 3 is a schematic diagram of a detection apparatus of a diffractive optical device according to a third embodiment of the present application. As shown in fig. 3, the detection apparatus 3 of the diffractive optical device of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as a detection program for a diffractive optical element, stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the above-described embodiments of the detection method for the respective diffractive optical element, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 210 to 240 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 32 in the detection apparatus 3 of the diffractive optical element. For example, the computer program 32 may be divided into an acquisition unit, a first determination unit, a second determination unit, and a third determination unit, and each unit has the following specific functions:
the acquisition unit is used for acquiring a target light field image corresponding to the diffraction optical device;
a first determining unit for determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image;
a second determining unit for determining a second luminance block in the target light field image according to the first luminance block;
and the third determining unit is used for determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block.
The detection device of the diffractive optics may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of a diffractive optical device detection apparatus 3 and does not constitute a limitation of a diffractive optical device detection apparatus 3 and may include more or fewer components than shown, or some components in combination, or different components, for example the diffractive optical device detection apparatus may also include an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the detection device 3 of the diffractive optical element, for example a hard disk or a memory of the detection device 3 of the diffractive optical element. The memory 31 may also be an external storage device of the detection device 3 of the diffractive optical element, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the detection device 3 of the diffractive optical element. Further, the detection device 3 of the diffractive optical element may also comprise both an internal storage unit and an external storage device of the detection device 3 of the diffractive optical element. The memory 31 is used for storing the computer program and other programs and data required by the detection device of the diffractive optical element. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is 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.
The 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 implements the steps in the above-mentioned 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, computer Memory, Read-Only Memory (ROM), 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 above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps 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 implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. 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 embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method of inspecting a diffractive optical element, comprising:
acquiring a target light field image corresponding to the diffractive optical device;
determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image;
determining a second luminance block in the target light field image from the first luminance block;
and determining the detection result of the diffraction optical device according to the first brightness information of the first brightness block and the second brightness information of the second brightness block.
2. The method of inspecting a diffractive optical element according to claim 1, wherein said determining a first luminance block in said target light field image comprises:
segmenting the target light field image into a number of initial blocks;
acquiring the average brightness of the initial block;
and taking the initial block with the highest average brightness as the first brightness block.
3. The method of inspecting a diffractive optical element according to claim 1, wherein said determining a second luminance block in said target light field image from said first luminance block comprises:
determining a block in the target light field image that is adjacent to the first luminance block as a neighboring block;
acquiring the average brightness corresponding to the adjacent blocks;
and determining the adjacent block with the highest average brightness as the second brightness block.
4. The method of inspecting a diffractive optical element according to claim 1, wherein said determining a result of inspection of said diffractive optical element based on first luminance information of said first luminance block and second luminance information of said second luminance block comprises:
calculating a ratio between first luminance information of the first luminance block and second luminance information of the second luminance block;
if the ratio is greater than a first preset threshold value and the first brightness information is greater than a second preset threshold value, the detection result of the diffractive optical element is that the diffractive optical element is damaged.
5. The method for inspecting a diffractive optical element according to claim 4, further comprising, after said calculating a ratio between first luminance information of said first luminance block and second luminance information of said second luminance block:
if the ratio is smaller than or equal to the first preset threshold, or the first brightness information is smaller than or equal to the second preset threshold, the detection result of the diffractive optical element is that the diffractive optical element is not damaged.
6. The method for inspecting a diffractive optical element according to claim 1, wherein said acquiring a target light field image corresponding to the diffractive optical element comprises:
acquiring a first initial image and a second initial image corresponding to the diffractive optical device; the first initial image is an image collected in a laser environment; the second initial image is an image acquired in a non-laser environment;
and obtaining a target light field image corresponding to the diffractive optical element according to the first initial image and the second initial image.
7. A diffractive optical device inspection apparatus, comprising:
the acquisition unit is used for acquiring a target light field image corresponding to the diffraction optical device;
a first determining unit for determining a first luminance block in the target light field image; wherein the first luminance block is a block with the highest average luminance in the target light field image;
a second determining unit for determining a second luminance block in the target light field image according to the first luminance block;
a third determining unit configured to determine a detection result of the diffractive optical device according to the first luminance information of the first luminance block and the second luminance information of the second luminance block.
8. The detection apparatus for a diffractive optical element as claimed in claim 7, wherein said first determination unit is specifically configured to:
segmenting the target light field image into a number of initial blocks;
acquiring the average brightness of the initial block;
and taking the initial block with the highest average brightness as the first brightness block.
9. An inspection apparatus for a diffractive optical 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 one of claims 1 to 6 when executing the computer program.
10. 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 6.
CN202110423012.5A 2021-04-20 2021-04-20 Method, device and equipment for detecting diffraction optical device Active CN113138067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110423012.5A CN113138067B (en) 2021-04-20 2021-04-20 Method, device and equipment for detecting diffraction optical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110423012.5A CN113138067B (en) 2021-04-20 2021-04-20 Method, device and equipment for detecting diffraction optical device

Publications (2)

Publication Number Publication Date
CN113138067A true CN113138067A (en) 2021-07-20
CN113138067B CN113138067B (en) 2024-05-03

Family

ID=76812940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110423012.5A Active CN113138067B (en) 2021-04-20 2021-04-20 Method, device and equipment for detecting diffraction optical device

Country Status (1)

Country Link
CN (1) CN113138067B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008215833A (en) * 2007-02-28 2008-09-18 Victor Co Of Japan Ltd Apparatus and method for measuring optical characteristics
CN108600740A (en) * 2018-04-28 2018-09-28 Oppo广东移动通信有限公司 Optical element detection method, device, electronic equipment and storage medium
CN108716983A (en) * 2018-04-28 2018-10-30 Oppo广东移动通信有限公司 Optical element detection method and device, electronic equipment, storage medium
CN108716982A (en) * 2018-04-28 2018-10-30 Oppo广东移动通信有限公司 Optical element detection method, device, electronic equipment and storage medium
JP2019109236A (en) * 2017-12-19 2019-07-04 大日本印刷株式会社 Inspection device and inspection method
CN110062145A (en) * 2019-05-24 2019-07-26 Oppo广东移动通信有限公司 Depth camera, electronic equipment and image acquiring method
CN110248108A (en) * 2019-06-14 2019-09-17 浙江大华技术股份有限公司 Exposure adjustment and dynamic range under wide dynamic determine method and relevant apparatus
WO2020191707A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Method and apparatus for displaying image

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008215833A (en) * 2007-02-28 2008-09-18 Victor Co Of Japan Ltd Apparatus and method for measuring optical characteristics
JP2019109236A (en) * 2017-12-19 2019-07-04 大日本印刷株式会社 Inspection device and inspection method
CN108600740A (en) * 2018-04-28 2018-09-28 Oppo广东移动通信有限公司 Optical element detection method, device, electronic equipment and storage medium
CN108716983A (en) * 2018-04-28 2018-10-30 Oppo广东移动通信有限公司 Optical element detection method and device, electronic equipment, storage medium
CN108716982A (en) * 2018-04-28 2018-10-30 Oppo广东移动通信有限公司 Optical element detection method, device, electronic equipment and storage medium
WO2020191707A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Method and apparatus for displaying image
CN110062145A (en) * 2019-05-24 2019-07-26 Oppo广东移动通信有限公司 Depth camera, electronic equipment and image acquiring method
CN110248108A (en) * 2019-06-14 2019-09-17 浙江大华技术股份有限公司 Exposure adjustment and dynamic range under wide dynamic determine method and relevant apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHIEN-FU HUANG AND YEN-FU SU AND SHIN-YUEH YANG AND CHIA-LIANG HSU AND NAI-CHUAN CHEN AND KUO-NING CHIANG: "Quantum efficiency investigation at high current density of Ultra-High-Brightness LEDs", 13TH INTERSOCIETY CONFERENCE ON THERMAL AND THERMOMECHANICAL PHENOMENA IN ELECTRONIC SYSTEMS, 5 June 2012 (2012-06-05), pages 303 - 307 *
郑喜凤;宋新丽;刘贵华;张鑫;郝娅如;: "一种基于区域最大值的LED显示屏亮度特征数据提取方法", 液晶与显示, no. 04, 15 August 2008 (2008-08-15), pages 59 - 63 *

Also Published As

Publication number Publication date
CN113138067B (en) 2024-05-03

Similar Documents

Publication Publication Date Title
CN110660066B (en) Training method of network, image processing method, network, terminal equipment and medium
CN109146855B (en) Image moire detection method, terminal device and storage medium
CN107315011B (en) Image processing apparatus, image processing method, and storage medium
CN107111872B (en) Information processing apparatus, information processing method, and storage medium
CN111667448A (en) Image processing method, device and equipment
CN111598913A (en) Image segmentation method and system based on robot vision
CN109461133B (en) Bridge bolt falling detection method and terminal equipment
CN113609907B (en) Multispectral data acquisition method, device and equipment
CN113240630A (en) Speckle image quality evaluation method and device, terminal equipment and readable storage medium
JP2006098152A (en) Apparatus and method for detecting defect
CN112556994B (en) Optical information detection method, device and equipment
KR20200014438A (en) Apparatus and method for optimizing examination outside of the subject
CN113781396B (en) Screen defect detection method, device, equipment and storage medium
EP3822579A1 (en) Three-dimensional measurement device and method
CN113781414B (en) Lens resolution testing method and device and electronic equipment
CN112629828B (en) Optical information detection method, device and equipment
CN114155179A (en) Light source defect detection method, device, equipment and storage medium
CN113138067B (en) Method, device and equipment for detecting diffraction optical device
CN115690747B (en) Vehicle blind area detection model test method and device, electronic equipment and storage medium
US8855401B2 (en) Methods and systems involving measuring complex dimensions of silicon devices
CN111598832A (en) Slot defect marking method and device and storage medium
WO2018198916A1 (en) Image processing device, image processing method and storage medium
US8055056B2 (en) Method of detecting defects of patterns on a semiconductor substrate and apparatus for performing the same
CN115457530A (en) External damage prevention method, external damage prevention device and external damage prevention system for power transmission line
CN111145674B (en) Display panel detection method, electronic device and storage medium

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