# LYNSU: automated 3D neuropil segmentation of fluorescent images for Drosophila brains

**Authors:** Kai-Yi Hsu, Chi-Tin Shih, Nan-Yow Chen, Chung-Chuan Lo

PMC · DOI: 10.3389/fninf.2024.1429670 · 2024-07-29

## TL;DR

LYNSU is a fast and accurate automated method for segmenting 3D neuropils in Drosophila brains from fluorescent images, avoiding the need for brain template alignment.

## Contribution

A novel two-stage automated segmentation method (LYNSU) that achieves high accuracy with minimal training data and enables individual-level brain analysis.

## Key findings

- LYNSU achieves 99.4% accuracy in neuropil localization using YOLOv7 and 3D U-Net for segmentation.
- Segmentation accuracy reaches up to 3D IoU of 0.869, comparable to manual annotations.
- Applied to 8,703 brains, LYNSU revealed 10.14% with over 10% volume asymmetry in mushroom bodies.

## Abstract

The brain atlas, which provides information about the distribution of genes, proteins, neurons, or anatomical regions, plays a crucial role in contemporary neuroscience research. To analyze the spatial distribution of those substances based on images from different brain samples, we often need to warp and register individual brain images to a standard brain template. However, the process of warping and registration may lead to spatial errors, thereby severely reducing the accuracy of the analysis. To address this issue, we develop an automated method for segmenting neuropils in the Drosophila brain for fluorescence images from the FlyCircuit database. This technique allows future brain atlas studies to be conducted accurately at the individual level without warping and aligning to a standard brain template. Our method, LYNSU (Locating by YOLO and Segmenting by U-Net), consists of two stages. In the first stage, we use the YOLOv7 model to quickly locate neuropils and rapidly extract small-scale 3D images as input for the second stage model. This stage achieves a 99.4% accuracy rate in neuropil localization. In the second stage, we employ the 3D U-Net model to segment neuropils. LYNSU can achieve high accuracy in segmentation using a small training set consisting of images from merely 16 brains. We demonstrate LYNSU on six distinct neuropils or structures, achieving a high segmentation accuracy comparable to professional manual annotations with a 3D Intersection-over-Union (IoU) reaching up to 0.869. Our method takes only about 7 s to segment a neuropil while achieving a similar level of performance as the human annotators. To demonstrate a use case of LYNSU, we applied it to all female Drosophila brains from the FlyCircuit database to investigate the asymmetry of the mushroom bodies (MBs), the learning center of fruit flies. We used LYNSU to segment bilateral MBs and compare the volumes between left and right for each individual. Notably, of 8,703 valid brain samples, 10.14% showed bilateral volume differences that exceeded 10%. The study demonstrated the potential of the proposed method in high-throughput anatomical analysis and connectomics construction of the Drosophila brain.

## Linked entities

- **Species:** Drosophila (taxon 7215)

## Full-text entities

- **Species:** Homo sapiens (human, species) [taxon 9606], Drosophila melanogaster (fruit fly, species) [taxon 7227], Diptera (flies, order) [taxon 7147]

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC11317296/full.md

---
Source: https://tomesphere.com/paper/PMC11317296