Skip to main content

A simple module for prostate segmentation of T2-W MRI sequences in Nifti format

Project description

Prostate Segmentation MoE

A simple Python module for easy segmentation of the prostate in T2-weighted MRI images in NIfTI format. This module utilizes a mixture of U-Net architectures for segmentation tasks and aims to provide a straightforward solution for users working with prostate MRI data.

Features

  • Segmentation of prostate regions in T2-weighted MRI images.
  • Uses a combination of trained U-Net models for accurate and efficient segmentation.
  • Supports input in the NIfTI format, a common format for medical imaging.
  • Returns 3D masks aswell as the volume estimation.

Recommended before installation (Windows)

Install virtualenv if not already

pip install virtualenv

Create a virtual environment

python -m venv venv

Activate it

venv\Scripts\activate

  • You may need to run Set-ExecutionPolicy Unrestricted -Scope Process before activation
  • If creating your own repository don't forget to ignore the venv folder in the .gitignore file

Installation

Install the library using pip:

pip install psmoe

Usage

Example

Check for example.py

Scripted Download

You can also download a T2-weighted MRI sequence using the provided function in the example.

License

This project is licensed under the MIT License - see the LICENSE file for details.

For more details, visit the GitHub repository.

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

psmoe-0.1.4.5.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

psmoe-0.1.4.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file psmoe-0.1.4.5.tar.gz.

File metadata

  • Download URL: psmoe-0.1.4.5.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for psmoe-0.1.4.5.tar.gz
Algorithm Hash digest
SHA256 b1a894604ff309e21f287b0cdabb2008f8b49e06bc8b21bcb382b5f4c79848d7
MD5 3f468f6e60b76ae3fa5b3decd7295f26
BLAKE2b-256 1aa1ee8315c7c3296b1693182278ea9247456e37fd7f982061e6fe0467e78d24

See more details on using hashes here.

File details

Details for the file psmoe-0.1.4.5-py3-none-any.whl.

File metadata

  • Download URL: psmoe-0.1.4.5-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for psmoe-0.1.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7712951111a58a84b717089d14533d9f38ee988824e33f452bf14edeab496364
MD5 792741d76626863f6a8cc1e9e96e0f64
BLAKE2b-256 0c775722f863430ceadf7dd1453f2a562662389faab80724123bea506a6d3319

See more details on using hashes here.

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