pkfilterdem(1)

Filter digital elevation model raster datasets

Section 1 pktools bookworm source

Description

pkfilterdem

NAME

pkfilterdem - Filter digital elevation model raster datasets

SYNOPSIS

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

DESCRIPTION

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⟩ .

OPTIONS

-i filename, --input filename

input image

-o filename, --output filename

output classification image

-f filter, --filter filter

post processing filter: vito, etew_min, promorph (progressive morphological filter), open, close).

-dim maxsize, --dim maxsize

maximum filter kernel size

-ot type, --otype type

Data type for output image ({Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 / Float64 / CInt16 / CInt32 / CFloat32 / CFloat64}). Empty string: inherit type from input image

-of format, --oformat format

Output image format (see also gdal_translate(1)).

-ct colortable, --ct colortable

color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid)). Use none to omit color table

-nodata value, --nodata value

nodata value

-v level, --verbose level

verbose mode if > 0

Advanced options
-circ
, --circular

circular disc kernel for dilation and erosion

-st threshold, --st threshold

slope threshold used for morphological filtering. Use a low values to remove more height objects in flat terrains

-ht threshold, --ht threshold

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).

-minchange number, --minchange number

Stop iterations when no more pixels are changed than this threshold.

SEE ALSO

pklas2img(1)