openpiv.pyprocess.normalize_intensity

openpiv.pyprocess.normalize_intensity(window)[source]
Normalize interrogation window or strided image of many windows,
by removing the mean intensity value per window and clipping the negative values to zero
Parameters:window (2d np.ndarray) – the interrogation window array
Returns:window – the interrogation window array, with mean value equal to zero and intensity normalized to -1 +1 and clipped if some pixels are extra low/high
Return type:2d np.ndarray