The invention provides a special-shaped bridge frame contour skeleton line extraction method suitable for an offshore converter
station electrical
specialty. The method comprises the following steps: S1, obtaining a CAD design file of a target electrical
specialty; s2, docking CAD analysis service, extracting a bridge layer polyline, and normalizing coordinates by taking the equipment reference point as an original point; s3, preprocessing the
line segment primitives to enclose a polygon; s4, filtering the output polygon in the step S3: calculating a difference value between the area of the polygon and the area of the minimum enclosing rectangle of the polygon, and if the difference value is greater than 1% of the area of the minimum enclosing rectangle, determining that the bridge is a special-shaped bridge; and S5, according to the characteristics of consistency and
connectivity of the cross section size of the special-shaped bridge in the electrical professional CAD drawing of the offshore converter
station, screening associated components connected with the special-shaped bridge, obtaining the cross section width W through the geometrical relationship, and associating the cross section width W to the corresponding special-shaped bridge. According to the invention, the special-shaped bridge and the contour skeleton line thereof can be automatically identified, the geometrical characteristics of the special-shaped bridge can be accurately described, and the digitalization of the special-shaped bridge can be realized in an auxiliary manner.