eigSeg: Segmentation for eigenanatomy.

Description Usage Arguments Value Author(s) Examples

Description

Segment a mask into regions based on the max value in an image list. At a given voxel the segmentation label will contain the index to the image that has the largest value. If the 3rd image has the greatest value, the segmentation label will be 3 at that voxel.

Usage

1
eigsegimage<-eigSeg( mask, imageList  )

Arguments

mask

D-dimensional mask > 0 defining segmentation region.

imageList

list containing antsImages or filenames pointing to antsImages.

Value

segmentation image.

Author(s)

Avants BB

Examples

1
2
3
4
5
6
7
## Not run: 
mylist<-list(image1,image2)
# both approaches below are ok 
myseg<-eigSeg( mask, mylist ) 
myseg<-eigSeg( mask, c("a.nii.gz","b.nii.gz")  ) 

## End(Not run)

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