largest_component(img, ..., retfile = FALSE)

Arguments

img

Object of class nifti

...

Additional arguments passed to iMath

retfile

logical to indicate if an antsImage should be returned (useful for chaining)

Value

Object of class nifti