add_chan_vese_contours#

ripplemapper.analyse.add_chan_vese_contours(ripple_images: list[RippleImage] | RippleImage | RippleImageSeries, overwrite: bool = False, use_gradients=False, **kwargs)[source]#

Add Chan-Vese contours to a list of RippleImage objects.

Parameters:
  • ripple_images (list[RippleImage] | RippleImage | RippleImageSeries) – A list of RippleImage objects or a single RippleImage or RippleImageSeries.

  • overwrite (bool, optional) – Whether to overwrite existing Chan-Vese contours, by default False.

  • use_gradients (bool, optional) – Whether to use image gradients, by default False.

  • **kwargs – Additional keyword arguments for the cv_segmentation function.

Return type:

None