This package contains methods for medical image segmentation.
Project description
Dissector
(Badges to be updated soon.)
| fair-software.eu recommendations | |
|---|---|
| code repository | |
| license | |
| community registry | |
| citation | |
| howfairis | |
| Other best practices | |
| Documentation | |
| Build | |
| Citation data consistency | |
| Link checker |
How to use dissector
Dissector is is an open-source python library which contains methods for medical image segmentation and the evaluation of medical image segmentation.
The module for evaluation contains methods to compare a segmentation to a 'ground truth' segmentation. This module should be run in it's own dedicated environment, which can be made in conda (see yaml environment_evaluation), pip or uv. Currently it has only been tested in conda, but the requirements are loose.
The metrics beyond the expected (hausdorf, jaccard, fp, fn, dice) implemented are : boundary intersection over union, binary cross entropy (for comparing two binary segmentation masks). Please note at present a much more robust group of metrics can be created with libraries like MONAI (metrics doc link). Metrics here are implemented for convenience i.e. no need to load pytorch, have lot of GPU space or cry as dependancies clash.
Images
can be extracted from DICOM files or used
directly (nifti or arrays).
The long term goal of the dissector project is to compare existing segmentation methods to a to be released state of the art method currently being built but not publicly released yet. This new method exploits the various types of noise in different MRI sequences...so computer science enthousiasts can probably guess the kind of model on the way. The primary authors are Candace Makeda H. Moore and Morris Alper.
The project setup is documented in project_setup.md. Feel free to remove this document (and/or the link to this document) if you don't need it.
Installation
To install dissector from GitHub repository, do:
git clone git@github.com:drcandacemakedamoore/dissector.git
cd dissector
python -m pip install .
Instructions for uv and conda soon to come...
Documentation
One source should be https://drcandacemakedamoore.github.io/dissector/. Pypi and build the docs may take longer. Until then it should be online and buid in your docs/_build folder.
Contributing
If you want to contribute to the development of dissector, have a look at the contribution guidelines.
Credits
This package was created with Copier and the NLeSC/python-template.
Generative AI disclosure
This package has some code created with the aid of generative AI.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dissector-0.0.4.tar.gz.
File metadata
- Download URL: dissector-0.0.4.tar.gz
- Upload date:
- Size: 40.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cc27137f6fa21f085aac48120dfff77e97927cc93dbbf5bbbcf241428ebcd72
|
|
| MD5 |
0728e3b63c235dfd90c053b87e3c2f67
|
|
| BLAKE2b-256 |
d4e680bb7f2731f10591c0df1f80bb60cd8b3a1ea36374b3a3938bf355b12bf4
|
File details
Details for the file dissector-0.0.4-py3-none-any.whl.
File metadata
- Download URL: dissector-0.0.4-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d89b893876438959ff9b401cdc85b4842ca127c6fd9badd65e572042370c0d
|
|
| MD5 |
f1e680f749d6aa5cda4f6bbf1ca467f5
|
|
| BLAKE2b-256 |
946729c57a1b1c1fdd84d24a252b80a9a160ef50e3712117a98fa32a3237e56e
|