Nothing Special   »   [go: up one dir, main page]

CN113138067B - Method, device and equipment for detecting diffraction optical device - Google Patents

Method, device and equipment for detecting diffraction optical device Download PDF

Info

Publication number
CN113138067B
CN113138067B CN202110423012.5A CN202110423012A CN113138067B CN 113138067 B CN113138067 B CN 113138067B CN 202110423012 A CN202110423012 A CN 202110423012A CN 113138067 B CN113138067 B CN 113138067B
Authority
CN
China
Prior art keywords
block
brightness
luminance
optical device
light field
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
CN202110423012.5A
Other languages
Chinese (zh)
Other versions
CN113138067A (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

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)
  • Studio Devices (AREA)
  • Investigating Or Analysing Materials By Optical Means (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: obtaining a target light field image corresponding to the diffraction optical device; determining a first luminance block in the target light field image; determining a second luminance block in the target light field image according to the first luminance block; and determining a 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, 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 limit to the environment, can detect without errors under the conditions of indoor and outdoor strong light, and has stronger robustness.

Description

Method, device and equipment for detecting 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 diffraction optical device.
Background
Diffractive Optics (DOEs) are capable of diffracting laser patterns into space, and their diffracted fields can be used in laser processing, 3D sensing, and special illumination, among other fields. When the DOE is detected, the whole laser module is usually required to be disassembled, the DOE is taken out, and whether the microstructure of the DOE is damaged or not is observed under a microscope; or after the image is acquired by means of an external camera, the image is subjectively judged by human eyes, so that whether the DOE is damaged 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 judging efficiency by human eyes, and can not judge in real time in the use process of the DOE.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for detecting a diffraction optical device, 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 diffraction optical device, including:
Obtaining a target light field image corresponding to the diffraction optical device;
determining a first luminance block in the target light field image; the first brightness block is a block with highest average brightness in the target light field image;
determining a second luminance block in the target light field image according to the first luminance block;
And determining a 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 a detection apparatus for a diffraction 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; the first brightness block is a block with highest average brightness in the target light field image;
a second determining unit for determining a second luminance block in the target light field image from the first luminance block;
and a third determining unit configured to determine a detection result of the diffractive optical element 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 diffraction optical device detection apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing a method as described in the first aspect above 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 a method as described in the first aspect above.
Compared with the prior art, the embodiment of the application has the beneficial effects that: obtaining a target light field image corresponding to the diffraction optical device; determining a first luminance block in the target light field image; determining a second luminance block in the target light field image according to the first luminance block; and determining a 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, 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 limit to the environment, can detect without errors under the conditions of indoor and outdoor strong light, and has stronger robustness.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for detecting a diffraction optical device according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of a detection apparatus for a diffraction optical device according to a second embodiment of the present application;
fig. 3 is a schematic diagram of a detection apparatus for a diffraction 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 the particular system architecture, 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 should 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 the present 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 present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the 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 application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified 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 method for detecting a diffraction optical device according to a first embodiment of the present application. The main execution body of a detection method of a diffraction optical device in this embodiment is an apparatus having a detection function of the diffraction optical device. The method of detecting a diffractive optical device as shown in fig. 1 may include:
S101: and obtaining a target light field image corresponding to the diffraction optical device.
The diffraction optical element (diffractiveoptical element, DOE) has high diffraction efficiency, unique dispersion performance, more design freedom, wide material selectivity, special optical performance and important application prospect in the fields of optical imaging technology, micro-optical-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, it is necessary to detect the DOE and detect whether it is damaged.
The device acquires a target light field image corresponding to the diffraction optical device, wherein the target light field image corresponding to the diffraction optical device can be acquired through a light field camera, and then the target light field image corresponding to the diffraction optical device is sent to the local device.
In one embodiment, the apparatus acquires a first initial image and a second initial image corresponding to the diffractive optic, 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 diffraction optical device according to the first initial image and the second initial image, wherein the equipment can subtract the image data of the first initial image from the image data of the second initial image to obtain the target light field image corresponding to the diffraction optical device.
In this embodiment, the collecting environment of the target light field image corresponding to the diffractive optical element is not limited, that is, the indoor environment and the outdoor strong light environment can collect the target light field image corresponding to the diffractive optical element. That is, in the present embodiment, the detection of the diffraction optical device can be performed in both an indoor environment and an outdoor strong 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 one embodiment, the background reduction function may be performed on the image acquired by the device, that is, the interference of the strong background light is effectively weakened, so as to achieve the effect of approaching to the indoor. 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; the first brightness block is a block with highest average brightness in the target light field image.
The device determines a first luminance block in the target light field image, wherein the first luminance block is the block with the highest average luminance in the target light field image. That is, the target light field image may be divided into a plurality of blocks, and the apparatus regards a block having the highest average brightness as the first brightness block by acquiring the average brightness of each block.
In one embodiment, the apparatus segments the target light field image into a number of initial blocks, e.g., 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, etc., and divide the target light field image into a plurality of blocks according to the division rule. For example, the apparatus may divide the image into m×n blocks, obtain the average luminance of each initial block, and then 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 the actual situation.
S103: and determining a second brightness block in the target light field image according to the first brightness block.
The device determines a second luminance block in the target light field image according to the first luminance block, i.e. the second luminance block is determined according to the first luminance block, a determination rule of the second luminance block may be pre-stored 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, a magnitude relationship between an average luminance of the second luminance block and an 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 diffraction optical device, the apparatus may set, as the second luminance block, a block having the largest average luminance among blocks adjacent to the first luminance block. Further, the device determines a block adjacent to the first brightness block in the target light field image as an adjacent block, acquires average brightness corresponding to the adjacent block, and determines an adjacent block with the highest average brightness as a second brightness block, wherein the number and the size of the adjacent blocks are not limited.
S104: and determining a 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 first luminance block and the second luminance block are determined, the device uses the average luminance of the first luminance block as the first luminance information of the first luminance block and uses the average luminance of the second luminance block as the second luminance information of the second luminance block. The device may pre-store a preset detection policy, based on which 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 the first luminance block and second luminance information of the second luminance block. The first luminance information is L1, the second luminance information is L2, and the 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 diffraction optical device is damaged as a detection result of the diffraction optical device; when the ratio does not satisfy the preset condition, it can be judged that the diffraction optical device is not damaged as a result of detection of the diffraction optical device.
In one embodiment, the preset detection policy further includes: if the ratio is greater than a first preset threshold and the first brightness information is greater than a second preset threshold, the diffraction optical device is damaged as a result of detection. If the ratio is smaller than or equal to the first preset threshold value or the first brightness information is smaller than or equal to the second preset threshold value, the detection result of the diffraction optical device is that the diffraction optical device is not damaged.
It can be appreciated that, in this embodiment, the ratio between the first luminance information of the first luminance block and the second luminance information of the second luminance block is introduced, so that the detection method in this embodiment can adapt to detection environments with different distances. The definition of the distance and the near distance is not limited, and a detection interval can be set, and the detection method of the present application can be practically applied in the detection interval, for example, the near distance can be set to 20cm, the far distance can be set to 150cm, and the detection method of the present application can be applied between 20cm and 150 cm.
The description of the distance is merely an explanation of the environment of the detection method of the present embodiment, and the distance data is not required to be used in the detection process.
In order to avoid misjudging an undamaged diffraction optic as a damaged diffraction optic, the second luminance information of the undamaged diffraction optic is larger at close distances, but the second luminance information of the damaged diffraction optic remains smaller. The second luminance information of the undamaged diffractive optics is smaller at a long distance, but the second luminance information of the damaged diffractive optics remains larger.
Compared with the prior art, the embodiment of the application has the beneficial effects that: obtaining a target light field image corresponding to the diffraction optical device; determining a first luminance block in the target light field image; determining a second luminance block in the target light field image according to the first luminance block; and determining a 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, 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 limit to the environment, can detect without errors under the conditions of indoor and outdoor strong light, and has stronger robustness.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Referring to fig. 2, fig. 2 is a schematic diagram of a detection apparatus for a diffraction optical device according to a second embodiment of the present application. The units included are for performing the steps in the corresponding embodiment of fig. 1. Refer specifically to the description of the corresponding embodiment in fig. 1. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 2, the detection apparatus 2 of the diffraction optical device includes:
An acquiring unit 210, configured to acquire a target light field image corresponding to the diffractive optical element;
A first determining unit 220 for determining a first luminance block in the target light field image; the first brightness block is a block with highest average brightness in the target light field image;
a second determining unit 230 for determining a second luminance block in the target light field image from the first luminance block;
A third determining unit 240, configured to determine a detection result of the diffractive optical element 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:
Dividing the target light field image into a plurality of initial blocks;
obtaining 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 adjacent to the first luminance block in the target light field image as an adjacent block;
obtaining 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;
And 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 diffraction optical device is that the diffraction optical device is damaged.
Further, the third determining unit 240 is specifically further configured to:
And if the ratio is smaller than or equal to the first preset threshold value or the first brightness information is smaller than or equal to the second preset threshold value, the detection result of the diffraction optical device is that the diffraction optical device is not damaged.
Further, the acquiring unit 210 is specifically configured to:
Acquiring a first initial image and a second initial image corresponding to the diffraction optical device; the first initial image is an image acquired 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 diffraction optical device according to the first initial image and the second initial image.
Fig. 3 is a schematic diagram of a detection apparatus for a diffraction optical device according to a third embodiment of the present application. As shown in fig. 3, the detection apparatus 3 of the diffraction optical device of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as a diffraction optics detection program, stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps of the above-described embodiments of the method of detecting the respective diffractive optical element, such as steps 101 to 104 shown in fig. 1. Or the processor 30, when executing the computer program 32, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 210-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 complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 32 in the detection device 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, each unit having 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; the first brightness block is a block with highest average brightness in the target light field image;
a second determining unit for determining a second luminance block in the target light field image from the first luminance block;
And a third determining unit configured to determine a detection result of the diffractive optical element according to the first luminance information of the first luminance block and the second luminance information of the second luminance 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 detection device 3 for a diffractive optical element and does not constitute a limitation of the detection device 3 for a diffractive optical element, and may comprise more or less components than shown, or may be combined with certain components, or different components, e.g. the detection device for a diffractive optical element may further comprise an input-output device, a network access device, a bus, etc.
The Processor 30 may be a central processing unit (Central Processing Unit, CPU), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. 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 detecting device 3 of the diffractive optical element, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the detecting 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 for the detection device of the diffractive optical element. The memory 31 may also be used for temporarily storing data that has been output or is to be output.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
The embodiment of the application also provides a network device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that enable the implementation of the method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, 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 device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
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 solution. 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 manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. A method of detecting a diffractive optical element, comprising:
Obtaining a target light field image corresponding to the diffraction optical device;
determining a first luminance block in the target light field image; the first brightness block is a block with highest average brightness in the target light field image;
Determining a second luminance block in the target light field image according to the first luminance block; presetting a position relation between the second brightness block and the first brightness block and a size relation between the average brightness of the second brightness block and the average brightness of the first brightness block, and determining the second brightness block;
Determining a 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 determining a second luminance block in the target light field image from the first luminance block comprises:
Determining a block adjacent to the first luminance block in the target light field image as an adjacent block;
obtaining average brightness corresponding to the adjacent blocks;
and determining the adjacent block with the highest average brightness as the second brightness block.
2. The method of detecting a diffractive optical device according to claim 1, wherein said determining a first luminance block in said target light field image comprises:
Dividing the target light field image into a plurality of initial blocks;
obtaining 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 detecting a diffraction optical device according to claim 1, wherein the determining the detection result of the diffraction optical device based on the first luminance information of the first luminance block and the second luminance information of the second luminance block includes:
calculating a ratio between first luminance information of the first luminance block and second luminance information of the second luminance block;
And 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 diffraction optical device is that the diffraction optical device is damaged.
4. A method of detecting a diffractive optical element according to claim 3, 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:
And if the ratio is smaller than or equal to the first preset threshold value or the first brightness information is smaller than or equal to the second preset threshold value, the detection result of the diffraction optical device is that the diffraction optical device is not damaged.
5. The method for detecting a diffraction optical device according to claim 1, wherein the acquiring the target light field image corresponding to the diffraction optical device includes:
Acquiring a first initial image and a second initial image corresponding to the diffraction optical device; the first initial image is an image acquired 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 diffraction optical device according to the first initial image and the second initial image.
6. A diffraction optical device detection 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; the first brightness block is a block with highest average brightness in the target light field image;
A second determining unit for determining a second luminance block in the target light field image from the first luminance block; presetting a position relation between the second brightness block and the first brightness block and a size relation between the average brightness of the second brightness block and the average brightness of the first brightness block, and determining the second brightness block;
a third determination unit configured to determine a detection result of the diffractive optical element according to the first luminance information of the first luminance block and the second luminance information of the second luminance block;
The second determining unit is specifically configured to:
Determining a block adjacent to the first luminance block in the target light field image as an adjacent block;
obtaining average brightness corresponding to the adjacent blocks;
and determining the adjacent block with the highest average brightness as a second brightness block.
7. The apparatus for detecting a diffractive optical device according to claim 6, wherein the first determining unit is specifically configured to:
Dividing the target light field image into a plurality of initial blocks;
obtaining the average brightness of the initial block;
And taking the initial block with the highest average brightness as the first brightness block.
8. A diffraction optical device detection apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any of claims 1 to 5 when executing the computer program.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 5.
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 CN113138067A (en) 2021-07-20
CN113138067B true 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
CN108716982A (en) * 2018-04-28 2018-10-30 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
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
CN108716982A (en) * 2018-04-28 2018-10-30 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
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
Quantum efficiency investigation at high current density of Ultra-High-Brightness LEDs;Chien-Fu Huang and Yen-Fu Su and Shin-Yueh Yang and Chia-Liang Hsu and Nai-Chuan Chen and Kuo-Ning Chiang;13th InterSociety Conference on Thermal and Thermomechanical Phenomena in Electronic Systems;20120605;303-307 *
一种基于区域最大值的LED显示屏亮度特征数据提取方法;郑喜凤;宋新丽;刘贵华;张鑫;郝娅如;;液晶与显示;20080815(第04期);59-63 *

Also Published As

Publication number Publication date
CN113138067A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN110660066B (en) Training method of network, image processing method, network, terminal equipment and medium
USRE48595E1 (en) Method and system for determining optimal exposure of structured light based 3D camera
CN109146855B (en) Image moire detection method, terminal device and storage medium
CN113609907B (en) Multispectral data acquisition method, device and equipment
CN109461133B (en) Bridge bolt falling detection method and terminal equipment
CN109859836B (en) Medical image recognition method and device
CN113962876B (en) Pixel distortion correction method, correction device and terminal
KR20200014438A (en) Apparatus and method for optimizing examination outside of the subject
CN111937497B (en) Control method, control device and infrared camera
CN114170565A (en) Image comparison method and device based on unmanned aerial vehicle aerial photography and terminal equipment
EP3822579A1 (en) Three-dimensional measurement device and method
CN115049530A (en) Method, apparatus and system for debugging image signal processor
CN113138067B (en) Method, device and equipment for detecting diffraction optical device
CN112629828A (en) Optical information detection method, device and equipment
CN111340722B (en) Image processing method, processing device, terminal equipment and readable storage medium
CN112562400A (en) Parking space line acquisition method and device and parking management system
CN116168345B (en) Fire detection method and related equipment
CN115690747B (en) Vehicle blind area detection model test method and device, electronic equipment and storage medium
JP6838651B2 (en) Image processing equipment, image processing methods and programs
EP2453383A1 (en) Facial features detection
CN112580462B (en) Feature point selection method, terminal and storage medium
CN111986144B (en) Image blurring judging method, device, terminal equipment and medium
CN110012195B (en) Method and device for reducing interference on depth camera, terminal equipment and storage medium
CN107464337B (en) Image acquisition method, image acquisition device and terminal equipment
CN111445431B (en) Image segmentation method, terminal equipment and computer readable 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