Filtering.local_mean

Filtering.local_mean = mean

Computes the local means of the input data. Each element is the mean of the pixels contained in the sliding window determined by kernel_size.

Returns:

Numpy array of the size of input_data containing the computed local means