Spine
A python library including pretrained models in order to annotate vertebrae and IVDs (intevertebral discs) on small FOV (field-of-view) MRIs. This was created as part of my master's thesis which was submitted on 9 November 2023.
Showcase
Below three spines can be seen which were automatically segmented from MRI images using this library. (a) shows sacralization (lack of lumbar vertebra L5), (c) shows lumbarization (additional vertebra L6). (b) shows a normal spine.
Workflow
Initially, 162 samples annotated by experts are utilized to train a preliminary segmentation model. This model is then employed to segment an extensive dataset of 10,833 MRI scans. The segmented data is separated into vertebrae and IVDs, leveraging the fact that all instances can be inferred in a complete MRI scan by assuming the topmost vertebra is C2. By cropping images from the large dataset, a substantial training set is generated. This set is used to train an anatomical labeling segmentation model specifically for small FOV MRI images.
Installation
poetry install
Metadata
Release files for spine-segmentation 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spine_segmentation-0.3.2.tar.gz | 73.2 kB | Without provenance | Details for spine_segmentation-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spine_segmentation-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for spine_segmentation-0.3.2-py3-none-any.whl |
Total release size: 170.3 kB
Release files / spine_segmentation-0.3.2.tar.gz
| Download URL | spine_segmentation-0.3.2.tar.gz |
|---|---|
| Size | 73.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4abf87389037adb232f3c4b9149a9d49b8fad71e8a8d702bc3b04be093d8903c
|
|
BLAKE2b-256 checksum How to use checksums |
beedfdaae71d6bcb09b8bfc1e960552d4c82290a89f8ce8a309f03dfe8c22c84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/6.5.0-27-generic
|
Release files / spine_segmentation-0.3.2-py3-none-any.whl
| Download URL | spine_segmentation-0.3.2-py3-none-any.whl |
|---|---|
| Size | 97.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
635c1ae43a83ae27fcf14950c32bdee3db65a5ab16e436d29d449a02fec718c5
|
|
BLAKE2b-256 checksum How to use checksums |
a05a43f2fb4cf5794cecaf3fad3b38112eed1c92add3992a6fd80f3d321f6a37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/6.5.0-27-generic
|
Security for spine-segmentation 0.3.2
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.