Implementation of "Non Local Spatial and Angular Matching : Enabling higher spatial resolution diffusion MRI datasets through adaptive denoising"
Project description
Non Local Spatial and Angular Matching (NLSAM) denoising
The reference implementation for the Non Local Spatial and Angular Matching (NLSAM) denoising algorithm for diffusion MRI.
Quick links
You can find the latest documentation and installation instructions over here with a downloadable version of the documentation here.
How to install
If you have a working python setup already, the next command should give you everything you need.
pip install nlsam
You can also download the datasets used in the paper over here.
Using the NLSAM algorithm
The process is to first transform your data to Gaussian distributed signals if your dataset is Rician or Noncentral chi distributed and then proceed to the NLSAM denoising part itself.
A quickstart example call would be
nlsam_denoising dwi.nii.gz dwi_nlsam.nii.gz bvals bvecs -m mask.nii.gz
For more fine grained control and explanation of arguments, have a look at the possible command line options with nlsam_denoising --help
You can find a detailed usage example and assorted dataset to try out in the example folder.
Questions / Need help / Think this is great software?
If you need help or would like more information, don't hesitate to drop me a line at samuel.st_jean@university, where university needs to be replaced with med.lu.se
References
The NLSAM denoising algorithm itself is detailed in
St-Jean, S., Coupé, P., & Descoteaux, M. (2016). "Non Local Spatial and Angular Matching : Enabling higher spatial resolution diffusion MRI datasets through adaptive denoising" Medical Image Analysis, 32(2016), 115–130. DOI URL
The bias correction framework is a reimplementation of
Koay, CG, Özarslan, E and Basser, PJ A signal transformational framework for breaking the noise floor and its applications in MRI, Journal of Magnetic Resonance, Volume 197, Issue 2, 2009
The automatic estimation of the noise distribution is computed with
St-Jean S, De Luca A, Tax C.M.W., Viergever M.A, Leemans A. (2020) "Automated characterization of noise distributions in diffusion MRI data." Medical Image Analysis, October 2020:101758. doi:10.1016/j.media.2020.101758
And here is a premade bibtex entry.
@article{St-Jean2016a,
author = {St-Jean, Samuel and Coup{\'{e}}, Pierrick and Descoteaux, Maxime},
doi = {10.1016/j.media.2016.02.010},
journal = {Medical Image Analysis},
pages = {115--130},
title = {{Non Local Spatial and Angular Matching : Enabling higher spatial resolution diffusion MRI datasets through adaptive denoising}},
volume = {32},
year = {2016}
}
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 Distributions
Hashes for nlsam-0.7.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb858478b21f786e4198a0a0f2679b665a20b31164c36817fae0deb74e16da6 |
|
MD5 | 1cb8860e5824d52543e5d1aad60881a6 |
|
BLAKE2b-256 | 5b7bf755c0ec4b42fa651a7d23748d3b43cc54027e85651f279059206fdb5587 |
Hashes for nlsam-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55902c5f689a6f6314b40f575d30df9e4f917f21c00cab8026c0d3841a222044 |
|
MD5 | 1f4cc88cc13b7c9be304253f75721eed |
|
BLAKE2b-256 | f61b912e8d333b228272c4f58428c7b4795b0e8829a37de5973aa92b12b6b560 |
Hashes for nlsam-0.7.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f711a5bb807ae370568513f4d52c78a3016519b3259a2ed3203878eb5ac97b |
|
MD5 | 80c5856fb2490adcb3502149f374b2f8 |
|
BLAKE2b-256 | 8f2c0fe910bcd7b4d07adb1c277b1cce5ff93be62aa22b81ee162436e3762c7c |
Hashes for nlsam-0.7.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc0146a801fa71dc89eead7d92db4226085f185efab2ece3916c97b71650fece |
|
MD5 | ebc5b3b4a99efa0229b71efc324bd887 |
|
BLAKE2b-256 | a7a22b7cd0c3dfa78ef385d03209850dddb647dfc821f5541a262b5a512b0cdb |
Hashes for nlsam-0.7.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98559e51f10464a97c6d8136589a99f772a720ff54b9177d44643b0594e4e52 |
|
MD5 | 753acbba1926ecc3e34a9e29c2bdc138 |
|
BLAKE2b-256 | e6cc38588e0e09959fa5eda00322e9273f96f1131d1d7c31a7335ece742f526f |
Hashes for nlsam-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4db4f1f9504aa016542aa681469c90722381aeb7c1434b5024a3183101fe905 |
|
MD5 | e04e0ad887c836c00a270d1fada25212 |
|
BLAKE2b-256 | a02d8e09e1bc425d95d5d35b56226f6ada42193a0b8ba8aa8330fb5f52e13299 |
Hashes for nlsam-0.7.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23a9bb949c93cbd80dbf42f4fa0bf0c777d5c56330f996e1ac80d0580601fcda |
|
MD5 | d30bf3fc32beb0ba35195edb65ded8e9 |
|
BLAKE2b-256 | 51118921c1b607b4fe2bc56455dc0b34a9938ee6cc9245ff3c6c756c04ab4e68 |
Hashes for nlsam-0.7.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e2f7c4291cd7879b44eda199c69ea05c46c09cd0576d475ede04e34971ed2e |
|
MD5 | 763973ed731de724b05d54f82b68006b |
|
BLAKE2b-256 | c8c7c918443ef70adebf696fd6501d72754a80e9008446b3a4e12636cba69bda |
Hashes for nlsam-0.7.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2f5b8054b46bd8c088decd7cc69febf914ab72362c7369cc628c1fa8f42664 |
|
MD5 | f3706539d81cc52662300ddc85399dc4 |
|
BLAKE2b-256 | b45f2d67e50cec9f76b462f0475c4761b0910fa7ea0fedb64ccbececae25979a |
Hashes for nlsam-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bae46cf84a8040643888e4e476f88c9be7bcc25fcd3939150bfb3c6e55a18f6 |
|
MD5 | 16f3e21a010b1e94cc0a84bb2a86f238 |
|
BLAKE2b-256 | 8fd204218aea667509cf5bc9801ec1ea02d7462f91e8a8567f7d4ddeb3d3894f |
Hashes for nlsam-0.7.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5d1f83c3c8c4571cebc2ec91099202f66d6be7ba5e5dc8336d50d1cce52276 |
|
MD5 | 14e777c8f5ca7d34ed6aa409b360fa3a |
|
BLAKE2b-256 | 2421ccd48ba633009c2dfe6b50187e6785aa90c8e249882ad4b39c3c3c5df157 |
Hashes for nlsam-0.7.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9daffe7f030dcade49a92a1d37e6dec74d3979020ccce62962a363e455e16ce3 |
|
MD5 | 10214a7f683e74c9ef610b75e6c5d25f |
|
BLAKE2b-256 | 08c9c9f4a14614fec45e6b808a1509bd9f5b224d25fe689bd315096a669b7313 |
Hashes for nlsam-0.7.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e98e75e02c8794947b83bd5d3b381f0aaefb6998363e8737b86dc9bb4cd6ba7 |
|
MD5 | 9059cc725c8c7e8aa6b35228e336fd5b |
|
BLAKE2b-256 | 37fccfbb4ef8fd512cc36adeab56759ec453769d106b65e0595f9f8c8f573d51 |
Hashes for nlsam-0.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e84cadcd7e41b2533d9e5b720fa037d70ab51f0a946d9703cc5ab2fb8babcbad |
|
MD5 | f402755eb936b04ba02e431abd9ff47c |
|
BLAKE2b-256 | 71f76bacce9fd3737446ecdde6675ff05f895da8e6dcd99b48ee42efc2ee8112 |
Hashes for nlsam-0.7.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607aa86fa10c18d584ea20b8a43d4d05dd1949b8b977fc3bbaee290523b51e80 |
|
MD5 | 52d15e6728126558740fd7bd635f2cb6 |
|
BLAKE2b-256 | dda4b5670d154dfe6da04e78263557ea0401b16386f3ff9a3f5b67f625ca6347 |