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", texturefile=NA, order=4)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")NA - no texture).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
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",
texturefile=paste(tempdir(),"/rgbmap.png", sep=""))Run the code above in your browser using DataLab