{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/122840"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/122840","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Rice Panicle Segmentation using Multi-Stage Pseudo-labeling and Active Learning","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Khehra, Harnoor Kaur"],"institution":"Graduate Studies","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Maleki, Farhad"],"committee_chairs":[],"committee_members":["Alfadel, Mahmoud Abdulkarim","Saeedi, Sara"],"year":2025,"date_issued":"2025-09-12","date_published":"2025-09-12","updated_at":"2026-11-19T07:37:43Z","subjects":["Agriculture","deep learning","psuedo-labeling","active learning","segmentation"],"languages":["en"],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/122840"],"render_values":[{"text":"https://hdl.handle.net/1880/122840","href":"https://hdl.handle.net/1880/122840","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["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."],"render_values":[{"text":"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.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.11575/PRISM/50434","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/50434","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Acalgary%3Aoai%3Aucalgary.scholaris.ca%3A1880%2F122840","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F122840","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Maleki, Farhad"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Alfadel, Mahmoud Abdulkarim","Saeedi, Sara"]},{"key":"dc:creator","label":"Author","values":["Khehra, Harnoor Kaur"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-11"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-09-18T18:53:52Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-09-18T18:53:52Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-09-12"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Graduate Studies"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Calgary"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]},{"key":"thesis:release_request","label":"Thesis Release Request","values":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Agriculture","deep learning","psuedo-labeling","active learning","segmentation"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["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."]},{"key":"dc:identifier.doi","label":"DOI","values":["https://dx.doi.org/10.11575/PRISM/50434"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/122840"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:title","label":"Title","values":["Rice Panicle Segmentation using Multi-Stage Pseudo-labeling and Active Learning"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Maleki, Farhad"],"dc:contributor.committeemember":["Alfadel, Mahmoud Abdulkarim","Saeedi, Sara"],"dc:creator":["Khehra, Harnoor Kaur"],"dc:date":["2025-11"],"dc:date.accessioned":["2025-09-18T18:53:52Z"],"dc:date.available":["2025-09-18T18:53:52Z"],"dc:date.issued":["2025-09-12"],"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."],"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."],"dc:identifier.doi":["https://dx.doi.org/10.11575/PRISM/50434"],"dc:identifier.uri":["https://hdl.handle.net/1880/122840"],"dc:language.iso":["en"],"dc:publisher.faculty":["Graduate Studies"],"dc:publisher.institution":["University of Calgary"],"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."],"dc:subject":["Agriculture","deep learning","psuedo-labeling","active learning","segmentation"],"dc:subject.classification":["Computer Science"],"dc:title":["Rice Panicle Segmentation using Multi-Stage Pseudo-labeling and Active Learning"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"],"thesis:release_request":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]},"updated_at":"2026-11-19T07:37:43Z"}