makePowersPointsImage.Rd
Creates spherical points in the coordinate space of the target image.
makePowersPointsImage(pts, mask, radius = 5)
antsImage is output
if (FALSE) { # \dontrun{
mni <- antsImageRead(getANTsRData("mni")) %>% getMask()
data("powers_areal_mni_itk", package = "ANTsR", envir = environment())
powersLabels <- makePowersPointsImage(powers_areal_mni_itk, mni)
# if you have a different target space
# pts = antsApplyTransformsToPoints( 3, powers_areal_mni_itk,
# transformlist = concatenatedMaps$toTemplate,
# whichtoinvert = concatenatedMaps$toTemplateInversion )
} # }