'\" -*- coding: UTF-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH pkfilterdem 1 "06 December 2020" "" "" .SH NAME pkfilterdem \- Filter digital elevation model raster datasets .SH SYNOPSIS 'nh .fi .ad l \fBpkfilterdem\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu \fB-i\fR \fIinput\fR \fB-o\fR \fIoutput\fR [\fIoptions\fR] [\fIadvanced options\fR] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBpkfilterdem\fR can be used to filter digital elevation models. It is typically used after the utility \fBpklas2img\fR(1) to create a digital terrain model. The default filter operation is the .URL http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1202973&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D1202973 "progressive morphological filter" \&. .SH OPTIONS .TP \*(T<\fB\-i\fR\*(T> \fIfilename\fR, \*(T<\fB\-\-input\fR\*(T> \fIfilename\fR input image .TP \*(T<\fB\-o\fR\*(T> \fIfilename\fR, \*(T<\fB\-\-output\fR\*(T> \fIfilename\fR output classification image .TP \*(T<\fB\-f\fR\*(T> \fIfilter\fR, \*(T<\fB\-\-filter\fR\*(T> \fIfilter\fR post processing filter: vito, etew_min, promorph (progressive morphological filter), open, close). .TP \*(T<\fB\-dim\fR\*(T> \fImaxsize\fR, \*(T<\fB\-\-dim\fR\*(T> \fImaxsize\fR maximum filter kernel size .TP \*(T<\fB\-ot\fR\*(T> \fItype\fR, \*(T<\fB\-\-otype\fR\*(T> \fItype\fR Data type for output image ({Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 / Float64 / CInt16 / CInt32 / CFloat32 / CFloat64}). Empty string: inherit type from input image .TP \*(T<\fB\-of\fR\*(T> \fIformat\fR, \*(T<\fB\-\-oformat\fR\*(T> \fIformat\fR Output image format (see also \fBgdal_translate\fR(1)). .TP \*(T<\fB\-ct\fR\*(T> \fIcolortable\fR, \*(T<\fB\-\-ct\fR\*(T> \fIcolortable\fR color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid)). Use none to omit color table .TP \*(T<\fB\-nodata\fR\*(T> \fIvalue\fR, \*(T<\fB\-\-nodata\fR\*(T> \fIvalue\fR nodata value .TP \*(T<\fB\-v\fR\*(T> \fIlevel\fR, \*(T<\fB\-\-verbose\fR\*(T> \fIlevel\fR verbose mode if > 0 .PP Advanced options .TP \*(T<\fB\-circ\fR\*(T>, \*(T<\fB\-\-circular\fR\*(T> circular disc kernel for dilation and erosion .TP \*(T<\fB\-st\fR\*(T> \fIthreshold\fR, \*(T<\fB\-\-st\fR\*(T> \fIthreshold\fR slope threshold used for morphological filtering. Use a low values to remove more height objects in flat terrains .TP \*(T<\fB\-ht\fR\*(T> \fIthreshold\fR, \*(T<\fB\-\-ht\fR\*(T> \fIthreshold\fR initial height threshold for progressive morphological filtering. Use low values to remove more height objects. Optionally, a maximum height threshold can be set via a second argument (e.g., \*(T<\fB\-ht\fR\*(T> \fI0.2\fR \*(T<\fB\-ht\fR\*(T> \fI2.5\fR sets an initial threshold at 0.2 m and caps the threshold at 2.5 m). .TP \*(T<\fB\-minchange\fR\*(T> \fInumber\fR, \*(T<\fB\-\-minchange\fR\*(T> \fInumber\fR Stop iterations when no more pixels are changed than this threshold. .SH "SEE ALSO" \fBpklas2img\fR(1)