Target positioning method, target positioning device and auxiliary aiming system
By determining the refractive index of the medium in different media, the positioning deviation problem caused by the difference in refractive index in visual positioning technology is solved, and accurate positioning of cross-dip layer targets is achieved, and hardware and computing power overhead is reduced.
Patent Information
- Application Number
- CN202411571741.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-11-06
AI Technical Summary
In environments with different refractive index of the medium, the target position may be deviated due to light refraction, resulting in misalignment. When this problem is overcome by multi-sensor fusion technology, the equipment size and computing power are expensive and inconvenient to use.
By acquiring a calibration point image of preset relative positions in different media, the relative refractive index between the media is determined, thereby achieving accurate positioning of the target, only a single visual sensor is required to avoid positioning deviations caused by refraction of light.
The target standard positioning in different dielectric layers is realized, which reduces hardware cost and computing power overhead, and improves positioning accuracy and convenience of use.
Smart Images

Figure CN119090949A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual positioning technology, and in particular to a target positioning method, a target positioning device and an auxiliary aiming system. Background Art
[0002] Visual positioning technology is a type of technology that determines the target position by analyzing and processing image data. It uses optical sensors to determine the position of the image and thus the actual position of the object. Due to its intuitive use and low hardware cost, it is widely used in robot control, distance measurement, and auxiliary aiming systems.
[0003] Traditional visual positioning technologies usually rely on a single optical system. In environments with different refractive indices of media, such as water or glass, the target position may deviate due to the refraction of light, causing the position of the target image to be different from the actual target position, resulting in the inability to locate the target based on the image position or inaccurate positioning. Currently, multi-sensor fusion technology, such as the introduction of sonar, is usually used to overcome the problem of visual positioning inaccuracy caused by differences in the optical properties of the medium layer, but this will lead to a significant increase in equipment size and computing power overhead, resulting in inconvenience in use. Summary of the invention
[0004] The invention provides a target positioning method, a target positioning device and an auxiliary aiming system for accurately visually positioning targets in different medium layers.
[0005] The present invention provides a target positioning method, comprising: Acquire a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; determining a relative refractive index of a first medium and a second medium according to the first image and the second image; According to the relative refractive index, the position parameter of the target is determined.
[0006] According to the target positioning method provided by the present invention, determining the relative refractive index of the first medium and the second medium according to the first image and the second image includes: Determining a spatial distance parameter between an imaging position of a first calibration point and an imaging position of a second calibration point according to the first image and the second image; The relative refractive index of the first medium and the second medium is determined according to the spatial distance parameter and the preset relative position.
[0007] According to the target positioning method provided by the present invention, the relative refractive index of the first medium and the second medium is determined based on the spatial distance parameter and the preset relative position, including: Determining the refraction angle of the imaging light path of the second calibration point according to the spatial distance parameter and the preset relative position; The relative refractive index of the first medium and the second medium is determined according to the refraction angle and the incident angle of the imaging light path of the second calibration point; wherein the incident angle is obtained according to the camera extrinsic parameters of the second image.
[0008] According to the target positioning method provided by the present invention, the position parameter of the target is the azimuth of the target, and the step of determining the position parameter of the target according to the relative refractive index includes: The azimuth angle of the target is determined according to the azimuth angle corresponding to the imaging position of the target and the relative refractive index.
[0009] According to the target positioning method provided by the present invention, before acquiring the first image of the first calibration point and the second image of the second calibration point, the method further includes: The first calibration point and / or the second calibration point are illuminated.
[0010] According to the target positioning method provided by the present invention, the step of illuminating the first calibration point and / or the second calibration point includes: The first calibration point and / or the second calibration point are illuminated using blue light.
[0011] The present invention also provides a target positioning device, comprising: An image acquisition module, used to acquire a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; a refractive index determination module, configured to determine a relative refractive index of a first medium and a second medium according to the first image and the second image; The position parameter determination module is used to determine the position parameter of the target according to the relative refractive index.
[0012] The present invention also provides an auxiliary aiming system, comprising a calibration device, a camera and a computing device, wherein: The calibration device is used to determine a first calibration point and a second calibration point; The camera is used to capture a first image of a first calibration point and a second image of a second calibration point; The computing device is used to implement the target positioning method provided by the present invention.
[0013] The present invention also provides an auxiliary aiming system, which further comprises a fill light, wherein the fill light is fixedly arranged on the calibration device, and the fill light is used to illuminate the first calibration point and / or the second calibration point.
[0014] The present invention also provides an auxiliary aiming system, wherein the fill light comprises a blue fill light.
[0015] The target positioning method, target positioning device and auxiliary aiming system provided by the present invention are designed to have a preset relative position of the first calibration point and the second calibration point. Since the difference between the imaging position and the actual position is completely caused by the refraction of light between the media, the relative refractive index can be determined according to the difference between the preset relative position and the imaging position, and the target is further positioned according to the relative refractive index, so that the refractive index between the media can be determined using only a single visual sensor, avoiding the problem of being unable to locate the target according to the image position or positioning misalignment due to the difference in the position of the object and the image caused by the refraction of light, and achieving accurate positioning of targets across medium layers. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a flow chart of the target positioning method provided by the present invention.
[0018] Figure 2 It is a schematic diagram of the optical principle of the target positioning method provided by the present invention.
[0019] Figure 3 It is a structural schematic diagram of the target positioning device provided by the present invention.
[0020] Figure 4 It is a structural schematic diagram of the auxiliary aiming system provided by the present invention.
[0021] Figure 5 It is a schematic diagram of the optical principle of the auxiliary aiming system provided by the present invention.
[0022] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] Combine the following Figure 1-Figure 4 The invention describes a target positioning method, a target positioning device and an auxiliary aiming system.
[0025] Figure 1 is a flow chart of a target positioning method according to an embodiment of the present invention. Figure 1 As shown, it includes steps 110 to 130, specifically: Step 110, acquiring a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; Step 120: determining a relative refractive index of a first medium and a second medium according to the first image and the second image; Step 130: Determine the position parameters of the target according to the relative refractive index.
[0026] In step 110 of the embodiment of the present invention, the first image of the first calibration point and the second image of the second calibration point may be the first image and the second image obtained by photographing the first calibration point and the second calibration point using a visible light sensor, such as a visible light camera; or the first image of the first calibration point and the second image of the second calibration point may be obtained by using an active optical sensor, such as a laser radar. In the embodiment of the present invention, the first image and the second image may be images containing the first calibration point and the second calibration point obtained by simultaneously photographing the first calibration point and the second calibration point by the same optical sensor; or the first calibration point and the second calibration point may be obtained by photographing the first calibration point and the second calibration point separately. It can be understood that the first image and the second image of the embodiment of the present invention can achieve the purpose of the present invention regardless of whether they are photographed simultaneously or separately, and regardless of which optical sensor is used to photograph them, as long as the imaging of the first calibration point and the imaging of the second calibration point involve the optical process of refraction between media.
[0027] In step 120 of the embodiment of the present invention, since the first calibration point and the second calibration point are located in different media, and the imaging position of at least one of the first calibration point and the second calibration point does not coincide with the actual position. Since the first calibration point and the second calibration point have a preset relative position, the difference between the imaging position and the actual position can be obtained by the optical modeling method. Since the difference between the imaging position and the actual position is completely caused by the relative refractive index of the first medium and the second medium, the relative refractive index of the first medium and the second medium can be uniquely determined by the difference between the imaging position and the actual position.
[0028] In step 130 of the embodiment of the present invention, the position parameter of the target may be the azimuth of the target with the observer as the reference point, or may be the position parameter of the target including information such as the distance and depth of the target. It is understandable that as long as the relative refractive index of the first medium and the second medium is known, the actual position of the target can be determined using only an optical sensor using a mathematical method or an optical modeling method without introducing a new sensing device.
[0029] In the embodiment of the present invention, the observer may be located in the first medium or in the second medium. When the observer is located in the first medium, the imaging position of the first calibration point coincides with the actual position of the first calibration point, and the imaging position of the second calibration point does not coincide with the actual position of the second calibration point; when the observer is located in the second medium, the imaging position of the first calibration point does not coincide with the actual position of the first calibration point, and the imaging position of the second calibration point coincides with the actual position of the second calibration point.
[0030] The first medium and the second medium of the target positioning method of the embodiment of the present invention can be any different medium, for example, the first medium is air and the second medium is water; or the first medium is vacuum and the second medium is water; or the first medium is air and the second medium is glass. The types of the first medium and the second medium can be arbitrarily set according to the application scenario.
[0031] The target positioning method provided by the present invention is designed so that the first calibration point and the second calibration point have preset relative positions. Since the difference between the imaging position and the actual position is completely caused by the refraction of light between the media, the relative refractive index can be determined according to the difference between the preset relative position and the imaging position, and the target is further positioned according to the relative refractive index, so that the refractive index between the media can be determined using only a single visual sensor, avoiding the problem of being unable to locate the target according to the image position or positioning misalignment due to the difference in the position of the object and the image caused by the refraction of light, and achieving accurate positioning of targets across medium layers.
[0032] Furthermore, step 120 of the embodiment of the present invention includes step 121 and step 122, which are specifically: Step 121: determining a spatial distance parameter between an imaging position of a first calibration point and an imaging position of a second calibration point according to the first image and the second image; Step 122: Determine the relative refractive index of the first medium and the second medium according to the spatial distance parameter and the preset relative position.
[0033] In step 121 of the embodiment of the present invention, the imaging position of the first calibration point can be obtained according to the position of the first calibration point in the first image, and the imaging position of the second calibration point can be obtained according to the position of the second calibration point in the second image. The spatial distance parameter between the imaging position of the first calibration point and the imaging position of the second calibration point can be determined by the imaging position of the first calibration point and the imaging position of the second calibration point. It can be understood that in the embodiment of the present invention, the spatial distance parameter between the imaging position of the first calibration point and the imaging position of the second calibration point can be a physical parameter that characterizes the actual spatial distance between the imaging position of the first calibration point and the imaging position of the second calibration point, or can be a physical parameter that can directly determine the actual spatial distance between the imaging position of the first calibration point and the imaging position of the second calibration point, such as the pixel distance on the image, the angular distance, etc.
[0034] In step 122 of the embodiment of the present invention, since the influence of the medium difference on the deformation of the object is negligible, the preset relative position of the first calibration point and the second calibration point is the actual relative position of the first calibration point and the second calibration point, and the actual spatial distance between the first calibration point and the second calibration point can be considered to be a certain value. Taking the observer in the first medium as an example, the difference between the imaging position and the actual position of the second calibration point at this time is the difference between the spatial distance between the imaging position of the first calibration point and the imaging position of the second calibration point and the actual spatial distance between the first calibration point and the second calibration point.
[0035] In the embodiment of the present invention, through the above steps 121 and 122, the difference between the imaging position and the actual position can be determined, and then the relative refractive index of the first medium and the second medium can be obtained.
[0036] Furthermore, the embodiment of the present invention uses an optical modeling method to determine the relative refractive index of the first medium and the second medium, such as Figure 2 As shown, taking the first medium as air and the second medium as water, the spatial distance parameter between the imaging position of the first calibration point and the imaging position of the second calibration point represents the actual spatial distance between the imaging position of the first calibration point and the imaging position of the second calibration point as an example, an object in the water will be imaged at the dotted line above the actual position. The preset distance between the first calibration point and the second calibration point is d, and the spatial distance between the imaging position of the first calibration point and the imaging position of the second calibration point is h. At this time, the relative refractive index of the first medium and the second medium can be determined according to the following steps: Determining the refraction angle of the imaging light path of the second calibration point according to the spatial distance parameter and the preset relative position; The relative refractive index of the first medium and the second medium is determined according to the refraction angle and the incident angle of the imaging light path of the second calibration point; wherein the incident angle is obtained according to the camera extrinsic parameters of the second image.
[0037] Specifically, in the imaging optical path of the second calibration point, the difference k between the imaging position of the second calibration point and the actual position is related as follows: , the incident angle α and the angle between the imaging position of the second calibration point and the line connecting the incident point and the water surface Existence relationship: , we can get the angle between the imaging position of the second calibration point and the line connecting the incident point, and the line connecting the second calibration point and the incident point , so that the refraction angle of the imaging light path of the second calibration point can be obtained ; According to the law of refraction, we have , and thus the relative refractive index of air-water can be obtained .
[0038] It is understandable that, since the water surface is horizontal, the incident angle can be obtained based on the angle sensor on the camera, or the incident angle can be determined by fixing the camera's shooting angle using an inclinometer or the like. In the case where the interface of the dielectric layer is non-horizontal, the incident angle can still be determined based on the camera's shooting parameters, such as first modeling the incident surface and then calculating the camera's incident angle.
[0039] In step 130 of the embodiment of the present invention, the position parameter of the target is the azimuth of the target, and the step of determining the position parameter of the target according to the relative refractive index includes: The azimuth angle of the target is determined according to the azimuth angle corresponding to the imaging position of the target and the relative refractive index.
[0040] In some applications, such as assisted aiming, complete target positioning information is not required, so only the azimuth between the observer and the target can be calculated. In the embodiment of the present invention, the azimuth of the target at any aiming angle can be calculated based on the obtained refractive index information. ,in For the aiming angle, the aiming angle information may be provided by an angle sensor of an auxiliary aiming system.
[0041] Furthermore, before step 110 of the embodiment of the present invention, the following steps are also included: The first calibration point and / or the second calibration point are illuminated.
[0042] In the embodiment of the present invention, when the first image and the second image are captured by a visible light camera, the recognition of the first calibration point in the first image and the recognition of the second calibration point in the second image are greatly affected by the environment. For example, in nighttime environments, environments with low visibility, environments with low water quality, etc., it is difficult for the first image and the second image captured by the visible light camera to accurately calibrate the imaging positions of the first calibration point and the second calibration point. Therefore, before capturing the first image and the second image, the first calibration point and / or the second calibration point may be illuminated to improve the image quality, reduce the uncertainty of calibrating the imaging positions of the first calibration point and the second calibration point, and thus improve the positioning accuracy.
[0043] Furthermore, when the target positioning method of the embodiment of the present invention is applied to air-water positioning, blue light is used to illuminate the first calibration point and / or the second calibration point. Since water absorbs less blue light, using blue light to illuminate the calibration point can improve the lighting effect and avoid the absorption of visible light by the water body.
[0044] It is understandable that the target positioning method of the embodiment of the present invention can design more calibration points to adapt to the multi-medium layer scene. The calibration point in the embodiment of the present invention can be a data point, or a two-dimensional structure composed of multiple discrete data points, multiple continuous data points, a multi-dimensional structure or a combination thereof. The more data points used for calibration, the more accurate the calculated relative refractive index.
[0045] To summarize, the target positioning method of the embodiment of the present invention, by designing the first calibration point and the second calibration point to have a preset relative position, since the difference between the imaging position and the actual position is completely caused by the refraction of light between the media, the relative refractive index can be determined according to the difference between the preset relative position and the imaging position, and the target is further positioned according to the relative refractive index, so that the refractive index between the media can be determined using only a single visual sensor, avoiding the problem of being unable to locate the target according to the image position or positioning misalignment due to the difference in the position of the object and the image caused by the refraction of light, and accurate positioning of targets across medium layers can be achieved without introducing more hardware costs, and parameters can be freely designed according to application scenarios to reduce computing power overhead.
[0046] Figure 3 is a schematic diagram of the structure of the target positioning device provided by the present invention, such as Figure 4 As shown, including: An image acquisition module 310 is used to acquire a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; A refractive index determination module 320, configured to determine a relative refractive index of a first medium and a second medium according to the first image and the second image; The position parameter determination module 330 is used to determine the position parameter of the target according to the relative refractive index.
[0047] It can be seen that the target positioning device of the embodiment of the present invention can be designed to have a preset relative position by designing the first calibration point and the second calibration point. Since the difference between the imaging position and the actual position is completely caused by the refraction of light between the media, the relative refractive index can be determined according to the difference between the preset relative position and the imaging position, and the target is further positioned according to the relative refractive index, so that the refractive index between the media can be determined using only a single visual sensor, avoiding the problem of being unable to locate the target according to the image position or positioning misalignment due to the difference in the position of the object and the image caused by the refraction of light, and achieving accurate positioning of targets across medium layers.
[0048] Figure 4 : is a schematic diagram of the structure of the auxiliary aiming system provided by the present invention, such as Figure 4 As shown, it includes a calibration device 410, a camera 420 and a computing device 430, wherein: The calibration device 410 is used to determine a first calibration point and a second calibration point; The camera 420 is used to capture a first image of a first calibration point and a second image of a second calibration point; The computing device 430 is used to implement the target positioning method provided by the embodiment of the present invention, including: acquiring a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; determining a relative refractive index of a first medium and a second medium according to the first image and the second image; According to the relative refractive index, the position parameter of the target is determined.
[0049] In an embodiment of the present invention, the first calibration point and the second calibration point are feature points on the calibration device 510. The calibration device of the embodiment of the present invention may be a solid device with high surface reflectivity. The surface color of the calibration device of the embodiment of the present invention may be set to suit the application scenario. For example, when the auxiliary aiming system of the embodiment of the present invention is applied to air-water positioning, the surface color of the calibration device may be blue to reduce the absorption rate of light reflected by the calibration point and improve the recognition of the calibration points in the first image and the second image taken by the camera. In another embodiment of the present invention, the first calibration point and the second calibration point on the calibration device 410 may be light-emitting units.
[0050] In an embodiment of the present invention, the auxiliary aiming system further includes a fill light, which is fixedly disposed on the calibration device, and is used to illuminate the first calibration point and / or the second calibration point.
[0051] When the camera 420 is a visible light camera, that is, the first image and the second image are captured by the visible light camera, the recognition of the first calibration point in the first image and the recognition of the second calibration point in the second image are greatly affected by the environment. For example, in nighttime environments, environments with low visibility, environments with low water quality, etc., it is difficult for the first image and the second image captured by the visible light camera to accurately calibrate the imaging positions of the first calibration point and the second calibration point. Therefore, a fill light is set on the calibration device, and before the first image and the second image are captured, the first calibration point and / or the second calibration point can be illuminated to improve the image quality, reduce the uncertainty of calibrating the imaging positions of the first calibration point and the second calibration point, and thus improve the positioning accuracy.
[0052] In the embodiment of the present invention, the fill light includes a blue light fill light.
[0053] When the target positioning method of the embodiment of the present invention is applied to air-water positioning, a blue light fill light is used to illuminate the first calibration point and / or the second calibration point. Since water absorbs less blue light, using blue light to illuminate the calibration point can improve the lighting effect, avoid the absorption of visible light by the water body, and further enhance the detectable depth in the water.
[0054] In the embodiment of the present invention, a filter may be provided on the camera 420, and the color of the filter corresponds to the color of the fill light and / or the surface color of the calibration device. For example, when the target positioning method of the embodiment of the present invention is applied to air-water positioning, the color of the fill light is blue, and the surface color of the calibration device is blue. At this time, setting the filter to blue can reduce stray light captured by the camera, improve the contrast between the first image and the second image, and improve the accuracy of the imaging position of the first calibration point and the second calibration point.
[0055] Figure 5 Schematic diagram of the optical principle of the auxiliary aiming system provided by the present invention. Figure 5 As shown, the auxiliary aiming system of the embodiment of the present invention can be assembled in an auxiliary shooting system with a visual telescopic system, wherein the visual telescopic system is used to make the light reflected by the distant target object form an upright image on the display screen after passing through the imaging optical path.
[0056] As a specific embodiment, the imaging optical path of the visual telescope system may include an objective lens, a turning prism, a display screen and an eyepiece arranged along the main optical axis. After the light of the target is imaged by the objective lens, the image is turned upside down by the turning prism, and finally formed on the display screen and observed by the human eye through the eyepiece. The display screen is located at the image focus of the objective lens, so that the azimuth angle of the image of the target coincides with the azimuth angle of the actual target.
[0057] It is understandable that the auxiliary shooting system may further include an angle sensor for measuring the visual angle and / or the shooting angle of the camera relative to the medium surface. Preferably, when the auxiliary shooting system is applied to air-water positioning, the optical axis of the camera shooting is parallel to the main optical axis of the imaging optical path of the visual telescope system, so that the visual angle and the shooting angle of the camera relative to the medium surface are the same.
[0058] The display screen of the auxiliary shooting system is connected to the computing device 430 for communication. When the position parameter of the auxiliary aiming system of the embodiment of the present invention is the azimuth between the observer and the target, the azimuth of the target can be displayed on the display screen of the auxiliary shooting system after correction. This means that the target position displayed on the display screen coincides with the actual position of the target, whether in the air or in the water, thereby improving the usability of the auxiliary shooting system.
[0059] In summary, the auxiliary aiming system of the embodiment of the present invention is designed to have a preset relative position for the first calibration point and the second calibration point. Since the difference between the imaging position and the actual position is completely caused by the refraction of light between the media, the relative refractive index can be determined according to the difference between the preset relative position and the imaging position, and the target is further positioned according to the relative refractive index, so that the refractive index between the media can be determined using only a single visual sensor, avoiding the problem of being unable to locate the target according to the image position or positioning misalignment due to the difference in the position of the object and the image caused by the refraction of light, and achieving accurate positioning of targets across medium layers.
[0060] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the target positioning method, including: Acquire a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; determining a relative refractive index of a first medium and a second medium according to the first image and the second image; According to the relative refractive index, the position parameter of the target is determined.
[0061] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the 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 to enable 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, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0062] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the target positioning method provided by the above methods, including: Acquire a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; determining a relative refractive index of a first medium and a second medium according to the first image and the second image; According to the relative refractive index, the position parameter of the target is determined.
[0063] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the target positioning method provided by the above methods, including: Acquire a first image of a first calibration point and a second image of a second calibration point; the first calibration point is in a first medium, and the second calibration point is in a second medium; the first calibration point and the second calibration point have a preset relative position; determining a relative refractive index of a first medium and a second medium according to the first image and the second image; According to the relative refractive index, the position parameter of the target is determined.
[0064] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0065] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A target positioning method, characterized in that: include: Acquire a first image of a first calibration point and a second image of a second calibration point; The first calibration point is in the first medium, and the second calibration point is in the second medium; The first calibration point and the second calibration point have a preset relative position; determining a relative refractive index of a first medium and a second medium according to the first image and the second image; According to the relative refractive index, the position parameter of the target is determined.
2. The target positioning method according to claim 1, characterized in that: The determining the relative refractive index of the first medium and the second medium according to the first image and the second image comprises: Determining a spatial distance parameter between an imaging position of a first calibration point and an imaging position of a second calibration point according to the first image and the second image; The relative refractive index of the first medium and the second medium is determined according to the spatial distance parameter and the preset relative position.
3. The target positioning method according to claim 2, characterized in that: The determining the relative refractive index of the first medium and the second medium according to the spatial distance parameter and the preset relative position includes: Determining the refraction angle of the imaging light path of the second calibration point according to the spatial distance parameter and the preset relative position; The relative refractive index of the first medium and the second medium is determined according to the refraction angle and the incident angle of the imaging light path of the second calibration point; wherein the incident angle is obtained according to the camera extrinsic parameters of the second image.
4. The target positioning method according to claim 1, characterized in that: The position parameter of the target is the azimuth of the target. The step of determining the position parameter of the target according to the relative refractive index comprises: The azimuth angle of the target is determined according to the azimuth angle corresponding to the imaging position of the target and the relative refractive index.
5. The target positioning method according to claim 1, characterized in that: Before acquiring the first image of the first calibration point and the second image of the second calibration point, the method further includes: The first calibration point and / or the second calibration point are illuminated.
6. The target positioning method according to claim 5, characterized in that: The step of illuminating the first calibration point and / or the second calibration point comprises: The first calibration point and / or the second calibration point are illuminated using blue light.
7. A target positioning device, characterized in that: include: An image acquisition module, used to acquire a first image of a first calibration point and a second image of a second calibration point; The first calibration point is in the first medium, and the second calibration point is in the second medium; the first calibration point and the second calibration point have a preset relative position; a refractive index determination module, configured to determine a relative refractive index of a first medium and a second medium according to the first image and the second image; The position parameter determination module is used to determine the position parameter of the target according to the relative refractive index.
8. An auxiliary aiming system, characterized in that: It includes a calibration device, a camera and a computing device, wherein: The calibration device is used to determine a first calibration point and a second calibration point; The camera is used to capture a first image of a first calibration point and a second image of a second calibration point; The computing device is used to implement the target positioning method according to any one of claims 1-6.
9. The auxiliary aiming system according to claim 8, characterized in that: The auxiliary aiming system also includes a fill light, which is fixedly arranged on the calibration device and is used to illuminate the first calibration point and / or the second calibration point.
10. The auxiliary aiming system according to claim 9, characterized in that: The fill light includes a blue light fill light.
Citation Information
Patent Citations
Computer vision based transparent medium refractivity measurement method
CN105181646A
Underwater camera calibration method based on multiple media
CN114663531A
Underwater refraction imaging model parameter calibration method and system based on monocular vision
CN117475010A
Refractive index measuring method based on double images
CN117664916A
Method and device for determining three-dimensional position of target, electronic equipment and storage medium
CN118570287A
Cited By
Method and device for determining the refractive index of a surface region of an object
US12474264B2
