The invention provides a multi-
diameter-at-breast-height extraction method and device for a tree with branches,
electronic equipment and a medium, and the method comprises the steps: constructing an
octree based on a single tree segmentation result, carrying out the clustering analysis through the
octree, and extracting
point cloud clusters of a
trunk and the branches; and then multilayer
slicing and
circle fitting are carried out based on the obtained
point cloud cluster, effectiveness evaluation of a fitting circle is carried out, and finally the
diameter at breast height of the
trunk and the branches is determined based on an
evaluation result. According to the method, tree branches are fully considered, the adaptive
octree is adopted for
processing, an effective result can be obtained without setting parameters, the scheme for extracting the
trunk and the branches has a certain denoising capability, and the accuracy of extracting the diameters at breast height is improved while multi-
diameter extraction of the trunk and the branches is realized. Meanwhile, according to the scheme, multi-layer
slicing is carried out on effective point clouds of all clusters,
circle fitting is carried out on all slices, and fitting result evaluation is carried out by using an effectiveness evaluation index, so that the precision of a
diameter at breast height result is further improved.