## Not run:
# ##-------------
# ## von Mises-Fisher fibre orientation mapping
# ## for a range of slices
# gqi.odfvmflines(gdi="gqi", run=TRUE, rg=c(1,1), depth=2,
# showimage="linesdata", threshold=0.5)
# gqi.odfvmflines(gdi="gqi2", run=TRUE, rg=c(1,1), depth=2,
# showimage="linesdata", threshold=0.5)
# ## display line-maps only
# gqi.odfvmflines(run=FALSE, depth=2, showimage="lines")
# ## using GFA overlay
# gqi.odfvmflines(run=FALSE, depth=2, showimage="linesgfa")
# ##-------------
# ## Show reconstructed glyphs in ODF processing
# ## for principal direction determination
# gqi.odfvmflines(run=TRUE, depth=3,
# showimage="linesdata", showglyph=TRUE, threshold=0.5)
# ## show glyphs with using 'aniso' parameter
# gqi.odfvmflines(run=TRUE, depth=3,
# showimage="linesdata", showglyph=TRUE, threshold=0.5, aniso=0.3)
# ##-------------
# ## using a ROI overlay
# gqi.odfvmflines(run=TRUE, depth=3, roi="slfcst.nii.gz")
# ##-------------
# ## coronal view with texture for a single slice
# texturefname <- file.path(tempdir(),"rgbmap.png")
# rgbvolmap(texture=texturefname, bg="transparent")
# gqi.odfvmflines(threshold=0.5, showimage="linesrgbmap",
# texture=texturefname)
# ##-------------
# ## speeded up approximations: hardmax and common/numeric kappa
# gqi.odfvmflines(gdi="gqi", run=TRUE, rg=c(1,1), depth=2,
# showimage="linesdata", threshold=0.5,
# E="hardmax", kappa=list(common = TRUE))
# gqi.odfvmflines(gdi="gqi", run=TRUE, rg=c(1,1), depth=2,
# showimage="linesdata", threshold=0.5, E="hardmax", kappa=20)
# ## End(Not run)
Run the code above in your browser using DataLab