Remove noise and background variation.
Convolve with a Gaussian to remove short-wavelength noise and subtract out long-wavelength variations, retaining features of intermediate scale.
This implementation relies on scipy.ndimage.filters.gaussian_filter, and it is the fastest way known to the authors of performing a bandpass in Python.
Parameters: | image : ndarray lshort : small-scale cutoff (noise) llong : large-scale cutoff for both lshort and llong:
threshold : float or integer
|
---|---|
Returns: | result : array
|
See also
legacy_bandpass, legacy_bandpass_fftw