whitestripe_hybrid: Hybrid WhiteStripe

Description Usage Arguments Value See Also Examples

View source: R/whitestripe_ind.R

Description

Uses t1 and t2 WhiteStripe to get an intersection of the two masks for a hybrid approach

Usage

1

Arguments

t1

T1 image, array or class nifti

t2

T2 image, array or class nifti

...

arguments passed to whitestripe

Value

List of indices of overlap mask, and overlap of class array or nifti

See Also

whitestripe

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

Example output

Warning messages:
1: In download.file(url, urlfile, quiet = TRUE) :
  URL http://muschellij2.github.io/WhiteStripe/T1Strip.nii.gz: cannot open destfile '/T1Strip.nii.gz', reason 'Permission denied'
2: In download.file(url, urlfile, quiet = TRUE) :
  download had nonzero exit status
3: In download.file(url, urlfile, quiet = TRUE) :
  URL http://muschellij2.github.io/WhiteStripe/T2Strip.nii.gz: cannot open destfile '/T2Strip.nii.gz', reason 'Permission denied'
4: In download.file(url, urlfile, quiet = TRUE) :
  download had nonzero exit status

WhiteStripe documentation built on April 19, 2018, 1:04 a.m.