A collection of TensorFlow add-ons for computational MRI.
Project description
TensorFlow MRI (TFMR) is a Python library for MR image reconstruction and processing. TFMR provides:
A selection of differentiable operators for accelerated image reconstruction, Cartesian and non-Cartesian k-space sampling, and many other common MR image and signal processing tasks.
Keras objects such as metrics and losses for the creation, fitting and evaluation of machine learning models.
TFMR is aimed for scientists and researchers working with MRI data, whether they intend to use machine learning or not.
TFMR enables prototyping and deployment of computational MRI solutions easily and within a single language.
Thanks to the use of a TensorFlow backend, TFMR integrates seamlessly in machine learning projects. TFMR also inherits other benefits of TensorFlow, including high performance computation and GPU acceleration.
Installation
You can install TensorFlow MRI with pip:
$ pip install tensorflow-mri
Note that only Linux is currently supported.
TensorFlow Compatibility
Each TensorFlow MRI release is compiled against a specific version of TensorFlow. Please see the compatibility table below to see what versions of each package you can expect to work together.
TensorFlow MRI |
TensorFlow |
---|---|
v0.4 |
v2.6 |
v0.5 |
v2.6 |
v0.6 |
v2.6 |
Documentation
Visit the docs for the API reference and examples of usage.
Contributions
If you use this package and something does not work as you expected, please file an issue describing your problem. We will do our best to help.
Contributions are very welcome. Please create a pull request if you would like to make a contribution.
Citation
If you find this software useful in your work, please cite us.
FAQ
When trying to install TensorFlow MRI, I get an error about OpenEXR which includes: ``OpenEXR.cpp:36:10: fatal error: ImathBox.h: No such file or directory``. What do I do?
OpenEXR is needed by TensorFlow Graphics, which is a dependency of TensorFlow MRI. This issue can be fixed by installing the OpenEXR library. On Debian/Ubuntu:
$ apt install libopenexr-dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for tensorflow_mri-0.6.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe87813574ff1039c494bde33e0895998f782f02890fd8a755c2d8ee5b77a480 |
|
MD5 | af5f9ef016bee13cabcff309c6abf0a9 |
|
BLAKE2b-256 | e282c67c15fa5ce4360d6ac28f217e46ee32cb143a7fa0cf09296449d5c2577a |
Hashes for tensorflow_mri-0.6.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e07be40a7ab73ca0a7abe86894e714afc39b44d583f2fe4deebb820c053848 |
|
MD5 | 03b6ef833d2c371033ddca5c975ab2eb |
|
BLAKE2b-256 | f52c7eb3be54bf3ba53d2700e1bdd83bc957f7e06cccd1fbfcc6a9d24580e4d9 |
Hashes for tensorflow_mri-0.6.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f56f1330b3f65e6d64dd66680bdd6ed4e0b6df0384deedabec2bc4044eece73 |
|
MD5 | 4996b4eecb91f33cf05b147317a61215 |
|
BLAKE2b-256 | 0556bd713a4c3435bd99e542fc999bc920b009fe48bf73a3c28a2219f4b547c1 |
Hashes for tensorflow_mri-0.6.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f12d4b822c138dcdc44285859c391dfe7f410b9e308061b4153d750ac186e2 |
|
MD5 | 2a232da17b8cb39963bf331e090bea21 |
|
BLAKE2b-256 | c2e866d3b542c706203c24d6f1379aa17c41f8de1c5a614d3c7fac880279d909 |