## Generate ODF volumes (GQI volume processing)
## for a range of slices using von Mises-Fisher clustering
gqi.odfvmf(depth=2, showglyph=FALSE, threshold=0.5, savedir=tempdir())
## RGB maps for range of slices processed by gqi.odfvmf()
rgbvolmap(fbase=tempdir(), rg=c(1,4), bview="coronal")
##-------------
## Show reconstructed glyphs in ODF processing
## for first and second main fibre direction determination
gqi.odfvmf(gdi="gqi", rg=c(1,1), bview="coronal", depth=3,
showglyph=TRUE, threshold=0.5)
gqi.odfvmf(gdi="gqi2", rg=c(1,1), bview="coronal", depth=3,
showglyph=TRUE, threshold=0.5)
##-------------
## speeded up approximations: hardmax and numeric kappa
gqi.odfvmf(depth=2, showglyph=FALSE, threshold=0.5, savedir=tempdir(),
E="hardmax", kappa=20)
rgbvolmap(fbase=tempdir(), rg=c(1,4), bview="coronal")
Run the code above in your browser using DataLab