CN109859156B - Abnormal frame data processing method and device - Google Patents

Abnormal frame data processing method and device Download PDF

Info

Publication number
CN109859156B
CN109859156B CN201811288633.1A CN201811288633A CN109859156B CN 109859156 B CN109859156 B CN 109859156B CN 201811288633 A CN201811288633 A CN 201811288633A CN 109859156 B CN109859156 B CN 109859156B
Authority
CN
China
Prior art keywords
point cloud
frame
cloud data
data
coordinates
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.)
Active
Application number
CN201811288633.1A
Other languages
Chinese (zh)
Other versions
CN109859156A (en
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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201811288633.1A priority Critical patent/CN109859156B/en
Publication of CN109859156A publication Critical patent/CN109859156A/en
Application granted granted Critical
Publication of CN109859156B publication Critical patent/CN109859156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

A method and device for processing abnormal frame data are disclosed. The method comprises the following steps: acquiring N frames of point cloud data; each frame of point cloud data comprises coordinates of points in i directions; respectively calculating the coordinates of points in i directions in the t+1st frame of point cloud data, and obtaining corresponding i difference sequences from the difference between the coordinates of the points in the i directions corresponding to the t frame of point cloud data; counting the number n (m) of m sequences with continuous difference values of 1 in the i difference value sequences; determining whether the t+1st frame point cloud data is abnormal frame data according to the statistical result; if the t+1st frame point cloud data is abnormal frame data, replacing the t+1st frame point cloud data with the kth frame point cloud data. According to the method and the device, the abnormal frame data of radar scanning can be simply processed, and the data precision is improved.

Description

Abnormal frame data processing method and device
Technical Field
The disclosure relates to the technical field of radar data processing, and in particular relates to a method and a device for processing abnormal frame data.
Background
The development of lidar has penetrated into various industries, such as sweeping robots, autopilot, and other special fields. From a software perspective, open source robotic operating systems (Robot Operating System, ROS) have become very mature and have been largely used in the robotics field, but the handling of abnormal frame data in ROS systems has not provided a reliable and efficient method. From the perspective of hardware, for example, SICK radar has become an industry standard, but the radar products still have the problem of abnormal frame data.
For application scenes with low requirements on the accuracy and the real-time performance of laser radar data, such as a sweeping robot, abnormal frame data can be converged to a certain degree in an instant positioning and map building (Simultaneous Localization And Mapping, SLAM) algorithm, so that influence is reduced. However, for application scenarios involving safety issues such as autopilot and other special features, the problem of abnormal frame data is particularly important if the laser radar is used alone.
Accordingly, the inventors have recognized that improvements in at least one of the above-mentioned problems are necessary.
Disclosure of Invention
The invention aims to provide a new technical scheme of a processing method of abnormal frame data.
According to a first aspect of the present invention, there is provided a method of processing abnormal frame data, comprising:
acquiring N frames of point cloud data; each frame of point cloud data comprises coordinates of points in i directions;
respectively calculating the coordinates of points in i directions in the t+1st frame of point cloud data, and obtaining corresponding i difference sequences from the difference between the coordinates of the points in the i directions corresponding to the t frame of point cloud data;
counting the number n (m) of m sequences with continuous difference values of 1 in the i difference value sequences;
determining whether the t+1st frame point cloud data is abnormal frame data according to the statistical result;
if the t+1st frame point cloud data is abnormal frame data, replacing the t+1st frame point cloud data with the kth frame point cloud data.
Optionally, after acquiring the N frames of point cloud data, the method further includes:
according to the formula
Figure BDA0001849615960000021
Converting coordinates of points in i directions in the N frames of point cloud data into rectangular coordinates;
wherein,,
Figure BDA0001849615960000022
the polar coordinates of the point in the i-th direction, r is the distance measured by the radar from the surrounding obstacle,
Figure BDA0001849615960000023
Figure BDA0001849615960000024
for the angular resolution of the radar scan.
Optionally, calculating the coordinates of points in the i directions in the t+1st frame of point cloud data, and the difference between the coordinates of points in the i directions corresponding to the t frame of point cloud data, to obtain a corresponding i difference sequence, including:
according to the formula
Figure BDA0001849615960000025
Calculating the coordinates of points in the i directions in the t+1st frame of point cloud data, and the difference value between the coordinates of the corresponding points in the i directions in the t frame of point cloud data;
according to the formula
Figure BDA0001849615960000026
Obtaining a corresponding difference sequence; wherein thr is a preset threshold.
Optionally, the determining whether the t+1st frame point cloud data is abnormal frame data according to the statistical result includes:
if n (1) is more than or equal to 5 and n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change and system abnormality, and defining the t+1st frame point cloud data as abnormal frame data;
if n (1) is more than or equal to 5, n (i is more than or equal to 3) =0, determining that the t+1st frame point cloud data is radar data change caused by system abnormality, and defining the t+1st frame point cloud data as abnormal frame data;
if n (1) is less than 5, n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change, and defining the t+1st frame point cloud data as non-abnormal frame data;
if n (1) < 5, n (i is not less than 3) =0, determining that the t+1st frame point cloud data is data with strong continuity with the t frame point cloud data, and defining the t+1st frame point cloud data as non-abnormal frame data.
According to a second aspect of the present disclosure, there is provided a processing apparatus of abnormal frame data, including:
the acquisition module is used for acquiring N frames of point cloud data; each frame of point cloud data comprises coordinates of points in i directions;
the calculation module is used for calculating the coordinates of points in the i directions in the t+1st frame point cloud data respectively and obtaining the corresponding i difference value sequences from the difference value between the coordinates of the points in the i directions corresponding to the t frame point cloud data;
the statistics module is used for counting the number n (m) of m sequences with the continuous difference value of 1 in the i difference value sequences;
the determining module is used for determining whether the t+1st frame point cloud data is abnormal frame data or not according to the statistical result;
and the replacing module is used for replacing the t+1th frame point cloud data with the kth frame point cloud data if the t+1th frame point cloud data is abnormal frame data.
Optionally, the system also comprises a coordinate conversion module for converting the coordinates according to the formula
Figure BDA0001849615960000031
Converting coordinates of points in i directions in the N frames of point cloud data into rectangular coordinates;
wherein,,
Figure BDA0001849615960000032
the polar coordinates of the point in the i-th direction, r is the distance measured by the radar from the surrounding obstacle,
Figure BDA0001849615960000033
Figure BDA0001849615960000034
for the angular resolution of the radar scan.
Optionally, the computing module is specifically configured to:
according to the formula
Figure BDA0001849615960000035
Calculating the coordinates of points in the i directions in the t+1st frame of point cloud data, and the difference value between the coordinates of the corresponding points in the i directions in the t frame of point cloud data;
according to the formula
Figure BDA0001849615960000036
Obtaining a corresponding difference sequence; wherein thr is a preset threshold.
Optionally, the determining module is specifically configured to:
if n (1) is more than or equal to 5 and n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change and system abnormality, and defining the t+1st frame point cloud data as abnormal frame data;
if n (1) is more than or equal to 5, n (i is more than or equal to 3) =0, determining that the t+1st frame point cloud data is radar data change caused by system abnormality, and defining the t+1st frame point cloud data as abnormal frame data;
if n (1) is less than 5, n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change, and defining the t+1st frame point cloud data as non-abnormal frame data;
if n (1) < 5, n (i is not less than 3) =0, determining that the t+1st frame point cloud data is data with strong continuity with the t frame point cloud data, and defining the t+1st frame point cloud data as non-abnormal frame data.
According to one embodiment of the present disclosure, abnormal frame data of radar scanning can be simply processed, and data accuracy is improved.
Other features of the present invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 shows a schematic flowchart of a method of processing abnormal frame data according to an embodiment of the present disclosure.
Fig. 2 shows a schematic block diagram of an apparatus for processing abnormal frame data according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Fig. 1 shows a schematic flowchart of a method of processing abnormal frame data according to an embodiment of the present disclosure.
As shown in fig. 1, in step 1100, N frames of point cloud data are acquired; the point cloud data of each frame contains the coordinates of points in i directions.
The coordinates of each point in the point cloud data obtained by laser radar scanning are polar coordinates, and after N frames of point cloud data are obtained, the polar coordinates are converted into rectangular coordinates.
Specifically, according to the formula
Figure BDA0001849615960000051
Converting coordinates of points in i directions in the N frames of point cloud data into rectangular coordinates; wherein (1)>
Figure BDA0001849615960000052
The polar coordinates of the point in the i-th direction, r is the distance measured by the radar from the surrounding obstacle,
Figure BDA0001849615960000053
Figure BDA0001849615960000054
for the angular resolution of the radar scan.
After converting the coordinates into rectangular coordinates, step 1200 is performed, where coordinates of points in i directions in the t+1st frame of point cloud data are calculated respectively, and differences between the coordinates of points in i directions corresponding to the t frame of point cloud data are obtained, so as to obtain corresponding i difference sequences.
Specifically, according to the formula
Figure BDA0001849615960000055
And calculating the difference between the coordinates of points in the i directions in the t+1st frame of point cloud data and the coordinates of points in the i directions corresponding to the t frame of point cloud data. According to the formula
Figure BDA0001849615960000056
Obtaining a corresponding difference sequence; wherein thr is a preset threshold, and needs to be set through experiments according to actual application scenarios, which is not particularly limited in this embodiment.
Step 1300, counting the number n (m) of m sequences with the continuous difference value of 1 in the i difference value sequences.
For example, the sequence of differences is 0101011011011,
Figure BDA0001849615960000057
the number of sequences of consecutive 1 is 1, i.e., n (1) =2, by a number of 2; />
Figure BDA0001849615960000058
The number of sequences of consecutive 1 is 3, i.e., n (2) =3, by a number of 2.
Step 1400, determining whether the t+1st frame point cloud data is abnormal frame data according to the statistical result.
Specifically, if n (1) is greater than or equal to 5, n (i is greater than or equal to 3) is greater than or equal to 1, that is, the number of single 1 in the i difference sequences is greater than or equal to 5, and the number of 1 continuous over 3 is greater than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change and system abnormality, and defining the t+1st frame point cloud data as abnormal frame data.
If n (1) is greater than or equal to 5, n (i is greater than or equal to 3) =0, that is, the number of single 1 in the i difference sequences is greater than or equal to 5, and the number of 1 continuous over 3 is 0, determining that the t+1st frame point cloud data is radar data change caused by system abnormality, and defining the t+1st frame point cloud data as abnormal frame data.
If n (1) < 5, n (i is more than or equal to 3) > 1, that is, the number of single 1 in the i difference sequences is less than 5, and the number of 1 continuous 1 is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change, and defining the t+1st frame point cloud data as non-abnormal frame data.
If n (1) < 5, n (i is greater than or equal to 3) =0, that is, the number of single 1 s appearing in the i difference sequences is less than 5, and the number of 1 s continuous over 3 is 0, determining that the t+1st frame point cloud data is the data with strong continuity with the t frame point cloud data, and defining the t+1st frame point cloud data as non-abnormal frame data.
In step 1500, if the t+1st frame point cloud data is abnormal frame data, the t+1st frame point cloud data is replaced by the kth frame point cloud data.
According to the processing method of the abnormal frame data, according to the inter-frame difference distribution, the space-time distribution state is considered for the points in the radar scanning direction in each frame of point cloud data, when the t+1st frame of point cloud data is determined to be the abnormal frame data, the t+1st frame of point cloud data is simply replaced by the kth frame of point cloud data, so that the simple processing of the abnormal frame data can be realized, and the accuracy of the radar scanning data is improved.
Fig. 2 shows a schematic block diagram of an apparatus for processing abnormal frame data according to an embodiment of the present disclosure. As shown in fig. 2, the processing apparatus 2000 of the abnormal frame data of the present embodiment may include: the system comprises an acquisition module 2100, a calculation module 2200, a statistics module 2300, a determination module 2400 and a replacement module 2500.
The acquiring module 2100 is configured to acquire N frames of point cloud data; each frame of point cloud data comprises coordinates of points in i directions;
the computing module 2200 is used for respectively computing the coordinates of points in the i directions in the t+1st frame point cloud data and the differences between the coordinates of the points in the i directions corresponding to the t frame point cloud data to obtain corresponding i difference sequences;
the statistics module 2300 is configured to count the number n (m) of m sequences with a continuous difference value of 1, from i sequences with a continuous difference value of 1;
a determining module 2400, configured to determine whether the t+1st frame point cloud data is abnormal frame data according to the statistics result;
and a replacing module 2500, configured to replace the t+1th frame point cloud data with the kth frame point cloud data if the t+1th frame point cloud data is abnormal frame data.
Further, the processing device 2000 of the abnormal frame data of the present embodiment may further include a coordinate conversion module for converting the abnormal frame data according to a formula
Figure BDA0001849615960000061
Converting coordinates of points in i directions in the N frames of point cloud data into rectangular coordinates; wherein (1)>
Figure BDA0001849615960000062
For the polar coordinates of the point in the i-th direction, r is the distance measured by the radar from the surrounding obstacle,/for the radar>
Figure BDA0001849615960000063
Figure BDA0001849615960000064
For the angular resolution of the radar scan.
In practical applications, the computing module 2200 is specifically configured to: according to the formula
Figure BDA0001849615960000071
Calculating the coordinates of points in the i directions in the t+1st frame of point cloud data, and the difference value between the coordinates of the corresponding points in the i directions in the t frame of point cloud data; according to the formula->
Figure BDA0001849615960000072
Obtaining a corresponding difference sequence; wherein thr is a preset threshold.
The determining module 2400 is specifically configured to: if n (1) is more than or equal to 5 and n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change and system abnormality, and defining the t+1st frame point cloud data as abnormal frame data; if n (1) is more than or equal to 5, n (i is more than or equal to 3) =0, determining that the t+1st frame point cloud data is radar data change caused by system abnormality, and defining the t+1st frame point cloud data as abnormal frame data; if n (1) is less than 5, n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change, and defining the t+1st frame point cloud data as non-abnormal frame data; if n (1) < 5, n (i is not less than 3) =0, determining that the t+1st frame point cloud data is data with strong continuity with the t frame point cloud data, and defining the t+1st frame point cloud data as non-abnormal frame data.
The processing device for abnormal frame data in this embodiment may be used to execute the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
It is well known to those skilled in the art that with the trend of electronic information technology such as large scale integrated circuit technology and software hardware, it has become difficult to clearly divide the software and hardware boundaries of a computer system. Because any operations may be implemented in software or hardware. Execution of any instructions may be accomplished by hardware as well as software. Whether a hardware implementation or a software implementation is employed for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, change period, etc. The software implementation and the hardware implementation are equivalent to the skilled person. The skilled person may choose software or hardware to implement the above scheme as required. Thus, specific software or hardware is not limited herein.
The present invention may be an apparatus, method and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (6)

1. A method for processing abnormal frame data, comprising:
acquiring N frames of point cloud data; each frame of point cloud data comprises coordinates of points in i directions;
respectively calculating the coordinates of points in i directions in the t+1st frame of point cloud data, and obtaining corresponding i difference sequences from the difference between the coordinates of the points in the i directions corresponding to the t frame of point cloud data;
counting the number n (m) of m sequences with continuous difference values of 1 in the i difference value sequences;
determining whether the t+1st frame point cloud data is abnormal frame data according to the statistical result;
if the t+1st frame point cloud data is abnormal frame data, replacing the t+1st frame point cloud data with the kth frame point cloud data;
the determining whether the t+1st frame point cloud data is abnormal frame data according to the statistical result comprises:
if n (1) is more than or equal to 5 and n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change and system abnormality, and defining the t+1st frame point cloud data as abnormal frame data;
if n (1) is more than or equal to 5, n (i is more than or equal to 3) =0, determining that the t+1st frame point cloud data is radar data change caused by system abnormality, and defining the t+1st frame point cloud data as abnormal frame data;
if n (1) is less than 5, n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change, and defining the t+1st frame point cloud data as non-abnormal frame data;
if n (1) < 5, n (i is not less than 3) =0, determining that the t+1st frame point cloud data is data with strong continuity with the t frame point cloud data, and defining the t+1st frame point cloud data as non-abnormal frame data.
2. The method of claim 1, wherein after acquiring the N frames of point cloud data, the method further comprises:
according to the formula
Figure FDA0004117648600000011
Converting coordinates of points in i directions in the N frames of point cloud data into rectangular coordinates;
wherein,,
Figure FDA0004117648600000012
the polar coordinates of the point in the i-th direction, r is the distance measured by the radar from the surrounding obstacle,
Figure FDA0004117648600000013
Figure FDA0004117648600000014
for the angular resolution of the radar scan.
3. The method according to claim 1, wherein calculating the difference between the coordinates of points in the i directions in the t+1st frame of point cloud data and the coordinates of points in the corresponding i directions in the t frame of point cloud data, respectively, to obtain the corresponding i difference sequences includes:
according to the formula
Figure FDA0004117648600000021
Calculating the coordinates of points in the i directions in the t+1st frame of point cloud data, and the difference value between the coordinates of the corresponding points in the i directions in the t frame of point cloud data;
according to the formula
Figure FDA0004117648600000022
Obtaining a corresponding difference sequence; wherein thr is a preset threshold.
4. An apparatus for processing abnormal frame data, comprising:
the acquisition module is used for acquiring N frames of point cloud data; each frame of point cloud data comprises coordinates of points in i directions;
the calculation module is used for calculating the coordinates of points in the i directions in the t+1st frame point cloud data respectively and obtaining the corresponding i difference value sequences from the difference value between the coordinates of the points in the i directions corresponding to the t frame point cloud data;
the statistics module is used for counting the number n (m) of m sequences with the continuous difference value of 1 in the i difference value sequences;
the determining module is used for determining whether the t+1st frame point cloud data is abnormal frame data or not according to the statistical result; the method is also used for determining that the t+1st frame point cloud data is radar data change caused by environmental change and system abnormality if n (1) is more than or equal to 5 and n (i) is more than or equal to 3) is more than or equal to 1, and defining the t+1st frame point cloud data as abnormal frame data; if n (1) is more than or equal to 5, n (i is more than or equal to 3) =0, determining that the t+1st frame point cloud data is radar data change caused by system abnormality, and defining the t+1st frame point cloud data as abnormal frame data; if n (1) is less than 5, n (i is more than or equal to 3) is more than or equal to 1, determining that the t+1st frame point cloud data is radar data change caused by environmental change, and defining the t+1st frame point cloud data as non-abnormal frame data; if n (1) < 5, n (i is not less than 3) =0, determining that the t+1st frame point cloud data is data with strong continuity with the t frame point cloud data, and defining the t+1st frame point cloud data as non-abnormal frame data;
and the replacing module is used for replacing the t+1th frame point cloud data with the kth frame point cloud data if the t+1th frame point cloud data is abnormal frame data.
5. The apparatus of claim 4, further comprising a coordinate transformation module for transforming the coordinate of the object according to the formula
Figure FDA0004117648600000031
Converting coordinates of points in i directions in the N frames of point cloud data into rectangular coordinates;
wherein,,
Figure FDA0004117648600000032
the polar coordinates of the point in the i-th direction, r is the distance measured by the radar from the surrounding obstacle,
Figure FDA0004117648600000033
Figure FDA0004117648600000034
for the angular resolution of the radar scan.
6. The apparatus of claim 4, wherein the computing module is specifically configured to:
according to the formula
Figure FDA0004117648600000035
Calculating the coordinates of points in the i directions in the t+1st frame of point cloud data, and the difference value between the coordinates of the corresponding points in the i directions in the t frame of point cloud data;
according to the formula
Figure FDA0004117648600000036
Obtaining a corresponding difference sequence; wherein thr is a preset threshold.
CN201811288633.1A 2018-10-31 2018-10-31 Abnormal frame data processing method and device Active CN109859156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811288633.1A CN109859156B (en) 2018-10-31 2018-10-31 Abnormal frame data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811288633.1A CN109859156B (en) 2018-10-31 2018-10-31 Abnormal frame data processing method and device

Publications (2)

Publication Number Publication Date
CN109859156A CN109859156A (en) 2019-06-07
CN109859156B true CN109859156B (en) 2023-06-30

Family

ID=66889892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811288633.1A Active CN109859156B (en) 2018-10-31 2018-10-31 Abnormal frame data processing method and device

Country Status (1)

Country Link
CN (1) CN109859156B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110823596B (en) * 2019-11-06 2022-03-08 北京地平线机器人技术研发有限公司 Test method and device, electronic equipment and computer readable storage medium
WO2023220977A1 (en) * 2022-05-18 2023-11-23 Huawei Technologies Co., Ltd. Method and device for detecting data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105374367A (en) * 2014-07-29 2016-03-02 华为技术有限公司 Abnormal frame detecting method and abnormal frame detecting device
CN106772317A (en) * 2016-12-02 2017-05-31 深圳市速腾聚创科技有限公司 Laser radar prevents the method and laser radar of invasion
CN106897653A (en) * 2015-12-17 2017-06-27 北京林业大学 Forest zone firework detecting method and its detecting system based on the fusion of infrared and visible light video

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105374367A (en) * 2014-07-29 2016-03-02 华为技术有限公司 Abnormal frame detecting method and abnormal frame detecting device
CN106897653A (en) * 2015-12-17 2017-06-27 北京林业大学 Forest zone firework detecting method and its detecting system based on the fusion of infrared and visible light video
CN106772317A (en) * 2016-12-02 2017-05-31 深圳市速腾聚创科技有限公司 Laser radar prevents the method and laser radar of invasion

Also Published As

Publication number Publication date
CN109859156A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
US20190011550A1 (en) Method and apparatus for determing obstacle speed
CN111209978B (en) Three-dimensional visual repositioning method and device, computing equipment and storage medium
CN109375228B (en) Method and device for determining and processing abnormal frame point cloud data of laser radar
CN113759349B (en) Calibration method of laser radar and positioning equipment Equipment and autonomous driving vehicle
CN110675635B (en) Method and device for acquiring external parameters of camera, electronic equipment and storage medium
CN112634343A (en) Training method of image depth estimation model and processing method of image depth information
CN110349212B (en) Optimization method and device for instant positioning and map construction, medium and electronic equipment
CN109859156B (en) Abnormal frame data processing method and device
CN109581324B (en) Abnormal frame data processing method and device
CN114926549B (en) Three-dimensional point cloud processing method, device, equipment and storage medium
CN111145634B (en) Method and device for correcting map
KR20230036960A (en) Obstacle detection method and device, automatic driving vehicle, equipment and storage medium
CN117392241B (en) Sensor calibration method and device in automatic driving and electronic equipment
CN113219505B (en) Method, device and equipment for acquiring GPS coordinates for vehicle-road cooperative tunnel scene
CN112184828B (en) Laser radar and camera external parameter calibration method and device and automatic driving vehicle
Zhang et al. SDF-Loc: Signed distance field based 2D relocalization and map update in dynamic environments
CN113177980A (en) Target object speed determination method and device for automatic driving and electronic equipment
CN109613553B (en) Method, device and system for determining number of objects in scene based on laser radar
CN116626700A (en) Robot positioning method and device, electronic equipment and storage medium
CN116129101A (en) Target detection method, target detection device, electronic equipment and storage medium
CN112861811A (en) Target identification method, device, equipment, storage medium and radar
CN112180910A (en) Obstacle sensing method and device for mobile robot
CN113361379B (en) Method and device for generating target detection system and detecting target
CN114185351B (en) Operation method and device of disinfection robot
CN112835007B (en) Point cloud data conversion method and device, electronic 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
GR01 Patent grant
GR01 Patent grant