spatial_filter.py: lowpass_avg vs mean filter

53 views
Skip to first unread message

4restw...@gmail.com

unread,
Mar 31, 2021, 4:51:35 PM3/31/21
to MintPy
Hi All, I could use some clarification on the lowpass_avg filter in the spatial_filter.py script. I want to find the local mean of my image (i.e. the mean of all pixels in the kernel surrounding each pixel) and I believe this is already implemented in the lowpass_avg filter. Am I correct, or is the lowpass_avg filter different than a local mean filter?

Thanks!
Forrest

Zhang Yunjun

unread,
Apr 1, 2021, 3:43:04 PM4/1/21
to MintPy
That's correct, Forrest. 

We leverage existing python modules such as scipy.ndimage and skimage for the filtering, as an experimental utility tool. It will be no different from writing your own script to call those modules directly.

Yunjun

Reply all
Reply to author
Forward
0 new messages