Data processing method and device of handheld range finder and handheld range finder

By obtaining the volume of the object to be measured and choosing an appropriate work and measurement mode, the handheet can accurately measure the distance of the small volume target object, solve the problem of laser non -irradiation, and improve the accuracy and convenience of measurement.

CN119354065AInactive Publication Date: 2025-01-24HANGZHOU LONGSHUO TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411907551.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-01-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When measuring small target objects, existing handheld rangefinders are likely to cause laser light to not irradiate on the target objects, making accurate measurements impossible.

Method used

By obtaining the volume of the object to be measured, choose the appropriate working mode and measurement mode. For small -volume target objects, select a fixed angle mode and perform a distance calculation and display according to the partial turn angle less than the preset angle.

Benefits of technology

It achieves accurate distance measurement of small-volume target objects, solves the problem of laser non-irradiation, and improves the accuracy and convenience of measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119354065A_ABST
    Figure CN119354065A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device of a handheld range finder and the handheld range finder, and relates to the field of distance measurement. In the method, a measurement demand and the volume of a to-be-measured object are acquired, and the volume of the to-be-measured object is calculated through a preset volume algorithm; under the condition that the volume of the to-be-measured object is a first target volume, a working mode is selected as a fixed angle mode, and the first target volume is that the volume of the to-be-measured object is smaller than a preset object volume; a measurement mode is selected according to the fixed angle mode and the measurement requirement, measurement information in the measurement mode is acquired, and the measurement information comprises deflection angle and distance information; under the condition that the deflection angle is smaller than the preset angle, the distance information is calculated, the calculation result is displayed, and the distance of the small-size target object can be accurately measured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of distance measurement, and in particular to a data processing method and device for a handheld rangefinder and a handheld rangefinder. Background Art

[0002] With the advancement of science and technology, portable measuring tools have become one of the essential tools in many industries, especially in the construction, interior design and other industries. Portable handheld rangefinders are widely used due to their small size, light weight, and easy to carry and use. In the related art, the target objects measured by handheld rangefinders are mainly large objects. For large target objects, handheld rangefinders can better align with the objects for measurement. However, when the target object is small, using a method similar to measuring a large target object to measure a small target object will result in the laser not being irradiated on the target object, making it impossible to perform accurate measurement. Summary of the invention

[0003] The present application provides a data processing method and device for a handheld rangefinder, and a handheld rangefinder, which can accurately measure the distance of a small-volume target object.

[0004] The technical solution of the embodiment of the present application is as follows: In a first aspect, an embodiment of the present application provides a data processing method for a handheld rangefinder, the method comprising: Obtaining a measurement requirement and a volume of an object to be measured, wherein the volume of the object to be measured is calculated using a preset volume algorithm; In the case where the volume of the object to be measured is a first target volume, the working mode is selected as a fixed angle mode, and the first target volume is a volume of the object to be measured that is smaller than a preset object volume; Selecting a measurement mode according to the fixed angle mode and the measurement requirement, and acquiring measurement information in the measurement mode, wherein the measurement information includes deflection angle and distance information; When the deflection angle is less than the preset angle, the distance information is calculated and the calculation result is displayed.

[0005] In the above technical solution, the measurement requirement and the volume of the object to be measured are first obtained, and the volume of the object to be measured is calculated by a preset volume algorithm. By obtaining the measurement requirement and the volume of the object to be measured, it is possible to identify whether it is a small-volume object, so as to accurately measure the small-volume object subsequently; when the volume of the object to be measured is the first target volume, the working mode is selected as the fixed angle mode, and the first target volume is the volume of the object to be measured that is smaller than the preset object volume. The fixed angle mode is selected according to the target volume, and the working mode can be aimed at the object of small target volume to achieve accurate measurement; the measurement mode is selected according to the fixed angle mode and the measurement requirement, and the measurement information under the measurement mode is obtained, and the measurement information includes the deflection angle and the distance information. By selecting the measurement mode, the accurate measurement of the small target object can be achieved; when the deflection angle is smaller than the preset angle, the distance information is calculated, and the calculation result is displayed to achieve accurate measurement of the distance of the small-volume target object.

[0006] In some embodiments of the present application, the calculation process of the preset volume algorithm includes: Acquiring pairs of object images of the object to be measured; Performing feature point matching according to paired object images to obtain a feature point set; Performing three-dimensional reconstruction of the object to be measured according to the feature point set to obtain three-dimensional point cloud data; The three-dimensional point cloud data is used to perform modeling to obtain the volume of the object to be measured.

[0007] In the above technical solution, obtaining paired object images of the object to be measured taken by the camera is conducive to the subsequent construction of a feature point set for the object image. Feature point matching is performed based on paired object images to obtain a feature point set. The visual difference can be calculated by performing feature point matching to obtain the position difference of each pixel point in the two images, so as to perform three-dimensional reconstruction later. The three-dimensional coordinates of each point on the surface of the object are calculated based on the feature point set to obtain the three-dimensional point cloud data of the object, so as to perform modeling and calculate the volume of the object. The volume of the object to be measured is obtained by processing and modeling the three-dimensional point cloud data, so as to select the working mode according to the volume later to achieve accurate measurement.

[0008] In some embodiments of the present application, performing three-dimensional reconstruction of the object to be measured according to the feature point set to obtain three-dimensional point cloud data includes: Calculating the three-dimensional coordinates of the object to be measured according to the feature point set; The three-dimensional coordinates are interpolated and filtered to obtain the three-dimensional point cloud data.

[0009] In the above technical solution, the parameters of the camera can be obtained according to the set camera, and the parameters include focal length, baseline distance, etc. According to the feature point set, the disparity map is obtained by comparing the position difference of the corresponding pixel points. According to the focal length, baseline distance and image recognition difference, the three-dimensional coordinates of the object to be measured can be calculated by using the triangulation principle, so as to obtain the three-dimensional point cloud data later. The three-dimensional coordinates are interpolated to make the three-dimensional coordinates smoother and increase the accuracy of modeling. Then the interpolated coordinate data is filtered to obtain the three-dimensional point cloud data, which can avoid the influence of noise and outliers.

[0010] In some embodiments of the present application, the selecting a measurement mode according to the fixed angle mode and the measurement requirement includes: In the fixed angle mode, the measurement requirement is analyzed to obtain the measurement accuracy and the measurement environment; The measurement mode is selected according to the measurement accuracy and the measurement environment.

[0011] In the above technical solution, a preset text parsing algorithm is used to perform text analysis on the distance measurement requirements to obtain the measurement accuracy and measurement environment, so that a suitable measurement mode can be selected according to the requirements of the measurement accuracy and the influence of the measurement environment. Then, the measurement mode is selected according to the measurement accuracy and the measurement environment to perform accurate measurement.

[0012] In some embodiments of the present application, the measurement mode includes continuous measurement and time interval measurement; The selecting the measurement mode according to the measurement accuracy and the measurement environment includes: When the measurement accuracy is greater than a preset accuracy threshold and interference exists in the measurement environment, selecting the time interval measurement; When the measurement accuracy is not greater than a preset accuracy threshold or the measurement environment is stable, the continuous measurement is selected.

[0013] In the above technical solution, when the measurement accuracy is greater than the preset accuracy threshold and there is interference in the measurement environment, it indicates that the distance measurement requirement has high requirements for measurement accuracy, and the measurement environment affects the measurement accuracy, so time interval measurement is selected. Time interval measurement measures once at intervals of a preset time period, and can perform multiple measurements, calculate the final measurement information from the results of multiple measurements, and has high measurement accuracy. When the measurement accuracy is less than or equal to the preset accuracy threshold, or the measurement environment is stable, it indicates that the distance measurement requirement has low requirements for measurement accuracy, and the measurement environment has little impact, so continuous measurement is selected. The accuracy of the measurement information is relatively good and can meet the measurement requirements.

[0014] In some embodiments of the present application, after obtaining the measurement requirement and the volume of the object to be measured, the method further includes: In the case where the volume of the object to be measured is the second target volume, the working mode is selected as the random hand-held angle mode, and the second target volume is the volume of the object to be measured that is greater than or equal to the preset object volume; Selecting a measurement mode according to the random hand-held angle mode and the measurement requirement, and acquiring measurement information in the measurement mode, wherein the measurement information includes deflection angle and distance information; The distance of the object to be measured is calculated according to the deflection angle and the distance information, and is displayed.

[0015] In the above technical solution, the second target volume is the volume of the object to be measured that is greater than or equal to the preset object volume, that is, the second target volume is the target object with a large volume. When the volume of the object to be measured is the second target volume, it indicates that the object to be measured is measured in the manner of a large target object, and the working mode is automatically selected as the random handheld angle mode. The user can measure by manually aiming at the target object, and the measurement is relatively convenient and quick. According to the selected measurement mode, the measurement information in the measurement mode is obtained using a preset reading function, and the measurement information includes a deflection angle and distance information. The deflection angle and distance information are obtained for subsequent distance calculation. The deflection angle and distance information can be calculated using trigonometric functions to obtain the distance from the measuring point to the target object. The measured distance can also be displayed on the screen of the handheld rangefinder for the user to watch.

[0016] In some embodiments of the present application, after acquiring the measurement information in the measurement mode, wherein the measurement information includes the deflection angle and the distance information, the method further includes: When the deflection angle is greater than or equal to the preset angle, the distance information is not calculated and a prompt message is displayed, wherein the prompt message is used to remind that the distance cannot be measured.

[0017] In the above technical solution, when the deflection angle is greater than or equal to the preset angle, it indicates that the target object is too small, the handheld rangefinder cannot be aimed at the target object, and the distance information is not calculated to save time and resources.

[0018] In a second aspect, an embodiment of the present application provides a data processing device for a handheld rangefinder, the device comprising: A data acquisition module, used to obtain measurement requirements and the volume of the object to be measured, wherein the volume of the object to be measured is calculated by a preset volume algorithm; A first mode selection module, configured to select the working mode as the fixed angle mode when the volume of the object to be measured is a first target volume, wherein the volume of the object to be measured is smaller than a preset object volume; A second mode selection module is used to select a measurement mode according to the fixed angle mode and the measurement requirement, and obtain measurement information in the measurement mode, wherein the measurement information includes a deflection angle and distance information; The calculation and display module is used to calculate the distance information and display the calculation result when the deflection angle is less than a preset angle.

[0019] In a third aspect, an embodiment of the present application provides a handheld rangefinder, comprising a processor, a memory, a user interface, a communication bus and a network interface, wherein the processor, the memory, the user interface and the network interface are respectively connected to the communication bus, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the handheld rangefinder performs any one of the methods provided in the first aspect.

[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any one of the methods provided in the first aspect is executed.

[0021] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Since the measurement requirement and the volume of the object to be measured are first obtained, the volume of the object to be measured is calculated by a preset volume algorithm. By obtaining the measurement requirement and the volume of the object to be measured, it is possible to identify whether it is a small volume object, so as to accurately measure the small volume object later; when the volume of the object to be measured is the first target volume, the working mode is selected as the fixed angle mode, the first target volume is the volume of the object to be measured is smaller than the preset object volume, the fixed angle mode is selected according to the target volume, and the working mode can be aimed at the object of small target volume to achieve accurate measurement; the measurement mode is selected according to the fixed angle mode and the measurement requirement, and the measurement information under the measurement mode is obtained, the measurement information includes the deflection angle and the distance information, and the small target object can be accurately measured by selecting the measurement mode; when the deflection angle is less than the preset angle, the distance information is calculated, and the calculation result is displayed to achieve accurate measurement of the distance of the small volume target object. Therefore, the problem that the laser does not irradiate the target object and cannot be accurately measured is effectively solved in the related art when the method similar to the method of measuring large target objects is used to measure small target objects.

[0022] 2. By selecting the working mode, accurate measurement can be achieved for target objects of different sizes.

[0023] 3. By selecting the measurement mode, the measurement accuracy is further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flowchart of a data processing method of a handheld rangefinder provided by an embodiment of the present application; Figure 2 is a flow chart of a data processing method of a handheld rangefinder provided by another embodiment of the present application; Figure 3 yes Figure 2 A schematic flow chart of a sub-step of step S230; Figure 4 yes Figure 1 A schematic flow chart of a sub-step of step S130; Figure 5 It is a structural schematic diagram of a data processing device of a handheld rangefinder provided by an embodiment of the present application; Figure 6 It is a structural schematic diagram of a handheld rangefinder provided in one embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0026] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0027] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0028] The embodiment of the present application provides a data processing method and device of a handheld rangefinder, a handheld rangefinder and a readable storage medium. The data processing method of the handheld rangefinder first obtains a measurement requirement and a volume of an object to be measured, the volume of the object to be measured is calculated by a preset volume algorithm, and by obtaining the measurement requirement and the volume of the object to be measured, it is possible to identify whether the object is a small-volume object, so as to accurately measure the small-volume object subsequently; when the volume of the object to be measured is a first target volume, the working mode is selected as a fixed angle mode, the first target volume is the volume of the object to be measured is smaller than the preset object volume, the fixed angle mode is selected according to the target volume, and the working mode can be aimed at the object of the small target volume to achieve accurate measurement; the measurement mode is selected according to the fixed angle mode and the measurement requirement, and the measurement information in the measurement mode is obtained, the measurement information includes a deflection angle and distance information, and the small target object can be accurately measured by selecting the measurement mode; when the deflection angle is smaller than the preset angle, the distance information is calculated, and the calculation result is displayed, so as to achieve accurate measurement of the distance of the small-volume target object.

[0029] It should be noted that the data processing method of the handheld rangefinder is mainly used in the fields of construction, engineering surveying, geological exploration, forest resource management, emergency rescue, public facilities measurement, etc. By measuring with a handheld rangefinder, not only small target objects can be measured, but also large target objects can be measured. It is easy to carry and has a wide range of applications.

[0030] The technical solution provided in the embodiments of the present application is further described below in conjunction with the accompanying drawings.

[0031] Reference Figure 1 , Figure 1 The data processing method of the handheld rangefinder provided in the embodiment of the present application is a flow chart of the data processing method of the handheld rangefinder. The data processing method of the handheld rangefinder is applied to the data processing device of the handheld rangefinder, and the data processing method of the handheld rangefinder is executed by the processor in the handheld rangefinder or the readable storage medium. The data processing method of the handheld rangefinder includes step S110, step S120, step S130 and step S140.

[0032] Step S110, obtaining the measurement requirement and the volume of the object to be measured, and the volume of the object to be measured is calculated by a preset volume algorithm.

[0033] In one embodiment, the measurement requirements include measuring distance, angle, etc. The following description is based on the requirement of measuring distance as an example. The user's measurement requirements can be recorded and saved for subsequent measurement according to the user's requirements. The volume of the object to be measured is calculated by a preset volume algorithm, and the corresponding volume of the object to be measured is saved so that the working mode can be selected according to the volume of the object to be measured. The stored measurement requirements and the volume of the object to be measured are read by a preset reading function to provide data support for subsequent working mode selection and meeting user measurement requirements, wherein the preset reading function can be a read() function.

[0034] like Figure 2 As shown, the calculation process of the preset volume algorithm includes but is not limited to the following steps: Step S210: acquiring a pair of object images of the object to be measured.

[0035] In one embodiment, a pair of cameras is provided in the handheld rangefinder, and the pair of cameras shoots the target object, and then obtains the pair of object images of the object to be measured shot by the camera. It should be noted that the pair of object images respectively show most of the proportions of the object to be measured, which is conducive to the subsequent construction of feature point sets for the object images.

[0036] Step S220 , performing feature point matching on paired object images to obtain a feature point set.

[0037] In one embodiment, for the paired object images obtained in step S210, firstly, feature extraction is performed on the paired object images respectively, and feature point matching is performed based on the extracted feature points. Specifically, a stereo matching algorithm can be used to match the feature points between the paired object images to obtain matching feature points, and a feature point set is formed by matching feature points and unmatched feature points. By performing feature point matching, visual disparity can be calculated to obtain the position difference of each pixel point in the two images, so as to perform three-dimensional reconstruction later. Among them, the stereo matching algorithm can be a scale-invariant feature transformation, etc.

[0038] Step S230 , performing three-dimensional reconstruction of the object to be measured according to the feature point set to obtain three-dimensional point cloud data.

[0039] In one embodiment, three-dimensional reconstruction of the object to be measured is performed based on the obtained feature point set. It is necessary to first calculate the three-dimensional coordinates of each point on the surface of the object based on the feature point set, and then perform interpolation, filtering and other processing to obtain the three-dimensional point cloud data of the object in order to perform modeling and calculate the volume of the object.

[0040] like Figure 3 As shown, three-dimensional reconstruction of the object to be measured is performed based on the feature point set to obtain three-dimensional point cloud data, including but not limited to the following steps: Step S231, calculating the three-dimensional coordinates of the object to be measured according to the feature point set.

[0041] In some possible embodiments of the present application, the parameters of the camera can be obtained according to the set camera, and the parameters include focal length, baseline distance, etc. According to the feature point set, the disparity map is obtained by comparing the position difference of the corresponding pixel points, and the three-dimensional coordinates of the object to be measured can be calculated according to the focal length, baseline distance and image recognition difference by using the triangulation principle, so as to obtain the three-dimensional point cloud data later.

[0042] Step S232, interpolation and filtering are performed on the three-dimensional coordinates to obtain three-dimensional point cloud data.

[0043] In some possible embodiments of the present application, interpolation includes linear interpolation, polynomial interpolation and spline interpolation, and one interpolation method can be selected from linear interpolation, polynomial interpolation and spline interpolation to interpolate the three-dimensional coordinates, so that the three-dimensional coordinates are smoother and the accuracy of modeling is increased. Filtering includes median filtering, mean filtering and Gaussian filtering, and one of the median filtering, mean filtering and Gaussian filtering can be used to filter the interpolated coordinate data to obtain three-dimensional point cloud data, which can avoid the influence of noise and outliers.

[0044] Step S240: Modeling is performed using the three-dimensional point cloud data to obtain the volume of the object to be measured.

[0045] In one embodiment, feature points of three-dimensional point cloud data are removed by setting a threshold, and points that are too far or too close are eliminated to reduce the impact of abnormal points on modeling. The three-dimensional point cloud data is then downsampled to increase the data processing speed. The three-dimensional point cloud data is then converted to the same coordinate system. For example, it can be uniformly converted to the world coordinate system to facilitate subsequent data processing. A three-dimensional convex hull of the point cloud data is constructed in a unified coordinate system. The convex hull is a minimum polyhedron that can wrap all points inside. The volume of the polyhedron of the model is constructed by using a polyhedron volume algorithm to obtain the volume of the object to be measured. The volume of the object to be measured is obtained by calculation, so that the working mode can be selected according to the volume to achieve accurate measurement.

[0046] Step S120, when the volume of the object to be measured is a first target volume, the working mode is selected as a fixed angle mode, and the first target volume is a volume of the object to be measured that is smaller than a preset object volume.

[0047] In one embodiment, the first target volume is that the volume of the object to be measured is smaller than the preset object volume, that is, the first target volume is that the target object is of small volume. When the volume of the object to be measured is the first target volume, it indicates that if the object to be measured is measured in the manner of a large target object, inaccuracies may occur. For the small target object, a working mode is selected, and the working modes include a fixed angle mode and a random hand-held angle mode, wherein the fixed angle mode can avoid jitter during hand-held measurement and the inability to align with a small target object, and the random hand-held angle mode is suitable for a large target object and can accurately align. A mode switch is provided in the handheld rangefinder tool, and when the first target volume is detected, the working mode is automatically selected as the fixed angle mode, thereby avoiding the problem of inaccurate measurement caused by jitter, and making accurate measurements.

[0048] Step S130, selecting a measurement mode according to the fixed angle mode and the measurement requirement, and acquiring measurement information in the measurement mode, where the measurement information includes deflection angle and distance information.

[0049] In one embodiment, the working mode is a fixed angle mode, and the measurement requirement is a distance measurement requirement. In the case of the fixed angle mode and the distance measurement requirement, the measurement mode is selected. The measurement mode is a measurement method for the target object, including continuous measurement and time interval measurement. According to the selected measurement mode, the measurement information in the measurement mode is obtained using a preset reading function, and the measurement information includes a deflection angle and distance information. The deflection angle and distance information obtained are used to perform subsequent distance calculation.

[0050] It should be noted that the handheld rangefinder includes a body and an angle measurement component, the angle measurement component includes a pitch angle measurement component and a horizontal measurement component, the pitch angle measurement component is used to measure the deflection angle, and the horizontal measurement component is used to measure the distance information. The measured deflection angle and distance information can be stored for subsequent reading and acquisition of data.

[0051] like Figure 4 As shown, the measurement mode is selected according to the fixed angle mode and measurement requirements, including but not limited to the following steps: Step S131, in the fixed angle mode, the measurement requirements are analyzed to obtain the measurement accuracy and the measurement environment.

[0052] In some possible embodiments of the present application, in a fixed angle mode, that is, when measuring a small volume target object, taking the measurement requirement as a distance measurement requirement as an example, a functional analysis is performed on the distance measurement requirement to obtain the measurement accuracy and the measurement environment, and the appropriate measurement mode can be selected later based on the measurement accuracy requirements and the influence of the measurement environment. Specifically, a preset text analysis algorithm can be used to perform text analysis on the distance measurement requirement to obtain the measurement accuracy and the measurement environment, wherein the preset text analysis algorithm can be a large language model.

[0053] Step S132: Select a measurement mode according to the measurement accuracy and the measurement environment.

[0054] In some possible embodiments of the present application, the measurement mode includes continuous measurement and time interval measurement, and the measurement mode is selected according to the measurement accuracy and the measurement environment, including but not limited to: when the measurement accuracy is greater than a preset accuracy threshold and there is interference in the measurement environment, select time interval measurement; when the measurement accuracy is not greater than a preset accuracy threshold or the measurement environment is stable, select continuous measurement.

[0055] Specifically, the measurement environment is determined by the measurement scenario. In distance measurement at some construction sites, dust or weather conditions may cause low visibility, which may affect the accuracy of the measurement. When the measurement accuracy is greater than the preset accuracy threshold and there is interference in the measurement environment, it indicates that the distance measurement requires high accuracy, and the measurement environment affects the accuracy. Time interval measurement is selected. Time interval measurement measures once at intervals of a preset time period, and can perform multiple measurements. The final measurement information is calculated from the results of multiple measurements, which has high measurement accuracy.

[0056] It should be noted that, when time interval measurement is selected, the measurement information of each interval can be recorded as historical data. For the historical data obtained at each interval, data preprocessing is performed on the historical data, and then the preprocessed data is predicted using a preset prediction algorithm to obtain predicted data. For the next measurement, the measurement can be performed according to the preset interval time period to obtain the actual measurement data, and then the actual measurement data can be corrected using the predicted data to obtain the measurement information of this measurement. According to the above steps, the accuracy of the measurement information can be guaranteed, thereby meeting the needs of high-precision measurement. The measurement information can also be recorded and the historical data can be updated to improve the accuracy of the next measurement.

[0057] In some other possible embodiments of the present application, in the distance measurement of some public facilities, there is no interference from environmental factors, that is, the influence of stable environmental conditions on the measurement accuracy is small. When the measurement accuracy is less than or equal to the preset accuracy threshold, or the measurement environment is stable, it indicates that the distance measurement requirement has low requirements for measurement accuracy, and the measurement environment has little influence, and continuous measurement is selected. Continuous measurement is to continuously emit laser for measurement within the time period, and select one of the measurement values ​​as the final measurement information. The accuracy of the measurement information is relatively good and can meet the measurement requirements.

[0058] Step S140, when the deflection angle is less than a preset angle, the distance information is calculated and the calculation result is displayed.

[0059] In one embodiment, according to the measurement information obtained in step S131 and step S132, the measurement information is represented by the deflection angle and the distance information. When the deflection angle is less than the preset angle, it indicates that the small-volume target object has been aligned, so the distance information is calculated to measure the distance. The deflection angle and the distance information can be calculated using trigonometric functions to obtain the distance from the measurement point to the target object. The measured distance can also be displayed on the screen of the handheld rangefinder for the user to view.

[0060] In one embodiment, after obtaining measurement information in the measurement mode, the measurement information includes the deflection angle and the distance information, the data processing method of the handheld rangefinder also includes but is not limited to: when the deflection angle is greater than or equal to the preset angle, the distance information is not calculated and a prompt message is displayed, and the prompt message is used to remind that the distance cannot be measured.

[0061] Specifically, when the deflection angle is greater than or equal to the preset angle, it indicates that the target object is too small, and the handheld rangefinder cannot be aimed at the target object, and the distance information is not calculated to save time and resources. In this case, a prompt message indicating that the distance cannot be measured is displayed on the display screen of the handheld rangefinder, wherein the prompt message can be displayed in the form of NAN or error.

[0062] In one embodiment, after obtaining the measurement requirement and the volume of the object to be measured, the data processing method of the handheld rangefinder further includes but is not limited to the following steps: Step S150, when the volume of the object to be measured is the second target volume, the working mode is selected as the random hand-held angle mode, and the second target volume is the volume of the object to be measured that is greater than or equal to the preset object volume.

[0063] In one embodiment, the second target volume is the volume of the object to be measured being greater than or equal to the preset object volume, that is, the second target volume is the target object being a large volume. When the volume of the object to be measured is the second target volume, it indicates that the object to be measured is measured in the manner of a large target object, and a working mode is selected for the large target object. When the second target volume is detected, the working mode is automatically selected as the random handheld angle mode, and the user can measure by manually aiming at the target object, which is more convenient and quick.

[0064] Step S160, selecting a measurement mode according to the random hand-held angle mode and the measurement requirement, and acquiring measurement information in the measurement mode, where the measurement information includes deflection angle and distance information.

[0065] In one embodiment, the working mode is a random hand-held angle mode, and the measurement requirement is a distance measurement requirement. In the case of the random hand-held angle mode and the distance measurement requirement, the measurement mode is selected. According to the selected measurement mode, the measurement information in the measurement mode is obtained using a preset reading function, and the measurement information includes a deflection angle and distance information. The obtained deflection angle and distance information are used to facilitate subsequent distance calculation.

[0066] It should be noted that when measuring large-volume target objects in the random handheld angle mode, the measurement requirements can also be parsed, or the preset text parsing algorithm is used to perform text analysis on the measurement requirements to obtain the measurement accuracy and measurement environment. When the measurement accuracy is greater than the preset accuracy threshold and there is interference in the measurement environment, it indicates that the distance measurement requirement has high requirements for measurement accuracy, and the measurement environment affects the measurement accuracy. Select time interval measurement. When the measurement accuracy is less than or equal to the preset accuracy threshold, or the measurement environment is stable, it indicates that the distance measurement requirement has low requirements for measurement accuracy, and the measurement environment has little impact. Select continuous measurement. Continuous measurement is to continuously emit laser for measurement within the time period, and select one of the measurement values ​​as the final measurement information. The accuracy of this measurement information is relatively good and can meet the measurement requirements.

[0067] Step S170: Calculate the distance of the object to be measured according to the deflection angle and the distance information, and display it.

[0068] In one embodiment, the deflection angle and the distance information can be calculated using trigonometric functions to obtain the distance from the measuring point to the target object. The measured distance can also be displayed on the screen of the handheld rangefinder for the user to view.

[0069] like Figure 5 As shown, the embodiment of the present application provides a data processing device 100 for a handheld rangefinder. The data processing device 100 for the handheld rangefinder obtains the measurement requirement and the volume of the object to be measured through a data acquisition module 110. The volume of the object to be measured is calculated by a preset volume algorithm. By obtaining the measurement requirement and the volume of the object to be measured, it is possible to identify whether it is a small-volume object, so as to accurately measure the small-volume object later. When the volume of the object to be measured is the first target volume, the first mode selection module 120 selects the working mode as the fixed angle mode, and the first target volume is the volume of the object to be measured. For an object whose volume is smaller than a preset value, a fixed angle mode is selected according to the target volume. This working mode can be aimed at an object with a small target volume to achieve accurate measurement. Then, the second mode selection module 130 is used to select a measurement mode according to the fixed angle mode and the measurement requirements to obtain measurement information under the measurement mode. The measurement information includes a deflection angle and distance information. By selecting the measurement mode, accurate measurement of small target objects can be achieved. The calculation and display module 140 is used to calculate the distance information when the deflection angle is smaller than the preset angle, and the calculation result is displayed to achieve accurate measurement of the distance of small target objects.

[0070] It should be noted that the data acquisition module 110 is connected to the first mode selection module 120 , the first mode selection module 120 is connected to the second mode selection module 130 , and the second mode selection module 130 is connected to the calculation and display module 140 . The data processing method of the handheld rangefinder is applied to a data processing device 100 of the handheld rangefinder. The data processing device 100 of the handheld rangefinder obtains the measurement requirement and the volume of the object to be measured, and the volume of the object to be measured is calculated by a preset volume algorithm. By obtaining the measurement requirement and the volume of the object to be measured, it is possible to identify whether it is a small-volume object, so as to accurately measure the small-volume object subsequently; when the volume of the object to be measured is the first target volume, the working mode is selected as the fixed angle mode, the first target volume is the volume of the object to be measured is smaller than the preset object volume, the fixed angle mode is selected according to the target volume, and the working mode can be aimed at the object of the small target volume to achieve accurate measurement; the measurement mode is selected according to the fixed angle mode and the measurement requirement, and the measurement information in the measurement mode is obtained, and the measurement information includes the deflection angle and the distance information. By selecting the measurement mode, the accurate measurement of the small target object can be achieved; when the deflection angle is smaller than the preset angle, the distance information is calculated, and the calculation result is displayed, so as to achieve accurate measurement of the distance of the small-volume target object.

[0071] The second target volume is the volume of the object to be measured being greater than or equal to the preset object volume, that is, the second target volume is the target object being a large volume. The first mode selection module 120 is also used to indicate that the object to be measured is measured in the manner of a large target object when the volume of the object to be measured is the second target volume, and to select a working mode for the large target object. When the second target volume is detected, the working mode is automatically selected as the free hand-held angle mode, and the user can measure by manually aiming at the target object, which is more convenient and quick.

[0072] The working mode is the random hand-held angle mode, and the measurement requirement is the distance measurement requirement. The second mode selection module 130 is also used to select the measurement mode in the case of the random hand-held angle mode and the distance measurement requirement. According to the selected measurement mode, the measurement information in the measurement mode is obtained using a preset reading function, and the measurement information includes the deflection angle and the distance information. The deflection angle and the distance information obtained are used for subsequent distance calculation.

[0073] Among them, when measuring a large target object in a random handheld angle mode, the measurement requirements can also be parsed, or a preset text parsing algorithm is used to perform text analysis on the measurement requirements to obtain the measurement accuracy and measurement environment. When the measurement accuracy is greater than the preset accuracy threshold and there is interference in the measurement environment, it indicates that the distance measurement requirement has high requirements for measurement accuracy, and the measurement environment affects the measurement accuracy. Select time interval measurement. When the measurement accuracy is less than or equal to the preset accuracy threshold, or the measurement environment is stable, it indicates that the distance measurement requirement has low requirements for measurement accuracy, and the measurement environment has little impact. Select continuous measurement. Continuous measurement is to continuously emit laser for measurement within the time period, and select one of the measurement values ​​as the final measurement information. The accuracy of this measurement information is relatively good and can meet the measurement requirements.

[0074] The calculation and display module 140 is also used to calculate the deflection angle and distance information using trigonometric functions to obtain the distance from the measuring point to the target object. The measured distance can also be displayed on the screen of the handheld rangefinder for the user to view.

[0075] It should also be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0076] The present application also discloses a handheld rangefinder. Figure 6 , Figure 6 The handheld rangefinder 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .

[0077] The communication bus 502 is used to realize the connection and communication between these components.

[0078] The user interface 503 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.

[0079] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0080] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 501 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.

[0081] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. Refer to Figure 6 The memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program of a data processing method for a handheld rangefinder.

[0082] exist Figure 6In the handheld rangefinder 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 501 can be used to call an application program storing a data processing method for a handheld rangefinder in the memory 505, and when executed by one or more processors 501, the handheld rangefinder 500 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described order of actions, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0083] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0088] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and the practice disclosure, those skilled in the art will easily think of other embodiments of the present disclosure.

[0089] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A data processing method for a handheld rangefinder, characterized in that: The method comprises: Obtaining a measurement requirement and a volume of an object to be measured, wherein the volume of the object to be measured is calculated using a preset volume algorithm; In the case where the volume of the object to be measured is a first target volume, the working mode is selected as a fixed angle mode, and the first target volume is a volume of the object to be measured that is smaller than a preset object volume; Selecting a measurement mode according to the fixed angle mode and the measurement requirement, and acquiring measurement information in the measurement mode, wherein the measurement information includes deflection angle and distance information; When the deflection angle is less than the preset angle, the distance information is calculated and the calculation result is displayed.

2. The method according to claim 1, characterized in that The calculation process of the preset volume algorithm includes: Acquiring pairs of object images of the object to be measured; Performing feature point matching according to paired object images to obtain a feature point set; Performing three-dimensional reconstruction of the object to be measured according to the feature point set to obtain three-dimensional point cloud data; The three-dimensional point cloud data is used to perform modeling to obtain the volume of the object to be measured.

3. The method according to claim 2, characterized in that The three-dimensional reconstruction of the object to be measured is performed according to the feature point set to obtain three-dimensional point cloud data, including: Calculating the three-dimensional coordinates of the object to be measured according to the feature point set; The three-dimensional coordinates are interpolated and filtered to obtain the three-dimensional point cloud data.

4. The method according to claim 1, characterized in that: The selecting a measurement mode according to the fixed angle mode and the measurement requirement includes: In the fixed angle mode, the measurement requirement is analyzed to obtain the measurement accuracy and the measurement environment; The measurement mode is selected according to the measurement accuracy and the measurement environment.

5. The method according to claim 4, characterized in that The measurement modes include continuous measurement and time interval measurement; The selecting the measurement mode according to the measurement accuracy and the measurement environment includes: When the measurement accuracy is greater than a preset accuracy threshold and interference exists in the measurement environment, selecting the time interval measurement; When the measurement accuracy is not greater than a preset accuracy threshold or the measurement environment is stable, the continuous measurement is selected.

6. The method according to claim 1, characterized in that After obtaining the measurement requirement and the volume of the object to be measured, the method further includes: In the case where the volume of the object to be measured is the second target volume, the working mode is selected as the random hand-held angle mode, and the second target volume is the volume of the object to be measured that is greater than or equal to the preset object volume; Selecting a measurement mode according to the random hand-held angle mode and the measurement requirement, and acquiring measurement information in the measurement mode, wherein the measurement information includes deflection angle and distance information; The distance of the object to be measured is calculated according to the deflection angle and the distance information, and is displayed.

7. The method according to claim 1, characterized in that After obtaining the measurement information in the measurement mode, wherein the measurement information includes the deflection angle and the distance information, the method further includes: When the deflection angle is greater than or equal to the preset angle, the distance information is not calculated and a prompt message is displayed, wherein the prompt message is used to remind that the distance cannot be measured.

8. A data processing device for a handheld rangefinder, characterized in that: The device comprises: A data acquisition module, used to obtain measurement requirements and the volume of the object to be measured, wherein the volume of the object to be measured is calculated by a preset volume algorithm; A first mode selection module, configured to select the working mode as the fixed angle mode when the volume of the object to be measured is a first target volume, wherein the volume of the object to be measured is smaller than a preset object volume; A second mode selection module is used to select a measurement mode according to the fixed angle mode and the measurement requirement, and obtain measurement information in the measurement mode, wherein the measurement information includes a deflection angle and distance information; The calculation and display module is used to calculate the distance information and display the calculation result when the deflection angle is less than a preset angle.

9. A handheld rangefinder, characterized in that: The invention comprises a processor, a memory, a user interface, a communication bus and a network interface, wherein the processor, the memory, the user interface and the network interface are respectively connected to the communication bus, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the handheld rangefinder executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.

Citation Information

Patent Citations

  • Hand-held laser range finder

    CN110895338A