Compute Signal-to-Noise Ratio (SNR) from the 3D MRI image of the brain using FSL tools
clone repository:
git clone https://github.com/valosekj/compute_snr_brain.git
run script:
compute_SNR_brain.sh [-i <file_name>]
Script performs:
-
Reorientation of the input image to match the approximate orientation of the standard template image (MNI152)
-
Brain extraction
-
Tissue-type segmentation (WM, GM, CSF)
-
Creation of WM mask
-
Creation of four cubic ROIs places in the superior corners of the input 3D image representing noise
-
Computation of SNR using two methods:
-
SNR = mean_wm / mean_noise
-
SNR = 0.655 * mean_wm / sd_noise
(Zhang et al., IEEE Access, 2018, doi: 10.1109/ACCESS.2018.2796632)
-
Computed SNR (saved into snr.txt
file) as well as all processed images are stored in newly created directory.
Jan Valošek, Pavel Hok; fMRI laboratory Olomouc
Thanks for contribution to Dominik Vilimek from Technical University Ostrava