Segment mouse lungs and metastasis on MRI images.
Project description
napari-deepmeta
Segment mouse lungs and metastasis on MRI images.
This plugin is a demo for the Deepmeta project.
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
Usage
Open a (x, 128, 128) image, go in the plugin menu, add deepmeta plugin to the dock viewer and click on the button.
By adding the dock widget, a menu will be created on the left of your Napari instance.
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
.
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
Built Distribution
Hashes for napari_deepmeta-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33c37846971e05d0bcedcc4617bff6de05ba56f639a890af6ffef1ffe0b16048 |
|
MD5 | 4f3d6337ccdd69b53136758297e0e413 |
|
BLAKE2b-256 | df9caf18a590a2bd6ee851cb26506b89bc1ccde157b8e5c9bd87f185df121c3f |