The invention relates to the technical field of
digital elevation model processing, in particular to a confidence-based mountain city staggered-floor building DEM optimization method and
system, and the method comprises the steps: carrying out the grouping frequency number statistics of a buffer region, generating a frequency number
histogram, recognizing a significant
wave crest in the frequency number
histogram, calculating a staggered-floor
confidence score, and carrying out the calculation of the frequency number
histogram according to the significant
wave crest and the staggered-floor
confidence score. The house type is judged, if the house type is a common house, the minimum
elevation value in the significant wave crests is taken as the terrace height, and if the house type is a split-level building, a binding relation set of the house side edge and the terrace height is established; and taking the house
contour line as a
terrain fracture line, generating a constraint point in combination with the terrace height, and generating a DEM by adopting a constraint
triangulated irregular network method. According to the scheme, manual intervention is not needed, the split-level building in the mountain city can be automatically, effectively and accurately recognized, high-fidelity modeling is conducted on the multi-level terrace height of the split-level building, and therefore the high-precision DEM conforming to semantic authenticity is generated, and the precision and authenticity of the DEM are improved.