weingartenImageCurvature.Rd
uses the weingarten map to estimate image mean or gaussian curvature
weingartenImageCurvature(image, sigma = 1, opt = "mean", labeled = FALSE)
antsImage
smoothing parameter
mean by default, otherwise use string gaussian or characterize
boolean if TRUE then assume image contains labels which denote the surface on which curvature is to be calculated. in this case, the surface should hold integer value 1; the background should be zero; the interior of the surface should be greater than 1 (e.g. 2).
image
Avants, B, J. Gee, and B. Avants. Shape operator for differential image analysis Information Processing in Medical Imaging, 2003.
img <- makeImage(c(10, 10, 10), rnorm(1000))
fik <- weingartenImageCurvature(img)
if (FALSE) { # \dontrun{
fi <- antsImageRead(getANTsRData("mni"))
fik <- weingartenImageCurvature(fi)
} # }