Description Usage Arguments Details Value Author(s) Examples
Visualize a cortical blob on a white matter segmentation of a template.
1 | visualizeBlob(template, blob, outname='wmBlob', dim=3)
|
template |
Template used for visualization. Can be image or file name to be read |
blob |
Blob to be visualized. Assumed to be in same space as |
outname |
Prefix for output png images. |
dim |
Dimension of images. |
Visualization settings are optimized for 1mm isotropic resolution images. Viewing angles may also need to be modified for different templates.
List with entries mask
(the mask for the template),
seg
(the 3-tissue segmentation of the template),
and glassbrain
(the glass brain generated from the template).
Kandel BM, Avants BB
1 2 3 4 5 6 7 | ## Not run:
template <- antsImageRead(getANTsRData("mni"), 3)
lab <- antsImageRead(getANTsRData("mnia"), 3)
blob <- maskImage(lab, lab, 21)
visualizeBlob(template, blob)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.