get_shape_coefficients#
- get_shape_coefficients(array: ndarray, reference: ndarray, order: int) dict [source]#
Calculate spherical harmonic coefficients for binary image array.
- Parameters:
array – Binary image array.
reference – Binary reference array that determines alignment angle.
order – Order of the spherical harmonics coefficient parametrization.
- Returns:
Dictionary of spherical harmonics, angle, and MSE.