This is the code implementations of methods and models proposed in paper Automated Rice Phenology Stage Mapping using UAV Images and Deep Learning published in Drones.
Accurate monitoring of rice phenology is critical for crop management, cultivars breeding and yield estimating. In the paper, we have designed a straightforward and effective workflow, where patches are split from the image incrementally and sampled sparsely (ISS) to eliminate computational redundancy. These patches were fed into the segmentation model that generates traits mask. Based on UAV photogrammetry, each pixel could be direct geo-located (DGL). And the final rice phenology mapping could be achieved in QGIS with interpolation of the coupled trait values and locations. This phenology mapping system could aid decision-making towards automatic management of the rice field.
Figure 2. The construction process of PaddySeg Dataset:
pds02_PatchSparseSampling.py is for Incremental Sparse Sampling (ISS) where the original image is split into patches and selected sparsely.
Figure 8. Incremental Sparse Sampling and System Workflow:
GBiNet model is used for prediction, and detail of the model is arranged in MMSegmentation style under PaddySeg/GBiNet/
Figure 5. Overview of Ghost Bilateral Network (GBiNet). The network has 4 main parts: the Detail Branch, Semantic Branch, Aggregation Layer, and GCN Segmentation Head. Each box is an operation block, and the arrow connection represents the feature maps flow with numbers above showing the ratios of map size to the input size: