Skip to main content

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

Metadata

Release files for mri2mesh 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mri2mesh 0.3.0
File Size Uploaded
mri2mesh-0.3.0.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mri2mesh 0.3.0
File Interpreter ABI Platform
mri2mesh-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.9 kB

Release files / mri2mesh-0.3.0.tar.gz

Download URL mri2mesh-0.3.0.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fcc01bee3e7b56dba40e6a232335bcef37fd6a2e8e4ab98f39c726c9ceecb013
BLAKE2b-256 checksum
How to use checksums
f89d417e19ed9e6d510a721a6dbe83cc6b3da5c82f45278d90b487ede83fd89d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / mri2mesh-0.3.0-py3-none-any.whl

Download URL mri2mesh-0.3.0-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8edbb09041663ab678065ca378dd2dab902a1cc5eda49a75a02f005e976bbd98
BLAKE2b-256 checksum
How to use checksums
7b874e18cf8b38cfb74f9664c79f26e2a9459b484e89293093ed36fa83bc7296
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page