Filtering.local_sum

Filtering.local_sum = sum

Computes the local sums of the input data. Each element is the sum 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 sums