Skip to main content

DistNet2D: Leveraging long-range temporal information for efficient segmentation and tracking

This repository contains python code for training the neural network.

Link to preprint

Link to tutorial

Jean Ollion, Martin Maliet, Caroline Giuglaris, Elise Vacher, Maxime Deforet

Extracting long tracks and lineages from videomicroscopy requires an extremely low error rate, which is challenging on complex datasets of dense or deforming cells. Leveraging temporal context is key to overcoming this challenge. We propose DistNet2D, a new deep neural network (DNN) architecture for 2D cell segmentation and tracking that leverages both mid- and long-term temporal information. DistNet2D considers seven frames at the input and uses a post-processing procedure that exploits information from the entire video to correct segmentation errors. DistNet2D outperforms two recent methods on two experimental datasets, one containing densely packed bacterial cells and the other containing eukaryotic cells. It is integrated into an ImageJ-based graphical user interface for 2D data visualization, curation, and training. Finally, we demonstrate the performance of DistNet2D on correlating the size and shape of cells with their transport properties over large statistics, for both bacterial and eukaryotic cells.

Metadata

Release files for DiSTNet2D 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DiSTNet2D 0.2.6
File Size Uploaded
distnet2d-0.2.6.tar.gz 113.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DiSTNet2D 0.2.6
File Interpreter ABI Platform
distnet2d-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 234.7 kB

Release files / distnet2d-0.2.6.tar.gz

Download URL distnet2d-0.2.6.tar.gz
Size 113.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cc18d710219d52747cda6e4c519860d1c68d06efaf8832ffd062cb577d441436
BLAKE2b-256 checksum
How to use checksums
b1fa0e65d1f598af2291d0f98919086cfff75d9e6ee25582552f2f84bce27a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / distnet2d-0.2.6-py3-none-any.whl

Download URL distnet2d-0.2.6-py3-none-any.whl
Size 120.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f87d75cbc60d4032b3ed1934111c9c5663bf13f54ccd2b02b6e3ed24969ccd5
BLAKE2b-256 checksum
How to use checksums
141d76b248496e5c3794787b0405b187e15c1dc8eea008b8e0ea2a7da282c819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page