# \donttest{
lib.loc = tempdir()
if (download_img_data(lib.loc = lib.loc)){
t1 = oro.nifti::readNIfTI(system.file("T1Strip.nii.gz",
package="WhiteStripe",
lib.loc = lib.loc))
t2 = oro.nifti::readNIfTI(system.file("T2Strip.nii.gz",
package="WhiteStripe",
lib.loc = lib.loc))
ind = whitestripe_hybrid(t1, t2)
mask = whitestripe_ind_to_mask(t1, ind$whitestripe.ind)
oro.nifti::orthographic(mask)
}
# }
Run the code above in your browser using DataLab