DOKK / manpages / debian 12 / pktools / pkfilterdem.1.en
pkfilterdem(1) pkfilterdem(1)

pkfilterdem - Filter digital elevation model raster datasets


pkfilterdem
-i input -o output [options] [advanced options]

pkfilterdem can be used to filter digital elevation models. It is typically used after the utility pklas2img(1) to create a digital terrain model. The default filter operation is the progressive morphological filter ⟨http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1202973&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D1202973⟩ .

input image
output classification image
post processing filter: vito, etew_min, promorph (progressive morphological filter), open, close).
maximum filter kernel size
Data type for output image ({Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 / Float64 / CInt16 / CInt32 / CFloat32 / CFloat64}). Empty string: inherit type from input image
Output image format (see also gdal_translate(1)).
color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid)). Use none to omit color table
nodata value
verbose mode if > 0

Advanced options

circular disc kernel for dilation and erosion
slope threshold used for morphological filtering. Use a low values to remove more height objects in flat terrains
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., -ht 0.2 -ht 2.5 sets an initial threshold at 0.2 m and caps the threshold at 2.5 m).
Stop iterations when no more pixels are changed than this threshold.

pklas2img(1)

01 December 2022