scallops.spots.max_filter
- scallops.spots.max_filter(data, width=3)
Apply a maximum filter in a window of width. Conventionally operates on Laplacian-of- Gaussian filtered data, dilating channels to compensate for single-pixel alignment error.
- Parameters:
data (DataArray) – Image data, expected dimensions of (t,c,z,y,x)
width (int) – Neighborhood size for max filtering
- Returns:
Maxed data with preserved dimensions.
- Return type:
DataArray