RasterFilter.compute
- RasterFilter.compute(input_data: List[ndarray] | ndarray) ndarray
Compute the output from the different bands of the input data. Output data are supposed to be the same size as input_data.
- Parameters:
input_data ([np.ndarray] or np.ndarray) – List of input data (one np.ndarray per band) or a 3 dimensions np.ndarray with all bands
- Returns:
Numpy array or list of numpy arrays of the size of input data