View source: R/whitestripe_ind.R
whitestripe_hybrid | R Documentation |
Uses t1 and t2 WhiteStripe to get an intersection of the two masks for a hybrid approach
whitestripe_hybrid(t1, t2, ...)
t1 |
T1 image, array or class nifti |
t2 |
T2 image, array or class nifti |
... |
arguments passed to |
List of indices of overlap mask, and overlap of class array or nifti
whitestripe
## Not run:
lib.loc = tempdir()
if (download_img_data(lib.loc = lib.loc)){
t1 = readNIfTI(system.file("T1Strip.nii.gz", package="WhiteStripe",
lib.loc = lib.loc))
t2 = readNIfTI(system.file("T2Strip.nii.gz", package="WhiteStripe",
lib.loc = lib.loc))
ind = whitestripe_hybrid(t1, t2)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.