Efficient Super-Resolution for Resource-Constrained Precision Agriculture: A Loss Function Optimization Approach | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Efficient Super-Resolution for Resource-Constrained Precision Agriculture: A Loss Function Optimization Approach Mhd. Idham Khalif, Tjhwa Endang Djuana, Richard Antonius Rambung, and 3 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9340242/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract In smart agriculture, vision-based crop monitoring systems require high-quality imagery along with efficient computation and low power consumption to support accurate analysis and real-time decision-making in resource-constrained edge environments. However, in digital image processing, image quality and computational performance present a trade-off, where increasing reconstruction quality typically increases model complexity and resource requirements. This study addresses this challenge by proposing a lightweight super-resolution (SR) approach optimized for real-world edge applications in agriculture. Unlike existing SR methods that rely on complex architectures or synthetic datasets, this work focuses on loss function-level optimization to improve perceptual image quality without increasing computational cost and power consumption, making it applicable to support resource-constrained precision smart agriculture. ESPCN was chosen as the baseline due to its efficiency, and was further optimized by replacing the conventional Mean Squared Error (MSE) loss with L1 loss to improve robustness to noise and lighting variations. Experimental results on a real-world lettuce dataset captured using ESP32-CAM show that the proposed method produces better texture quality in both day and night conditions. Structural evaluation using Laplacian-based edge density and sharpness, supported by statistical analysis, confirmed improved preservation of high-frequency details without additional computational or energy costs. These findings demonstrate that lightweight loss function optimization provides a practical and energy-efficient solution for improving image quality in edge-based agricultural monitoring systems. edge AI super-resolution ESPCN L1 Loss MSE precision agriculture Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-9340242","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":620144180,"identity":"25db33cb-6139-4ffe-a89e-a950f3f95f95","order_by":0,"name":"Mhd. Idham Khalif","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABG0lEQVRIiWNgGAWjYBACNoYcEJWQwMDO2PDhAwMDD0iMIQEkyMxggF8LM2PjzBkJYC2MDfi0MCC0MDDO5gErBWqBymHVwseee/DTDYa0PP5m5sZm2x/3ZOTbj6U/eMBgJ8/AzrwBq8N43iVL5zDkFEscZmxszkko5jE4k3YQ6LBkwwZmtgKsWiRyDIBaKhIbDjO2P85JSOAxYEhvBGphBiIe7N6XyDH+DdIyH2SLBVCLfP9zkJZ6fFrMQA5L3ADSAgwGHoYbYIcdxq2F542ZdY5BWuJGoJbGnjSgw248S5yRYHDcsA2HX+Tbc4xv51QkJ8473v6w4YdNgr18f5rBxx8V1fL8/IexhhgEYDrAAJwIRsEoGAWjYBSQCQB3l1pVCfA3vAAAAABJRU5ErkJggg==","orcid":"","institution":"Universitas Trisakti","correspondingAuthor":true,"prefix":"","firstName":"Mhd.","middleName":"Idham","lastName":"Khalif","suffix":""},{"id":620144181,"identity":"e23a77a9-af48-498e-8095-f976503572c1","order_by":1,"name":"Tjhwa Endang Djuana","email":"","orcid":"","institution":"Universitas Trisakti","correspondingAuthor":false,"prefix":"","firstName":"Tjhwa","middleName":"Endang","lastName":"Djuana","suffix":""},{"id":620144182,"identity":"70fb1701-0d7f-4545-b748-1526edaeb70a","order_by":2,"name":"Richard Antonius Rambung","email":"","orcid":"","institution":"Universitas Trisakti","correspondingAuthor":false,"prefix":"","firstName":"Richard","middleName":"Antonius","lastName":"Rambung","suffix":""},{"id":620144183,"identity":"685ce2b4-7ddb-4eb1-95af-2582b576e422","order_by":3,"name":"Achmad Nadratan Al Janna","email":"","orcid":"","institution":"Universitas Trisakti","correspondingAuthor":false,"prefix":"","firstName":"Achmad","middleName":"Nadratan Al","lastName":"Janna","suffix":""},{"id":620144184,"identity":"a4ebcdd0-cbae-4536-9bdf-e90501a09281","order_by":4,"name":"Listyo Edi Prabowo","email":"","orcid":"","institution":"Universitas Indonesia","correspondingAuthor":false,"prefix":"","firstName":"Listyo","middleName":"Edi","lastName":"Prabowo","suffix":""},{"id":620144185,"identity":"1e8f2705-b5d7-4392-ba89-f9c81ac140a2","order_by":5,"name":"Tirta Akdi Toma Mesoya Hulu","email":"","orcid":"","institution":"The University of Queensland","correspondingAuthor":false,"prefix":"","firstName":"Tirta","middleName":"Akdi Toma Mesoya","lastName":"Hulu","suffix":""}],"badges":[],"createdAt":"2026-04-07 06:09:27","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-9340242/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9340242/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":107543003,"identity":"023d6beb-f348-4e2f-b5cd-35dbebd935bb","added_by":"auto","created_at":"2026-04-22 12:42:02","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1116073,"visible":true,"origin":"","legend":"","description":"","filename":"1Manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9340242/v1_covered_a2d1dafc-9a3a-4bd3-91ec-9fb6be1e408b.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Efficient Super-Resolution for Resource-Constrained Precision Agriculture: A Loss Function Optimization Approach","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"edge AI, super-resolution, ESPCN, L1 Loss, MSE, precision agriculture","lastPublishedDoi":"10.21203/rs.3.rs-9340242/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9340242/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eIn smart agriculture, vision-based crop monitoring systems require high-quality imagery along with efficient computation and low power consumption to support accurate analysis and real-time decision-making in resource-constrained edge environments. However, in digital image processing, image quality and computational performance present a trade-off, where increasing reconstruction quality typically increases model complexity and resource requirements. This study addresses this challenge by proposing a lightweight super-resolution (SR) approach optimized for real-world edge applications in agriculture. Unlike existing SR methods that rely on complex architectures or synthetic datasets, this work focuses on loss function-level optimization to improve perceptual image quality without increasing computational cost and power consumption, making it applicable to support resource-constrained precision smart agriculture. ESPCN was chosen as the baseline due to its efficiency, and was further optimized by replacing the conventional Mean Squared Error (MSE) loss with L1 loss to improve robustness to noise and lighting variations. Experimental results on a real-world lettuce dataset captured using ESP32-CAM show that the proposed method produces better texture quality in both day and night conditions. Structural evaluation using Laplacian-based edge density and sharpness, supported by statistical analysis, confirmed improved preservation of high-frequency details without additional computational or energy costs. These findings demonstrate that lightweight loss function optimization provides a practical and energy-efficient solution for improving image quality in edge-based agricultural monitoring systems.\u003c/p\u003e","manuscriptTitle":"Efficient Super-Resolution for Resource-Constrained Precision Agriculture: A Loss Function Optimization Approach","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-04-14 06:28:29","doi":"10.21203/rs.3.rs-9340242/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"8f9d630f-cb67-48ed-8460-4c5895a59706","owner":[],"postedDate":"April 14th, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2026-04-22T12:41:22+00:00","versionOfRecord":[],"versionCreatedAt":"2026-04-14 06:28:29","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9340242","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9340242","identity":"rs-9340242","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.