getCenterOfMass.Rd
compute an image center of mass in physical space which is defined as the mean of the intensity weighted voxel coordinate system.
getCenterOfMass(img)
vector center of mass
fi <- antsImageRead(getANTsRData("r16"))
com1 <- getCenterOfMass(fi)
fi <- antsImageRead(getANTsRData("r64"))
com2 <- getCenterOfMass(fi)