Description Usage Arguments Details Author(s) References See Also Examples
View source: R/gqi.odfvxgrid.R
gqi.odfvxgrid
produces glyph-map fields of reconstructed ODF profiles for voxels in slices.
1 2 3 4 |
gdi |
method of ODF reconstruction to use |
fbase |
Directory where the required input data files are located. |
rg |
range of slices to process (default option |
swap |
toggle radiological/neurological orientation (default: |
lambda |
diffusion sampling length in |
depth |
sampling density on the hemisphere used in simulation (default N=321; depth=3). |
btoption |
b-table selection between ‘btable.txt’ ( |
threshold |
thresholding generalized fractional anisotropy (GFA) value at each voxel (default: 0.4). |
kdir |
maximum number of fibre directions to map (default: 4). |
zfactor |
parameter controlling z-value in relief overlay maps (default: 5). |
showimage |
object controlling visualization of line-maps (default: |
bview |
MRI slice view selection in { |
savedir |
directory for saving/loading processed results (default: |
bg |
map background colour (default |
texture |
name of the PNG file to be used as RGB map overlay in some 'showimage' options (default |
aniso |
anisotropic parameter in the range "[0,1)" or |
... |
additional material properties for geometry appearance as specified in |
GQI (Yeh et.al. 2010) or GQI2 (Garyfallidis 2012) may be used for ODF reconstruction.
Slice glyph map display and overlay selection is controlled by specifying one the arguments
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.
Adelino Ferreira da Silva, Universidade Nova de Lisboa, Faculdade de Ciencias e Tecnologia, Portugal, afs at fct.unl.pt
Adler, D., and Murdoch, D. rgl: 3D visualization device system (OpenGL), 2012. R package version 0.92.880.
Auguie, B. gridExtra: functions in Grid graphics, 2012. R package version 0.9.1.
Barber, C. B., Habel, K., Grasman, R., Gramacy, R. B., Stahel, A., and Sterratt, D. C. geometry: Mesh generation and surface tesselation, 2012. R package version 0.3-2.
Zeileis, A., Hornik, K., and Murrell, P. Escaping RGBland: Selecting colors for statistical graphics. Computational Statistics & Data Analysis 53 (2009), 3259-3270.
gqi.odfpeaks
,
gqi.odfvmf
,
gqi.odfvmflines
,
s2tessel.zorder
,
plotglyph
,
rgbvolmap
,
simulglyph.vmf
,
simul.fandtasia
,
simul.simplefield
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
## show glyph-map for selected slice
gqi.odfvxgrid(threshold=0.5, depth=2, showimage="glyphgfa")
gqi.odfvxgrid(gdi="gqi", threshold=0.5, depth=2, showimage="glyphgfa")
##----
## generate slice RGB map as texture
texturefname <- file.path(tempdir(),"rgbmap.png")
rgbvolmap(texture=texturefname, bg="transparent")
## coronal glyphs + RGBmap
gqi.odfvxgrid(threshold=0.5, depth=2, showimage="glyphrgbmap",
texture=texturefname)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.