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 transformations
- Parameters:
transformations (
Sequence[Homography]) – Sequence of Homographiesimg_size (
Tuple[int,...]) – Shape of the images that these transformations are meant for
- Return type:
float