.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH MINTPY-SPATIAL_FILTER "1" "May 2022" "mintpy-spatial_filter v1.3.3" "User Commands" .SH NAME mintpy-spatial_filter \- Spatial filtering of 2D image. .SH DESCRIPTION usage: spatial_filter.py [\-h] .TP [\-f {lowpass_gaussian,highpass_gaussian,lowpass_avg,highpass_avg,sobel,roberts,canny,double_difference}] [\-p [FILTER_PAR ...]] [\-o OUTFILE] file [dset ...] .PP Spatial filtering of 2D image. .SS "positional arguments:" .TP file File to be filtered .TP dset optional \- dataset(s) to filter (default: []). .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-f\fR {lowpass_gaussian,highpass_gaussian,lowpass_avg,highpass_avg,sobel,roberts,canny,double_difference} Filter type (default: lowpass_gaussian). Check Bekaert et al. (2020) for double_difference; Check scikit\-image as below for the other filters: .IP http://scikit\-image.org/docs/dev/api/skimage.filters.html .TP \fB\-p\fR [FILTER_PAR ...], \fB\-\-filter_par\fR [FILTER_PAR ...] Filter parameters for filters. Default: .TP Sigma for low/high pass gaussian filter, default: 3.0 .TP Kernel Size for low/high pass average filter, default: 5 .IP Kernel Radius for double difference local and regional filters, default: 1 10 .TP \fB\-o\fR OUTFILE, \fB\-\-outfile\fR OUTFILE Output file name. .SS "references:" .IP Bekaert, David PS, et al. "InSAR\-based detection method for mapping and monitoring slow\-moving landslides in remote regions with steep and mountainous terrain: An application to Nepal." Remote Sensing of Environment 249 (2020), doi:10.1016/j.rse.2020.111983. .SS "example:" .TP spatial_filter.py velocity.h5 .TP spatial_filter.py timeseries.h5 \fB\-f\fR lowpass_avg \fB\-p\fR 5 .TP spatial_filter.py velocity.h5 \fB\-f\fR lowpass_avg \fB\-p\fR 5 .TP spatial_filter.py velocity.h5 \fB\-f\fR highpass_gaussian \fB\-p\fR 3 .TP spatial_filter.py velocity.h5 \fB\-f\fR sobel .TP spatial_filter.py ifgramStack.h5 unwrapPhase .TP spatial_filter.py ifgramStack.h5 unwrapPhase \fB\-f\fR lowpass_avg \fB\-p\fR 5 .TP spatial_filter.py ifgramStack.h5 unwrapPhase \fB\-f\fR double_difference \fB\-p\fR 1 10