pktools  2.6.7
Processing Kernel for geospatial data
examples_pksieve

Examples of pksieve

1 pksieve -i input.tif -c 8 -s 5 -o ouput.shp

merge all patches smaller than 5 pixels into bigger classes, using 8 connectivity (horizontal, vertical and diagonal)