Abstract:The grain filling stage is a critical period affecting wheat yield and quality, where accurate identification of flag leaves and spikes holds significant importance for phenotypic analysis and high-yield wheat selection. However, wheat point clouds during this stage face challenges such as sparse data, dense organ distribution, and severe occlusions, posing substantial difficulties for semantic segmentation of key organs. To address these issues, a point cloud data augmentation strategy and a key organ segmentation network, termed class-aware segmentation network (CA-SegNet) were proposed. Firstly, dense point cloud data were acquired through 3D reconstruction of 80 wheat plants using the 3D Gaussian splatting (3DGS) algorithm. Secondly, to enhance sample diversity while preserving critical geometric structures, a dynamic voxel farthest point sampling (DVFPS) method was developed, which integrated dynamic voxel partitioning with farthest point sampling to achieve a 10-fold dataset expansion and standardized point cloud size (8192 points). Finally, the improved CA-SegNet was proposed, which introduced a class-aware feature extraction (CAFE) module in the encoder stage. This module incorporated dual-stage class attention (DCA) to fuse spatial structural information, enabling prioritized focus on semantically significant central points. Additionally, an enhanced loss function combining classification accuracy, spatial consistency, and feature constraints was designed to further optimize segmentation performance. Experimental results demonstrated that CA-SegNet achieved superior performance with mIoU, precision, recall, and F1-score of 62.28%, 76.41%, 72.63%, and 74.47%, respectively, outperforming methods such as PointNet++ and PlantNet. Ablation studies confirmed the effectiveness of DVFPS, CAFE, and the improved loss function in enhancing model performance. The spike volume calculated based on the segmentation results achieved an R value of 0.85 and an RMSE of 79.16cm3, further validating the effectiveness of the method in phenotypic analysis. The research significantly improved the segmentation accuracy of key organs in wheat point clouds, providing a reliable technical approach for wheat phenotypic detection and precision breeding in smart agriculture.