navigate.model.analysis.image_contrast.fast_normalized_dct_shannon_entropy
- navigate.model.analysis.image_contrast.fast_normalized_dct_shannon_entropy(input_array, psf_support_diameter_xy)
Calculates the entropy of an image.
- Parameters:
input_array (np.ndarray) – 2D or 3D image. If 3D, will iterate through each 2D plane.
psf_support_diameter_xy (float) – Support for the PSF in the x-dimension.
- Returns:
entropy – Entropy value.
- Return type:
np.ndarray