Merge StarDist Masks#

PyPI Status Python Version License

Read the documentation at https://merge-stardist-masks.readthedocs.io/ Tests Codecov

pre-commit Black

Features#

  • This new post-processing step allows to use StarDist segmentation on non-star-convex objects.

    • Instead of NMS, this post-processing naively merges masks together

    • Masks whos center points lie within another mask are added to that mask

  • Works in 2D and 3D

  • In 2D, it works on big and winding objects

Requirements#

Installation#

You can install Merge StarDist Masks via pip from PyPI:

$ pip install merge-stardist-masks

Usage#

Please see the EXAMPLE in Usage for details.

Contributing#

Contributions are very welcome. To learn more, see the Contributor Guide.

License#

Distributed under the terms of the MIT license, Merge StarDist Masks is free and open source software.

Issues#

If you encounter any problems, please file an issue along with a detailed description.

Credits#

This project was generated from @cjolowicz’s Hypermodern Python Cookiecutter template.