The embodiment of the application provides a kind of based on three-dimensional
point cloud's
corrosion depth distribution extraction method and related device, method includes: first, the three-dimensional
point cloud data of the outer surface of the steel wire to be measured is obtained, and curved steel wire is converted to straight coordinate
system, the radial distance and ring angle of each
surface point are calculated;Then segmented
point cloud is carried out according to preset interval along axial direction, in each segment, based on the median and median
absolute deviation of outer deviation, threshold is set, the abnormal point located outside the cross section fitting circle is removed, and the real point in the
corrosion pit is retained;Then, the uncorroded section at both ends is set as reference section, the
radius sequence is fitted, and the median value is taken as global reference
radius;Finally, for the retained real point, the absolute
corrosion depth is calculated, and the corrosion depth distribution probability density diagram and two-dimensional
heat map are output, the
interference problem of scanning
noise, registration error and outside fly point to corrosion depth statistics can be solved, and the data purity and result reliability of corrosion depth calculation are significantly improved.