Calibration method and device for laser jamming, medium and equipment
By calculating the laser energy value received by the spectral channel and performing laser interference calibration, the interference problem during the operation of the laser focusing element and the spectral sensor is solved, ensuring the accuracy of spectral data and the authenticity of image color.
Patent Information
- Application Number
- CN202310467939.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2043-04-26
AI Technical Summary
When the laser focusing element and the spectral sensor are working simultaneously, the laser reflection may interfere with the spectral data of the spectral sensor, resulting in color distortion in the image. Existing technologies cannot effectively solve this interference.
By determining the laser energy, the reflectivity of the subject, and the shooting distance at different focusing distances, the laser energy value received by the spectral channel is calculated, and a laser interference calibration operation is performed to remove the interference of laser energy on the spectral channel.
It improves the accuracy of spectral data detected by the spectral sensor, enhances the color fidelity of the image, avoids color cast issues, and does not require the assistance of external devices.
Smart Images

Figure CN118870187B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of laser, in particular, to a calibration method for laser interference, a calibration device for laser interference, a computer readable storage medium and an electronic device. BACKGROUND
[0002] Laser focusing refers to emitting laser outward through a laser focusing element arranged on an electronic device, the laser is reflected by the surface of a shooting object and can be received by the laser focusing element, the distance between the shooting object and the camera can be determined according to the time difference between the emission and the reception, and accordingly the focusing position of the camera can be optimized. In addition, a spectrum sensor refers to an element for obtaining original information of ambient light, which can be used to adjust the parameters of the camera.
[0003] Based on the data of the laser focusing element and the spectrum sensor, the camera can obtain an image with accurate focus and true color. However, when the laser focusing element and the spectrum sensor work at the same time, the reflected laser can be received by the spectrum sensor in addition to the laser focusing element, which can easily interfere with the spectrum data of the spectrum sensor.
[0004] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present application, and therefore can include information that does not constitute the related art known to those of ordinary skill in the art. SUMMARY
[0005] The purpose of the present application is to provide a calibration method for laser interference, a calibration device for laser interference, a computer readable storage medium and an electronic device, which can determine accurate laser energy value based on laser energy, reflectivity of a shooting object and shooting distance under different focusing distances, remove the interference of laser energy value to the spectrum channel, and ensure the accuracy of the spectrum data detected by the spectrum sensor.
[0006] Other characteristics and advantages of the present application will become apparent from the following detailed description, or will be learned by practice of the present application.
[0007] According to an aspect of the present application, a calibration method for laser interference is provided, which comprises:
[0008] determining laser energy under different focusing distances, shooting distance relative to a shooting object, and reflectivity corresponding to the shooting object;
[0009] generating laser energy value received by the spectrum channel according to the reflectivity, the shooting distance and the laser energy;
[0010] performing laser interference calibration operation on the spectrum channel according to the laser energy value.
[0011] According to an aspect of the present application, a calibration device for laser interference is provided, the device comprising:
[0012] a parameter acquisition unit configured to determine laser energy at different focusing distances, a shooting distance relative to a shooting object, and reflectivity corresponding to the shooting object;
[0013] a laser energy value determination unit configured to generate a laser energy value received by a spectral channel according to the reflectivity, the shooting distance, and the laser energy;
[0014] a laser interference calibration unit configured to perform a laser interference calibration operation on the spectral channel according to the laser energy value.
[0015] According to an aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in any of the optional implementation manners described above.
[0016] According to an aspect of the present application, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, and the computer program is executed by a processor to implement the method of any of the aspects described above.
[0017] According to an aspect of the present application, an electronic device is provided, comprising: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to perform the method of any of the aspects described above by executing the executable instructions.
[0018] The exemplary embodiments of the present application can have the following partial or all beneficial effects:
[0019] In the calibration method for laser interference provided in the example embodiment of the present application, the accurate laser energy value can be determined based on the laser energy at different focusing distances, the reflectivity of the shooting object, and the shooting distance, so as to remove the interference of the laser energy value on the spectral channel, and thus the accuracy of the spectral data detected by the spectral sensor can be ensured. In addition, since the present application can calculate the additional laser energy value received by the spectral channel based on the reflectivity, the shooting distance, and the laser energy, without the aid of external devices, the difficulty of obtaining the laser energy value can be reduced. In addition, since the present application can ensure the accuracy of the spectral data, the color authenticity of the image shot based on the spectral data can be improved, and the picture color cast problem can be avoided.
[0020] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present application. BRIEF DESCRIPTION OF DRAWINGS
[0021] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application. It is to be understood that the drawings are designed solely for purposes of illustration to be used in conjunction with the description in
[0022] Figure 1 A schematic diagram of an application scenario of a calibration method for laser interference according to an embodiment of the present application is shown schematically;
[0023] Figure 2 A flowchart of the calibration method for laser interference according to an embodiment of the present application is shown schematically;
[0024] Figure 3 A schematic diagram of a laser energy acquisition method according to an embodiment of the present application is shown schematically;
[0025] Figure 4 A flowchart of the calibration method for laser interference according to another embodiment of the present application is shown schematically;
[0026] Figure 5 A schematic diagram of a structure of a calibration device for laser interference according to an embodiment of the present application is shown schematically;
[0027] Figure 6 A schematic diagram of a structure of a computer system of an electronic device suitable for implementing embodiments of the present application is shown schematically. DETAILED DESCRIPTION
[0028] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations may, however, be implemented in many different forms and should not be construed as limited to the implementations set forth herein; rather, these implementations are provided so that this disclosure will be thorough and complete, and will fully convey the scope of example implementations to those skilled in the art. The described features, structures, or characteristics can be combined in one or more implementations. In the following description, numerous specific details are provided, such as examples of programming, software modules, user selections, etc., to provide a thorough understanding of implementations of the application. One skilled in the relevant art will recognize, however, that the
[0029] Reference will be made to Figure 1 , Figure 1An application scenario diagram of a calibration method for laser interference according to an embodiment of the present application is shown schematically. As shown in Figure 1 To improve the image shooting effect, a laser focusing element 120 and a spectrum sensor 130 can be arranged in the terminal device 100 in addition to the camera 110; the laser focusing element 120 and the spectrum sensor 130 can be turned on at the same time, the laser focusing element 120 can determine the distance between the shooting object 140 and the camera 110 based on the corresponding laser emission range, and the spectrum sensor 130 can detect spectrum data based on the corresponding ambient light collection range, according to which the related parameters of the camera 110 can be adjusted so that the camera 110 can shoot images with more realistic colors.
[0030] However, as shown in Figure 1 The laser emission range and the ambient light collection range overlap, so the laser emitted by the laser focusing element 120 will be received by the infrared spectrum (IR) channel of the spectrum sensor 130 after being reflected by the shooting object 140, resulting in abnormal spectrum data detected by the spectrum sensor 130. If the spectrum sensor 130 reports abnormal ambient light information, it will cause the matching of incorrect camera 110 related parameters, resulting in color deviation in the picture.
[0031] Generally, the distance between the laser focusing element 120 and the spectrum sensor 130 can be adjusted so that there is no overlap between the laser emission range and the ambient light collection range, but this easily affects the detection accuracy of the laser focusing element 120 for the object distance. Alternatively, the emission intensity of the laser focusing element 120 can be reduced to reduce the interference of the reflected light on the spectrum data detected by the spectrum sensor 130, but this method can only alleviate the interference on the spectrum sensor 130, but cannot completely solve the problem.
[0032] The present application conceives a calibration method for laser interference, which can be specifically referred to Figure 2 , Figure 2 A flowchart of a calibration method for laser interference according to an embodiment of the present application is shown schematically. As shown in Figure 2 The method comprises the following steps.
[0033] Step S210: determining the laser energy at different focusing distances, the shooting distance relative to the shooting object, and the reflectivity corresponding to the shooting object.
[0034] Step S220: generating a laser energy value received by the spectrum channel according to the reflectivity, the shooting distance, and the laser energy.
[0035] Step S230: performing a laser interference calibration operation on the spectrum channel according to the laser energy value.
[0036] Implementations Figure 2 The method shown can determine accurate laser energy values based on laser energy at different focusing distances, reflectivity of the photographed object, and photographing distance, remove interference of the laser energy values on the spectral channel, and ensure accuracy of spectral data detected by the spectral sensor. In addition, the application can calculate the additional laser energy values received by the spectral channel based on the reflectivity, photographing distance, and laser energy, without the aid of external devices, thereby reducing the difficulty of obtaining the laser energy values. In addition, since the application can ensure the accuracy of the spectral data, the color authenticity of the image photographed based on the spectral data can be improved, and the picture color cast problem can be avoided.
[0037] Next, the above steps of the present example embodiment are described in more detail.
[0038] In step S210, the laser energy at different focusing distances, the photographing distance relative to the photographed object, and the reflectivity corresponding to the photographed object are determined.
[0039] Specifically, the laser energy refers to the laser energy reflected from the photographed object at different distances, which can be obtained by setting the emission power of the laser focusing element according to actual needs; the photographed object can be any object, which is not limited by the present embodiment, and the photographing distance relative to the photographed object represents the distance between the photographed object and the camera; and the reflectivity corresponding to the photographed object represents the case of the surface material of the photographed object reflecting laser.
[0040] As an optional embodiment, determining the laser energy at different focusing distances includes: in response to a calibration object moving operation, controlling the laser focusing element to emit laser and receive reflected light to obtain the laser energy corresponding to the current focusing distance until the laser energy at different focusing distances is obtained. In this way, multiple laser energies can be determined as reference data for laser interference calibration, which is beneficial to subsequent calculation of the laser energy values additionally received by the spectral channel based on the multiple laser energies, so as to achieve accurate laser interference calibration.
[0041] Specifically, the calibration object can be set and moved, and after each movement of the calibration object, the laser focusing element can be controlled to emit laser and receive reflected light, and the laser energy corresponding to the current focusing distance can be determined by the time interval between emission and reception, where the current focusing distance refers to the distance between the calibration object and the camera. In this way, the laser energy at multiple focusing distances can be obtained as reference data for laser interference calibration.
[0042] Please refer to Figure 3 , Figure 3 An example of a laser energy acquisition method according to an embodiment of the application is schematically shown. As shown in FIG. 2, the laser energy acquisition method includes the following steps. Figure 3As shown, a completely dark environment can be set, and a slide rail 310 can be set in the shooting range of the terminal 300, and a movable calibration object 320 can be set on the slide rail 310. The calibration object 320 can slide at any distance on the slide rail 310. For example, the calibration object 320 can be at a position 321, a position 322, a position 323, and the like, which are not limited by the embodiments of the present application. Optionally, the calibration object 320 can slide in the direction shown in the figure. Whenever the calibration object 320 slides, the laser focusing element can emit laser and receive reflected light in response to the calibration object moving operation, so as to obtain the laser energy corresponding to the current focusing distance. Accordingly, the laser energy under different focusing distances can be obtained, which can be represented in any form such as a numerical value, a character, a symbol, and the like, which are not limited by the embodiments of the present application. Figure 3
[0043] In addition, optionally, the material of the calibration object 320 can be changed and the above steps can be repeated to obtain a set of laser energies corresponding to different materials, and each set of laser energies includes laser energies under different focusing distances. Based on this, the laser energy value received by the spectral channel according to the reflectivity, the shooting distance and the laser energy is generated, including: determining a target laser energy set corresponding to the shooting object from the laser energy set of different materials according to the material of the shooting object; and generating the laser energy value received by the spectral channel according to the reflectivity, the shooting distance and the target laser energy set.
[0044] As an optional embodiment, the reflectivity corresponding to the shooting object is determined, including: controlling the illumination lamp to be turned on to collect first spectral data, and controlling the illumination lamp to be turned off to collect second spectral data; and determining the reflectivity corresponding to the shooting object based on the first spectral data and the second spectral data. In this way, the reflectivity corresponding to the shooting object can be determined only according to the illumination lamp, without the aid of external devices, which can improve the determination efficiency of the reflectivity and is conducive to more efficiently determining the laser energy value received by the spectral channel.
[0045] Specifically, the illumination lamp can be a wide-spectrum LED lamp in a preset wavelength range (e.g., 3500 nm-1000 nm). Spectrum is a pattern of monochromatic light arranged in order according to wavelength (or frequency) after dispersion of a complex light by a dispersion system (e.g., a prism, a grating). The full name is optical spectrum. The visible spectrum in the spectrum is a part of the electromagnetic spectrum visible to the human eye. Electromagnetic radiation in the wavelength range of the visible spectrum is called visible light.
[0046] In addition, the first spectrum data and the second spectrum data are different in that the first spectrum data comprises ambient light data and reflected light data, and the second spectrum data comprises ambient light data. Based on this, determining the reflectivity corresponding to the photographed object based on the first spectrum data and the second spectrum data comprises: subtracting the first spectrum data from the second spectrum data to obtain a difference value, and then calculating the reflectivity corresponding to the photographed object based on the difference value and the spectrum corresponding to the illuminating lamp.
[0047] As an optional embodiment, determining the photographing distance relative to the photographed object comprises: triggering the laser focusing element to emit laser and receive reflected light to obtain the photographing distance relative to the photographed object. In this way, the photographing distance relative to the photographed object can be determined, so as to facilitate subsequent calculation of the accurate laser energy value received by the spectrum channel.
[0048] Specifically, the time difference between the emission of laser and the reception of reflected light determines the photographing distance relative to the photographed object.
[0049] As an optional embodiment, it further comprises: determining the motor focusing position according to the photographing distance; and controlling the motor to adjust to the motor focusing position. In this way, the motor can be adjusted to the focusing position in time according to the photographing distance, so as to improve the subsequent shooting quality.
[0050] Specifically, the motor focusing position required for a clear image can be determined according to the photographing distance, and the motor focusing position refers to the target position at which the motor should be located.
[0051] In addition, it further comprises: synchronously starting the laser focusing element and the spectrum sensor in response to the starting operation; and emitting laser by the laser focusing element; wherein the spectrum sensor is configured to acquire the first spectrum data and the second spectrum data.
[0052] In step S220, the laser energy value received by the spectrum channel is generated according to the reflectivity, the photographing distance and the laser energy.
[0053] Specifically, the laser energy value can be understood as the energy value corresponding to the additional infrared spectrum received by the spectrum channel.
[0054] As an optional embodiment, generating the laser energy value received by the spectrum channel according to the reflectivity, the photographing distance and the laser energy comprises: determining a target laser energy corresponding to the photographing distance from the laser energy under different focusing distances; and generating the laser energy value received by the spectrum channel under the photographing distance based on the reflectivity, the photographing distance and the target laser energy. In this way, the calculation of the laser energy value received by the spectrum channel can be realized without setting the frame rate and the spectrum integration time, so as to accurately implement the laser interference calibration operation.
[0055] Specifically, the reflectivity, the shooting distance, and the target laser energy can be substituted into the expression: laser energy value = reflectivity * shooting distance * target laser energy + target laser energy to calculate the laser energy value received by the spectral channel at the shooting distance.
[0056] In step S230, a laser interference calibration operation is performed on the spectral channel according to the laser energy value.
[0057] Specifically, the laser interference calibration operation can act on the ambient light information obtained by the spectral channel, and specifically, the laser energy value in the infrared spectrum of the ambient light information can be removed.
[0058] As an optional embodiment, the method further includes: matching corresponding image adaptive parameters based on the spectral data of the spectral channel after laser interference calibration; and configuring the image adaptive parameters for the camera. In this way, image shooting based on appropriate image adaptive parameters can be implemented, which is beneficial to obtaining images with true colors and improving image display effects.
[0059] Specifically, the image adaptive parameters can include one or more shooting-related parameters, such as an Auto White Balance (AWB) parameter, which is not limited in the embodiments of the present application.
[0060] Referring to Figure 4 , Figure 4 A flowchart of a calibration method for laser interference according to another embodiment of the present application is schematically shown. As Figure 4 shown, the calibration method for laser interference includes steps S400-S414.
[0061] Step S400: In response to a calibration object moving operation, the laser focusing element is controlled to emit laser and receive reflected light to obtain laser energy corresponding to a current focusing distance, and the above steps are repeated until laser energy at different focusing distances is obtained.
[0062] Step S402: The laser focusing element is triggered to emit laser and receive reflected light to obtain a shooting distance relative to a shooting object.
[0063] Step S404: The lighting lamp is controlled to be turned on to collect first spectral data, and the lighting lamp is controlled to be turned off to collect second spectral data, and then the reflectivity corresponding to the shooting object is determined based on the first spectral data and the second spectral data.
[0064] Step S406: The motor focusing position is determined according to the shooting distance, and the motor is controlled to be adjusted to the motor focusing position.
[0065] Step S408: The target laser energy corresponding to the shooting distance is determined from the laser energy at different focusing distances.
[0066] Step S410: generating a laser energy value received by the spectral channel at the shooting distance based on the reflectivity, the shooting distance, and the target laser energy.
[0067] Step S412: performing a laser interference calibration operation on the spectral channel according to the laser energy value.
[0068] Step S414: matching corresponding image adaptive parameters based on spectral data of the spectral channel after the laser interference calibration, and configuring the image adaptive parameters for the camera.
[0069] It should be noted that steps S400-S414 correspond to the steps and embodiments shown in Figure 2 For specific implementations of steps S400-S414, please refer to the steps and embodiments shown in Figure 2 For specific implementations of steps S400-S414, please refer to the steps and embodiments shown in
[0070] As can be seen, by implementing the method shown in Figure 4 , the precise laser energy value can be determined based on the laser energy at different focusing distances, the reflectivity of the shooting object, and the shooting distance, the interference of the laser energy value on the spectral channel can be removed, and the accuracy of the spectral data detected by the spectral sensor can be ensured. In addition, since the present application can calculate the additional laser energy value received by the spectral channel based on the reflectivity, the shooting distance, and the laser energy, without the aid of external equipment, the difficulty of obtaining the laser energy value can be reduced. In addition, since the present application can ensure the accuracy of the spectral data, the color authenticity of the image taken based on the spectral data can be improved, and the picture color deviation problem can be avoided.
[0071] Please refer to Figure 5 , Figure 5 a structural block diagram of a calibration device for laser interference according to an embodiment of the present application is schematically shown. As Figure 5 shown, the calibration device for laser interference 500 can include the following units.
[0072] The parameter acquisition unit 501 is configured to determine the laser energy at different focusing distances, the shooting distance relative to the shooting object, and the reflectivity corresponding to the shooting object.
[0073] The laser energy value determination unit 502 is configured to generate a laser energy value received by the spectral channel according to the reflectivity, the shooting distance, and the laser energy.
[0074] The laser interference calibration unit 503 is configured to perform a laser interference calibration operation on the spectral channel according to the laser energy value.
[0075] As can be seen, by implementing the method shown in Figure 5The device shown can determine accurate laser energy values based on laser energy at different focusing distances, reflectivity of the photographed object, and photographing distance, remove interference of the laser energy values on the spectral channel, and ensure the accuracy of the spectral data detected by the spectral sensor. In addition, the application can calculate the additional laser energy values received by the spectral channel based on the reflectivity, photographing distance, and laser energy, without the aid of external devices, thereby reducing the difficulty of obtaining the laser energy values. In addition, the application can ensure the accuracy of the spectral data, thereby improving the color authenticity of the images photographed based on the spectral data and avoiding picture color problems.
[0076] As an optional embodiment, the parameter acquisition unit 501 determines the laser energy at different focusing distances, including:
[0077] In response to the calibration object moving operation, the laser focusing element is controlled to emit laser and receive reflected light to obtain the laser energy corresponding to the current focusing distance until the laser energy at different focusing distances is obtained.
[0078] As can be seen, by implementing this optional embodiment, a plurality of laser energies can be determined as reference data for laser interference calibration, which is conducive to subsequent calculation of the laser energy values received by the spectral channel based on the plurality of laser energies to achieve accurate laser interference calibration.
[0079] As an optional embodiment, the parameter acquisition unit 501 determines the reflectivity corresponding to the photographed object, including:
[0080] The lighting lamp is controlled to be turned on to collect first spectral data, and the lighting lamp is controlled to be turned off to collect second spectral data.
[0081] The reflectivity corresponding to the photographed object is determined based on the first spectral data and the second spectral data.
[0082] As can be seen, by implementing this optional embodiment, the reflectivity corresponding to the photographed object can be determined only according to the lighting lamp, without the aid of external devices, which can improve the determination efficiency of the reflectivity and is conducive to more efficient determination of the laser energy values received by the spectral channel.
[0083] As an optional embodiment, the parameter acquisition unit 501 determines the photographing distance relative to the photographed object, including:
[0084] The laser focusing element is triggered to emit laser and receive reflected light to obtain the photographing distance relative to the photographed object.
[0085] As can be seen, by implementing this optional embodiment, the photographing distance relative to the photographed object can be determined to facilitate subsequent calculation of accurate laser energy values received by the spectral channel.
[0086] As an optional embodiment, further comprising:
[0087] A motor control unit is configured to determine a motor focus position according to the shooting distance, and control the motor to adjust to the motor focus position.
[0088] It can be seen that, by implementing the optional embodiment, the motor can be adjusted to the focus position in time according to the shooting distance, so as to improve the subsequent shooting quality.
[0089] As an optional embodiment, the laser energy value determination unit 502 is configured to determine the laser energy value received by the spectral channel according to the reflectivity, the shooting distance, and laser energy, and the determination includes:
[0090] The target laser energy corresponding to the shooting distance is determined from the laser energy at different focus distances.
[0091] The laser energy value received by the spectral channel at the shooting distance is generated based on the reflectivity, the shooting distance, and the target laser energy.
[0092] It can be seen that, by implementing the optional embodiment, the calculation of the laser energy value received by the spectral channel can be implemented without setting the frame rate and the spectral integration time, so as to accurately implement the laser interference calibration operation.
[0093] As an optional embodiment, further comprising:
[0094] A parameter matching unit is configured to match the corresponding image adaptive parameter based on the spectral data of the spectral channel after the laser interference calibration.
[0095] A parameter configuration unit is configured to configure the image adaptive parameter for the camera.
[0096] It can be seen that, by implementing the optional embodiment, the image shooting based on the appropriate image adaptive parameter can be implemented, which is beneficial to obtaining the image with real colors and improving the image display effect.
[0097] It should be noted that, although several modules or units of the device for action execution are mentioned in the foregoing detailed description, such division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units.
[0098] Since the various functional modules of the calibration device for laser interference of the example embodiments of the present application correspond to the steps of the example embodiments of the calibration device for laser interference described above, for details not disclosed in the device embodiments of the present application, please refer to the above-described embodiments of the calibration device for laser interference.
[0099] Referring to Figure 6 , Figure 6 A structural diagram of a computer system of an electronic device suitable for implementing embodiments of the present application is shown.
[0100] It should be noted that Figure 6 The computer system 600 of the electronic device shown is only an example and should not impose any limitation on the functions and usage range of embodiments of the present application.
[0101] As Figure 6 shown, the computer system 600 includes a central processing unit (CPU) 601 which can perform various appropriate actions and processes according to programs stored in a read only memory (ROM) 602 or programs loaded from a storage section 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0102] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as necessary. A removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 610 as necessary, so that a computer program read therefrom is installed into the storage section 608 as necessary.
[0103] In particular, according to embodiments of the present application, the processes described below with reference to flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication section 609, and / or installed from the removable media 611. When the computer program is executed by the central processing unit (CPU) 601, various functions defined in the methods and apparatuses of the present application are performed.
[0104] As another aspect, the present application also provides a computer readable medium, which can be included in the electronic device described in the above embodiments, or can exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to implement the method in the above embodiments.
[0105] It should be noted that the computer readable medium shown in the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present application, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or apparatus. The program code contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0107] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0108] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.
Claims
1. A calibration method against laser jamming, characterized in that, The method comprises: determining laser energy at different focusing distances, a shooting distance relative to a shooting object, and reflectivity corresponding to the shooting object; generating a laser energy value received by a spectral channel according to the reflectivity, the shooting distance, and the laser energy; performing laser interference calibration on the spectral channel according to the laser energy value.
2. The method of claim 1, wherein, The determination of the laser energy at different focusing distances comprises: in response to a calibration object movement operation, controlling a laser focusing element to emit laser and receive reflected light to obtain laser energy corresponding to a current focusing distance until laser energy at different focusing distances is obtained.
3. The method of claim 1, wherein, The determination of the reflectivity corresponding to the shooting object comprises: controlling an illumination lamp to be turned on to collect first spectral data and turned off to collect second spectral data; determining the reflectivity corresponding to the shooting object based on the first spectral data and the second spectral data.
4. The method of claim 1, wherein, The determination of the shooting distance relative to the shooting object comprises: triggering the laser focusing element to emit laser and receive reflected light to obtain the shooting distance relative to the shooting object.
5. The method of claim 1, wherein, The method further comprises: determining a motor focusing position according to the shooting distance; controlling a motor to be adjusted to the motor focusing position.
6. The method of claim 1, wherein, The generation of the laser energy value received by the spectral channel according to the reflectivity, the shooting distance, and the laser energy comprises: determining a target laser energy corresponding to the shooting distance from the laser energy at different focusing distances; generating the laser energy value received by the spectral channel at the shooting distance based on the reflectivity, the shooting distance, and the target laser energy.
7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: matching corresponding image adaptive parameters based on spectral data of the spectral channel after laser interference calibration; configuring the image adaptive parameters for a camera.
8. A calibration device against laser jamming, characterized in that, The method comprises: a parameter acquisition unit configured to determine laser energy at different focusing distances, a shooting distance relative to a shooting object, and reflectivity corresponding to the shooting object; a laser energy value determination unit configured to generate a laser energy value received by a spectral channel according to the reflectivity, the shooting distance, and the laser energy; a laser interference calibration unit configured to perform laser interference calibration on the spectral channel according to the laser energy value.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the method of any one of claims 1-7.
10. An electronic device, comprising: The method comprises: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to implement the method of any one of claims 1-7 by executing the executable instructions. The method comprises: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to implement the method of any one of claims 1-7 by executing the executable instructions.
Citation Information
Patent Citations
Detection device and method of reflected light
CN102023052A
Laser radar background dark noise response elimination device
CN209356671U