Multi-focus image fusion based on dynamic threshold neural P systems and difference of gaussian clarity | 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 Multi-focus image fusion based on dynamic threshold neural P systems and difference of gaussian clarity Xu-Jie Duan, Xiao-Ting Guo, Hong-Liang Wang, Xiu-Yuan Li This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7708149/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 To address the limitations of optical lens depth of field and integrate complementary information, Multi-Focus Image Fusion merges multiple images of the same scene taken at different focal points into a fully clear image. Although decision-map methods are commonly used in MFIF, accurately defining boundaries between focused and defocused areas remains a challenge. The Dynamic Threshold Neural P system, a distributed parallel computing model inspired by the cross-cortical model. Using dynamic thresholds and spiking mechanisms, it enables us to improve discrimination between areas in focus and out of focus. Building an enhanced framework called the Multi-scale Gaussian Contrast Synergistic Dynamic Threshold Neural P System (MGCS-DTNP) has been proposed. This method employs Gaussian contrast filtering to extract gradient features, leveraging the fact that focused regions exhibit sharper gradients. These features serve as input stimuli to the DTNP system, generating an initial decision map based on diffusion time parameters. After post-processing with small-area removal and median filtering, a refined decision map is produced. The final fused image is reconstructed by integrating regions from the source images according to this map. Experiments on the Lytro and MFFW datasets demonstrate that MGCS-DTNP outperforms 12 existing algorithms across six evaluation metrics, showing superior visual quality and fusion performance. Multi-focus image fusion Gaussian contrast filter function Clarity calculation Dynamic threshold neural P systems Decision map 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-7708149","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":526256406,"identity":"f50ff87c-7e26-4603-9300-4fd3179cccdc","order_by":0,"name":"Xu-Jie Duan","email":"","orcid":"","institution":"North University of China","correspondingAuthor":false,"prefix":"","firstName":"Xu-Jie","middleName":"","lastName":"Duan","suffix":""},{"id":526256407,"identity":"1a4e4b2f-4a6e-4675-8258-c571fbf41980","order_by":1,"name":"Xiao-Ting Guo","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7klEQVRIiWNgGAWjYLCCBCBmY2BgfIDgEqFFAqiF2YB4LUAgAbJIgigt8hHJxyQe1NjU8Um3X6subLNj4GfPMWD4uQO3FsMbackGCcfSJNhkzpTdntmWzCDZ88aAsfcMHi0zcgwfJLAdlmCTyEm7zdt2gMHgRo4BM2MbXi0GBxL+QbQUg7TYE9IiLwG0JbENpCX9GDPYFgkCWgx4niUbJPalSbZJ5DBL85xL5pE486zgYC8+W9qTj0n++GbDLz8j/eFnnjI7Of725I0PfuKz5QCcyQOOSR4QcQCrWpgtDXAm+wN8CkfBKBgFo2AEAwB3dEn7YeTqEQAAAABJRU5ErkJggg==","orcid":"","institution":"North University of China","correspondingAuthor":true,"prefix":"","firstName":"Xiao-Ting","middleName":"","lastName":"Guo","suffix":""},{"id":526256408,"identity":"1677ad41-90fb-438b-89e1-f66e812dc948","order_by":2,"name":"Hong-Liang Wang","email":"","orcid":"","institution":"North University of China","correspondingAuthor":false,"prefix":"","firstName":"Hong-Liang","middleName":"","lastName":"Wang","suffix":""},{"id":526256409,"identity":"f067b11a-b321-465f-8338-9b62a9801156","order_by":3,"name":"Xiu-Yuan Li","email":"","orcid":"","institution":"North University of China","correspondingAuthor":false,"prefix":"","firstName":"Xiu-Yuan","middleName":"","lastName":"Li","suffix":""}],"badges":[],"createdAt":"2025-09-25 03:23:08","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7708149/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7708149/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":93114514,"identity":"be2c4c1d-33f8-4fe0-a69e-28b4af84d0c8","added_by":"auto","created_at":"2025-10-09 08:30:11","extension":"json","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5731,"visible":true,"origin":"","legend":"","description":"","filename":"2ab69fe4535544ffbd6e5841698f9b97.json","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/b5b45de327442aa951ca3147.json"},{"id":93114517,"identity":"fffbf944-ba23-4db4-986f-768020777abb","added_by":"auto","created_at":"2025-10-09 08:30:11","extension":"xml","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":113028,"visible":true,"origin":"","legend":"","description":"","filename":"2ab69fe4535544ffbd6e5841698f9b971enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/8480755b0b66fa37c68a437d.xml"},{"id":93114745,"identity":"cd4dd9be-916f-481f-a6f0-e7af1f1b33f5","added_by":"auto","created_at":"2025-10-09 08:38:12","extension":"pdf","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":16362160,"visible":true,"origin":"","legend":"","description":"","filename":"Article.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/4227a4571ad42bbc1d4946fc.pdf"},{"id":93114515,"identity":"6e82a498-3c10-421d-a285-5f7410a29855","added_by":"auto","created_at":"2025-10-09 08:30:11","extension":"doc","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":34816,"visible":true,"origin":"","legend":"","description":"","filename":"CoverLetter.doc","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/6a30fed536fcd4d58b5207b2.doc"},{"id":93114742,"identity":"f4d194f5-5198-4dac-bf42-87eb4fcff855","added_by":"auto","created_at":"2025-10-09 08:38:11","extension":"eps","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2890,"visible":true,"origin":"","legend":"","description":"","filename":"empty.eps","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/2f3743f6b8a414400f6e6f15.eps"},{"id":93114519,"identity":"062fada8-5e94-4072-8b37-83f359545422","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"eps","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":91593,"visible":true,"origin":"","legend":"","description":"","filename":"fig.eps","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/924d79118a0d4089a46b85d2.eps"},{"id":93114521,"identity":"8f3d0017-2562-42fe-b551-6ebe903ecaa2","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"png","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":169100,"visible":true,"origin":"","legend":"","description":"","filename":"fig1.png","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/b621ad936c0a556bdfd3cf35.png"},{"id":93114518,"identity":"ff076ef2-86d5-4d9c-a0e4-bbb7e25ef10f","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"png","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1258649,"visible":true,"origin":"","legend":"","description":"","filename":"fig2.png","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/a5e76547d7a37e826ea41382.png"},{"id":93114520,"identity":"d1a35f6f-39f7-4d8b-9ac8-787901632153","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"png","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":209346,"visible":true,"origin":"","legend":"","description":"","filename":"fig3.png","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/9560d34857a2a63da91430cb.png"},{"id":93114525,"identity":"902f57e3-0b00-4c99-9158-6a294af3c706","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":526490,"visible":true,"origin":"","legend":"","description":"","filename":"fig4.png","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/444ad059a959f5e1aba816b5.png"},{"id":93114523,"identity":"27ea6bcb-da8e-472b-ae6f-11d1ae344782","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"jpg","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":99676,"visible":true,"origin":"","legend":"","description":"","filename":"fig5.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/846ea80604ba90870bd1b5b1.jpg"},{"id":93114527,"identity":"8a85f347-19a3-498a-9c5d-bb59906e951a","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"png","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":12585214,"visible":true,"origin":"","legend":"","description":"","filename":"fig6.png","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/47a021da06f7db7ea7735a83.png"},{"id":93114530,"identity":"e86ec85e-7425-4c1d-b932-f66b2d69f91d","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"jpg","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1269332,"visible":true,"origin":"","legend":"","description":"","filename":"fig7.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/a8c489a3667279b38c4c41c9.jpg"},{"id":93114532,"identity":"2c12b6af-33c4-4769-9a28-051a93c94174","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"png","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":455776,"visible":true,"origin":"","legend":"","description":"","filename":"fig8.png","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/047f436fd0016601d9022871.png"},{"id":93114526,"identity":"09515857-39f9-42ca-8c4f-fb600c58afda","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":146013,"visible":true,"origin":"","legend":"","description":"","filename":"snapacite.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/f0bf25c4e092bedfc079384c.bst"},{"id":93114529,"identity":"d30d302c-db9d-40d8-b0c2-29eae6251e59","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":29828,"visible":true,"origin":"","legend":"","description":"","filename":"snaps.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/814ae54b38e41dde3783348e.bst"},{"id":93114522,"identity":"4155010a-82ac-463c-9619-03edb2c0d9bf","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"aux","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":11957,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.aux","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/523fb0e286a42b9607ad684a.aux"},{"id":93114531,"identity":"cf196b15-0f00-48b3-ae4a-5a68843c841e","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bbl","order_by":17,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":14055,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.bbl","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/acdd96855d8b483a5ae4a2a6.bbl"},{"id":93114541,"identity":"8d3c3672-428e-4922-a1b6-1517b5798c21","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"blg","order_by":18,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2375,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.blg","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/1c9de2b0c0c1ab6bb87d77f9.blg"},{"id":93114746,"identity":"a108bc2b-495f-4e13-9b67-13bc6d057661","added_by":"auto","created_at":"2025-10-09 08:38:12","extension":"log","order_by":19,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":28023,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.log","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/6bd0f4e0cd59aa03ad41111e.log"},{"id":93114540,"identity":"3dba2d8e-8905-43e7-950e-1f03af51b37d","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"out","order_by":20,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1174,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.out","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/acc6d39adde1422912297b26.out"},{"id":93114751,"identity":"21f16c58-23b8-4bb0-81a9-849b6493f816","added_by":"auto","created_at":"2025-10-09 08:38:12","extension":"pdf","order_by":21,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":12072980,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/454f7d3c6e1927816627774f.pdf"},{"id":93114750,"identity":"02ba3872-02cd-436e-8f35-41f25f410e4a","added_by":"auto","created_at":"2025-10-09 08:38:12","extension":"gz","order_by":22,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":109779,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.synctex.gz","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/22300de2c014fe6c91fdd44d.gz"},{"id":93114537,"identity":"cad8bcbb-9c3d-4d0f-98f2-289df81a1e1f","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":23,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":35515,"visible":true,"origin":"","legend":"","description":"","filename":"snbasic.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/40295db7b686e18813ad04b0.bst"},{"id":93114547,"identity":"e62ee8c5-4e05-4fe8-9dd8-05d751ba4991","added_by":"auto","created_at":"2025-10-09 08:30:13","extension":"bst","order_by":24,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":33968,"visible":true,"origin":"","legend":"","description":"","filename":"snchicago.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/a286864b26fa61ac36826c5e.bst"},{"id":93114749,"identity":"a9fb7a0f-4417-4ace-a804-4a9635b2c795","added_by":"auto","created_at":"2025-10-09 08:38:12","extension":"cls","order_by":25,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":55857,"visible":true,"origin":"","legend":"","description":"","filename":"snjnl.cls","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/d83b32395dfc3cb2a0b3e822.cls"},{"id":93114538,"identity":"861b9ee0-0b93-4959-9075-63722b2b70a5","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":26,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":64023,"visible":true,"origin":"","legend":"","description":"","filename":"snmathphysay.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/f4cf30c3966e4d213da344b5.bst"},{"id":93114543,"identity":"afadd8f1-f354-4f17-bb83-27e1158ad1b6","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":27,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":64166,"visible":true,"origin":"","legend":"","description":"","filename":"snmathphysnum.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/4c81fdc2861b7d22d09e29a1.bst"},{"id":93114535,"identity":"13f4a733-18c5-40b4-8804-1663acb42527","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":28,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":37333,"visible":true,"origin":"","legend":"","description":"","filename":"snnature.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/e4ea2e33fb10783a9383063f.bst"},{"id":93114534,"identity":"cc2c131f-811b-4cb4-b54f-ba469581958f","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":29,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":39951,"visible":true,"origin":"","legend":"","description":"","filename":"snvancouveray.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/b4530e0e253a65f821e235af.bst"},{"id":93114544,"identity":"1b36b58b-c6d8-4a44-8053-c54944b7147b","added_by":"auto","created_at":"2025-10-09 08:30:12","extension":"bst","order_by":30,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":40758,"visible":true,"origin":"","legend":"","description":"","filename":"snvancouvernum.bst","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/7377ec846bdd81d064c08eae.bst"},{"id":93114546,"identity":"3b5b9c77-992e-4022-9078-9cda210be9d3","added_by":"auto","created_at":"2025-10-09 08:30:13","extension":"pdf","order_by":31,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":418495,"visible":true,"origin":"","legend":"","description":"","filename":"usermanual.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/89413bff16ab8da3eb548514.pdf"},{"id":93114545,"identity":"e06071a1-d4bb-4bef-b767-be8daa22b37e","added_by":"auto","created_at":"2025-10-09 08:30:13","extension":"xml","order_by":40,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":123041,"visible":true,"origin":"","legend":"","description":"","filename":"2ab69fe4535544ffbd6e5841698f9b971structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/80af317b0a384876858f7005.xml"},{"id":93114748,"identity":"006ba593-af19-452c-99d8-a912b9f17690","added_by":"auto","created_at":"2025-10-09 08:38:12","extension":"html","order_by":41,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":144552,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1/2933e056c6e519d6fb8f5f9f.html"},{"id":93400848,"identity":"0e03a8da-6d43-4461-ae86-73f586f828df","added_by":"auto","created_at":"2025-10-13 12:32:12","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":3252892,"visible":true,"origin":"","legend":"","description":"","filename":"Article.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7708149/v1_covered_67c84d22-989d-494b-8585-7aa72e0bde6b.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Multi-focus image fusion based on dynamic threshold neural P systems and difference of gaussian clarity","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"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":"Multi-focus image fusion, Gaussian contrast filter function, Clarity calculation, Dynamic threshold neural P systems, Decision map","lastPublishedDoi":"10.21203/rs.3.rs-7708149/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7708149/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eTo address the limitations of optical lens depth of field and integrate complementary information, Multi-Focus Image Fusion merges multiple images of the same scene taken at different focal points into a fully clear image. Although decision-map methods are commonly used in MFIF, accurately defining boundaries between focused and defocused areas remains a challenge. The Dynamic Threshold Neural P system, a distributed parallel computing model inspired by the cross-cortical model. Using dynamic thresholds and spiking mechanisms, it enables us to improve discrimination between areas in focus and out of focus. Building an enhanced framework called the Multi-scale Gaussian Contrast Synergistic Dynamic Threshold Neural P System (MGCS-DTNP) has been proposed. This method employs Gaussian contrast filtering to extract gradient features, leveraging the fact that focused regions exhibit sharper gradients. These features serve as input stimuli to the DTNP system, generating an initial decision map based on diffusion time parameters. After post-processing with small-area removal and median filtering, a refined decision map is produced. The final fused image is reconstructed by integrating regions from the source images according to this map. Experiments on the Lytro and MFFW datasets demonstrate that MGCS-DTNP outperforms 12 existing algorithms across six evaluation metrics, showing superior visual quality and fusion performance.\u003c/p\u003e","manuscriptTitle":"Multi-focus image fusion based on dynamic threshold neural P systems and difference of gaussian clarity","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-10-09 08:30:07","doi":"10.21203/rs.3.rs-7708149/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":"4bb8597b-cbd7-4658-b7e1-49bc98884c92","owner":[],"postedDate":"October 9th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-10-13T12:24:00+00:00","versionOfRecord":[],"versionCreatedAt":"2025-10-09 08:30:07","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7708149","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7708149","identity":"rs-7708149","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.