The invention relates to the technical field of
centroid extraction, in particular to a star map
centroid extraction method, device, equipment and medium for surveying and mapping service, and the method comprises the steps: firstly obtaining a pixel flow, a preset segmentation threshold value, a scanning rule and a neighborhood
label inheritance rule, and carrying out the segmentation
processing of the pixel flow based on the segmentation threshold value; the method comprises the steps of obtaining a target binarization pixel
data set, then performing pixel traversal and
label distribution
processing on the target binarization pixel
data set based on a scanning rule and a neighborhood
label inheritance rule to obtain a travel-based label pixel
data set, and then performing connected domain merging
processing on the travel-based label pixel data set to obtain a travel-based label pixel data set; according to the method, multiple pieces of complete connected domain label data are obtained, finally, gray scale weighting operation processing and validity judgment processing are conducted on each piece of complete connected domain label data, a target star point
centroid data set is obtained, star point detection and centroid calculation are achieved, and the requirement for real-time high-precision
feature extraction in multiple types of surveying and mapping
geographic information services is met.