The present application belongs to
laser stripe image
data processing, and particularly relates to a multi-scale gradient barycenter
laser center line extraction method and
system, which comprises the following steps: S1,
feature extraction and enhancement are performed on the
laser stripe image, details branches are strengthened through a spatial channel weight map, and a boundary box positioning result is obtained based on a depth separable
convolution and a residual connection; S2, a prediction method is used to obtain a predicted center for each column, a gray
peak value is searched in a normal self-adaptive window to realize coarse positioning; the robustness under the condition of fracture and
noise interference is improved through confidence evaluation, and a coarse center line is formed after
smoothing; S3, a local coordinate
system and an elliptical window are established along the coarse center line, a multi-scale
Gaussian pyramid is constructed for
background suppression and
image enhancement; S4, a weighted graph is generated through cross-scale fusion, and a weighted gray barycenter is calculated in each window, and a high-precision laser stripe center line is output after
smoothing. The accuracy and robustness of the extracted laser center line are improved.