Description Usage Arguments Value Author(s) Examples
View source: R/makePowersPointsImage.R
Creates spherical points in the coordinate space of the target image.
| 1 | makePowersPointsImage(pts, mask, radius = 5)
 | 
| pts | input powers points | 
| mask | antsImage mask defining target space | 
| radius | for the points | 
antsImage is output
Avants BB, Duda JT
| 1 2 3 4 5 6 7 8 9 10 | ## Not run: 
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 )
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.