Skip to main content

Brain imaging surface mesh file format converter

Project description

mni2mz3

crates.io MIT License test codecov

Converts a file from MNI polygonal surface mesh format (.obj*) or vertex-wise data (e.g. curvature, cortical thickness, *.txt) to Surf-Ice MZ3 (.mz3). Useful for visualizing surfaces using Surf-Ice or NiiVue.

[!WARNING] *Not to be confused with Wavefront .obj, which is a different spec but with the same file extension.

Installation

TODO

Usage

# convert mesh
mni2mz3 surface_81920.obj surface.mz3

# convert data
mni2mz3 thickness.txt thickness.mz3

Details

  • Output file will be gzip compressed.
  • For surfaces, only triangle meshes are supported.
  • For data, only 32-bit single-precision "float" is supported.

Testing

It is recommended to install cargo-nextest.

cargo nextest run

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

mni2mz3-0.1.0rc4.tar.gz (14.7 kB view details)

Uploaded Source

Built Distributions

mni2mz3-0.1.0rc4-py3-none-win_amd64.whl (155.4 kB view details)

Uploaded Python 3 Windows x86-64

mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (240.0 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (233.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (232.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

mni2mz3-0.1.0rc4-py3-none-macosx_11_0_arm64.whl (209.8 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

mni2mz3-0.1.0rc4-py3-none-macosx_10_7_x86_64.whl (221.2 kB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file mni2mz3-0.1.0rc4.tar.gz.

File metadata

  • Download URL: mni2mz3-0.1.0rc4.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.3.1

File hashes

Hashes for mni2mz3-0.1.0rc4.tar.gz
Algorithm Hash digest
SHA256 b0f14c802c0b61f702aea6cd44e1509bea594443b4de791e47897c69ae54258a
MD5 02823358a27b1d5da93341c77d3a77cb
BLAKE2b-256 ab6be57ea9947444a65d6899ce9e081c6846cd78e0c2254040a02405f5475364

See more details on using hashes here.

File details

Details for the file mni2mz3-0.1.0rc4-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mni2mz3-0.1.0rc4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6799a80ebc013d48283ca1064a37be2ad256f37637c497a942b823ef24679b29
MD5 1b6976e0549e3930e9986a84d3bc7cee
BLAKE2b-256 4a4c3db7540d8d8f0dfe9fad07592c2beab00f2609ba2c7cb39a0f28e18591b3

See more details on using hashes here.

File details

Details for the file mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e66fcac40db7c0b3404870fcf6ec6b45fa80f7a5ff623a8acfe570f8fd1d7c1b
MD5 8db08035896d83e0eca7cddd19970b6b
BLAKE2b-256 5e65a193f96aed6ee38c141bfe586333cab23c51b29b5b111a765cfffe4fb8e7

See more details on using hashes here.

File details

Details for the file mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 47e9c625d328f99a76647b25cf698923f8f28f03bc7d96faa0d1ad244f8fafe6
MD5 27989aa3fd1c0606577a24836dc7fa72
BLAKE2b-256 7513f8b8d98547372b80d4a480baee9ae194496b1469c52c75d390cebbab8b8f

See more details on using hashes here.

File details

Details for the file mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mni2mz3-0.1.0rc4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ec9a40363df918be9722547766a112ededf07da8577dc58fd3df26ad53b900cf
MD5 4001187fdc24d5e7ac3baa1b3c80bc98
BLAKE2b-256 f5c6e096689e65b8c476c720fa46c4c7ea5213dc86c2088d95d03ff2f99d6415

See more details on using hashes here.

File details

Details for the file mni2mz3-0.1.0rc4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mni2mz3-0.1.0rc4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bc9ef395434d40db4eccb638aa916ec138e604adf58591230fd19e73841ab916
MD5 0b2f3bfc4d03b369ec4d52bf98f415b5
BLAKE2b-256 15ce3cebe066cb90a155ecdc95c153bb62697f0bf0be981fbf388e5a4e893362

See more details on using hashes here.

File details

Details for the file mni2mz3-0.1.0rc4-py3-none-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for mni2mz3-0.1.0rc4-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 90ec957a01c6ebf595ba37fe8e2a69c5c8f137b02b72253491397b8d8efface5
MD5 64bff9e8b102a86437aecbbf957ca40b
BLAKE2b-256 0678a5aaf29c369cbbc3dd40ae926a6977e938a4eb88569fbd3d1cbb6e7a204c

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