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=2, threshold=0.4, kdir=4, zfactor=5, showimage="glyphgfa", bview="coronal", savedir=tempdir(), bg="white", order=4, texture=NULL, ...)
rg=c(1,1)
); rg=NULL
processes all slices. FALSE
). btoption=1
), and the 3D-DSI grid b-table extracted from the diffusion data set (data.bvec and data.bval). By default, the 3D-DSI grid b-table is used (btoption=2
). "glyphgfa"
).
Alternative options are:
c("none", "gfa", "glyph", "glyphgfa", "glyphrgbmap", "glyphdata")
(see Details). axial, coronal, sagittal
} (default: "coronal"
). tempdir()
. "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"
- data_brain.nii.gz is overlayed on line map.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 btable.txt has 203 points distributed on a S2-shell.
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.: dti: DTI/DWI Analysis, 2012. R package version 1.1-0.
sph.odfpeaks
,
sph.odfvmf
,
sph.odfvmflines
,
s2tessel.zorder
,
plotglyph
,
rgbvolmap
,
simulglyph.vmf
,
simul.fandtasia
,
simul.simplefield
## Not run:
# ## 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"))
# ## End(Not run)
Run the code above in your browser using DataLab