Back to search

Graduate Studies

Rice Panicle Segmentation using Multi-Stage Pseudo-labeling and Active Learning

Abstract

dc:description.abstract

Global food demand is projected to rise significantly by mid-century, necessitating more efficient agricultural practices to enhance crop monitoring and yield estimation. As a staple food for over half of the world’s population, rice plays a pivotal role in global food security. Accurate and scalable monitoring of rice growth stages—particularly panicle detection and segmentation—is critical for estimating yield potential and iden-tifying stress responses. Traditional manual phenotyping methods are labor-intensive and time-consuming, making automated approaches increasingly essential. Rice panicle segmentation poses unique segmentation challenges due to occlusion, morphological variability, and complex field conditions. Progress is hindered by limited annotated datasets, inconsistent environmental conditions, and the high cost of manual labeling. This research aims to alleviate these challenges by proposing accurate and label-efficient deep learning frameworks tailored for rice panicle segmentation under real-world agricultural settings. A novel dataset was developed using drone-based video acquisition in rice fields located in Fatehgarh Sahib, Punjab, India. Two commonly cultivated rice varieties, PB-126 and PB-128, were captured at their final growth stage using 4K-resolution imaging. Video frames were processed into 512×512-pixel patches and manually annotated to create precise ground truth segmentation masks. To improve model generalization and bridge the gap between controlled and field environments, a complementary synthetic dataset was also generated. This dual dataset enables future research in rice phenotyping and related agricultural applications. Two complementary deep learning approaches were developed. The first is a multi-stage pseudo-labeling pipeline based on a customized U-Net architecture with an EfficientNet-B3 encoder. This pipeline pro-gressively improves segmentation performance through synthetic pretraining, fine-tuning on real data, and iterative incorporation of high-confidence pseudo-labels. The second approach is an active learning frame-work that significantly reduces manual annotation by selecting the most uncertain samples—identified via entropy-based uncertainty estimation—for annotation and retraining. To ensure stable and robust training under limited labeled data, the active learning strategy integrates a hybrid loss function, momentum-based optimization, and a cosine annealing learning rate scheduler with warm restarts. Both frameworks were rigorously evaluated on internal and external test sets to assess performance across varied field conditions. The pseudo-labeling pipeline achieved Dice scores of 0.7531 on internal data and 0.6945 on external data, surpassing the benchmark nnU-Net model. The active learning framework also delivered strong performance, with Dice scores improving from 0.6546 to 0.7071 (internal) and 0.6241 to 0.6628 (external) using just 500 manually labeled patches. Ablation studies revealed that learning rate scheduling contributed significantly to performance gains than encoder modifications, emphasizing the critical role of training dynamics in data-scarce environments. This research introduces methodological innovations and develops a valuable rice panicle dataset. The segmentation strategies presented here are transferable to other crops and agricultural tasks such as wheat spike detection, maize tassel segmentation, barley head counting, and fruit or leaf analysis. This transfer-ability extends the impact of the work to high-throughput phenotyping, where scalable, automated solutions are essential to meeting global food security goals. Future research can expand on these findings by including additional rice growth stages and varieties, em-ploying self-supervised pretraining or domain adaptation for better cross-field generalization, and optimizing models for real-time deployment on drones or edge devices. A hybrid strategy that combines pseudo-labeling and active learning also holds promise for maximizing segmentation accuracy while minimizing annotation costs in large-scale agricultural monitoring. This thesis lays a solid foundation for AI-driven crop segmenta-tion and contributes to the development of scalable, sustainable, and data-efficient agricultural practices.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MSc)
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher.institution
Graduate Studies
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Khehra, Harnoor Kaur
Advisor dc:contributor.advisor
  • Maleki, Farhad
Committee members dc:contributor.committeemember
  • Alfadel, Mahmoud Abdulkarim
  • Saeedi, Sara

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
Khehra, H. K. (2025). Rice panicle segmentation using multi-stage pseudo-labeling and active learning (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.

Chain of custody

source
Harvested from
University of Calgary
Base URL
ucalgary.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Khehra, Harnoor Kaur. Rice Panicle Segmentation using Multi-Stage Pseudo-labeling and Active Learning. Graduate Studies, 2025. https://hdl.handle.net/1880/122840