Stefan J. Blaschke b41bc74cf6 [DATALAD] Recorded changes | 1 年之前 | |
---|---|---|
.. | ||
+nifti_utils | 1 年之前 | |
external | 1 年之前 | |
README.md | 1 年之前 |
This is an extension to Tools for NIfTI and ANALYZE image and contains additional utilities that I found useful when dealing with NIFTIs in MATLAB.
Utilities in this package allow for data processing to occur WRT storage orientation while also taking data scaling into account, saving NIFTIs after they have been modified/processed in the same orientation, getting the volume in "voxel RAS" orientation which is useful for plotting results without resampling or reslicing the data, and more...
There's more info and a tutorial here for working with NIFTI files in MATLAB with this library.
1) (optional - only if you want to use radiological storage orientation check) Install FSL 2) Download repo:
git clone https://github.com/justinblaber/nifti_utils.git
3) In MATLAB:
>> addpath(genpath('nifti_utils'));
You can try out some of the utilties like so:
% Load volume
test_vol = nifti_utils.load_untouch_nii_vol_scaled('test.nii.gz','double');
% Get "voxel RAS" transform
xform_RAS = nifti_utils.get_voxel_RAS_xform('test.nii.gz');
% Apply transform to volume
test_vol_RAS = nifti_utils.vol_apply_xform(test_vol,xform_RAS);
% View the 4D volume slice-wise
nifti_utils.vol_viewer_4D(test_vol_RAS);
The viewer should look something like:
datacite.yml | |
---|---|
Title | Longitudinal MRI data (T2w and rs-fMRI) after cortical stroke and cathodal transcranial direct current stimulation (tDCS) in mice |
Authors |
Blaschke,Stefan;University Hospital Cologne;ORCID:0000-0001-8643-3824
Rueger,Maria Adele;University Hospital Cologne;ORCID:0000-0001-8036-395X |
Description | 'Longitudinal T2-weighted MRI, rs-fMRI and behavorial data (baseline and up to 4 weeks after stroke) in the photothrombosis model and transcranial direct current stimulation (cathodal tDCS) in mice' |
License | CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) |
References |
Blaschke SJ, Vlachakis S, Pallast N, Walter HL, Volz LJ, Wiedermann D, Fink GR, Hoehn M, Aswendt M, Schroeter M, Rueger MA. Transcranial Direct Current Stimulation Reverses Stroke-Induced Network Alterations in Mice. Stroke. 2023 Jun 28. doi: 10.1161/STROKEAHA.123.042808 [doi:10.1161/STROKEAHA.123.042808] (IsSupplementTo)
|
Funding |
DFG, 431549029–SFB 1451
Marga und Walter Boll Stiftung, #210/10/15 |
Keywords |
ischemia
brain magnetic resonance imaging mice transcranial direct currrent stimulation functional connectivity motor recovery |
Resource Type |
Dataset |