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.2.1.tar.gz (18.2 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.2.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mri2mesh-0.2.1.tar.gz
Algorithm Hash digest
SHA256 10c266ef6fa8bbed6491f8fce7f6ff1b4af562cbdbd23558a3037f00bc2f01dd
MD5 471e1f16539d44191bb7bb7853a14090
BLAKE2b-256 1a622fc5e2939404c8b268e3704997a44ff1841c1d9884ed7aa1c48207224efd

See more details on using hashes here.

Provenance

The following attestation bundles were made for mri2mesh-0.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: mri2mesh-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbbc66576d0cfcdee2fed0c5b4a5e46cb199d9b05362cd3e3332411dd06a7c4e
MD5 186d516b16292d9ffc87b1cd32d9139a
BLAKE2b-256 6f518aa6c665b2f63633a9f4fbd9186dd2410cc31f5e709a7fb5f99fa2d095f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mri2mesh-0.2.1-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