cymorph.smoothness.Smoothness

class cymorph.smoothness.Smoothness(clean_image, segmented_mask, smoothing_degradation, butterworth_order)

Extracts smoothness metric (pearson rank and spearman rank) from the supplied image.

Parameters
  • clean_image (2-d ndarray) – Clean image data array.

  • segmented_mask (2-d ndarray) – Mask array.

  • smoothing_degradation (float) – Degradation level of the image.

  • butterworth_order (int) – Butterworth order.

__init__(clean_image, segmented_mask, smoothing_degradation, butterworth_order)

Methods

__init__(clean_image, segmented_mask, ...)

get_collected_points_plot()

Correlation plot between original and rotated image

get_pearsonr()

Pearson rank smoothness coeficient

get_spearmanr()

Spearman rank smoothness coeficient