MTFlow: Time-Conditioned Flow Matching for Microtubule Segmentation in Noisy Microscopy Images
Sidi Mohamed Sid El Moctar, Achraf Ait Laydi, Yousef El Mourabit, Hélène Bouvrais
TL;DR
MTFlow addresses the challenge of segmenting thin, curvilinear microtubules in noisy fluorescence images by reframing segmentation as learning a time-dependent vector field $v_\theta(x_t,t)$ that progressively transforms an initial noisy mask toward the ground truth along the path $x_t=(1-t)x_0+tx_1$. The method uses a U-Net backbone with temporal embeddings, computes an Euler-integrated dynamics $x_{n+1}=x_n+\Delta t\,v_\theta(x_n,t_n)$, and outputs the final mask via $\hat{x}=\sigma\big(x_0+\sum_n\Delta t\,v_\theta(\cdot)\big)$. It demonstrates strong segmentation performance on synthetic and real microtubule data, and generalizes to other curvilinear structures such as retinal vessels and corneal nerves (DRIVE, CORN1), outperforming several U-Net-based baselines in accuracy and robustness. The approach offers interpretable, iterative refinement of filament boundaries and shows potential to reduce annotation burden while enabling reliable quantitative analysis of filamentous networks in biomedical imaging.
Abstract
Microtubules are cytoskeletal filaments that play essential roles in many cellular processes and are key therapeutic targets in several diseases. Accurate segmentation of microtubule networks is critical for studying their organization and dynamics but remains challenging due to filament curvature, dense crossings, and image noise. We present MTFlow, a novel time-conditioned flow-matching model for microtubule segmentation. Unlike conventional U-Net variants that predict masks in a single pass, MTFlow learns vector fields that iteratively transport noisy masks toward the ground truth, enabling interpretable, trajectory-based refinement. Our architecture combines a U-Net backbone with temporal embeddings, allowing the model to capture the dynamics of uncertainty resolution along filament boundaries. We trained and evaluated MTFlow on synthetic and real microtubule datasets and assessed its generalization capability on public biomedical datasets of curvilinear structures such as retinal blood vessels and nerves. MTFlow achieves competitive segmentation accuracy comparable to state-of-the-art models, offering a powerful and time-efficient tool for filamentous structure analysis with more precise annotations than manual or semi-automatic approaches.
