Skip to main content

Segment mouse lungs and metastasis on MRI images.

Project description

napari-deepmeta

License PyPI Python Version tests codecov

Segment mouse lungs and metastasis on MRI images.

This plugin is a demo for the Deepmeta project.

Lungs segmentation


This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.

Installation

You can install napari-deepmeta via pip:

pip install napari-deepmeta

We advise you to create a specific python virtual environment in order to have a clean installation.

Usage

In a terminal, just type napari to open napari.

Open a (x, 128, 128) image, go in the plugin menu, add deepmeta plugin to the dock viewer and click on the button.

Menu

By adding the dock widget, a menu will be created on the left of your Napari instance.

Deepmeta panel

In this panel you will find two buttons and one checkbox:

  • The first button Run lung seg process segmentation and show the result (With the widget segment metas, the button is called Run meta seg).
  • The second, Reprocess Volume, is useful when you modify contours. It will reprocess all slices to give you a new volume.
  • The checkbox is here to enhance contrast if your image is dark.

Demo

If you just want to see what we've done, you can try the plugin with the Demo button, this button will load an image and process it as if you use the plugin in a classic way.

Conf file and custom models

The first time you run the plugin a config file will be created at ~/.config/deepmeta/config.ini.

conf.ini

In this file you can find parameters for postprocessing loop and the path for the models. Feel free to change values and colors to fit to your needs.

If you want to try another model, you can change the path. Be careful to not having custom objects in you model, otherwise, you'll have to modify the code.

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "napari-deepmeta" is free and open source software

Issues

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-deepmeta-1.0.tar.gz (13.8 MB view hashes)

Uploaded Source

Built Distribution

napari_deepmeta-1.0-py3-none-any.whl (13.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page