{"id":{"repo_id":"unitec","oai_identifier":"oai:null:10652/6846"},"canonical_url":"https://search.ndltd.org/etd/unitec/oai:null:10652/6846","repository":{"repo_id":"unitec","name":"Unitec","base_url":"https://www.researchbank.ac.nz/server/oai/request"},"display":{"title":"Apple detection using filters under varying lighting conditions","abstract":"RESEARCH QUESTIONS • How do different lighting conditions affect apple detection in orchard images? • How can the lighting conditions or noise of the captured image be identified? • What filters need to be applied to the image to get the enhanced image for object detection? • Which image filters are most effective in enhancing apple detection under varying lighting conditions or noise levels in the image by using YOLOv9? ABSTRACT The advancement of intelligent farming and agricultural automation has led to the development of robotic methods for efficient apple harvesting in recent years. However, because of complicated backgrounds and fluctuating illumination, it is still challenging to identify apples in genuine orchard settings. Issues like shifting lighting intensities, shadows, and image noise complicate detection, impacting the reliability of these automated systems in real-world applications. Identifying apples under different lighting conditions, such as sunlight, shadow, darkness, and blur, presents a significant obstacle in automating apple harvesting. Traditional object detection algorithms struggle with these unpredictable lighting variations, leading to decreased accuracy. There is a need for a system that can dynamically adapt to these environmental challenges and improve apple detection reliability in varying orchard conditions. This research investigates the integration of Support Vector Machine classification and image preprocessing techniques as a preprocessing step for YOLOv9-based object detection. By classifying images based on their lighting conditions and applying appropriate filters, the research aims to enhance image clarity before detection. The study further explores various filters, such as contrast adjustment, gamma correction, and histogram equalization, to determine their effectiveness in improving detection under specific lighting scenarios. The proposed solution involves a multi-phase approach where an SVM classifier identifies the lighting condition of each image, and the corresponding filter is applied to optimize image quality. YOLOv9, an efficient object detection model, is then used to detect apples in the pre processed images. This adaptive system enables real-time preprocessing tailored to lighting variations, ensuring that each image is processed optimally for improved feature extraction and detection accuracy. The experimental results demonstrate that the integrated SVM-Filter-YOLOv9 pipeline significantly enhances detection rates, particularly in low-light and high-contrast environments. By employing adaptive gamma correction, contrast stretching, and colour enhancement filters, the system achieved an overall improvement of approximately 23% in apple detection accuracy compared to non-filtered images. Notably, individual filter performance was especially effective for dark conditions, showing a 47% improvement, and for sunlight conditions, with a 37% increase. This study provides a scalable and reliable framework for automated fruit detection systems, positioning it as a valuable tool for future robotic harvesting technologies.","abstract_html":"RESEARCH QUESTIONS • How do different lighting conditions affect apple detection in orchard images? • How can the lighting conditions or noise of the captured image be identified? • What filters need to be applied to the image to get the enhanced image for object detection? • Which image filters are most effective in enhancing apple detection under varying lighting conditions or noise levels in the image by using YOLOv9? ABSTRACT The advancement of intelligent farming and agricultural automation has led to the development of robotic methods for efficient apple harvesting in recent years. However, because of complicated backgrounds and fluctuating illumination, it is still challenging to identify apples in genuine orchard settings. Issues like shifting lighting intensities, shadows, and image noise complicate detection, impacting the reliability of these automated systems in real-world applications. Identifying apples under different lighting conditions, such as sunlight, shadow, darkness, and blur, presents a significant obstacle in automating apple harvesting. Traditional object detection algorithms struggle with these unpredictable lighting variations, leading to decreased accuracy. There is a need for a system that can dynamically adapt to these environmental challenges and improve apple detection reliability in varying orchard conditions. This research investigates the integration of Support Vector Machine classification and image preprocessing techniques as a preprocessing step for YOLOv9-based object detection. By classifying images based on their lighting conditions and applying appropriate filters, the research aims to enhance image clarity before detection. The study further explores various filters, such as contrast adjustment, gamma correction, and histogram equalization, to determine their effectiveness in improving detection under specific lighting scenarios. The proposed solution involves a multi-phase approach where an SVM classifier identifies the lighting condition of each image, and the corresponding filter is applied to optimize image quality. YOLOv9, an efficient object detection model, is then used to detect apples in the pre processed images. This adaptive system enables real-time preprocessing tailored to lighting variations, ensuring that each image is processed optimally for improved feature extraction and detection accuracy. The experimental results demonstrate that the integrated SVM-Filter-YOLOv9 pipeline significantly enhances detection rates, particularly in low-light and high-contrast environments. By employing adaptive gamma correction, contrast stretching, and colour enhancement filters, the system achieved an overall improvement of approximately 23% in apple detection accuracy compared to non-filtered images. Notably, individual filter performance was especially effective for dark conditions, showing a 47% improvement, and for sunlight conditions, with a 37% increase. This study provides a scalable and reliable framework for automated fruit detection systems, positioning it as a valuable tool for future robotic harvesting technologies.","abstract_has_math":false,"creators":["Sonala, Kiran"],"institution":"Unitec, Te Pūkenga – New Zealand Institute of Skills and Technology","degree_name":"Master of Technologies (Computing)","degree_level":"Masters","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Sen, Sachin","Song, Lei"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-26T14:13:46Z","subjects":["apples","harvesting","pattern recognition systems in agriculture","computer vision in agriculture","unsupervised image classification","image processing","vector agents","lighting"],"languages":["en"],"rights":["All rights reserved","Author"],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Sonala, K. (2025). Apple detection using filters under varying lighting conditions (Unpublished document submitted in partial fulfilment of the requirements for the degree of Master of Applied Technologies (Computing)). Unitec, Te Pūkenga - New Zealand Institute of Skills and Technology https://hdl.handle.net/10652/6846"],"render_values":[{"text":"Sonala, K. (2025). Apple detection using filters under varying lighting conditions (Unpublished document submitted in partial fulfilment of the requirements for the degree of Master of Applied Technologies (Computing)). Unitec, Te Pūkenga - New Zealand Institute of Skills and Technology https://hdl.handle.net/10652/6846","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10652/6846","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10652/6846","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","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%3Aunitec%3Aoai%3Anull%3A10652%2F6846","prefix":"oai_dc"},"source_record":{"url":"https://www.researchbank.ac.nz/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Anull%3A10652%2F6846","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Sen, Sachin","Song, Lei"]},{"key":"dc:creator","label":"Author","values":["Sonala, Kiran"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-06-10T19:59:51Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-06-10T19:59:51Z"]},{"key":"dc:date.issued","label":"Date","values":["2025"]},{"key":"dc:type","label":"Dc Type","values":["Masters Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Technologies (Computing)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Unitec, Te Pūkenga – New Zealand Institute of Skills and Technology"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["apples","harvesting","pattern recognition systems in agriculture","computer vision in agriculture","unsupervised image classification","image processing","vector agents","lighting"]},{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Applied Technologies"]},{"key":"dc:subject.marsden","label":"Dc Subject Marsden","values":["ANZSRC Fields of Research 2020::30 Agricultural, veterinary and food sciences::3002 Agriculture, land and farm management","ANZSRC Fields of Research 2020::46 Information and computing sciences::4603 Computer vision and multimedia computation::460308 Pattern recognition"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["All rights reserved"]},{"key":"dc:rights.holder","label":"Dc Rights Holder","values":["Author"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Sonala, K. (2025). Apple detection using filters under varying lighting conditions (Unpublished document submitted in partial fulfilment of the requirements for the degree of Master of Applied Technologies (Computing)). Unitec, Te Pūkenga - New Zealand Institute of Skills and Technology https://hdl.handle.net/10652/6846"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10652/6846"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["RESEARCH QUESTIONS • How do different lighting conditions affect apple detection in orchard images? • How can the lighting conditions or noise of the captured image be identified? • What filters need to be applied to the image to get the enhanced image for object detection? • Which image filters are most effective in enhancing apple detection under varying lighting conditions or noise levels in the image by using YOLOv9? ABSTRACT The advancement of intelligent farming and agricultural automation has led to the development of robotic methods for efficient apple harvesting in recent years. However, because of complicated backgrounds and fluctuating illumination, it is still challenging to identify apples in genuine orchard settings. Issues like shifting lighting intensities, shadows, and image noise complicate detection, impacting the reliability of these automated systems in real-world applications. Identifying apples under different lighting conditions, such as sunlight, shadow, darkness, and blur, presents a significant obstacle in automating apple harvesting. Traditional object detection algorithms struggle with these unpredictable lighting variations, leading to decreased accuracy. There is a need for a system that can dynamically adapt to these environmental challenges and improve apple detection reliability in varying orchard conditions. This research investigates the integration of Support Vector Machine classification and image preprocessing techniques as a preprocessing step for YOLOv9-based object detection. By classifying images based on their lighting conditions and applying appropriate filters, the research aims to enhance image clarity before detection. The study further explores various filters, such as contrast adjustment, gamma correction, and histogram equalization, to determine their effectiveness in improving detection under specific lighting scenarios. The proposed solution involves a multi-phase approach where an SVM classifier identifies the lighting condition of each image, and the corresponding filter is applied to optimize image quality. YOLOv9, an efficient object detection model, is then used to detect apples in the pre processed images. This adaptive system enables real-time preprocessing tailored to lighting variations, ensuring that each image is processed optimally for improved feature extraction and detection accuracy. The experimental results demonstrate that the integrated SVM-Filter-YOLOv9 pipeline significantly enhances detection rates, particularly in low-light and high-contrast environments. By employing adaptive gamma correction, contrast stretching, and colour enhancement filters, the system achieved an overall improvement of approximately 23% in apple detection accuracy compared to non-filtered images. Notably, individual filter performance was especially effective for dark conditions, showing a 47% improvement, and for sunlight conditions, with a 37% increase. This study provides a scalable and reliable framework for automated fruit detection systems, positioning it as a valuable tool for future robotic harvesting technologies."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["104"]},{"key":"dc:title","label":"Title","values":["Apple detection using filters under varying lighting conditions"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Unitec, Te Pūkenga","Otago Polytechnic"]}]}],"canonical_facts":{"dc:contributor.advisor":["Sen, Sachin","Song, Lei"],"dc:creator":["Sonala, Kiran"],"dc:date.accessioned":["2025-06-10T19:59:51Z"],"dc:date.available":["2025-06-10T19:59:51Z"],"dc:date.issued":["2025"],"dc:description.abstract":["RESEARCH QUESTIONS • How do different lighting conditions affect apple detection in orchard images? • How can the lighting conditions or noise of the captured image be identified? • What filters need to be applied to the image to get the enhanced image for object detection? • Which image filters are most effective in enhancing apple detection under varying lighting conditions or noise levels in the image by using YOLOv9? ABSTRACT The advancement of intelligent farming and agricultural automation has led to the development of robotic methods for efficient apple harvesting in recent years. However, because of complicated backgrounds and fluctuating illumination, it is still challenging to identify apples in genuine orchard settings. Issues like shifting lighting intensities, shadows, and image noise complicate detection, impacting the reliability of these automated systems in real-world applications. Identifying apples under different lighting conditions, such as sunlight, shadow, darkness, and blur, presents a significant obstacle in automating apple harvesting. Traditional object detection algorithms struggle with these unpredictable lighting variations, leading to decreased accuracy. There is a need for a system that can dynamically adapt to these environmental challenges and improve apple detection reliability in varying orchard conditions. This research investigates the integration of Support Vector Machine classification and image preprocessing techniques as a preprocessing step for YOLOv9-based object detection. By classifying images based on their lighting conditions and applying appropriate filters, the research aims to enhance image clarity before detection. The study further explores various filters, such as contrast adjustment, gamma correction, and histogram equalization, to determine their effectiveness in improving detection under specific lighting scenarios. The proposed solution involves a multi-phase approach where an SVM classifier identifies the lighting condition of each image, and the corresponding filter is applied to optimize image quality. YOLOv9, an efficient object detection model, is then used to detect apples in the pre processed images. This adaptive system enables real-time preprocessing tailored to lighting variations, ensuring that each image is processed optimally for improved feature extraction and detection accuracy. The experimental results demonstrate that the integrated SVM-Filter-YOLOv9 pipeline significantly enhances detection rates, particularly in low-light and high-contrast environments. By employing adaptive gamma correction, contrast stretching, and colour enhancement filters, the system achieved an overall improvement of approximately 23% in apple detection accuracy compared to non-filtered images. Notably, individual filter performance was especially effective for dark conditions, showing a 47% improvement, and for sunlight conditions, with a 37% increase. This study provides a scalable and reliable framework for automated fruit detection systems, positioning it as a valuable tool for future robotic harvesting technologies."],"dc:format.extent":["104"],"dc:identifier.citation":["Sonala, K. (2025). Apple detection using filters under varying lighting conditions (Unpublished document submitted in partial fulfilment of the requirements for the degree of Master of Applied Technologies (Computing)). Unitec, Te Pūkenga - New Zealand Institute of Skills and Technology https://hdl.handle.net/10652/6846"],"dc:identifier.uri":["https://hdl.handle.net/10652/6846"],"dc:language.iso":["en"],"dc:rights":["All rights reserved"],"dc:rights.holder":["Author"],"dc:subject":["apples","harvesting","pattern recognition systems in agriculture","computer vision in agriculture","unsupervised image classification","image processing","vector agents","lighting"],"dc:subject.discipline":["Applied Technologies"],"dc:subject.marsden":["ANZSRC Fields of Research 2020::30 Agricultural, veterinary and food sciences::3002 Agriculture, land and farm management","ANZSRC Fields of Research 2020::46 Information and computing sciences::4603 Computer vision and multimedia computation::460308 Pattern recognition"],"dc:title":["Apple detection using filters under varying lighting conditions"],"dc:type":["Masters Thesis"],"local:contributor.affiliation":["Unitec, Te Pūkenga","Otago Polytechnic"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Technologies (Computing)"],"thesis:institution_name":["Unitec, Te Pūkenga – New Zealand Institute of Skills and Technology"]},"updated_at":"2026-11-26T14:13:46Z"}