visualizeBlob: Visualize cortical blob

Description Usage Arguments Details Value Author(s) Examples

Description

Visualize a cortical blob on a white matter segmentation of a template.

Usage

1
visualizeBlob(template, blob, outname='wmBlob', dim=3)

Arguments

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 template. Can also be image or file.

outname

Prefix for output png images.

dim

Dimension of images.

Details

Visualization settings are optimized for 1mm isotropic resolution images. Viewing angles may also need to be modified for different templates.

Value

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).

Author(s)

Kandel BM, Avants BB

Examples

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)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.