Description Usage Arguments Value Author(s) Examples
View source: R/reorientImage.R
compute an image center of mass in physical space which is defined as the mean of the intensity weighted voxel coordinate system.
1 | getCenterOfMass(img)
|
img |
antsImage |
vector center of mass
Brian B. Avants
1 2 3 4 | fi<-antsImageRead( getANTsRData("r16"))
com1<-getCenterOfMass( fi )
fi<-antsImageRead( getANTsRData("r64"))
com2<-getCenterOfMass( fi )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.