You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Divide nii files according to numerical sorting results. According to the extraction parameters you provide, the most positive and negative voxels can be taken out according to the ratio and stored as another nii file.
such as:
nii_fname = 'test.nii';
split_nii_val(nii_fname,'pos','top',0.025,'output1.nii');
split_nii_val(nii_fname,'pos','bottom',0.01,'output2.nii');
split_nii_val(nii_fname,'neg','top',0.01,'output3.nii');
split_nii_val(nii_fname,'neg','bottom',0.01,'output4.nii');
Cite As
Jinbo Zhang (2026). Divide nii files (https://in.mathworks.com/matlabcentral/fileexchange/76598-divide-nii-files), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: DPABI: a toolbox for Data Processing & Analysis for Brain Imaging
General Information
- Version 1.0.0 (1.61 KB)
MATLAB Release Compatibility
- Compatible with R2014b to R2020a
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
