Skip to main content

delaunay-watershed-2d

delaunay-watershed-2d carries the package dw2d, which reconstructs the geometry of a 2-D cell assembly from an instance segmentation: a multimaterial polygonal mesh (a half-edge structure) from which lengths, curvatures, angles and areas are read.

Since 0.8.0 it is developed and released with dw3d (the 3-D counterpart, distribution delaunay-watershed-3d) in one repository, under one version. Installing delaunay-watershed installs both:

pip install delaunay-watershed                  # dw3d and dw2d
pip install delaunay-watershed-2d               # dw2d alone (delaunay-watershed-3d brings it too)
pip install "delaunay-watershed-2d[viewing]"    # with matplotlib, for dw2d's figures

Python 3.12 or later. The import is unchanged: from dw2d import .... Since 0.8.0 dw2d offers dw3d's names (dw2d.get_default_mesh_reconstruction_algorithm().construct_mesh_from_segmentation_mask(mask)), its defaults change results (a machine-independent mesh, junctions moved onto the mask's own junctions, pinch vertices repaired, image-border vertices marked, thin margins of medium padded), its edges follow dw3d's orientation rule, and compute_lengths and compute_curvatures are fixed; the names of 0.1.5 still work through 0.8.x, with a deprecation warning. The documentation's page on migrating from dw2d 0.1.5 lists every change.

The code, the documentation (including dw2d's own page, docs/two_dimensional/README.md) and the changelog are in the repository VirtualEmbryo/delaunay-watershed. Licence: GNU General Public License, version 3 or (at your option) any later version (SPDX GPL-3.0-or-later); releases 0.1.5 and earlier keep the licence they were published under.

If you use dw2d, please cite: Yamamoto K., Ichbiah S., Perez M., Borrego-Pinto J., Delbary F., Goehring N. W., Northrop P., Turlier H., Charras G. Spatiotemporal mapping of the contractile and adhesive forces sculpting early C. elegans embryos. Developmental Cell 61(6), 1273–1288.e4 (2026), doi:10.1016/j.devcel.2026.04.013.

Metadata

Release files for delaunay-watershed-2d 0.8.0

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

Source distribution (sdist)

Source distribution for delaunay-watershed-2d 0.8.0
File Size Uploaded Provenance Actions
delaunay_watershed_2d-0.8.0.tar.gz 456.7 kB Without provenance Details for delaunay_watershed_2d-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for delaunay-watershed-2d 0.8.0
File Interpreter ABI Platform Actions
delaunay_watershed_2d-0.8.0-py3-none-any.whl Python 3 none any Details for delaunay_watershed_2d-0.8.0-py3-none-any.whl

Total release size: 551.9 kB

Release files / delaunay_watershed_2d-0.8.0.tar.gz

Download URL delaunay_watershed_2d-0.8.0.tar.gz
Size 456.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b73765891cf03ecd848f58de137e78802684dc383ad8a14a102a730d03ebaa5c
BLAKE2b-256 checksum
How to use checksums
8a097e359b9a8144c961346fb056118c8ba3722d69c3128b8a40e61b6de2041d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.10

Release files / delaunay_watershed_2d-0.8.0-py3-none-any.whl

Download URL delaunay_watershed_2d-0.8.0-py3-none-any.whl
Size 95.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2edd0183c7ea89d090b826bed4157257ecaeb203df0e0c756822fedd120b098d
BLAKE2b-256 checksum
How to use checksums
6bf611eabce617ca9feff11abaf375aa40c7d0ae92c67a1246099a72052ff51d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.10

Security for delaunay-watershed-2d 0.8.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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