filter_window_distance(img, rscale, fsize=1500, tr1=7)¶
2d filter looking for large reflectivity gradients.
This function counts for each bin in
imgthe percentage of surrounding bins in a window of half size
fsizewhich are not
tr1smaller than the central bin. The window is defined using geometrical distance.
output (array_like) – an array with the same shape as
img, containing the filter’s results.