grains.gala_light.imhmin

grains.gala_light.imhmin(a, thresh)

Suppress all minima that are shallower than thresh.

Parameters
  • a (array) – The input array on which to perform hminima.

  • thresh (float) – Any local minima shallower than this will be flattened.

Returns

out (array) – A copy of the input array with shallow minima suppressed.