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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10c266ef6fa8bbed6491f8fce7f6ff1b4af562cbdbd23558a3037f00bc2f01dd
|
|
| MD5 |
471e1f16539d44191bb7bb7853a14090
|
|
| BLAKE2b-256 |
1a622fc5e2939404c8b268e3704997a44ff1841c1d9884ed7aa1c48207224efd
|
Provenance
The following attestation bundles were made for mri2mesh-0.2.1.tar.gz:
Publisher:
pypi.yml on scientificcomputing/mri2mesh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mri2mesh-0.2.1.tar.gz -
Subject digest:
10c266ef6fa8bbed6491f8fce7f6ff1b4af562cbdbd23558a3037f00bc2f01dd - Sigstore transparency entry: 768795029
- Sigstore integration time:
-
Permalink:
scientificcomputing/mri2mesh@7bb2a46c53f3370af16ffcea846186d6f70a7410 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/scientificcomputing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@7bb2a46c53f3370af16ffcea846186d6f70a7410 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbbc66576d0cfcdee2fed0c5b4a5e46cb199d9b05362cd3e3332411dd06a7c4e
|
|
| MD5 |
186d516b16292d9ffc87b1cd32d9139a
|
|
| BLAKE2b-256 |
6f518aa6c665b2f63633a9f4fbd9186dd2410cc31f5e709a7fb5f99fa2d095f9
|
Provenance
The following attestation bundles were made for mri2mesh-0.2.1-py3-none-any.whl:
Publisher:
pypi.yml on scientificcomputing/mri2mesh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mri2mesh-0.2.1-py3-none-any.whl -
Subject digest:
bbbc66576d0cfcdee2fed0c5b4a5e46cb199d9b05362cd3e3332411dd06a7c4e - Sigstore transparency entry: 768795030
- Sigstore integration time:
-
Permalink:
scientificcomputing/mri2mesh@7bb2a46c53f3370af16ffcea846186d6f70a7410 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/scientificcomputing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@7bb2a46c53f3370af16ffcea846186d6f70a7410 -
Trigger Event:
push
-
Statement type: