##-------------
## Generate ODF volumes (GQI volume processing) for
## range of slices using deterministic find peaks algorithm
gqi.odfpeaks(rg=c(1,1), bview="coronal", showglyph=FALSE)
## Show RGB maps for range of slices processed by gqi.odfpeaks()
rgbvolmap(fbase=tempdir())
##-------------
## Process whole volume: generate NIfTI files
## data_gfa_gqi.nii.gz and data_V1_gqi.nii.gz
gqi.odfpeaks(rg=NULL)
rgbvolmap(fbase=tempdir(), rg=NULL, bview="coronal")
##-------------
## Visualization of RBG maps based on processed volumes
## "data_gfa_gqi.nii.gz and "data_V1_gqi.nii.gz"
## (visualization compatible with the FSL/fslview tool)
rgbvolmap(rg=NULL, bview="coronal")
##-------------
## Show reconstructed glyphs in ODF processing
## for principal direction determination
gqi.odfpeaks(rg=c(1,1), bview="coronal", showglyph=TRUE, depth=3)
Run the code above in your browser using DataLab