CN115525995A - Method, device, equipment and medium for deformation of measuring line - Google Patents

Method, device, equipment and medium for deformation of measuring line Download PDF

Info

Publication number
CN115525995A
CN115525995A CN202211127550.0A CN202211127550A CN115525995A CN 115525995 A CN115525995 A CN 115525995A CN 202211127550 A CN202211127550 A CN 202211127550A CN 115525995 A CN115525995 A CN 115525995A
Authority
CN
China
Prior art keywords
measuring
point
distance
determining
reference point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211127550.0A
Other languages
Chinese (zh)
Inventor
袁泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Saiying Dikong Technology Co ltd
Original Assignee
Shenzhen Saiying Dikong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Saiying Dikong Technology Co ltd filed Critical Shenzhen Saiying Dikong Technology Co ltd
Priority to CN202211127550.0A priority Critical patent/CN115525995A/en
Publication of CN115525995A publication Critical patent/CN115525995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Electromagnetism (AREA)
  • Computer Graphics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for deformation of a measuring line. Wherein, the method comprises the following steps: reading the measuring point coordinates of each measuring point in the measuring line for measuring the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate; determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point; and taking the datum point as a starting point, and performing unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line. According to the technical scheme, the measuring line is subjected to deformation processing, so that the data of the measuring line corresponds to the actual information of the measured object, the processing efficiency of the measured data is improved, and the measured object can be effectively detected.

Description

Method, device, equipment and medium for deformation of measuring line
Technical Field
The invention relates to the field of data processing, in particular to a method, a device, equipment and a medium for measuring line deformation.
Background
With the development of urban construction, digital urban technology is gradually developed, and more importance is attached to the investigation and treatment of urban hidden dangers, such as the detection of underground road diseases.
In the existing detection technology, a detection device detects and processes data of a detected object according to a fixed detection mode. For example, the ground penetrating radar can measure the underground line along the road to obtain the measurement data, draw the survey lines with different shapes according to the measurement data, and process the data according to the survey lines, thereby further maintaining the underground line.
However, in an urban environment, due to the influence of blocking of tall buildings, overpasses, crowns, obstacles, and the like on the detection of the object to be detected, the formed measuring lines have various shapes, and when data processing is performed according to the measuring lines, the data is split, which is not beneficial to data processing, and the object to be detected cannot be effectively detected.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for deformation of a measuring line, which solve the problems that the measuring line in the prior art has various shapes and the data has split feeling, so that the data of the measuring line is more corresponding to the actual information of a measured object, the processing efficiency of the measured data is improved, and the measured object can be effectively detected and processed.
According to an aspect of the present invention, there is provided a method of deforming a survey line, the method comprising:
reading the measuring point coordinates of each measuring point in the measuring line for measuring the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate;
determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point;
and taking the reference points as starting points, and performing unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line.
Optionally, determining the reference point includes:
generating determination prompt information of the reference point;
in response to the selection operation of the reference point, the reference point is determined within a preset range of the line.
Optionally, in response to the operation of selecting the reference point, determining the reference point within a preset range of the measuring line, including:
if the selection operation of the datum point designates one measuring point in the measuring points, determining the designated measuring point as the datum point;
if one measuring point in each measuring point is not specified by the selection operation of the reference point, the distance between the position of the target point of the selection operation and the measuring line is selected;
if the distance is smaller than or equal to a set threshold, determining a target point of the selection operation as a reference point;
and if the distance is greater than the set threshold, determining that the selection operation is invalid and generating re-determination prompt information.
Optionally, determining a distance between adjacent measuring points according to the measuring point coordinates of each measuring point includes:
and determining the distance between the adjacent measuring points according to the first direction coordinate and the second direction coordinate of the first measuring point in the adjacent measuring points and the first direction coordinate and the second direction coordinate of the second measuring point.
Optionally, the distance between the adjacent measuring points is determined by using the following formula:
Figure BDA0003848816150000021
wherein distance is the distance between adjacent measuring points, xori0 is the first direction coordinate of the first measuring point, xori1 is the first direction coordinate of the second measuring point, yori0 is the second direction coordinate of the first measuring point, and Yori1 is the second direction coordinate of the second measuring point.
Optionally, after obtaining the deformation measuring line, the method further includes:
determining the arrangement number of the processing grids according to the first direction, the second direction and the distribution positions of the measuring lines;
and carrying out segmentation processing on the measuring line according to the arrangement number of the processing grids.
According to another aspect of the present invention, there is provided a wire deformation apparatus comprising:
the coordinate processing module is used for reading measuring point coordinates of each measuring point in a measuring line for measuring the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate;
the distance determining module is used for determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point;
and the measuring line processing module takes the datum point as a starting point and performs unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the line deformation method provided by the embodiments of the present application.
According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to implement a method for transforming a line provided by an embodiment of the present application when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, measuring point coordinates of each measuring point in a measuring line for measuring a measured object are read; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate; determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point; and taking the datum point as a starting point, and performing unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line. According to the technical scheme, the measuring line is subjected to deformation processing, so that the data of the measuring line corresponds to the actual information of the measured object, the processing efficiency of the measured data is improved, and the measured object can be effectively detected.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for deforming a line according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a line-measuring deformation apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device implementing an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "on the one hand", "on the other hand", "object", and the like in the description and claims of the present invention and the above drawings are used for distinguishing similar objects and not necessarily for describing a particular order or sequence. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a method for deforming a wire according to an embodiment of the present invention, where the embodiment is applicable to a case where probe data is processed, and the method may be performed by a wire deforming apparatus, which may be implemented in a form of hardware and/or software, and may be configured in an electronic device with data processing capability. As shown in fig. 1, the method includes:
s110, reading measuring point coordinates of each measuring point in a measuring line for measuring the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate.
The technical scheme of the embodiment can be executed by data processing software or electronic equipment containing the data processing software. The embodiment is suitable for a scene that the vehicle-mounted ground penetrating radar carries out data detection along a road or a survey line by adopting a three-dimensional radar technology. For example, the underground line is detected, the measurement data is read through software, the measuring line is drawn according to the measurement data, and the deformation processing is carried out on the measuring line, so that the effective processing on the underground line is realized.
The measured object can be a road, an underground pipeline, an underground line and the like. The measuring lines can be drawn according to measuring points one by one or head and tail measuring points by using data of the measuring points in the measuring data, or lines formed along the road. The datum point can be a target point selected during data processing on the operation interface and used for determining a starting point of the deformation measuring line, and the target point can be any point on the operation interface. The first direction may be a positive direction or a negative direction of the x axis of the coordinate axis, and the second direction may be a positive direction or a negative direction of the y axis of the coordinate axis.
On the basis of the technical solution, optionally, determining the reference point includes:
generating determination prompt information of the reference point;
in response to the selection operation of the reference point, the reference point is determined within a preset range of the line.
The presentation information may be presentation information for specifying the reference point, and for example, a typeface in which the selection point is the reference point or the selection point is not the reference point is set as the presentation information, and when the reference point is specified, the operation interface pops up a typeface in which the selection point is the reference point or the selection point is not the reference point.
The preset range of the measuring line may be each measuring point, or a certain threshold range may be set for the distance between the position of the target point defining the selection operation and the measuring line. For example, the setting operation interface is drawn in centimeters (cm), the threshold range is set to be 2cm, when the distance between the position of the target point of the selection operation and the measuring line is less than or equal to 2cm, the target point can be selected as a reference point, and when the distance between the position of the target point of the selection operation and the measuring line is greater than 2cm, the target point is invalid, and the target point is reselected for comparison.
In the embodiment, the user can select and determine the reference point independently, so that the user can flexibly define the starting point of the deformation measuring line according to the requirement, and the drawn deformation measuring line can be better displayed in the operation interface.
On the basis of the technical solution, optionally, determining the reference point within the preset range of the measuring line in response to the selection operation of the reference point, includes:
if the selection operation of the datum point designates one measuring point in the measuring points, determining the designated measuring point as the datum point;
if one of the measuring points is not designated by the selection operation of the datum point, the distance between the position of the target point of the selection operation and the measuring line is selected;
if the distance is smaller than or equal to a set threshold, determining a target point of the selection operation as a reference point;
and if the distance is greater than the set threshold, determining that the selection operation is invalid and generating re-determination prompt information.
In the embodiment, the reference point is determined in the preset range of the measuring line in response to the selection operation of the reference point, the reference point can be automatically and effectively selected on the operation interface, the selection rule of the reference point is more accurately explained, and the determination of the reference point is facilitated.
S120, determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point;
the coordinates of the measuring points can be rectangular coordinates, plane polar coordinates, spherical coordinates or cylindrical coordinates, and can be determined according to the first direction coordinates and the second direction coordinates. The adjacent measuring points can be a first measuring point and a second measuring point, the measuring points are arranged in sequence along the measuring line, the second measuring point of the previous pair of adjacent measuring points is the first measuring point of the next pair of adjacent measuring points, for example, measuring point 1, measuring point 2 and measuring point 3 can be three measuring points arranged in sequence along the measuring line direction, measuring point 1 and measuring point 2 are a first group of adjacent measuring points, measuring point 2 and measuring point 3 are a second group of adjacent measuring points, and measuring point 2 can be the second measuring point of the first group or the first measuring point of the second group.
The distance between adjacent measuring points can be obtained by taking the square root of the difference between the coordinates of the first measuring point and the second measuring point of the adjacent measuring points.
In this embodiment, optionally, determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point includes:
and determining the distance between the adjacent measuring points according to the first direction coordinate and the second direction coordinate of the first measuring point in the adjacent measuring points and the first direction coordinate and the second direction coordinate of the second measuring point.
The distance between the adjacent measuring points is determined by adopting the following formula:
Figure BDA0003848816150000071
wherein, distance is the distance between adjacent measuring points, xori0 is the first direction coordinate of the first measuring point, xori1 is the first direction coordinate of the second measuring point, yori0 is the second direction coordinate of the first measuring point, and Yori1 is the second direction coordinate of the second measuring point.
In the embodiment, the distance between the adjacent measuring points is determined according to the measuring point coordinates of each measuring point, and the distance between the adjacent measuring points is determined by using a simple distance formula, so that automatic processing of a large amount of data is realized, and the drawing of a deformation measuring line is facilitated.
And S130, taking the reference points as starting points, and performing unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line.
The unidirectional extension may be along a positive direction of the coordinate axis x axis, a negative direction of the coordinate axis x axis, a positive direction of the coordinate axis y axis, or a negative direction of the coordinate axis y axis.
In an example, after measurement data of an underground line is obtained through a ground penetrating radar, coordinates of each measuring point are sequentially determined along a measuring line direction, a distance between each two adjacent measuring points is obtained through a distance formula, the reference point is used as a starting point, the distance between each two adjacent measuring points is sequentially extended along a single direction, and then a deformation measuring line is drawn.
On the basis of the above technical solutions, optionally, after obtaining the deformation measurement line, the method further includes:
determining the arrangement quantity of the processing grids according to the first direction, the second direction and the distribution positions of the measuring lines;
and carrying out segmentation processing on the measuring line according to the arrangement number of the processing grids.
The grid is set up based on the actual arrangement, for example, the grid can be set up to 50 meters by 25 meters square grid, wherein the length is 50 meters, and the width is 25 meters.
Wherein, the arrangement quantity can be determined according to the minimum positive integer of the proportional value of the transverse distribution range of the deformation measuring line and the grid width. The proportional value is limited to 1, and may be 1 or less or 1 or more. If the proportion value is less than or equal to 1, generating a row of grids or a column of grids; if the ratio value is greater than 1, a grid of columns or rows of the smallest positive integer of the ratio value is generated. The lateral direction may be a first direction or a second direction.
The segmentation process may be to segment according to the size of one mesh, and process data corresponding to each mesh.
According to the technical scheme, the number of grids is determined by using the obtained deformation measuring lines, and the measuring lines are processed in a segmented mode, so that the splitting sense of data is avoided, the grids are fully utilized, and the high-efficiency processing of the data is facilitated.
According to the technical scheme of the embodiment, measuring point coordinates of each measuring point in a measuring line for measuring a measured object are read; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate; determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point; and taking the datum point as a starting point, and performing unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line. According to the technical scheme, the measuring line is subjected to deformation processing, so that the data of the measuring line corresponds to the actual information of the measured object, the processing efficiency of the measured data is improved, and the measured object can be effectively detected.
Example two
Fig. 2 is a schematic structural diagram of a line measurement deformation apparatus according to a second embodiment of the present invention, which is capable of executing a line measurement deformation method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 2, the apparatus includes:
a coordinate processing module 210, configured to read measurement point coordinates of each measurement point in a measurement line measured on the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate;
the distance determining module 220 is used for determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point;
and the measuring line processing module 230 is configured to perform unidirectional extension along the first direction or the second direction based on the distance between adjacent measuring points with the reference point as a starting point to obtain a deformed measuring line.
Optionally, the coordinate processing module includes: a reference point determination unit, specifically configured to:
generating determination prompt information of the reference point;
in response to the selection operation of the reference point, the reference point is determined within a preset range of the line.
Wherein, in response to the selection operation of the reference point, determining the reference point within a preset range of the survey line includes:
if the selection operation of the datum point designates one measuring point in the measuring points, determining the designated measuring point as the datum point;
if one measuring point in each measuring point is not specified by the selection operation of the reference point, the distance between the position of the target point of the selection operation and the measuring line is selected;
if the distance is smaller than or equal to a set threshold, determining a target point of the selection operation as a reference point;
and if the distance is greater than the set threshold, determining that the selection operation is invalid, and generating re-determination prompt information.
Optionally, the distance determining module 220 is specifically configured to:
and determining the distance between the adjacent measuring points according to the first direction coordinate and the second direction coordinate of the first measuring point in the adjacent measuring points and the first direction coordinate and the second direction coordinate of the second measuring point.
The distance between the adjacent measuring points is determined by the following formula:
Figure BDA0003848816150000091
wherein distance is the distance between adjacent measuring points, xori0 is the first direction coordinate of the first measuring point, xori1 is the first direction coordinate of the second measuring point, yori0 is the second direction coordinate of the first measuring point, and Yori1 is the second direction coordinate of the second measuring point.
Optionally, the apparatus further comprises: a grid processing module to:
determining the arrangement quantity of the processing grids according to the first direction, the second direction and the distribution positions of the measuring lines;
and carrying out segmentation processing on the measuring lines according to the arrangement number of the processing grids.
The deformation device for the measuring line provided by the embodiment of the invention can execute the deformation method for the measuring line provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an electronic device implementing an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above.
In some embodiments, the method line variations may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the above-described method profile variations may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the deformation of the method profile by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of deforming a wire, comprising:
reading the measuring point coordinates of each measuring point in the measuring line for measuring the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate;
determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point;
and taking the datum point as a starting point, and performing unidirectional extension along the first direction or the second direction based on the distance between the adjacent measuring points to obtain a deformation measuring line.
2. The method of claim 1, wherein determining a reference point comprises:
generating determination prompt information of the reference point;
in response to the selection operation of the reference point, the reference point is determined within a preset range of the measuring line.
3. The method of claim 2, wherein determining the reference point within a preset range of the line in response to the selection of the reference point comprises:
if the selection operation of the datum point designates one measuring point in the measuring points, determining the designated measuring point as the datum point;
if one measuring point in each measuring point is not specified by the selection operation of the reference point, the distance between the position of the target point of the selection operation and the measuring line is selected;
if the distance is smaller than or equal to a set threshold, determining a target point of the selection operation as a reference point;
and if the distance is greater than the set threshold, determining that the selection operation is invalid and generating re-determination prompt information.
4. The method of claim 1, wherein determining the distance between adjacent stations from the station coordinates of each station comprises:
and determining the distance between the adjacent measuring points according to the first direction coordinate and the second direction coordinate of the first measuring point in the adjacent measuring points and the first direction coordinate and the second direction coordinate of the second measuring point.
5. The method of claim 4, wherein the distance between adjacent stations is determined using the formula:
Figure FDA0003848816140000011
wherein distance is the distance between adjacent measuring points, xori0 is the first direction coordinate of the first measuring point, xori1 is the first direction coordinate of the second measuring point, yori0 is the second direction coordinate of the first measuring point, and Yori1 is the second direction coordinate of the second measuring point.
6. The method of claim 5, wherein after obtaining the deformation profile, the method further comprises:
determining the arrangement number of the processing grids according to the first direction, the second direction and the distribution positions of the measuring lines;
and carrying out segmentation processing on the measuring lines according to the arrangement number of the processing grids.
7. A device for deforming a wire, comprising:
the coordinate processing module is used for reading measuring point coordinates of each measuring point in a measuring line for measuring the measured object; and determining a reference point; wherein the reference point is composed of a first direction coordinate and a second direction coordinate;
the distance determining module is used for determining the distance between adjacent measuring points according to the measuring point coordinates of each measuring point;
and the measuring line processing module is used for performing unidirectional extension along the first direction or the second direction by taking the datum point as a starting point based on the distance between the adjacent measuring points to obtain a deformation measuring line.
8. The apparatus of claim 7, wherein a fiducial point is determined, and wherein the coordinate processing module comprises: a reference point determination unit, specifically configured to:
generating determination prompt information of the reference point;
in response to the selection operation of the reference point, the reference point is determined within a preset range of the line.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of line deformation of any one of claims 1-6.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the method of line deformation of any one of claims 1-6 when executed.
CN202211127550.0A 2022-09-16 2022-09-16 Method, device, equipment and medium for deformation of measuring line Pending CN115525995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211127550.0A CN115525995A (en) 2022-09-16 2022-09-16 Method, device, equipment and medium for deformation of measuring line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211127550.0A CN115525995A (en) 2022-09-16 2022-09-16 Method, device, equipment and medium for deformation of measuring line

Publications (1)

Publication Number Publication Date
CN115525995A true CN115525995A (en) 2022-12-27

Family

ID=84697071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211127550.0A Pending CN115525995A (en) 2022-09-16 2022-09-16 Method, device, equipment and medium for deformation of measuring line

Country Status (1)

Country Link
CN (1) CN115525995A (en)

Similar Documents

Publication Publication Date Title
EP3910543A2 (en) Method for training object detection model, object detection method and related apparatus
CN113377890B (en) Map quality inspection method and device, electronic equipment and storage medium
CN112233240A (en) Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment
CN113947188A (en) Training method of target detection network and vehicle detection method
CN113219505B (en) Method, device and equipment for acquiring GPS coordinates for vehicle-road cooperative tunnel scene
CN114299242A (en) Method, device and equipment for processing images in high-precision map and storage medium
CN115511999A (en) Line measurement segmentation method, device, equipment and medium
CN114596362B (en) High-point camera coordinate calculation method and device, electronic equipment and medium
CN115525995A (en) Method, device, equipment and medium for deformation of measuring line
CN115468565A (en) Method, device and equipment for determining channel path and storage medium
CN114910892A (en) Laser radar calibration method and device, electronic equipment and storage medium
CN114647816A (en) Method, device and equipment for determining lane line and storage medium
CN114694138B (en) Road surface detection method, device and equipment applied to intelligent driving
CN115984176A (en) High-precision map environment change detection method, device and equipment and automatic driving vehicle
CN112835007B (en) Point cloud data conversion method and device, electronic equipment and storage medium
CN117131315B (en) Out-of-tolerance electric energy meter determining method and medium based on solving multi-element quadratic function extremum
CN113029136B (en) Method, apparatus, storage medium and program product for processing positioning information
CN117131353B (en) Method and device for determining out-of-tolerance electric energy meter, electronic equipment and storage medium
CN117272489B (en) Monitoring method, system and equipment for calculating deformation safety of building curtain wall
CN115713496A (en) Belt coal quantity detection method, device, equipment and storage medium
CN114993348A (en) Map precision testing method and device, electronic equipment and storage medium
CN117350995A (en) Product defect detection method, device, equipment and storage medium
CN117390307A (en) Method, device, equipment and storage medium for determining interest point information
CN115032615A (en) Laser radar calibration point determining method, device, equipment and storage medium
CN117760402A (en) Hanging basket posture adjustment method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination