ewoksndreg.evaluation.eval_metrics.smoothness_eval#

ewoksndreg.evaluation.eval_metrics.smoothness_eval(transformations, img_size)[source]#

Evaluates the transformations by smoothness.

This is done by transforming the coordinates of the corners of the image and looking at how much these change by successive transformations

param transformations: Sequence of Homographies param img_size: Shape of the images that these transformations are meant for

Parameters:
  • transformations (Sequence[Homography])

  • img_size (Tuple[int, ...])

Return type:

float