A method for cabin cable three-dimensional reconstruction and parameter calculation through combination of
deep learning and multi-view reconstruction comprises the following steps: S1, cable
image sequence acquisition: carrying out
video recording on a cable through an RGB camera and then segmenting the cable according to frames to obtain an original
image sequence; s2, image foreground color segmentation: inputting an original
image sequence into a trained segmentation neural network to obtain a
binary image sequence, and obtaining a
binary image with a white background and a black cable; and S3, initializing a camera
pose and a 3D curve network, selecting a pair of images capable of displaying significant camera movement from the
binary image sequence, estimating a corresponding relation between the images by using 2D
curve matching and an
optical flow technology, and calculating the camera
pose and a 3D
point cloud by using a
bundle adjustment technology. Constructing a 3D curve network through a variant of a Kruskal
algorithm by using the 3D points; s4, performing iteration camera and curve
estimation, continuously iteratively segmenting a newly input binary image, continuously optimizing the 3D curve network, and finally obtaining a cable curve
point cloud model; s5, cable parameter information is calculated in real time, and the length, the
diameter and the curvature of the cable are calculated through the cable model obtained in the step S4.