The invention provides a building identification method and
system based on three-dimensional
point cloud, and particularly relates to the technical field of
computer vision and three-dimensional target identification, and the method comprises the steps: carrying out the undersampling,
oversampling and data enhancement preprocessing of inputted building roof
point cloud data, and carrying out the T-net network space alignment to output the aligned data. Then, an NEWPCT model is obtained by improving a PCT model, aligned data are input into the NEWPCT model, a
point cloud feature matrix is generated through a
linear coding layer, query, key and value matrixes are obtained through linear transformation, multi-head attention output is calculated by introducing an offset matrix, intermediate correlation features are obtained after splicing and fusion, and a global
feature vector is generated through global maximum
pooling; and finally, inputting the vector into a classifier, and outputting a building roof type, and the method solves the technical problems of
geometric transformation sensitivity and local feature loss while improving the precision and robustness of three-dimensional point cloud building identification, thereby effectively improving the identification precision and robustness.