CapillaryX: A Fine-Tunable Pipeline for OCTA Segmentation and Feature Extraction | 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 CapillaryX: A Fine-Tunable Pipeline for OCTA Segmentation and Feature Extraction Adham Elwakil, Thibaud Martin, José Vargas Quiros, Bart Liefers, and 8 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-8176394/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 Optical coherence tomography angiography (OCTA) enables non-invasive visualization of the retinal microvasculature, but widely used OCTA tools provide only global metrics such as vessel density or FAZ area, limiting their use for anatomically resolved phenotyping. We present CapillaryX, an open-source, end-to-end pipeline for anatomical segmentation and quantitative vascular feature extraction from superficial plexus OCTA projections. CapillaryX incorporates deep-learning models trained on the publicly annotated OCTA-500 dataset and fine-tuned using small annotated subsets to adapt across devices, fields of view, and slab definitions. The system segments arteries, veins, capillaries, and the foveal avascular zone (FAZ), and computes 34 vascular biomarkers, including bifurcation counts, vessel density, diameter and tortuosity distributions, small-vessel–specific metrics, and an extended set of FAZ morphometrics derived from contour, ellipse, convexity, and distance-based representations. Across OCTA-500, OphtalmoLaus, and Rotterdam Study datasets, CapillaryX achieved high agreement with expert annotations (artery–vein Dice > 85%, FAZ Dice > 92%) and maintained stable performance across heterogeneous acquisition settings. Extracted features showed consistent distributions across vendors and scan sizes, supporting their robustness for large-scale analyses. To our knowledge, CapillaryX is the first open-source tool to provide artery–vein–resolved and capillary-level OCTA biomarkers together with extended FAZ shape descriptors. By enabling anatomy-aware, standardized, and device-agnostic OCTA phenotyping, CapillaryX provides a foundation for reproducible imaging research in ophthalmology, neurology, and systemic vascular disease. Biomedical Engineering Nuclear Medicine & Medical Imaging Ophthalmology Artificial Intelligence and Machine Learning OCTA artery–vein segmentation vascular biomarkers FAZ morphology retinal imaging feature extraction medical image analysis Full Text Additional Declarations The authors declare no competing interests. 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-8176394","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":548919029,"identity":"d96a95a0-4211-4afb-b323-2cb34331fee2","order_by":0,"name":"Adham Elwakil","email":"","orcid":"https://orcid.org/0009-0009-4881-6643","institution":"1 Platform for Research in Ocular Imaging, Fondation Asile des Aveugles, Jules Gonin Eye Hospital","correspondingAuthor":false,"prefix":"","firstName":"Adham","middleName":"","lastName":"Elwakil","suffix":""},{"id":548919030,"identity":"ee9c1814-0963-4f30-8dad-c2bf8579e91d","order_by":1,"name":"Thibaud Martin","email":"","orcid":"","institution":"1 Platform for Research in Ocular Imaging, Fondation Asile des Aveugles, Jules Gonin Eye Hospital","correspondingAuthor":false,"prefix":"","firstName":"Thibaud","middleName":"","lastName":"Martin","suffix":""},{"id":548919031,"identity":"5f2e0632-0597-4112-bf07-07605d4d5e2f","order_by":2,"name":"José Vargas Quiros","email":"","orcid":"https://orcid.org/0000-0002-9018-4928","institution":"Department of Ophthalmology, Erasmus University Medical Center, Rotterdam, The Netherlands","correspondingAuthor":false,"prefix":"","firstName":"José","middleName":"Vargas","lastName":"Quiros","suffix":""},{"id":548919032,"identity":"98dc51da-9409-46d3-bffe-8b7266b9b3d3","order_by":3,"name":"Bart Liefers","email":"","orcid":"https://orcid.org/0000-0002-2763-6426","institution":"Department of Ophthalmology, Erasmus University Medical Center, Rotterdam, The Netherlands","correspondingAuthor":false,"prefix":"","firstName":"Bart","middleName":"","lastName":"Liefers","suffix":""},{"id":548919332,"identity":"7019e7ec-f3ec-45cd-8766-00b76f25526c","order_by":4,"name":"Martina Kropp","email":"","orcid":"https://orcid.org/0000-0001-6861-5851","institution":"Division of Ophthalmology, Department of Clinical Neurosciences, University Hospitals of Geneva","correspondingAuthor":false,"prefix":"","firstName":"Martina","middleName":"","lastName":"Kropp","suffix":""},{"id":548919333,"identity":"938c6bd1-b32e-44d3-a29e-11092bdd3962","order_by":5,"name":"Alexia Duriez","email":"","orcid":"https://orcid.org/0000-0002-6031-228X","institution":"Division of Ophthalmology, Department of Clinical Neurosciences, University Hospitals of Geneva","correspondingAuthor":false,"prefix":"","firstName":"Alexia","middleName":"","lastName":"Duriez","suffix":""},{"id":548919334,"identity":"ca095ddf-b2a0-4885-adec-c6e6f5d0a27f","order_by":6,"name":"Eline De Clerck","email":"","orcid":"https://orcid.org/0000-0002-5043-5999","institution":"Division of Ophthalmology, Department of Clinical Neurosciences, University Hospitals of Geneva","correspondingAuthor":false,"prefix":"","firstName":"Eline","middleName":"","lastName":"De Clerck","suffix":""},{"id":548921925,"identity":"0a10311f-1344-4a3a-a9d7-950d760f5fe9","order_by":7,"name":"Caroline Klaver","email":"","orcid":"https://orcid.org/0000-0002-2355-5258","institution":"Department of Ophthalmology, Erasmus University Medical Center, Rotterdam","correspondingAuthor":false,"prefix":"","firstName":"Caroline","middleName":"","lastName":"Klaver","suffix":""},{"id":548921926,"identity":"18273fe2-4860-4d34-abf0-5fbd504fff84","order_by":8,"name":"Reinier Schlingemann","email":"","orcid":"https://orcid.org/0000-0002-2300-8289","institution":"Platform for Research in Ocular Imaging, Fondation Asile des Aveugles, Jules Gonin Eye Hospital, Lausanne","correspondingAuthor":false,"prefix":"","firstName":"Reinier","middleName":"","lastName":"Schlingemann","suffix":""},{"id":548921927,"identity":"4b5d08ca-c1b3-49e9-9fe5-282a0c0bd3a5","order_by":9,"name":"Ciara Bergin","email":"","orcid":"https://orcid.org/0000-0002-5837-7308","institution":"Platform for Research in Ocular Imaging, Fondation Asile des Aveugles, Jules Gonin Eye Hospital, Lausanne","correspondingAuthor":false,"prefix":"","firstName":"Ciara","middleName":"","lastName":"Bergin","suffix":""},{"id":548921928,"identity":"7b5fa164-d8ca-4cec-984e-2c644c7beb5e","order_by":10,"name":"Ilenia Meloni","email":"","orcid":"https://orcid.org/0000-0001-9078-0538","institution":"Platform for Research in Ocular Imaging, Fondation Asile des Aveugles, Jules Gonin Eye Hospital, Lausanne","correspondingAuthor":false,"prefix":"","firstName":"Ilenia","middleName":"","lastName":"Meloni","suffix":""},{"id":548921929,"identity":"179ea9cc-86a5-4866-9e8a-6c7563b33f74","order_by":11,"name":"Mattia Tomasoni","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA9ElEQVRIie3OsYrCQBCA4QkBbVa2kwkBfQIhIgQLH2aDYBrF7qpDUq1NvPqCj2Fj58qBNgFbwSYSsDYIx9mIGzgJFm5ai/2rHdiPGQCd7l1jxRMb1cAUYASq/6YRSIIP0iGiwsoJFAS8UBBHSVrT3TZJPmFC6z/pOVt2/bAqHLguXxM37svDNoDWfOBaUYyjkDBmzGIFETmpADoH5po1jqMVMGEaXEF2qSS3nPiXiyQ+ocdATfZyi8dzMnRsSRjBPpSQtP3tfaEVzYcfVsSxHeIJ1jPlYV6S/f32KLX9xTnjkyah4yy5Ksh/+DyKUqDT6XQ6ZXdBj1CagO9JHQAAAABJRU5ErkJggg==","orcid":"https://orcid.org/0000-0001-8775-2384","institution":"Platform for Research in Ocular Imaging, Fondation Asile des Aveugles, Jules Gonin Eye Hospital, Lausanne","correspondingAuthor":true,"prefix":"","firstName":"Mattia","middleName":"","lastName":"Tomasoni","suffix":""}],"badges":[],"createdAt":"2025-11-21 20:09:46","currentVersionCode":1,"declarations":{"humanSubjects":true,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":true,"humanSubjectConsent":true,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-8176394/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-8176394/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":96683906,"identity":"9691b521-a466-4a32-83d8-f97c40a06cf9","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5155709,"visible":true,"origin":"","legend":"","description":"","filename":"DraftSINERGIACapillaryX3.docx","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/d1f0930ae48429f861b77401.docx"},{"id":96683894,"identity":"f253c68b-c505-4d1c-93f3-59775fa284d0","added_by":"auto","created_at":"2025-11-25 04:24:17","extension":"json","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":342,"visible":true,"origin":"","legend":"","description":"","filename":"rs8176394.json","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/3743c21fddfa1e2454e0febb.json"},{"id":96711463,"identity":"617ca8d1-c815-4b4b-a067-b6d9897947dc","added_by":"auto","created_at":"2025-11-25 10:12:02","extension":"xml","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":186558,"visible":true,"origin":"","legend":"","description":"","filename":"rs81763940enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/cd0177d0bfc1cab409270a88.xml"},{"id":96683896,"identity":"f1149d44-c3c4-42cc-bbaa-ce604310bb73","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"png","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":224011,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/40fd7ea5b13558340ac54e25.png"},{"id":96710712,"identity":"33ec6541-7534-4053-ae6a-d3a015f4b9d4","added_by":"auto","created_at":"2025-11-25 10:11:07","extension":"png","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":169580,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/9389480cf231363a412c66bf.png"},{"id":96710141,"identity":"7ce49a23-02aa-4bb9-9cd7-423027377609","added_by":"auto","created_at":"2025-11-25 10:10:10","extension":"png","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":471065,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/e255fe19f2094e01a0f7d22b.png"},{"id":96710652,"identity":"bc6fdece-f6af-4e83-aac1-ea850dcad395","added_by":"auto","created_at":"2025-11-25 10:11:02","extension":"png","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":27902,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/3da5d4a4218ef59032cfdd35.png"},{"id":96683903,"identity":"e54ea8c0-4263-4d71-ad0b-99ebbffeac9e","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"png","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":547761,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/3f65a23e69f4099fae70a6b2.png"},{"id":96683901,"identity":"80cfc8ab-524a-4aff-819e-fef57c470863","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"png","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":71926,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/aeaa4b46aeda05d03bd6974c.png"},{"id":96710826,"identity":"d921229b-b24c-4593-b2cb-3ec0266a44d7","added_by":"auto","created_at":"2025-11-25 10:11:13","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":21114,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/a1eae23e053d828045ce8626.png"},{"id":96711159,"identity":"9da2fdb8-238a-447c-9937-e2bba82348e8","added_by":"auto","created_at":"2025-11-25 10:11:43","extension":"png","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":77427,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/6ce8ce54730f07b806af01e0.png"},{"id":96683898,"identity":"cfbdc17d-e471-433a-9179-8105a2758669","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"png","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":9361,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/07949bad38505f8e353bfae1.png"},{"id":96683905,"identity":"3b65d951-d081-482a-aa62-b47e3d648cdd","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"png","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":92764,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/d63a4dd0d03f55b735e4f03c.png"},{"id":96710921,"identity":"d8bfc4df-a216-4c2d-806e-54d1bf612b98","added_by":"auto","created_at":"2025-11-25 10:11:25","extension":"xml","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":185219,"visible":true,"origin":"","legend":"","description":"","filename":"rs81763940structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/9ccb67f6a18b5ff7884d2304.xml"},{"id":96683909,"identity":"a5cc1c64-389e-442d-a185-b0e33e8e2064","added_by":"auto","created_at":"2025-11-25 04:24:18","extension":"html","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":195155,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1/ba219fa38929216bf3d85cdd.html"},{"id":96913030,"identity":"a2da660c-cf23-4cff-b74e-aa71a957fb03","added_by":"auto","created_at":"2025-11-27 13:50:15","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":793463,"visible":true,"origin":"","legend":"","description":"","filename":"DraftSINERGIACapillaryX3.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8176394/v1_covered_6b374326-ca99-4c1f-87d7-f0d48bc000a9.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003e\u003cstrong\u003eCapillaryX: A Fine-Tunable Pipeline for OCTA Segmentation and Feature Extraction\u003c/strong\u003e\u003c/p\u003e","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":"OCTA, artery–vein segmentation, vascular biomarkers, FAZ morphology, retinal imaging, feature extraction, medical image analysis","lastPublishedDoi":"10.21203/rs.3.rs-8176394/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-8176394/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eOptical coherence tomography angiography (OCTA) enables non-invasive visualization of the retinal microvasculature, but widely used OCTA tools provide only global metrics such as vessel density or FAZ area, limiting their use for anatomically resolved phenotyping. We present CapillaryX, an open-source, end-to-end pipeline for anatomical segmentation and quantitative vascular feature extraction from superficial plexus OCTA projections. CapillaryX incorporates deep-learning models trained on the publicly annotated OCTA-500 dataset and fine-tuned using small annotated subsets to adapt across devices, fields of view, and slab definitions. The system segments arteries, veins, capillaries, and the foveal avascular zone (FAZ), and computes 34 vascular biomarkers, including bifurcation counts, vessel density, diameter and tortuosity distributions, small-vessel–specific metrics, and an extended set of FAZ morphometrics derived from contour, ellipse, convexity, and distance-based representations.\u003c/p\u003e\n\u003cp\u003eAcross OCTA-500, OphtalmoLaus, and Rotterdam Study datasets, CapillaryX achieved high agreement with expert annotations (artery–vein Dice \u0026gt; 85%, FAZ Dice \u0026gt; 92%) and maintained stable performance across heterogeneous acquisition settings. Extracted features showed consistent distributions across vendors and scan sizes, supporting their robustness for large-scale analyses. To our knowledge, CapillaryX is the first open-source tool to provide artery–vein–resolved and capillary-level OCTA biomarkers together with extended FAZ shape descriptors. By enabling anatomy-aware, standardized, and device-agnostic OCTA phenotyping, CapillaryX provides a foundation for reproducible imaging research in ophthalmology, neurology, and systemic vascular disease.\u003c/p\u003e","manuscriptTitle":"CapillaryX: A Fine-Tunable Pipeline for OCTA Segmentation and Feature Extraction","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-11-25 04:24:13","doi":"10.21203/rs.3.rs-8176394/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":"4709c083-7157-43d8-aeac-90c51264fe31","owner":[],"postedDate":"November 25th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":58415434,"name":"Biomedical Engineering"},{"id":58415435,"name":"Nuclear Medicine \u0026 Medical Imaging"},{"id":58415436,"name":"Ophthalmology"},{"id":58415437,"name":"Artificial Intelligence and Machine Learning"}],"tags":[],"updatedAt":"2025-11-25T04:24:13+00:00","versionOfRecord":[],"versionCreatedAt":"2025-11-25 04:24:13","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-8176394","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-8176394","identity":"rs-8176394","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","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.