A method, apparatus and device for adjusting a cursor position

By calculating the position information of the laser rangefinder and the thermal imaging lens and the calibrated parameters, the position of the laser cursor is adjusted, which solves the problem of insufficient laser positioning accuracy and achieves accurate positioning when the distance to the target object changes or the lens is changed.

CN116337242BActive Publication Date: 2026-11-20HANGZHOU MICROIMAGE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310267178.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-14
Publication Date
2026-11-20
Estimated Expiration
2043-03-14

AI Technical Summary

Technical Problem

In thermal imaging equipment, the physical distance between the laser rangefinder and the thermal imaging lens causes the laser cursor to deviate from the position of the target object in the thermal image, reducing the accuracy of laser positioning, especially when the distance to the target object changes or the lens is changed, the positioning becomes inaccurate.

Method used

By determining the positional information and calibrated parameters between the laser rangefinder and the thermal imaging lens, the target offset of the laser cursor in the thermal imaging image is calculated, and the cursor position is adjusted accordingly to bring the cursor closer to the target object, thereby improving positioning accuracy.

Benefits of technology

When the distance to the target object changes or the lens is changed, the laser cursor position is effectively calibrated, improving the accuracy of laser positioning and ensuring that the cursor is closer to the target object in the thermal imaging image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116337242B_ABST
    Figure CN116337242B_ABST
Patent Text Reader

Abstract

The application provides a cursor position adjustment method, device and equipment, the method comprising: emitting laser to a target object through a laser range finder, and collecting a corresponding thermal imaging image of the target object, the thermal imaging image comprising a corresponding laser cursor of the laser range finder; determining a target offset of the laser cursor in the thermal imaging image based on calibrated parameters corresponding to a thermal imaging lens, position information between the laser range finder and the thermal imaging lens; and adjusting the position of the laser cursor based on the target offset. Through the technical solution of the application, the position of the laser cursor in the thermal imaging image can be accurately determined, the position of the laser cursor in the image can be made close to the position of the target object indicated by the laser, the deviation between the position of the laser cursor and the position of the target object can be reduced, and the positioning accuracy of the laser indication can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of infrared thermal imaging technology, and in particular to a method, apparatus and device for adjusting cursor position. Background Technology

[0002] Thermal imaging devices utilize laser and thermal imaging technology to image and locate target objects, thus achieving laser positioning. For example, a thermal imaging device may include a laser rangefinder and a thermal imaging lens. During target object positioning, the laser rangefinder emits a laser beam towards the target object, and the thermal imaging lens acquires a corresponding thermal image of the target object. A laser cursor is then added to the thermal image to locate the target object. However, when thermal imaging devices are manufactured, the laser cursor is typically calibrated at a fixed object distance. For instance, the laser cursor is first positioned at the center of the thermal image, always aligned with the optical axis of the thermal imaging lens, and its position is not subsequently changed. Then, at this fixed distance, the laser emission angle is adjusted so that the laser optical axis intersects with the optical axis of the thermal imaging lens. At this point, the laser cursor in the thermal image coincides with the laser-indicated target object in the actual scene. Because of the physical distance between the laser rangefinder and the thermal imaging lens, when the distance to the target changes, the laser cursor remains in the center of the thermal imaging image, but the target object indicated by the laser is not in the center of the thermal imaging image. That is, the position of the laser cursor in the thermal imaging image deviates from the target object indicated by the laser, which reduces the accuracy of laser pointing and positioning. Summary of the Invention

[0003] This application provides a method for adjusting the cursor position, applied to a thermal imaging device, the thermal imaging device including a laser rangefinder and a thermal imaging lens, the method comprising:

[0004] The laser rangefinder emits a laser to the target object and acquires a thermal image of the target object, the thermal image including a laser cursor corresponding to the laser rangefinder;

[0005] Based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens, the target offset of the laser cursor in the thermal imaging image is determined;

[0006] The position of the laser cursor is adjusted based on the target offset.

[0007] This application provides a cursor position adjustment device applied to a thermal imaging device, the thermal imaging device including a laser rangefinder and a thermal imaging lens, the device comprising:

[0008] The acquisition module is used to emit a laser to a target object through the laser rangefinder and acquire a thermal imaging image of the target object, wherein the thermal imaging image includes a laser cursor corresponding to the laser rangefinder;

[0009] The determination module is used to determine the target offset of the laser cursor in the thermal imaging image based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens;

[0010] An adjustment module is used to adjust the position of the laser cursor based on the target offset.

[0011] This application provides a thermal imaging device, including: a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the cursor position adjustment method of the above example of this application.

[0012] As can be seen from the above technical solutions, in this embodiment, based on the calibrated parameters corresponding to the thermal imaging lens and the positional information between the laser rangefinder and the thermal imaging lens, the target offset of the laser cursor is determined. The position of the laser cursor is then adjusted based on this target offset, thereby making the position of the laser cursor in the thermal imaging image closer to the position of the target object indicated by the laser, improving the positioning accuracy of the laser. Furthermore, when the distance to the target object changes, or when the thermal imaging lens is replaced, the position of the laser cursor can be effectively calibrated, making the target object in the thermal imaging image closer to the position of the laser cursor, thus improving the positioning accuracy of the laser rangefinder. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments of this application or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings of the embodiments of this application.

[0014] Figure 1 This is a flowchart illustrating a method for adjusting the cursor position in one embodiment of this application;

[0015] Figure 2 This is a schematic flowchart of the laser calibration process in one embodiment of this application;

[0016] Figure 3 This is a schematic diagram illustrating the determination of calibrated parameters in one embodiment of this application;

[0017] Figure 4This is a flowchart illustrating the automatic adjustment process of the laser cursor in one embodiment of this application;

[0018] Figure 5 This is a schematic diagram illustrating the determination of the target offset of a laser cursor in one embodiment of this application;

[0019] Figure 6 This is a schematic diagram of the cursor position adjustment device in one embodiment of this application;

[0020] Figure 7 This is a hardware structure diagram of a thermal imaging device according to one embodiment of this application. Detailed Implementation

[0021] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “the,” and “the” as used in this application and claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to any and all possible combinations comprising one or more of the associated listed items.

[0022] It should be understood that although the terms first, second, third, etc., may be used to describe various information in embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" may also be interpreted as "when," "when," or "in response to a determination."

[0023] This application proposes a method for adjusting the cursor position. This method can be applied to a thermal imaging device, which may include a laser rangefinder and a thermal imaging lens. See [link to relevant documentation]. Figure 1 The diagram shown illustrates a flowchart of a method for adjusting the cursor position. This method may include:

[0024] Step 101: Emits a laser to the target object using a laser rangefinder and acquires a thermal image of the target object. This thermal image may include the laser cursor corresponding to the laser rangefinder. For example, the center of the thermal image may be the laser cursor corresponding to the laser rangefinder.

[0025] Step 102: Based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens, determine the target offset of the laser cursor in the thermal imaging image.

[0026] Proceed to step 103: Adjust the position of the laser cursor based on the target offset. For example, determine the target cursor position of the laser cursor based on the target offset and the initial cursor position of the laser cursor (such as the center position of the thermal imaging image), and adjust the laser cursor in the thermal imaging image to the target cursor position. In other words, adjust the laser cursor in the thermal imaging image to the position of the target object actually indicated by the laser.

[0027] In one possible implementation, the process of determining the calibrated parameters corresponding to the thermal imaging lens may include, but is not limited to: emitting a laser to the sample object using a laser rangefinder and acquiring a thermal imaging image of the sample object, wherein the thermal imaging image may include a laser cursor corresponding to the laser rangefinder; for example, the center position of the thermal imaging image may be the laser cursor corresponding to the laser rangefinder. Then, by adjusting the position of the laser cursor so that the adjusted position of the laser cursor coincides with the position of the sample object in the thermal imaging image (i.e., the two are at the same position), and determining the sample offset of the laser cursor based on the adjusted position of the laser cursor, and determining the calibrated parameters corresponding to the thermal imaging lens based on the sample offset.

[0028] For example, calibrated parameters may include sample offset and sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens. Alternatively, calibrated parameters may include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens.

[0029] For example, if the calibrated parameters include the offset angle, the calibrated parameters corresponding to the thermal imaging lens can be determined based on the sample offset, including but not limited to: the sample distance between the sample object and the projection point on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, to determine the offset angle between the first optical axis and the second optical axis.

[0030] Based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, the offset angle between the first optical axis and the second optical axis is determined. This can include: determining the projection distance between the sample object and the projection point of the sample object on the second optical axis based on the sample offset, the sample distance, and the focal length of the thermal imaging lens; and determining the offset angle between the first optical axis and the second optical axis based on the projection distance, the position information between the laser rangefinder and the thermal imaging lens, and the sample distance.

[0031] In one possible implementation, the target offset of the laser cursor in the thermal imaging image is determined based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens. This may include, but is not limited to, determining the target offset of the laser cursor in the thermal imaging image based on the calibrated parameters corresponding to the thermal imaging lens, the target distance between the target object and the laser rangefinder, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens.

[0032] For example, if the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, the target offset of the laser cursor can be determined as follows: based on the positional information between the laser rangefinder and the thermal imaging lens, the target distance, and the offset angle, determine the projection distance between the target object and its projection point on the second optical axis; based on the target distance and the offset angle, determine the distance between the projection point of the target object on the second optical axis and the thermal imaging lens; the target offset of the laser cursor can be determined based on the projection distance, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, and the focal length of the thermal imaging lens.

[0033] In one possible implementation, if the thermal imaging device can support at least one thermal imaging lens (e.g., multiple thermal imaging lenses), each thermal imaging lens is sequentially installed into the thermal imaging device before it leaves the factory. During installation, the calibrated parameters corresponding to each lens are determined, and the mapping relationship between the lens and its calibrated parameters is recorded. After the thermal imaging device leaves the factory, when installing a lens, the calibrated parameters can be queried based on the mapping relationship.

[0034] As can be seen from the above technical solutions, in this embodiment, based on the calibrated parameters corresponding to the thermal imaging lens and the positional information between the laser rangefinder and the thermal imaging lens, the target offset of the laser cursor is determined. The position of the laser cursor is then adjusted based on this target offset, thereby making the position of the laser cursor in the thermal imaging image closer to the position of the target object indicated by the laser, improving the positioning accuracy of the laser. Furthermore, when the distance to the target object changes, or when the thermal imaging lens is replaced, the position of the laser cursor can be effectively calibrated, making the target object in the thermal imaging image closer to the position of the laser cursor, thus improving the positioning accuracy of the laser rangefinder.

[0035] The technical solutions described above in the embodiments of this application will be explained below in conjunction with specific application scenarios.

[0036] Thermal imaging equipment can include laser rangefinders and thermal imaging lenses. A laser rangefinder is an instrument that uses laser light to accurately locate a target object. It emits a laser beam to the target object and measures the distance between the target object and the laser rangefinder. A thermal imaging lens is an instrument used to image a target object. It uses thermal imaging technology to acquire a thermal image of the target object. Thermal imaging technology detects infrared energy (heat) non-contactly and converts it into an electrical signal to generate a thermal image. The thermal image is related to the surface temperature of the object, and the surface temperature can be determined based on the thermal image.

[0037] During the process of thermal imaging equipment capturing a target object, a laser rangefinder emits a laser towards the target object, and a thermal imaging lens acquires a corresponding thermal image of the target object. A laser cursor is then displayed at the location of the target object, thus achieving target object localization. In other words, the location of the laser cursor is the location of the target object. For example, the laser cursor might be located at the center of the thermal image, and the target object's location might also be located at the center of the thermal image, making the laser cursor's location the target object's location.

[0038] However, because there is a physical distance between the laser rangefinder and the thermal imaging lens when the thermal imaging equipment is manufactured, although the laser cursor will be located in the center of the thermal image, the target object will not be located in the center of the thermal image, but will be deviated from the center of the thermal image. This results in the laser cursor being located in a different position from the target object being indicated by the laser. In other words, there is a deviation between the location of the laser cursor and the location of the target object, which leads to inaccurate positioning of the target object.

[0039] In response to the above findings, this application proposes a method for adjusting the position of a laser cursor. When the distance between the laser cursor and the target object changes, the position of the laser cursor can be adjusted so that the position of the laser cursor is close to the position of the target object (i.e., adjusted from the center of the thermal imaging image to the position of the target object). This reduces the deviation between the position of the laser cursor and the position of the target object, enables accurate determination of the laser cursor's position, and improves the positioning accuracy of the laser pointer.

[0040] In this embodiment, a laser calibration process and an automatic laser cursor adjustment process may be involved. For example, the laser calibration process is completed before the thermal imaging device leaves the factory. During the laser calibration process, calibrated parameters need to be set for the thermal imaging lens, that is, the thermal imaging device stores the calibrated parameters corresponding to the thermal imaging lens. Furthermore, the automatic laser cursor adjustment process is completed after the thermal imaging device leaves the factory, that is, during the actual use of the thermal imaging device. During the automatic laser cursor adjustment process, the cursor position can be automatically adjusted based on the calibrated parameters corresponding to the thermal imaging lens.

[0041] In one possible implementation, the thermal imaging device can support at least one thermal imaging lens. These lenses can be of different types or of the same type, such as thermal imaging lens 1, thermal imaging lens 2, and thermal imaging lens 3. When thermal imaging lens 1 is installed in the thermal imaging device, if the thermal imaging lens is replaced based on user needs, thermal imaging lens 1 is removed from the thermal imaging device, and thermal imaging lens 2 is reinstalled. Similarly, if the thermal imaging lens is replaced based on user needs, thermal imaging lens 2 is removed from the thermal imaging device, and thermal imaging lens 3 is reinstalled, and so on. It should be noted that when different thermal imaging lenses are installed in the thermal imaging device, they are installed in the same position within the thermal imaging device. Therefore, the positional information of the laser rangefinder and the thermal imaging lens remains unchanged when using different thermal imaging lenses.

[0042] When a thermal imaging device supports multiple thermal imaging lenses, the laser calibration process requires setting calibrated parameters for each lens, and the device stores these parameters. For example, before the device leaves the factory, thermal imaging lens 1 is installed, its corresponding calibrated parameter 1 is determined, and the mapping relationship between lens 1 and parameter 1 is recorded. Then, lens 1 is removed from the device, and thermal imaging lens 2 is installed. Its corresponding calibrated parameter 2 is determined, and the mapping relationship between lens 2 and parameter 2 is recorded. Next, thermal imaging lens 2 is removed, and thermal imaging lens 3 is installed. Its corresponding calibrated parameter 3 is determined, and the mapping relationship between lens 3 and parameter 3 is recorded. This completes the laser calibration process.

[0043] After the thermal imaging equipment leaves the factory, during the automatic adjustment process of the laser cursor, when a thermal imaging lens is installed into the equipment, the corresponding calibrated parameters of that lens can be queried based on the mapping relationship, and the cursor position can be automatically adjusted based on those calibrated parameters. For example, when thermal imaging lens 1 is installed into the equipment, the corresponding calibrated parameter 1 can be queried based on the mapping relationship, and the cursor position can be automatically adjusted based on calibrated parameter 1, and so on.

[0044] First, the laser calibration process. During laser calibration, the calibrated parameters need to be set for each thermal imaging lens. Since the processing method is the same for each thermal imaging lens, we will use one thermal imaging lens as an example below.

[0045] A thermal imaging lens is installed on the thermal imaging equipment, and the optical axis of the lens remains fixed. A laser rangefinder is installed on the thermal imaging equipment, but not fixed in place; the emission angle of the laser rangefinder's optical axis can be adjusted. The laser rangefinder is then turned on, and its emission angle is adjusted using target positioning to make its optical axis parallel or nearly parallel to the optical axis of the thermal imaging lens. After the laser rangefinder's optical axis is adjusted, it is fixed in place, meaning its optical axis no longer changes. However, when fixing the laser rangefinder, assembly errors can cause its optical axis to shift, making it no longer parallel to the optical axis of the thermal imaging lens; or, due to adjustments to the laser rangefinder's optical axis, the two axes may not be parallel.

[0046] After fixing the laser rangefinder and installing the thermal imaging lens on the thermal imaging device, see [link to documentation]. Figure 2 The diagram shown is a flowchart of the laser calibration process, which may include:

[0047] Step 201: Emit a laser to the sample object using a laser rangefinder and acquire a thermal imaging image of the sample object. The thermal imaging image may include the laser cursor corresponding to the laser rangefinder; for example, the center position of the thermal imaging image may be the laser cursor corresponding to the laser rangefinder.

[0048] For example, before the thermal imaging device leaves the factory, a sample object can be placed in the target scene (i.e., any scene used for laser calibration of the thermal imaging device). During the imaging process of the sample object, the thermal imaging device emits a laser to the sample object through a laser rangefinder and acquires a corresponding thermal image of the sample object through a thermal imaging lens. Assume the initial position of the laser cursor is located at the center of the thermal image, at which point the laser cursor coincides with the optical axis of the lens. Due to the physical distance between the laser rangefinder and the thermal imaging lens, the position of the laser cursor in the thermal image is different from the position of the sample object indicated by the laser; that is, the position of the sample object cannot be accurately reflected by the position of the laser cursor.

[0049] Step 202: Adjust the position of the laser cursor so that the adjusted position of the laser cursor coincides with the actual position of the sample object, and determine the sample offset of the laser cursor based on the adjusted position of the laser cursor.

[0050] For example, the actual location of a sample object can be determined from a thermal imaging image; that is, the thermal imaging image reflects the actual location of the sample object. Based on this, the position of the laser cursor can be adjusted so that the adjusted position of the laser cursor coincides with the actual location of the sample object. For instance, a user can find the actual location of the sample object from the thermal imaging image and move the laser cursor to that location so that the adjusted position of the laser cursor coincides with the actual location of the sample object. Alternatively, the thermal imaging device can analyze the actual location of the sample object from the thermal imaging image and move the laser cursor to that location so that the adjusted position of the laser cursor coincides with the actual location of the sample object.

[0051] After aligning the adjusted position of the laser cursor with the actual position of the sample object, the sample offset of the laser cursor can be determined. The sample offset represents the amount of movement from the initial cursor position (such as the center of the thermal imaging image) to the target cursor position (i.e., the actual position of the sample object). The sample offset can include a horizontal sample offset X1 and a vertical sample offset Y1.

[0052] For example, let's establish a coordinate system with the center of the thermal image as the origin, the horizontal direction to the right as the X-axis, and the vertical direction upward as the Y-axis. The initial cursor position of the laser cursor is (0, 0). Assuming the target cursor position is (a, b), the sample offset X1 is the difference between a and 0, that is, the offset of the laser cursor in the horizontal direction is X1. The sample offset X1 is a vector with direction. The sign determines the offset direction, and the magnitude of the absolute value determines the offset distance. For example, when X1 is 10, it means that the laser cursor is offset 10 to the right from the initial cursor position (0, 0). When X1 is -10, it means that the laser cursor is offset 10 to the left from the initial cursor position (0, 0). The sample offset Y1 is the difference between b and 0, that is, the offset of the laser cursor in the vertical direction is Y1. The sample offset Y1 is a vector with direction. The sign determines the offset direction, and the magnitude of the absolute value determines the offset distance. For example, when Y1 is 20, it means that the laser cursor is offset upward by 20 from the initial cursor position (0,0). When Y1 is -20, it means that the laser cursor is offset downward by 20 from the initial cursor position (0,0).

[0053] Step 203: Determine the calibrated parameters corresponding to the thermal imaging lens based on the sample offset of the laser cursor.

[0054] For example, the calibrated parameters corresponding to the thermal imaging lens may include the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, or the calibrated parameters corresponding to the thermal imaging lens may include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens. Of course, the above are just examples of calibrated parameters, and there are no limitations on these calibrated parameters.

[0055] Case 1: The calibrated parameters may include sample offset and sample distance.

[0056] For example, during the positioning of a sample object by a thermal imaging device, a laser rangefinder can emit a laser beam towards the sample object, and the distance between the sample object and the laser rangefinder can be determined using laser ranging technology. Since the distance between the sample object and the laser rangefinder is approximately the same as the sample distance, this distance can be recorded as the sample distance. Alternatively, after placing the sample object at a designated location, the user can provide the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens. Of course, the above are merely examples of determining the sample distance and are not intended to be limiting.

[0057] For example, in step 202, the sample offset has already been obtained.

[0058] In summary, the sample offset and sample distance can be obtained, and then the calibrated parameters corresponding to the thermal imaging lens can be obtained and stored on the thermal imaging device.

[0059] Scenario 2: The calibrated parameters may include the offset angle between the first and second optical axes. Based on this, the offset angle between the first and second optical axes can be determined using the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the positional information between the laser rangefinder and the thermal imaging lens. For example, based on the sample offset, sample distance, and focal length of the thermal imaging lens, the projection distance between the sample object and its projection point on the second optical axis can be determined; based on the projection distance, the positional information between the laser rangefinder and the thermal imaging lens, and the sample distance, the offset angle between the first and second optical axes can be determined.

[0060] See Figure 3 The diagram shown illustrates the determination of calibrated parameters (such as offset angle), α y The first optical axis represents the offset angle between the first optical axis and the second optical axis, that is, the relative offset angle between the first optical axis and the second optical axis in the vertical direction. hy represents the positional information between the thermal imaging lens and the laser rangefinder (such as the vertical distance between the thermal imaging lens and the laser rangefinder, that is, the physical distance between the thermal imaging lens and the laser rangefinder in the vertical direction). h1 represents the projection distance between the sample object and the projection point of the sample object on the second optical axis. M1 represents the sample object. z1 represents the sample distance, which is the distance between the projection point of the sample object M1 on the second optical axis and the thermal imaging lens. y1 represents the sample offset. f represents the focal length of the thermal imaging lens.

[0061] For example, assuming the focal length of the thermal imaging lens is f, when a laser is emitted to the sample object M1 via a laser rangefinder at a sample distance z1, the sample object M1 will have a laser point. The position of the laser point is the position of the laser cursor. By adjusting the laser cursor in the thermal imaging image so that the adjusted position of the laser cursor coincides with the actual position of the sample object M1, the position of the laser cursor is the sample offset y1. Based on the sample offset y1 (such as the sample offset in the vertical direction), the projection distance h1 between the sample object M1 and the projection point of the sample object M1 on the second optical axis can be obtained. That is, draw a perpendicular line from point M1 to the second optical axis, the intersection of the perpendicular line and the second optical axis is the foot of the perpendicular, and h1 is the distance between point M1 and the foot of the perpendicular (i.e., the projection point).

[0062] Based on the above parameters and according to the imaging formula, the functional relationship shown in formula (1) can be obtained:

[0063]

[0064] In formula (1), h1 represents the projection distance between the projection points of sample object M1 and the projection points of sample object M1 on the second optical axis, z1 represents the distance between sample object M1 and the laser rangefinder, the distance between sample object M1 and the laser rangefinder is approximately the sample distance (i.e. the distance between the projection point of sample object M1 on the second optical axis and the thermal imaging lens), the sample distance z1 can be obtained based on laser ranging technology, y1 represents the sample offset in the vertical direction, the determination method is described in step 202, f represents the focal length of the thermal imaging lens, the focal length f of the thermal imaging lens can be read from the thermal imaging lens, i.e. the focal length f of the thermal imaging lens is a known value.

[0065] In summary, the sample distance z1, the vertical sample offset y1, and the focal length f of the thermal imaging lens are all known values, thus the projection distance h1 can be calculated. Obviously, it can be seen from formula (1) that the projection distance h1 between the sample object M1 and the projection point of the sample object M1 on the second optical axis can be determined based on the sample offset y1, the sample distance z1, and the focal length f of the thermal imaging lens.

[0066] For example, from Figure 3 It can be seen that the offset angle α y It can be calculated using formula (2):

[0067]

[0068] In formula (2), α yLet α represent the offset angle between the first and second optical axes, hy represent the vertical distance between the thermal imaging lens and the laser rangefinder, h1 represent the projection distance between the sample object and its projection point on the second optical axis, and z1 represent the sample distance. In summary, when the sample distance z1, vertical distance hy, and projection distance h1 are all known values, the offset angle α can be calculated. y .

[0069] Obviously, it can be seen from formula (2) that the offset angle can be determined based on the projection spacing h1, the vertical distance hy between the thermal imaging lens and the laser rangefinder, and the sample distance z1.

[0070] In summary, the offset angle can be obtained, and then the calibrated parameters (i.e., offset angle) corresponding to the thermal imaging lens can be obtained, and the calibrated parameters corresponding to the thermal imaging lens can be stored on the thermal imaging device.

[0071] In summary, for scenario 1, the calibrated parameters for thermal imaging lens 1 can be sample offset a1 and sample distance b1; for thermal imaging lens 2, they can be sample offset a2 and sample distance b2; for thermal imaging lens 3, they can be sample offset a3 and sample distance b3, and so on. Specifically, sample offset a2 can be different from sample offset a1, sample distance b2 can be the same as or different from sample distance b1, sample offset a3 can be different from sample offset a1, sample distance b3 can be the same as or different from sample distance b1, sample offset a3 can be different from sample offset a2, and sample distance b3 can be the same as or different from sample distance b2.

[0072] For scenario 2, the calibrated parameter corresponding to thermal imaging lens 1 can be offset angle α1, the calibrated parameter corresponding to thermal imaging lens 2 can be offset angle α2, the calibrated parameter corresponding to thermal imaging lens 3 can be offset angle α3, and so on. Offset angle α2 can be different from offset angle α1, offset angle α3 can be different from offset angle α1, and offset angle α3 can be different from offset angle α2.

[0073] Second, the automatic adjustment process of the laser cursor.

[0074] During the automatic adjustment of the laser cursor, the calibrated parameters corresponding to the thermal imaging lens can be queried, and then the cursor position can be automatically adjusted based on these parameters. See also Figure 4 The diagram shown illustrates the automatic adjustment process of a laser cursor, which may include:

[0075] Step 401: Emits a laser to the target object using a laser rangefinder and acquires a thermal image of the target object. This thermal image may include the laser cursor corresponding to the laser rangefinder. For example, the center of the thermal image may be the laser cursor corresponding to the laser rangefinder.

[0076] For example, after the thermal imaging equipment leaves the factory, when laser positioning of a target object in an actual detection scenario is required, a laser rangefinder can emit a laser to the target object, and a thermal imaging lens can acquire a corresponding thermal image of the target object. The location of the target object can be located in the thermal image, and a laser cursor corresponding to the laser rangefinder is displayed in the thermal image, with the laser cursor located at the center of the thermal image. Although the location of the laser cursor can reflect the location of the target object, due to the physical distance between the laser rangefinder and the thermal imaging lens, the location of the laser cursor and the target object indicated by the laser are located at different positions in the thermal image. That is, the location of the target object cannot be accurately reflected by the location of the laser cursor alone, and calibration needs to be completed through an automatic adjustment process of the laser cursor.

[0077] Step 402: Based on the calibrated parameters corresponding to the thermal imaging lens, the target distance between the target object and the laser rangefinder, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, determine the target offset of the laser cursor.

[0078] For example, the calibrated parameters corresponding to the thermal imaging lens may include the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, or the calibrated parameters corresponding to the thermal imaging lens may include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens. Based on this, the process of determining the target offset may include:

[0079] Case 1: The calibrated parameters may include the offset angle between the first optical axis and the second optical axis. Based on this, the projection distance between the target object and its projection point on the second optical axis can be determined based on the position information between the laser rangefinder and the thermal imaging lens, the target distance, and the offset angle. Based on the target distance and the offset angle, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens can be determined. Based on the projection distance, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, and the focal length of the thermal imaging lens, the target offset of the laser cursor can be determined.

[0080] See Figure 5 The diagram shown illustrates the determination of the target offset of the laser cursor. yThe first optical axis represents the offset angle between the first and second optical axes, i.e., the relative offset angle between the first and second optical axes in the vertical direction. hy represents the positional information between the thermal imaging lens and the laser rangefinder, such as the physical distance between the thermal imaging lens and the laser rangefinder in the vertical direction. h1' represents the projection distance between the target object and the projection point of the target object on the second optical axis. D represents the target distance between the target object and the laser rangefinder, i.e., the object distance fed back by the laser rangefinder when testing the target object. M2 represents the target object. z1' represents the distance between the projection point of the target object on the second optical axis and the thermal imaging lens. y1 represents the sample offset. z1 represents the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens. f is the focal length of the thermal imaging lens.

[0081] Based on the above parameters, according to the imaging formula, the functional relationships shown in formulas (3), (4) and (5) can be obtained. Of course, formulas (3), (4) and (5) are just examples.

[0082] h1'=hy+D*tanα y Formula (3)

[0083] z1'=D*cosα y Formula (4)

[0084]

[0085] In formula (3), h1′ represents the projection distance, hy represents the positional information between the thermal imaging lens and the laser rangefinder, D represents the target distance, and α y This represents the offset angle. Here, hy can be the vertical or horizontal distance between the thermal imaging lens and the laser rangefinder, pre-configured in the thermal imaging device; D represents the target distance between the target object and the laser rangefinder, which can be determined based on laser ranging technology; α y These can be calibrated parameters, which are known values. Clearly, it can be seen from formula (3) that the parameters can be based on the position information hy, the target distance D, and the offset angle α. y Determine the projection spacing h1′.

[0086] In formula (4), z1' represents the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, D represents the target distance, and α y The offset angle is represented by the target distance D and the offset angle α. y Determine the distance between the projection point of the target object on the second optical axis and the thermal imaging lens.

[0087] In formula (5), h1′ represents the projection spacing, z1′ represents the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, f represents the focal length of the thermal imaging lens, which can be read from the thermal imaging lens, i.e., the focal length f is a known value, and y1′ represents the target offset. Obviously, it can be seen from formula (5) that the target offset y1′ of the laser cursor can be determined based on the projection spacing h1′, the distance z1′ between the projection point of the target object on the second optical axis and the thermal imaging lens, and the focal length f of the thermal imaging lens.

[0088] In one possible implementation, the target offset y1′ includes a horizontal target offset X2 and a vertical target offset Y2, and the position information hy includes the horizontal and vertical distances between the thermal imaging lens and the laser rangefinder. Based on this, the horizontal distance between the thermal imaging lens and the laser rangefinder (i.e., hy is this horizontal distance) can be substituted into the above formula to obtain the horizontal target offset X2 (i.e., y1′ is X2). Similarly, the vertical distance between the thermal imaging lens and the laser rangefinder (i.e., hy is this vertical distance) can be substituted into the above formula to obtain the vertical target offset Y2 (i.e., y1′ is Y2).

[0089] In summary, under case 1, based on the calibrated parameters, the target offset of the laser cursor can be obtained, for example, the target offset X2 in the horizontal direction and the target offset Y2 in the vertical direction.

[0090] Scenario 2: The calibrated parameters may include sample offset and sample distance. Based on this, the target offset of the laser cursor can be determined using the sample offset corresponding to the thermal imaging lens, the sample distance corresponding to the thermal imaging lens, the target distance between the target object and the laser rangefinder, the focal length of the thermal imaging lens, and the positional information between the thermal imaging lens and the laser rangefinder. See also Figure 5 As shown, this is a schematic diagram for determining the target offset of the laser cursor. The functional relationship shown in formula (6) and formula (7) is obtained according to the imaging formula.

[0091]

[0092]

[0093] Referring to formulas (3), (4), and (5) above, by transforming formulas (3), (4), and (5), we can obtain the functional relationship shown in formula (6). Then, by transforming formula (6), we can obtain the functional relationship shown in formula (7).

[0094] In formula (7), y1′ represents the target offset, α yLet α represent the offset angle, y1 represent the sample offset, hy represent the positional information (such as vertical and horizontal distance) between the thermal imaging lens and the laser rangefinder, f represent the focal length of the thermal imaging lens, D represent the target distance, and Z1 represent the sample distance. The offset angle α... y The sample distance Z1 and sample offset y1 are calibrated parameters and are known values. The position information hy, focal length f, and target distance D are also known values. In summary, the target offset y1′ can be determined based on the sample offset y1, sample distance Z1, target distance D, focal length f, and position information hy.

[0095] In one possible implementation, the target offset y1′ may include a horizontal target offset X2 and a vertical target offset Y2, the sample offset y1 may include a horizontal sample offset X1 and a vertical sample offset Y1, and the position information hy may include the horizontal and vertical distances between the thermal imaging lens and the laser rangefinder. Based on this, the horizontal distance between the thermal imaging lens and the laser rangefinder (i.e., hy is this horizontal distance) and the horizontal sample offset X1 (i.e., y1 is X1) can be substituted into the above formula to obtain the horizontal target offset X2 (i.e., y1′ is X2). Similarly, the vertical distance between the thermal imaging lens and the laser rangefinder (i.e., hy is this vertical distance) and the vertical sample offset Y1 (i.e., y1 is Y1) can be substituted into the above formula to obtain the vertical target offset Y2 (i.e., y1′ is Y2).

[0096] In summary, under case 2, based on the calibrated parameters, the target offset of the laser cursor can be obtained, for example, the target offset X2 in the horizontal direction and the target offset Y2 in the vertical direction.

[0097] Step 403: Adjust the position of the laser cursor based on the target offset. For example, determine the target cursor position of the laser cursor based on the target offset and the initial cursor position of the laser cursor (such as the center position of the thermal imaging image), and adjust the laser cursor in the thermal imaging image to the target cursor position.

[0098] For example, let's establish a coordinate system with the center of the thermal image as the origin, the horizontal direction to the right as the X-axis, and the vertical direction upward as the Y-axis. The initial cursor position of the laser cursor is (0, 0). Assuming the target offset is (X2, Y2), the x-coordinate of the target cursor position is the sum of the horizontal target offset X2 and 0. That is, after the laser cursor is offset by X2 in the horizontal direction, the x-coordinate of the target cursor position is obtained. The target offset X2 is a vector with direction. The sign determines the offset direction, and the magnitude of the absolute value determines the offset distance. For example, when X2 is 10, it means that the laser cursor is offset 10 to the right from the initial cursor position (0, 0), which is used as the x-coordinate of the target cursor position. When X2 is -10, it means that the laser cursor is offset 10 to the left from the initial cursor position (0, 0), which is used as the x-coordinate of the target cursor position. The vertical coordinate of the target cursor position is the sum of the vertical target offset Y2 and 0. That is, after the laser cursor is offset by Y2 in the vertical direction, the vertical coordinate of the target cursor position is obtained. The target offset Y2 is a vector with direction. The sign determines the offset direction, and the magnitude of the absolute value determines the offset distance. For example, when Y2 is 20, it means that the laser cursor is offset upward by 20 from the initial cursor position (0,0), which is used as the vertical coordinate of the target cursor position. When Y2 is -20, it means that the laser cursor is offset downward by 20 from the initial cursor position (0,0), which is used as the vertical coordinate of the target cursor position.

[0099] In summary, the target cursor position of the laser cursor can be obtained, that is, the target cursor position is (X2, Y2). Then, the laser cursor in the thermal imaging image can be adjusted to the target cursor position.

[0100] As can be seen from the above technical solutions, in this embodiment, the target offset of the laser cursor can be determined based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens. The position of the laser cursor is then adjusted based on this target offset, making the laser cursor position closer to the target object's position, reducing the deviation between the laser cursor position and the target object's position, accurately displaying the laser cursor's position, improving the target object's positioning accuracy, and enhancing the positioning accuracy of the thermal imaging device. When the test object distance of the laser rangefinder changes, the laser cursor's position can be effectively calibrated to make it closer to the target object's position. For thermal imaging devices supporting multiple thermal imaging lenses, due to the different focal lengths of the lenses, the target object indicated by the laser will have significant deviations in the images of different thermal imaging lenses. Therefore, in this embodiment, the calibrated parameters corresponding to each thermal imaging lens are determined separately, thereby effectively optimizing the influence of the focal length and improving the accuracy of the laser cursor indication. The farther the target distance indicated by the laser cursor is, the closer the laser cursor is to the center of the thermal imaging image, which better meets user needs. By pre-calibrating, and requiring only one calibration, individual differences between thermal imaging lenses can be reduced, resulting in better accuracy of laser cursor pointing.

[0101] Based on the same concept as the above method, this application proposes a cursor position adjustment device for use in a thermal imaging device, which includes a laser rangefinder and a thermal imaging lens. (See also...) Figure 6 The diagram shown is a structural schematic of the device, which may include:

[0102] The acquisition module 61 is used to emit a laser to a target object through the laser rangefinder and acquire a thermal imaging image corresponding to the target object, the thermal imaging image including a laser cursor corresponding to the laser rangefinder; the determination module 62 is used to determine the target offset of the laser cursor in the thermal imaging image based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens; the adjustment module 63 is used to adjust the position of the laser cursor based on the target offset.

[0103] In one possible implementation, when determining the calibrated parameters corresponding to the thermal imaging lens, the determining module 62 is specifically used for: emitting a laser to the sample object through the laser rangefinder, acquiring a thermal imaging image corresponding to the sample object, the thermal imaging image including a laser cursor corresponding to the laser rangefinder; adjusting the position of the laser cursor so that the adjusted position coincides with the position of the sample object in the thermal imaging image, and determining the sample offset of the laser cursor based on the adjusted position of the laser cursor; and determining the calibrated parameters corresponding to the thermal imaging lens based on the sample offset.

[0104] For example, the calibrated parameters include the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens; or, the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens; if the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, the determining module 62, when determining the calibrated parameters corresponding to the thermal imaging lens based on the sample offset, is specifically used to: determine the offset angle between the first optical axis and the second optical axis based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens.

[0105] For example, when determining the offset angle between the first optical axis and the second optical axis based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, the determining module 62 is specifically used to: determine the projection spacing between the sample object and the projection point of the sample object on the second optical axis based on the sample offset, the sample distance, and the focal length of the thermal imaging lens; and determine the offset angle between the first optical axis and the second optical axis based on the projection spacing, the position information between the laser rangefinder and the thermal imaging lens, and the sample distance.

[0106] For example, when determining the target offset of the laser cursor in the thermal imaging image based on the calibrated parameters corresponding to the thermal imaging lens and the position information between the laser rangefinder and the thermal imaging lens, the determining module 62 is specifically used to: determine the target offset of the laser cursor in the thermal imaging image based on the calibrated parameters corresponding to the thermal imaging lens, the target distance between the target object and the laser rangefinder, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens.

[0107] For example, if the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, the determining module 62 determines the target offset of the laser cursor in the following manner: based on the position information between the laser rangefinder and the thermal imaging lens, the target distance, and the offset angle, the projection distance between the target object and the projection point of the target object on the second optical axis is determined; based on the target distance and the offset angle, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens is determined; based on the projection distance, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, and the focal length of the thermal imaging lens, the target offset of the laser cursor is determined.

[0108] Based on the same concept as the methods described above, this application proposes a thermal imaging device, see [link to relevant documentation]. Figure 7 As shown, the thermal imaging device includes a processor 71 and a machine-readable storage medium 72, the machine-readable storage medium 72 storing machine-executable instructions that can be executed by the processor 71; the processor 71 is used to execute the machine-executable instructions to implement the cursor position adjustment method disclosed in the above example of this application.

[0109] Based on the same concept as the above method, this application also provides a machine-readable storage medium storing a plurality of computer instructions, which, when executed by a processor, can implement the cursor position adjustment method disclosed in the above examples of this application.

[0110] The aforementioned machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0111] The systems, devices, modules, or units described in the above embodiments can be implemented by a computer entity or by a product with a certain function. A typical implementation device is a computer, which can be a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0112] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0113] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0114] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0115] Furthermore, these computer program instructions can also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0116] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0117] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for adjusting the cursor position, characterized in that, Applied to a thermal imaging device, the thermal imaging device including a laser rangefinder and a thermal imaging lens, the method includes: The laser rangefinder emits a laser to the target object and acquires a thermal image of the target object, the thermal image including a laser cursor corresponding to the laser rangefinder; Based on the calibrated parameters corresponding to the thermal imaging lens, the target distance between the target object and the laser rangefinder, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, the target offset of the laser cursor in the thermal imaging image is determined; wherein, the target offset is obtained by substituting the calibrated parameters, the target distance, the focal length of the thermal imaging lens, and the position information into the acquired functional relationship; the target offset is used to adjust the laser cursor in the thermal imaging image to the position of the target object actually indicated by the laser. The position of the laser cursor is adjusted based on the target offset.

2. The method according to claim 1, characterized in that, The process of determining the calibrated parameters corresponding to the thermal imaging lens includes: The laser rangefinder emits a laser to the sample object and acquires a thermal imaging image of the sample object, the thermal imaging image including a laser cursor corresponding to the laser rangefinder. The position of the laser cursor is adjusted so that it coincides with the position of the sample object in the thermal imaging image, and the sample offset of the laser cursor is determined based on the adjusted position of the laser cursor; the calibrated parameters corresponding to the thermal imaging lens are determined based on the sample offset.

3. The method according to claim 2, characterized in that, The calibrated parameters include the sample offset and the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens; or, the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens; if the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, determining the calibrated parameters corresponding to the thermal imaging lens based on the sample offset includes: Based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, the offset angle between the first optical axis and the second optical axis is determined.

4. The method according to claim 3, characterized in that, The determination of the offset angle between the first optical axis and the second optical axis based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens includes: Based on the sample offset, the sample distance, and the focal length of the thermal imaging lens, the projection distance between the sample object and the projection point of the sample object on the second optical axis is determined. Based on the projection spacing, the positional information between the laser rangefinder and the thermal imaging lens, and the sample distance, the offset angle between the first optical axis and the second optical axis is determined.

5. The method according to claim 1, characterized in that, If the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, then the target offset of the laser cursor is determined in the following manner: Based on the positional information between the laser rangefinder and the thermal imaging lens, the target distance, and the offset angle, the projection distance between the target object and the projection point of the target object on the second optical axis is determined. Based on the target distance and the offset angle, determine the distance between the projection point of the target object on the second optical axis and the thermal imaging lens; The target offset of the laser cursor is determined based on the projection spacing, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, and the focal length of the thermal imaging lens.

6. The method according to any one of claims 1-4, characterized in that, If the thermal imaging device supports at least one thermal imaging lens, each thermal imaging lens is installed into the thermal imaging device sequentially before the thermal imaging device leaves the factory; wherein, when each thermal imaging lens is installed into the thermal imaging device, the calibrated parameters corresponding to the thermal imaging lens are determined, and the mapping relationship between the thermal imaging lens and the calibrated parameters corresponding to the thermal imaging lens is recorded. After the thermal imaging device leaves the factory, when the thermal imaging lens is installed on the thermal imaging device, the calibrated parameters corresponding to the thermal imaging lens are queried based on the mapping relationship.

7. A cursor position adjustment device, characterized in that, Applied to thermal imaging equipment, the thermal imaging equipment including a laser rangefinder and a thermal imaging lens, the device includes: The acquisition module is used to emit a laser to a target object through the laser rangefinder and acquire a thermal imaging image of the target object, wherein the thermal imaging image includes a laser cursor corresponding to the laser rangefinder; The determination module is used to determine the target offset of the laser cursor in the thermal imaging image based on the calibrated parameters corresponding to the thermal imaging lens, the target distance between the target object and the laser rangefinder, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens; wherein, the target offset is obtained by substituting the calibrated parameters, the target distance, the focal length of the thermal imaging lens, and the position information into an acquired functional relationship; the target offset is used to adjust the laser cursor in the thermal imaging image to the position of the target object actually indicated by the laser. An adjustment module is used to adjust the position of the laser cursor based on the target offset.

8. The apparatus according to claim 7, Its features are, in, The determining module, when determining the calibrated parameters corresponding to the thermal imaging lens, specifically performs the following steps: emitting a laser to the sample object via the laser rangefinder, acquiring a thermal imaging image of the sample object, the thermal imaging image including a laser cursor corresponding to the laser rangefinder; adjusting the position of the laser cursor so that the adjusted position coincides with the position of the sample object in the thermal imaging image, and determining the sample offset of the laser cursor based on the adjusted position of the laser cursor; and determining the calibrated parameters corresponding to the thermal imaging lens based on the sample offset. The calibrated parameters include the sample offset and the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens; or, the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens; if the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, the determining module, when determining the calibrated parameters corresponding to the thermal imaging lens based on the sample offset, is specifically used to: determine the offset angle between the first optical axis and the second optical axis based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens; Specifically, when the determining module determines the offset angle between the first optical axis and the second optical axis based on the sample offset, the sample distance between the projection point of the sample object on the second optical axis and the thermal imaging lens, the focal length of the thermal imaging lens, and the position information between the laser rangefinder and the thermal imaging lens, it is used to: determine the projection spacing between the sample object and the projection point of the sample object on the second optical axis based on the sample offset, the sample distance, and the focal length of the thermal imaging lens; and determine the offset angle between the first optical axis and the second optical axis based on the projection spacing, the position information between the laser rangefinder and the thermal imaging lens, and the sample distance. If the calibrated parameters include the offset angle between the first optical axis of the laser rangefinder and the second optical axis of the thermal imaging lens, the determining module determines the target offset of the laser cursor in the following manner: based on the position information between the laser rangefinder and the thermal imaging lens, the target distance, and the offset angle, it determines the projection distance between the target object and its projection point on the second optical axis; based on the target distance and the offset angle, it determines the distance between the projection point of the target object on the second optical axis and the thermal imaging lens. The target offset of the laser cursor is determined based on the projection spacing, the distance between the projection point of the target object on the second optical axis and the thermal imaging lens, and the focal length of the thermal imaging lens.

9. A thermal imaging device, characterized in that, include: A processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; The processor is configured to execute machine-executable instructions to implement the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Apparatus for measuring distance

    JP1997304055A