User Tools

Site Tools


wiki:exercise7

Exercise 7: morphological filters

In this exercise, the following tools will be used:

  • pktools: pkfilter
Optional: crop the image to test some filters on limited area
ULX=3217600
ULY=3127850
LRX=3225650
LRY=3119900
pkcrop -i ${OUTPUTDIR}/cloudmask.tif -o ${OUTPUTDIR}/cloudmask_crop.tif -ulx $ULX -uly $ULY -lrx $LRX -lry $LRY
morphological filters: dilation (-f 7), erosion (-f 8), closing (-f 9), opening (-f 10)

Perform a dilation filter on the cloud mask

pkfilter -i ${OUTPUTDIR}/cloudmask.tif -o ${OUTPUTDIR}/cloudmask_dil.tif -f 7 -dx 5 -dy 5 -c
wiki/exercise7.txt · Last modified: 2017/12/05 22:53 (external edit)