nii.qc.fber: Foreground to Background Energy Ratio

Description Usage Arguments Value Author(s)

View source: R/nii.qc.fber.R

Description

Calculate the FBER, defined as the mean energy of image values within the head relative to outside the head. Higher values are better.

FBER = E|F|^2 / E|B|^2

Shehzad Z, Giavasis S, Li Q, Benhajali Y, Yan C, Yang Z, Milham M, Bellec P, Craddock C. The Preprocessed Connectomes Project Quality Assessment Protocol<e2><80><94>a resource for measuring the quality of MRI data. Frontiers in neuroscience. 2015.

Usage

1
nii.qc.fber(img.nii, img.vol=1L, brain.mask, brain.vol=1L, brain.dir="gt", brain.thresh = 0, frame.mask=NULL, frame.vol=1L, frame.dir="gt", frame.thresh = 0)

Arguments

img.nii

Full directory listing to desired nifti image (unzipped)

img.vol=1L

For multi volume images; an integer indicating the volume to load (1..N)

brain.mask

Full directory listing to desired nifti image to use for masking to ROI (unzipped). Must be identical pixel dimensions to base image.

brain.vol=1L

For multi volume images; an integer indicating the volume to load (1..N)

brain.dir="gt"

Direction to threshold the mask image to generate the ROI. Options include ("gt") [>] Default, "ge" [>=], "lt" [<], "le" [<=], "eq" [==]

brain.thresh=0

Value at which to threshold the ROI mask image. E.g., for binary masks, where the value 1 indicates the ROI, default of >0, will generate the appropriate mask

frame.mask

Full directory listing to desired nifti image to use for masking to scan area (unzipped). Must be identical pixel dimensions to base image.

frame.vol=1L

For multi volume images; an integer indicating the volume to load (1..N)

frame.dir="gt"

Direction to threshold the mask image to generate the extent of the scanned image. Options include ("gt") [>] Default, "ge" [>=], "lt" [<], "le" [<=], "eq" [==]

frame.thresh=0

Value at which to threshold the mask image. E.g., for binary masks, where the value 1 indicates the ROI, default of >0, will generate the appropriate mask

Value

a numeric value indicating Foreground to Background Energy Ratio

Author(s)

Timothy R. Koscik <timkoscik+niiqc@gmail.com>


TKoscik/nifti.qc documentation built on May 6, 2019, 4:30 p.m.