Laser transmitter detection method and device
By controlling the field of view angle and parameter adjustment of the optical imaging equipment, the problem of difficulty in detecting laser emitters is solved, effective detection and position determination of laser emitters is achieved, and detection efficiency is improved.
Patent Information
- Application Number
- CN202410837170.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing laser emitters are difficult to detect in some application scenarios, especially due to their long transmission distance, strong penetrating ability, and strong concealment. Scenarios that require detection of laser emitters face greater challenges.
By controlling the optical imaging equipment to collect images according to the preset field of view until the target area is detected, and adjusting the operating parameters of the optical imaging equipment, including azimuth parameters and magnification parameters, according to the position of the target area, until the image quality parameters are improved, and then determine The location of the laser transmitter.
Effective detection of laser emitters is achieved, detection efficiency is improved, and the specific location of the laser emitter can be discovered and determined faster.
Smart Images

Figure CN118707616A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of equipment detection technology, and in particular, relates to a laser emitter detection method and device. Background Art
[0002] Laser emitters (such as short-wave infrared laser emitters) are widely used in various fields, such as aiming at targets and measuring target distances. However, due to their long transmission distance, strong penetration ability, and extremely high concealment, laser emitters are difficult to detect in some application scenarios, which poses a great challenge to some scenarios that require detection of laser emitters. Summary of the invention
[0003] The embodiments of the present application provide a laser emitter detection method and device, thereby enabling effective detection of laser emitters to at least a certain extent, thereby improving detection efficiency.
[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0005] According to a first aspect of an embodiment of the present application, a laser emitter detection method is provided, comprising:
[0006] Controlling the optical imaging device to collect images according to a preset field of view angle until a target area is detected in the collected first image, the preset field of view angle is greater than a field of view angle threshold, and the brightness of the target area is greater than the brightness of other areas in the first image;
[0007] According to the position of the target area in the image captured by the optical imaging device, the operating parameters of the optical imaging device are adjusted at least once, and the optical imaging device is controlled to perform image capture after each parameter adjustment until the image quality parameter of the captured second image is greater than the first quality parameter and the laser emitter is detected in the second image.
[0008] Optionally, adjusting the operating parameters of the optical imaging device at least once according to the position of the target area in the image captured by the optical imaging device includes:
[0009] According to the distance between the target area and the image reference point, the orientation parameter of the optical imaging device is adjusted until the distance between the target area and the image reference point is less than a first distance, and there is a corresponding relationship between the image reference point and the center of the optical axis of the optical imaging device;
[0010] The magnification parameter and the focal length parameter of the optical imaging device are increased until the distance between the target area and the image edge is less than the second distance, and the next parameter adjustment is performed.
[0011] Optionally, the optical imaging device includes a device body and an azimuth adjustment device, the device body is mounted on the azimuth adjustment device, and the azimuth parameter of the optical imaging device is adjusted according to the distance between the target area and the image reference point, including:
[0012] Determine the distance between the target area and the image reference point according to the coordinates of the target area and the image reference point in the reference coordinate system;
[0013] Determining a target position of the device body according to a distance between the target area and the image reference point;
[0014] The orientation adjustment device is controlled to adjust the device body to the target orientation.
[0015] Optionally, the optical imaging device includes at least six optical lens groups, the six optical lens groups include at least three zoom groups and one focusing group, and the method of increasing the magnification parameter and focal length parameter of the optical imaging device includes:
[0016] Acquire a first target position of a target motion group, where the target motion group is one of the variable magnification motion group and the focus motion group;
[0017] Acquire each second target position corresponding to the first target position in a position linkage relationship table, wherein the position linkage relationship table records the linkage correspondence between the first position of the target motion group and the second positions of other motion groups;
[0018] Each moving group is moved to a corresponding target position to increase the magnification parameter and focal length parameter of the optical imaging device.
[0019] Optionally, the single-step movement accuracy of one of the zoom movement groups is 0.02 mm, and the single-step movement accuracy of the other zoom movement groups and the focusing movement group is 0.01 mm.
[0020] Optionally, the six optical lens groups use short-wavelength lens amplifiers with a maximum magnification greater than or equal to 36 times, and a corresponding focal length range of 16mm to 600mm.
[0021] Optionally, until the image quality parameter of the acquired second image is greater than the first quality parameter and the laser emitter is detected in the second image, the method further includes:
[0022] The laser emission position of the laser emitter is determined according to the first parameter when the optical imaging device captures the second image and the position of the laser emitter in the second image.
[0023] Optionally, after determining the laser emission position of the laser emitter, the method further includes:
[0024] Controlling the optical imaging device to collect images along the laser emission optical path of the laser emitter until an image quality parameter in a collected third image is greater than a second quality parameter, and a target object aimed at by the laser emitter is detected in the third image;
[0025] The aimed position of the target object is determined according to the second parameter when the optical imaging device captures the third image and the position of the target object in the third image.
[0026] Optionally, the method is applied to detect short-wave infrared laser emitters.
[0027] According to a second aspect of an embodiment of the present application, a laser emitter detection device is provided, comprising:
[0028] A first acquisition unit, used to control the optical imaging device to acquire images according to a preset field of view angle until a target area is detected in the acquired first image, the preset field of view angle is greater than a field of view angle threshold, and the brightness of the target area is greater than the brightness of other areas in the first image;
[0029] The second acquisition unit is used to adjust the operating parameters of the optical imaging device at least once according to the position of the target area in the image captured by the optical imaging device, and control the optical imaging device to perform image acquisition after each parameter adjustment until the image quality parameter of the captured second image is greater than the first quality parameter and the laser emitter is detected in the second image.
[0030] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which at least one computer program instruction is stored. The at least one computer program instruction is loaded and executed by a processor to implement the operations performed by any method described in the first aspect.
[0031] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by any of the methods described in the first aspect.
[0032] One or more technical solutions provided by the embodiments of the present invention achieve at least the following technical effects or advantages:
[0033] The present invention controls the optical imaging device to perform image acquisition according to a preset field of view (e.g., wide angle), so that the laser emitter to be detected can be found more quickly, until the target area is detected in the first image acquired. Since the target area is a highlight area, it is likely to be a light spot generated by the laser emitted by the laser emitter; according to the position of the target area in the image acquired by the optical imaging device, the operating parameters of the optical imaging device are adjusted at least once, and after each parameter adjustment, the optical imaging device is controlled to perform image acquisition until the image quality parameter of the acquired second image is greater than the first quality parameter, and the laser emitter is detected in the second image. In this way, after the potential position of the laser emitter is detected through a smaller field of view, the image acquisition parameters can be continuously adjusted until a second image containing the laser emitter and having a higher image quality parameter is detected, thereby determining the specific position of the laser emitter in the image, and then subsequently determining the actual position of the laser emitter according to the specific position of the laser emitter in the image, thereby achieving effective detection of the laser emitter and improving detection efficiency.
[0034] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0036] Figure 1 A flow chart showing a laser emitter detection method according to an embodiment of the present application is shown;
[0037] Figure 2 An exemplary structural block diagram of an optical imaging device according to an embodiment of the present application is shown;
[0038] Figure 3 A schematic diagram showing the distribution of optical lens groups of an optical imaging device according to an embodiment of the present application is shown;
[0039] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0042] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0043] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0044] It should also be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the objects used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those shown or described.
[0045] Short-wave infrared laser is one of the three infrared atmospheric windows. Its imaging spectrum range is 0.9-1.7μm, which is between visible light and medium wave. It has the characteristics of visible light detail imaging and some thermal imaging characteristics. Therefore, it is widely used in various fields, such as short-wave infrared lasers used for aiming and short-wave infrared laser rangefinders used to measure target distances. They all take advantage of the characteristics of short-wave infrared lasers, such as long transmission distance, strong penetration ability, eye safety, and strong concealment. However, there is currently a lack of effective solutions for the detection of such short-wave infrared laser instruments.
[0046] Therefore, based on the above, the embodiment of the present application proposes a laser emitter detection method, which can achieve effective detection of laser emitters to at least a certain extent, thereby improving the detection efficiency.
[0047] The laser emitter detection method of the embodiment of the present application will be described below with reference to the accompanying drawings. Figure 1 A flow chart of a laser emitter detection method according to an embodiment of the present application is shown.
[0048] like Figure 1 As shown, according to the first aspect of the embodiment of the present application, a laser emitter detection method is provided, the laser emitter may be a short-wave infrared laser emitter, the method may be executed on a control terminal, the control terminal may be integrally provided with the optical imaging device, or may be separately provided with the optical imaging device, for example, remotely controlling the image acquisition of the optical imaging device, the method comprising:
[0049] Step S1. Control the optical imaging device to collect images according to a preset field of view angle until a target area is detected in the collected first image, the preset field of view angle is greater than a field of view angle threshold, and the brightness of the target area is greater than the brightness of other areas in the first image;
[0050] See also Figure 2 , shows an exemplary structural block diagram of an optical imaging device according to an embodiment of the present application.
[0051] like Figure 2 As shown, the optical imaging device includes an optical system (such as a short-wavelength focal optical system), a photoelectric conversion module, an image input module, a lens control module, an image processing module, an encoding module, a network output module and a power supply, and the control terminal is connected to the optical imaging device through a network. The working principle of the optical imaging device is exemplarily described below:
[0052] The short-wave optical signal (wavelength range is 1.0μm~1.7μm) after filtering by the optical system is converted into an electrical signal through the photoelectric conversion module. After the original image input and ISP image processing, a video signal with high clarity, appropriate brightness and good noise effect is formed. Through the encoding module and the network output module, normal network video is output to the outside, and short-wave image observation can be achieved through the PC client; the lens control module controls the continuous zoom and focus of the lens to make the image focus clear, controls the lens IRIS aperture (configures ISP gain and shutter control) to make the picture brightness normal, and controls the lens filter switch to achieve narrowband / broadband switching to adapt to short-wave observation in different environments.
[0053] In step S1, after the optical imaging device is powered on, the control terminal can control the optical imaging device to capture images according to a preset field of view, such as using a wide angle (e.g., 23.3 degrees) for image capture. It can be understood that since the wide-angle field of view is larger, it is easier to find suspected targets. Therefore, the process of the optical imaging device using a wide angle for image capture is a process of searching for potential locations where the laser emitter may be located until the target area is detected in the first captured image. It should be noted that the above-mentioned wide angle can be achieved using an ultra-telephoto zoom lens, which has a relatively long starting focal length (20mm) and less distortion.
[0054] It should be noted that the brightness of the target area is greater than the brightness of other areas in the first image, which can be understood as the target area being a highlight area. The highlight area is likely to be the laser emitted by the laser transmitter entering the optical system of the optical imaging device, and therefore appears as a highlight area in the first image, that is, the area where the laser spot is located.
[0055] In some embodiments, after the target area is detected in the first image, the user may further improve the reliability of the first image by displaying the first image in the control terminal and manually verifying whether the target area exists in the first image.
[0056] Step S2. According to the position of the target area in the image captured by the optical imaging device, the operating parameters of the optical imaging device are adjusted at least once, and after each parameter adjustment, the optical imaging device is controlled to perform image capture until the image quality parameter of the captured second image is greater than the first quality parameter, and the laser emitter is detected in the second image.
[0057] In some embodiments, adjusting the operating parameters of the optical imaging device at least once according to the position of the target area in the image captured by the optical imaging device includes:
[0058] Step S21. According to the distance between the target area and the image reference point, the orientation parameter of the optical imaging device is adjusted until the distance between the target area and the image reference point is less than a first distance, and there is a corresponding relationship between the image reference point and the optical axis center of the optical imaging device;
[0059] It is understandable that the image reference point can be a cross cursor in the image, and the cross cursor can be used to represent the center of the image, and the cross cursor can have a corresponding relationship with the center of the optical axis of the optical imaging device. Since the target area is likely to be the spot area formed by the laser emitted by the laser emitter, by adjusting the target area to coincide with the cross cursor as much as possible, the center of the optical axis of the optical imaging device can be aligned with the position where the laser emitter emits the laser as much as possible, that is, the center of the optical axis and the position where the laser emitter emits the laser are located on the same straight line.
[0060] It is understandable that since the size of the laser spot and the cross cursor in the image collected at the wide-angle end may be inconsistent, it is difficult to ensure that the center points completely coincide. Therefore, if only one parameter adjustment is performed, it is very likely that after the azimuth parameter adjustment, the target area will deviate from the image screen during the zooming process. In addition, there may also be a certain offset error between the optical axis center of the lens of the optical imaging device from the wide angle to the longest focal length, such as a 2% offset error. Based on the above, it is usually necessary to adjust the parameters of the optical imaging device multiple times to achieve the desired parameters.
[0061] In some embodiments, the optical imaging device includes a device body and an azimuth adjustment device, and the device body is mounted on the azimuth adjustment device.
[0062] In an embodiment of the present application, the manner of adjusting the azimuth parameter of the optical imaging device may be manual adjustment, and the azimuth adjustment device may be a support stand for the optical imaging device, which support stand is provided with a knob. When performing manual adjustment, the user may adjust the knob by observing the positional relationship between the target area and the cross cursor in the image, thereby changing the azimuth of the optical imaging device. For example: when the target area is on the left side of the cross cursor, the optical imaging device is adjusted to the right, when the target area is on the right side of the cross cursor, the optical imaging device is adjusted to the left, when the target area is above the cross cursor, the optical imaging device is adjusted downward, when the target area is below the cross cursor, the optical imaging device is adjusted upward, etc. Since manual adjustment may have certain errors, the error can be reduced by increasing the number of adjustments and reducing the amount of adjustment of the azimuth parameter each time.
[0063] In an embodiment of the present application, the manner of adjusting the orientation parameters of the optical imaging device may be automatic adjustment by a program, and the orientation adjustment device may be a pan-tilt system, which is communicatively connected to a control terminal; and the adjusting of the orientation parameters of the optical imaging device according to the distance between the target area and the image reference point includes:
[0064] Step S211. Determine the distance between the target area and the image reference point according to the coordinates of the target area and the image reference point in the reference coordinate system;
[0065] Step S212. Determine the target position of the device body according to the distance between the target area and the image reference point;
[0066] Step S213: Control the orientation adjustment device to adjust the device body to the target orientation.
[0067] As mentioned above, based on the distance between the target area and the cross cursor, it can be determined how the gimbal system can be adjusted. For example, when the target area is on the left side of the cross cursor, the optical imaging device is adjusted to the right; when the target area is on the right side of the cross cursor, the optical imaging device is adjusted to the left; when the target area is above the cross cursor, the optical imaging device is adjusted downward; when the target area is below the cross cursor, the optical imaging device is adjusted upward, etc.
[0068] It can be understood that when the device body is in the target posture, the target area and the image reference point basically coincide with each other.
[0069] Step S22: Increase the magnification parameter and focal length parameter of the optical imaging device until the distance between the target area and the image edge is less than the second distance, and perform the next parameter adjustment.
[0070] It should be noted that, since it is usually difficult to adjust the parameters of the optical imaging device to the right position through one adjustment, it is usually possible to start magnification and zooming when the distance between the target area and the image reference point is less than the first distance, for example, gradually increase the magnification parameter and the focal length parameter until the target area is about to reach the edge of the image, that is, when the laser spot is about to exceed the image screen, enter the next parameter adjustment. It can be understood that if the degree of overlap between the previous target area and the image reference point is higher, the amplitude of magnification and zooming in the next parameter adjustment will be greater, thereby reducing the number of parameter adjustments of the optical imaging device and reducing the workload.
[0071] In some embodiments, the optical imaging device includes at least six optical lens groups, and the six optical lens groups include at least three zoom groups and one focus group. Specifically, the lens groups are distributed from the object side to the image side in the order of the first lens group, the second lens group, the third lens group, the fourth lens group, the fifth lens group and the sixth lens group. Among them, the second lens group (Z1), the third lens group (Z2), and the fifth lens group (Z3) are zoom groups, the fourth lens group is a fixed compensation group, and the sixth lens group is a focus group (F). It can be understood that the dynamic group refers to a lens group that can achieve zoom or zoom by changing the orientation, wherein each dynamic group can correspond to a drive motor, and each drive motor is used to drive one of the dynamic groups to move to achieve zoom or zoom.
[0072] In some embodiments, the single-step movement accuracy of one of the zoom movement groups is 0.02 mm, and the single-step movement accuracy of the other zoom movement groups and the focusing movement group is 0.01 mm.
[0073] It should be noted that the single-step movement accuracy of the zoom movement group and the focus movement group can be achieved by using a high-precision stepper motor, thereby improving the parameter adjustment accuracy of the zoom movement.
[0074] In some embodiments, the six optical lens groups use short-wavelength lens amplifiers with a maximum magnification greater than or equal to 36 times, and a corresponding focal length range of 16 mm to 600 mm.
[0075] It should be noted that the embodiment of the present application can achieve focal length adjustment of 16mm to 600mm, and the maximum magnification can reach or exceed 36 times, and the farthest observation distance can reach more than 13km, by utilizing the excellent transmittance and low-light effect of short-wave lenses, as well as the movement and coordination between various optical lens groups. Therefore, it can be well suited for the detection of short-wave infrared laser emitters (which have the characteristics of long laser emission distance and strong concealment).
[0076] Among them, the six optical lens groups need to be linked synchronously. When moved to the corresponding position at the near end, the shortest focal length can be 16mm, and there is still a 23.3° field of view at a wide angle; when moved to the corresponding position at the far end, the longest focal length can reach 600mm, and the optical magnification exceeds 36 times. There are more effective pixels of the target at long focal length, and the control accuracy of the dynamic group is 0.01mm / 0.02mm, so that the imaging clarity can reach a higher level through group fine-tuning, for example, the maximum imaging resolution reaches 1280*1024.
[0077] In addition, the short-wavelength enhancement lens of the embodiment of the present application can adopt a spherical lens or an aspherical lens, and the lens can adopt MgF2 coating, and utilize the reflection and scattering of different short waves on different materials to increase the anti-reflection ability of the lens and improve the short-wave light transmittance. Therefore, the overall amount of light entering under low light will be more, and short-wave detection will be easier to achieve.
[0078] In some embodiments, increasing the magnification parameter and focal length parameter of the optical imaging device includes:
[0079] Step S221. Acquire a first target position of a target motion group, where the target motion group is one of the zoom motion group and the focus motion group;
[0080] Step S222. Acquire each second target position corresponding to the first target position in a position linkage relationship table, wherein the position linkage relationship table records the linkage correspondence between the first position of the target motion group and the second positions of other motion groups;
[0081] Step S223: Move each moving group to a corresponding target position to increase the magnification parameter and focal length parameter of the optical imaging device.
[0082] It should be noted that the three zoom lens groups Z1, Z2, Z3 and one focusing lens group F need to be linked together to achieve clear imaging. The user can control one of the groups through the control terminal, and the program can control Z2, Z3 and F to the corresponding positions through the corresponding relationship recorded in the position linkage relationship table, so that the picture is clearly focused.
[0083] It should be noted that when the user controls the optical imaging device to perform zooming through the control terminal, the optical imaging device can achieve automatic focus according to the adjustment of the zooming parameters, for example, using the CDAF (passive focus) algorithm to adjust the focus according to the contrast (or sharpness) of the image. When focusing, the image at each position is scanned and recorded, and the sharpness value of each image is calculated based on the sharpness evaluation function to achieve automatic focus.
[0084] Therefore, by repeating the above steps S21 to S22 at least once, the azimuth parameters, magnification parameters and focal length parameters of the optical imaging device are adjusted multiple times. It can be understood that by continuously magnifying the magnification and focal length, the details in the image captured by the optical imaging device will be clearer, and the image resolution, sharpness, etc. will increase, so that the image details may be detected more clearly until a second image containing a laser emitter is detected, and the image quality parameter of the second image is greater than the first image quality parameter, wherein the image quality parameter may refer to parameters such as clarity, sharpness, resolution, etc. used to describe the clarity of image details.
[0085] In some embodiments, until the image quality parameter of the acquired second image is greater than the first quality parameter and the laser emitter is detected in the second image, the method further includes:
[0086] Step S3. Determine the laser emission position of the laser emitter according to the first parameter when the optical imaging device captures the second image and the position of the laser emitter in the second image.
[0087] It can be understood that the first parameters include but are not limited to azimuth parameters, magnification parameters and focal length parameters, etc. The first parameters when the second image is captured by the optical imaging device, and the position of the laser emitter in the second image (the position is the pixel position), can determine the azimuth of the laser emitter relative to the optical imaging device, that is, determine the laser emission position of the laser emitter.
[0088] For certain scenarios, for example, when the laser transmitter is a weapon device with short-wave laser aiming used in the military, the ultra-long focal length and short-wave imaging detection method of the embodiment of the present application can be used to clearly observe the target details (such as the short-wave aiming weapon device), and whether the launch position is correct can be determined by the image details and the observation of the short-wave optical path.
[0089] In some embodiments, after determining the laser emission position of the laser emitter, the method further includes:
[0090] Step S4. Control the optical imaging device to collect images along the laser emission optical path of the laser emitter until the image quality parameter in the collected third image is greater than the second quality parameter, and the target object aimed at by the laser emitter is detected in the third image;
[0091] Step S5. Determine the aimed position of the target object according to the second parameter when the optical imaging device captures the third image, and the position of the target object in the third image.
[0092] Similarly, by adopting the wide angle of the above steps S1 to S2 and adjusting the azimuth, magnification and focal length multiple times, it is possible to detect the target object aimed at the laser emitter. The principle is similar to the detection principle of the laser emission position of the laser emitter, which will not be repeated here.
[0093] Figure 3 A structural diagram of a laser emitter detection device according to an embodiment of the present application is shown.
[0094] like Figure 3 As shown, according to the second aspect of the embodiment of the present application, a laser emitter detection device 200 is provided, comprising:
[0095] The first acquisition unit 201 is used to control the optical imaging device to acquire images according to a preset field of view angle until a target area is detected in the acquired first image, the preset field of view angle is greater than a field of view angle threshold, and the brightness of the target area is greater than the brightness of other areas in the first image;
[0096] The second acquisition unit 202 is used to adjust the operating parameters of the optical imaging device at least once according to the position of the target area in the image captured by the optical imaging device, and control the optical imaging device to perform image acquisition after each parameter adjustment until the image quality parameter of the captured second image is greater than the first quality parameter and the laser emitter is detected in the second image.
[0097] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which at least one computer program instruction is stored. The at least one computer program instruction is loaded and executed by a processor to implement the operations performed by any method described in the first aspect.
[0098] The computer-readable storage medium may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the computer-readable storage medium of the present application is not limited thereto. In the present application, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0099] The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more conductors, a portable disk, 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 thereof.
[0100] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0101] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by any of the methods described in the first aspect.
[0102] like Figure 4 As shown, the electronic device 400 is in the form of a general computing device. The components of the electronic device 400 may include but are not limited to: at least one processing unit 410, at least one storage unit 420, and a bus 430 connecting different system components (including the storage unit 420 and the processing unit 410).
[0103] The storage unit stores program codes, which can be executed by the processing unit 410, so that the processing unit 410 executes the steps described in the above “Example Method” section of this specification according to various exemplary implementations of the present application.
[0104] The storage unit 420 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .
[0105] The storage unit 420 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0106] Bus 430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0107] The electronic device 400 may also communicate with one or more external devices 500 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 400, and / or communicate with any device that enables the electronic device 400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 450. Furthermore, the electronic device 400 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 460. As shown, the network adapter 460 communicates with other modules of the electronic device 400 via a bus 430. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0108] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0109] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0110] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0112] The above description is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims
1. A laser emitter detection method, characterized in that: include: Controlling the optical imaging device to collect images according to a preset field of view angle until a target area is detected in the collected first image, the preset field of view angle is greater than a field of view angle threshold, and the brightness of the target area is greater than the brightness of other areas in the first image; According to the position of the target area in the image captured by the optical imaging device, the operating parameters of the optical imaging device are adjusted at least once, and the optical imaging device is controlled to perform image capture after each parameter adjustment until the image quality parameter of the captured second image is greater than the first quality parameter and the laser emitter is detected in the second image.
2. The method according to claim 1, characterized in that: The step of adjusting the operating parameters of the optical imaging device at least once according to the position of the target area in the image captured by the optical imaging device comprises: According to the distance between the target area and the image reference point, the orientation parameter of the optical imaging device is adjusted until the distance between the target area and the image reference point is less than a first distance, and there is a corresponding relationship between the image reference point and the center of the optical axis of the optical imaging device; The magnification parameter and the focal length parameter of the optical imaging device are increased until the distance between the target area and the image edge is less than the second distance, and the next parameter adjustment is performed.
3. The method according to claim 2, characterized in that The optical imaging device comprises a device body and an azimuth adjustment device, wherein the device body is mounted on the azimuth adjustment device, and the azimuth parameter of the optical imaging device is adjusted according to the distance between the target area and the image reference point, including: Determine the distance between the target area and the image reference point according to the coordinates of the target area and the image reference point in the reference coordinate system; Determining a target position of the device body according to a distance between the target area and the image reference point; The orientation adjustment device is controlled to adjust the device body to the target orientation.
4. The method according to claim 2, characterized in that: The optical imaging device comprises at least six optical lens groups, the six optical lens groups comprise at least three zoom groups and one focusing group, and the method of increasing the magnification parameter and focal length parameter of the optical imaging device comprises: Acquire a first target position of a target motion group, where the target motion group is one of the variable magnification motion group and the focus motion group; Acquire each second target position corresponding to the first target position in a position linkage relationship table, wherein the position linkage relationship table records the linkage correspondence between the first position of the target motion group and the second positions of other motion groups; Each moving group is moved to a corresponding target position to increase the magnification parameter and focal length parameter of the optical imaging device.
5. The method according to claim 4, characterized in that The single-step movement accuracy of one of the zoom movement groups is 0.02 mm, and the single-step movement accuracy of the other zoom movement groups and the focusing movement group is 0.01 mm.
6. The method according to claim 4, characterized in that The six optical lens groups use short-wavelength lens amplifiers with a maximum magnification greater than or equal to 36 times, and a corresponding focal length range of 16mm to 600mm.
7. The method according to claim 1, characterized in that After the image quality parameter of the acquired second image is greater than the first quality parameter and the laser emitter is detected in the second image, the method further includes: The laser emission position of the laser emitter is determined according to the first parameter when the optical imaging device captures the second image and the position of the laser emitter in the second image.
8. The method according to claim 7, characterized in that After determining the laser emission position of the laser emitter, the method further includes: Controlling the optical imaging device to collect images along the laser emission optical path of the laser emitter until an image quality parameter in a collected third image is greater than a second quality parameter, and a target object aimed at by the laser emitter is detected in the third image; The aimed position of the target object is determined according to the second parameter when the optical imaging device captures the third image and the position of the target object in the third image.
9. The method according to any one of claims 1 to 8, characterized in that: The method is applied to detecting short-wave infrared laser emitters.
10. A laser emitter detection device, characterized in that: include: A first acquisition unit, used to control the optical imaging device to acquire images according to a preset field of view angle until a target area is detected in the acquired first image, the preset field of view angle is greater than a field of view angle threshold, and the brightness of the target area is greater than the brightness of other areas in the first image; The second acquisition unit is used to adjust the operating parameters of the optical imaging device at least once according to the position of the target area in the image captured by the optical imaging device, and control the optical imaging device to perform image acquisition after each parameter adjustment until the image quality parameter of the captured second image is greater than the first quality parameter and the laser emitter is detected in the second image.
Citation Information
Patent Citations
Abnormal object monitoring method, device and system
CN108802742A
Laser detection method and device
CN111596307A
Zooming method and device of imaging equipment and imaging equipment
CN111726513A
Camera shooting parameter adjusting method and device and electronic equipment
CN113099101A
Image acquisition method and device, equipment and storage medium
CN113132645A
