{"title":"EyeHex toolbox for complete segmentation of ommatidia in fruit fly eyes.","authors":"Huy Tran, Nathalie Dostatni, Ariane Ramaekers","doi":"10.1242/bio.061962","DOIUrl":null,"url":null,"abstract":"<p><p>Variation in Drosophila compound eye size is studied across research fields, from evolutionary biology to biomedical studies, requiring the collection of large datasets to ensure robust statistical analyses. To address this, we present EyeHex, a Matlab-based tool for automatic segmentation of fruit fly compound eyes from brightfield and scanning electron microscopy (SEM) images. EyeHex features two integrated modules: the first uses machine learning to generate probability maps of the eye and ommatidia locations, while the second, a hard-coded module, leverages the hexagonal organization of the compound eye to map individual ommatidia. This iterative segmentation process, which adds one ommatidium at a time based on registered neighbors, ensures robustness to local perturbations. EyeHex also includes an analysis tool that calculates key metrics of the eye, such as ommatidia count and diameter distribution across the eye. With minimal user input for training and application, EyeHex achieves exceptional accuracy (>99.6% compared to manual counts on SEM images) and adapts to different fly strains, species, and image types. EyeHex offers a cost-effective, rapid, and flexible pipeline for extracting detailed statistical data on Drosophila compound eye variation, making it a valuable resource for high-throughput studies.</p>","PeriodicalId":9216,"journal":{"name":"Biology Open","volume":"14 6","pages":""},"PeriodicalIF":1.7000,"publicationDate":"2025-06-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12233063/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Biology Open","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1242/bio.061962","RegionNum":4,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/6/23 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"BIOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Variation in Drosophila compound eye size is studied across research fields, from evolutionary biology to biomedical studies, requiring the collection of large datasets to ensure robust statistical analyses. To address this, we present EyeHex, a Matlab-based tool for automatic segmentation of fruit fly compound eyes from brightfield and scanning electron microscopy (SEM) images. EyeHex features two integrated modules: the first uses machine learning to generate probability maps of the eye and ommatidia locations, while the second, a hard-coded module, leverages the hexagonal organization of the compound eye to map individual ommatidia. This iterative segmentation process, which adds one ommatidium at a time based on registered neighbors, ensures robustness to local perturbations. EyeHex also includes an analysis tool that calculates key metrics of the eye, such as ommatidia count and diameter distribution across the eye. With minimal user input for training and application, EyeHex achieves exceptional accuracy (>99.6% compared to manual counts on SEM images) and adapts to different fly strains, species, and image types. EyeHex offers a cost-effective, rapid, and flexible pipeline for extracting detailed statistical data on Drosophila compound eye variation, making it a valuable resource for high-throughput studies.
期刊介绍:
Biology Open (BiO) is an online Open Access journal that publishes peer-reviewed original research across all aspects of the biological sciences. BiO aims to provide rapid publication for scientifically sound observations and valid conclusions, without a requirement for perceived impact.