pyorc.Frames.normalize#
- Frames.normalize(samples=15)[source]#
- Remove the temporal mean of sampled frames. - This is typically used to remove non-moving background from foreground, and helps to increase contrast when river bottoms are visible, or when the objective contains partly illuminated and partly shaded parts. - Parameters:
- samples (int, optional) – amount of samples to retrieve from frames for estimating standard deviation and mean. Set to a lower number to speed up calculation, default: 15 (which is normally sufficient and fast enough). 
- Returns:
- normalized frames 
- Return type:
- xr.DataArray