Skip to main content

Tool for converting labeled MRI data to a mesh

Project description

mri2mesh

This repository contains a pipeline to generate surfaces from voxelized data using scikit-image and pyvista. It also contains tools for visualization using pyvista.

Installation

To install the required packages, run:

python3 -m pip install git+https://github.com/scientificcomputing/mri2mesh.git

Usage

The basic using is through the command line using the command mri2mesh. To see all the options, run:

mri2mesh --help

Visualization

Visualization is achieved through the subcommand viz. To see all options you can do

mri2mesh viz --help

For example to visualize a nifty file called T1_synthseg.nii.gz, run:

mri2mesh viz volume-clip -i T1_synthseg.nii.gz

which will open up the volume with a clipping plane. To see all the options, run:

mri2mesh viz volume-clip --help

Surface generation

To generate the parenchyma surface from a nifty file, run:

mri2mesh surface parenchyma -i T1_synthseg.nii.gz

Authors

The pipeline is developed by Marius Causemann and Henrik Finsberg.

License

MIT

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

mri2mesh-0.3.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mri2mesh-0.3.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file mri2mesh-0.3.0.tar.gz.

File metadata

  • Download URL: mri2mesh-0.3.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mri2mesh-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fcc01bee3e7b56dba40e6a232335bcef37fd6a2e8e4ab98f39c726c9ceecb013
MD5 beee55145da1285bef5304c55ceabddc
BLAKE2b-256 f89d417e19ed9e6d510a721a6dbe83cc6b3da5c82f45278d90b487ede83fd89d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mri2mesh-0.3.0.tar.gz:

Publisher: pypi.yml on scientificcomputing/mri2mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mri2mesh-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mri2mesh-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mri2mesh-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8edbb09041663ab678065ca378dd2dab902a1cc5eda49a75a02f005e976bbd98
MD5 91053938eef5b9e5565abdb4aa2c78e5
BLAKE2b-256 7b874e18cf8b38cfb74f9664c79f26e2a9459b484e89293093ed36fa83bc7296

See more details on using hashes here.

Provenance

The following attestation bundles were made for mri2mesh-0.3.0-py3-none-any.whl:

Publisher: pypi.yml on scientificcomputing/mri2mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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