pymerlin.iq.gradient_entropy

pymerlin.iq.gradient_entropy(img)[source]

Calculates gradient entropy of image

Reference: McGee, K.P., Manduca, A., Felmlee, J.P., Riederer, S.J. and Ehman, R.L. (2000), Image metric‐based correction (Autocorrection) of motion effects: Analysis of image metrics. J. Magn. Reson. Imaging, 11: 174-181. https://doi.org/10.1002/(SICI)1522-2586(200002)11:2<174::AID-JMRI15>3.0.CO;2-3

Parameters

img (np.array) – Image

Returns

gradient entropy

Return type

float