ants.ops.weingarten_image_curvature

weingarten_image_curvature(image, sigma=1.0, opt='mean')[source]

Uses the weingarten map to estimate image mean or gaussian curvature

ANTsR function: weingartenImageCurvature

Parameters:
  • image (ants.core.ANTsImage) – image from which curvature is calculated

  • sigma (scalar) – smoothing parameter

  • opt (str) – mean by default, otherwise gaussian or characterize

Return type:

ants.core.ANTsImage

Example

>>> import ants
>>> image = ants.image_read(ants.get_ants_data('mni')).resample_image((3,3,3))
>>> imagecurv = ants.weingarten_image_curvature(image)