sph.odfvxgrid produces glyph-map fields of reconstructed ODF profiles for voxels in slices.sph.odfvxgrid(fbase=NULL, rg=c(1,1), swap=FALSE, btoption=1, threshold=0.4,
kdir=4, zfactor=5, snapshot=FALSE, showimage="glyphgfa", bview="coronal",
savedir=tempdir(), pngfig="odfglyphs", bg="white", order=4, texture=NULL, ...)rg=c(1,1)); rg=NULL processes all slices.FALSE).btoption=1)
or user defined files. With btoption=2, diffusion data files FALSE)."glyphgfa").
Alternative options are:
c("none", "gfa", "glyph", "glyphgfa", "glyphrgbmap", "glyphdata")
(see Details).axial, coronal, sagittal} (default: "coronal").tempdir().snapshot is TRUE (default "odfglyphs")."white")NULL - no texture).rgl.material.c("none", "gfa", "glyph", "glyphgfa", "glyphrgbmap", "glyphdata")
for showimages.
Meanings are as follows: "none" - no overlay; "gfa" - GFA map only; "glyph" - glyph map only; "glyphgfa" - GFA overlayed on glyph map; "glyphrgbmap" - glyphs overlayed on RGB map (if available); "glyphdata" - Q-ball imaging (QBI) is used for orientation distribution function (ODF) reconstruction.
One QBI-compatible b-table defining the acquisition setup on a S2-shell is included in the package. The b-table
Ferreira da Silva, A. R. Facing the Challenge of Estimating Human Brain White Matter Pathways. In Proc. of the 4th International Joint Conference on Computational Intelligence (Oct. 2012), K. Madani, J. Kacprzyk, and J. Filipe, Eds., SciTePress, pp. 709-714.
Tuch D. S., Q-Ball Imaging, Magnetic Resonance in Medicine 52 (2004), 1358-1372.
Tabelow K., Polzehl J.:
sph.odfpeaks,
sph.odfvmf,
sph.odfvmflines,
s2tessel.zorder,
plotglyph,
rgbvolmap,
simulglyph.vmf,
simul.fandtasia,
simul.simplefield## show glyph-map for selected slice
sph.odfvxgrid(threshold=0.5, showimage="glyphgfa")
##----
## generate slice RGB map as texture
rgbvolmap(texture=TRUE, transp=TRUE)
## coronal glyphs + RGBmap
sph.odfvxgrid(threshold=0.5, showimage="glyphrgbmap",
texture=file.path(tempdir(),"rgbmap.png"))Run the code above in your browser using DataLab