{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/122847"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/122847","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Towards Developing a Foundation Model for Agricultural Vision","abstract":"The rapid advancements in artificial intelligence and computer vision have enabled the development of powerful models for natural image understanding. However, adapting these advances to domain-specific tasks in agriculture—characterized by limited annotated data, high visual complexity, and domain shift—remains an open challenge. This thesis aims to address this gap by developing two foundation-model-inspired frameworks tailored for precision agriculture: WheatSAM and Agri-FM+. WheatSAM presents an adaptation of the Segment Anything Model (SAM) for instance-level wheat head segmentation. It introduces a two-stage segmentation framework combining automated prompt generation via object detection with a novel error-aware bounding box perturbation strategy to enhance SAM’s robustness to noisy prompts. WheatSAM exhibits consistent improvements over baseline SAM models (ViT-B/L/H) and traditional segmentation pipelines, achieving high segmentation fidelity in complex field conditions. Complementing this, Agri-FM+ is a self-supervised foundation model pretrained on a curated dataset of 147,000 close-range agricultural images using contrastive learning and continual adaptation from ImageNet. Designed to learn generalizable visual representations for crop phenotyping, Agri-FM+ demonstrates superior performance across eight downstream agricultural tasks, including object detection, semantic segmentation, and instance segmentation. Notably, it outperforms both ImageNet-supervised and from-scratch-trained baselines, particularly under limited supervision, highlighting the value of domain-adapted pretraining. Together, these contributions bridge recent advances in foundation models with the specific demands of agricultural vision, offering scalable, reusable, and label-efficient solutions for real-world phenotyping applications. This thesis establishes a new paradigm for domain-specialized foundation models in agriculture, laying the groundwork for future research in multimodal, federated, and open-world agricultural AI systems.","abstract_html":"The rapid advancements in artificial intelligence and computer vision have enabled the development of powerful models for natural image understanding. However, adapting these advances to domain-specific tasks in agriculture—characterized by limited annotated data, high visual complexity, and domain shift—remains an open challenge. This thesis aims to address this gap by developing two foundation-model-inspired frameworks tailored for precision agriculture: WheatSAM and Agri-FM+. WheatSAM presents an adaptation of the Segment Anything Model (SAM) for instance-level wheat head segmentation. It introduces a two-stage segmentation framework combining automated prompt generation via object detection with a novel error-aware bounding box perturbation strategy to enhance SAM’s robustness to noisy prompts. WheatSAM exhibits consistent improvements over baseline SAM models (ViT-B/L/H) and traditional segmentation pipelines, achieving high segmentation fidelity in complex field conditions. Complementing this, Agri-FM+ is a self-supervised foundation model pretrained on a curated dataset of 147,000 close-range agricultural images using contrastive learning and continual adaptation from ImageNet. Designed to learn generalizable visual representations for crop phenotyping, Agri-FM+ demonstrates superior performance across eight downstream agricultural tasks, including object detection, semantic segmentation, and instance segmentation. Notably, it outperforms both ImageNet-supervised and from-scratch-trained baselines, particularly under limited supervision, highlighting the value of domain-adapted pretraining. Together, these contributions bridge recent advances in foundation models with the specific demands of agricultural vision, offering scalable, reusable, and label-efficient solutions for real-world phenotyping applications. This thesis establishes a new paradigm for domain-specialized foundation models in agriculture, laying the groundwork for future research in multimodal, federated, and open-world agricultural AI systems.","abstract_has_math":false,"creators":["Nahian, Md Jaber Al"],"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","McQuillan, Ian"],"committee_chairs":[],"committee_members":["Maleki, Farhad","McQuillan, Ian","Zhao, Richard","Bisheban, Mahdis"],"year":2025,"date_issued":"2025-09-12","date_published":"2025-09-12","updated_at":"2026-11-19T07:24:56Z","subjects":["Deep Learning","Precision Agriculture","Foundation Model","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/122847"],"render_values":[{"text":"https://hdl.handle.net/1880/122847","href":"https://hdl.handle.net/1880/122847","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Nahian, M. J. A. (2025). Towards developing a foundation model for agricultural vision (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"render_values":[{"text":"Nahian, M. J. A. (2025). Towards developing a foundation model for agricultural vision (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/50441","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/50441","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%2F122847","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F122847","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Maleki, Farhad","McQuillan, Ian"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Maleki, Farhad","McQuillan, Ian","Zhao, Richard","Bisheban, Mahdis"]},{"key":"dc:creator","label":"Author","values":["Nahian, Md Jaber Al"]}]},{"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-18T19:03:44Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-09-18T19:03:44Z"]},{"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":["Deep Learning","Precision Agriculture","Foundation Model","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":["Nahian, M. J. A. (2025). Towards developing a foundation model for agricultural vision (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/50441"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/122847"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The rapid advancements in artificial intelligence and computer vision have enabled the development of powerful models for natural image understanding. However, adapting these advances to domain-specific tasks in agriculture—characterized by limited annotated data, high visual complexity, and domain shift—remains an open challenge. This thesis aims to address this gap by developing two foundation-model-inspired frameworks tailored for precision agriculture: WheatSAM and Agri-FM+. WheatSAM presents an adaptation of the Segment Anything Model (SAM) for instance-level wheat head segmentation. It introduces a two-stage segmentation framework combining automated prompt generation via object detection with a novel error-aware bounding box perturbation strategy to enhance SAM’s robustness to noisy prompts. WheatSAM exhibits consistent improvements over baseline SAM models (ViT-B/L/H) and traditional segmentation pipelines, achieving high segmentation fidelity in complex field conditions. Complementing this, Agri-FM+ is a self-supervised foundation model pretrained on a curated dataset of 147,000 close-range agricultural images using contrastive learning and continual adaptation from ImageNet. Designed to learn generalizable visual representations for crop phenotyping, Agri-FM+ demonstrates superior performance across eight downstream agricultural tasks, including object detection, semantic segmentation, and instance segmentation. Notably, it outperforms both ImageNet-supervised and from-scratch-trained baselines, particularly under limited supervision, highlighting the value of domain-adapted pretraining. Together, these contributions bridge recent advances in foundation models with the specific demands of agricultural vision, offering scalable, reusable, and label-efficient solutions for real-world phenotyping applications. This thesis establishes a new paradigm for domain-specialized foundation models in agriculture, laying the groundwork for future research in multimodal, federated, and open-world agricultural AI systems."]},{"key":"dc:title","label":"Title","values":["Towards Developing a Foundation Model for Agricultural Vision"]},{"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","McQuillan, Ian"],"dc:contributor.committeemember":["Maleki, Farhad","McQuillan, Ian","Zhao, Richard","Bisheban, Mahdis"],"dc:creator":["Nahian, Md Jaber Al"],"dc:date":["2025-11"],"dc:date.accessioned":["2025-09-18T19:03:44Z"],"dc:date.available":["2025-09-18T19:03:44Z"],"dc:date.issued":["2025-09-12"],"dc:description.abstract":["The rapid advancements in artificial intelligence and computer vision have enabled the development of powerful models for natural image understanding. However, adapting these advances to domain-specific tasks in agriculture—characterized by limited annotated data, high visual complexity, and domain shift—remains an open challenge. This thesis aims to address this gap by developing two foundation-model-inspired frameworks tailored for precision agriculture: WheatSAM and Agri-FM+. WheatSAM presents an adaptation of the Segment Anything Model (SAM) for instance-level wheat head segmentation. It introduces a two-stage segmentation framework combining automated prompt generation via object detection with a novel error-aware bounding box perturbation strategy to enhance SAM’s robustness to noisy prompts. WheatSAM exhibits consistent improvements over baseline SAM models (ViT-B/L/H) and traditional segmentation pipelines, achieving high segmentation fidelity in complex field conditions. Complementing this, Agri-FM+ is a self-supervised foundation model pretrained on a curated dataset of 147,000 close-range agricultural images using contrastive learning and continual adaptation from ImageNet. Designed to learn generalizable visual representations for crop phenotyping, Agri-FM+ demonstrates superior performance across eight downstream agricultural tasks, including object detection, semantic segmentation, and instance segmentation. Notably, it outperforms both ImageNet-supervised and from-scratch-trained baselines, particularly under limited supervision, highlighting the value of domain-adapted pretraining. Together, these contributions bridge recent advances in foundation models with the specific demands of agricultural vision, offering scalable, reusable, and label-efficient solutions for real-world phenotyping applications. This thesis establishes a new paradigm for domain-specialized foundation models in agriculture, laying the groundwork for future research in multimodal, federated, and open-world agricultural AI systems."],"dc:identifier.citation":["Nahian, M. J. A. (2025). Towards developing a foundation model for agricultural vision (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"dc:identifier.doi":["https://dx.doi.org/10.11575/PRISM/50441"],"dc:identifier.uri":["https://hdl.handle.net/1880/122847"],"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":["Deep Learning","Precision Agriculture","Foundation Model","Segmentation"],"dc:subject.classification":["Computer Science"],"dc:title":["Towards Developing a Foundation Model for Agricultural Vision"],"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:24:56Z"}