Learn R Programming

ANTsR (version 1.0)

image2ClusterImages: Converts an image to several independent images.

Description

Produces a unique image for each connected component 1 through N of size > minClusterSize

Usage

clust<-image2ClusterImages( img , minClusterSize = 50 , minThresh = 1.e-6 , maxThresh = 1 )

Arguments

img

input antsImage e.g. a statistical map

Value

the original image broken into a list of cluster images is the output

Examples

Run this code
# NOT RUN {
imageclusterlist<-image2ClusterImages( img ) 
# }

Run the code above in your browser using DataLab