Outlier removal or Denoising¶
Function name: ASLtbx_aoc¶
- Description: It adaptively removes CBF volumes from the CBF time series and averages the remaining volume to obtain the meanCBF map. The removal is based on estimated motion, and correlation between individual CBF volumes and mean CBF map. Algorithm based on https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3777751/
- Inputs: CBF time series and optionally: text file with the estimated motion parameters realigning the raw ASL time series, brain mask in the ASL space, an algorithm specific threshold parameter (default 0.17) and number of iterations (default 2)
- Outputs: Outlier volume numbers. Also generates the estimated CBF map obtained after outlier removal.
- Syntax: See the help section of the code for details. Use the
batch_outlier_cleanto call the function
Function name: ASLtbx_aocSL¶
- Description: It adaptively removes slices from CBF volumes in the CBF time series and averages the remaining slices and volumes to obtain the mean CBF map. Algorithm is based on https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3777751/
- Inputs: CBF time series,
c1imgandc2img(GM and WM tissue probability maps obtained from SPM segmentation of high resolution T1 image, coregistered and downsampled to the ASL space),masking(brain mask in the ASL space),th(a threshold parameter, default =0.17, better to not change),motionfile(test file with the estimated motion parameters realigning the raw ASL time series) - Outputs:
oidx: identified outliers. Also generates the estimated CBF map obtained after outlier removal. - Syntax:
ASLtbx_aocSL(cbfimgs, c1img, c2img, maskimg, th, motionfile)
Function name: batch_SCORE_clean.m¶
- Description: Calculate
- Inputs: The path of perfusion maps, GM, WM and CSF Probability maps.
- Outputs: Will
- Syntax: Just run the whole script, no function to call. But does need to include the
SCORE_denoising.mfunction.
Notes
This script seems to be one code from a whole pipeline. Therefore, there is dependency on passing the file path and subjects with spm batch system. But can use the core code lines as a separate function.