User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

wiki:exercise6b [2017/12/05 22:53]
wiki:exercise6b [2020/07/17 06:39] (current)
Line 1: Line 1:
 +====== Exercise 6b: Morphological filtering ======
 +In this exercise, the following tools will be used:
 +  * pktools: pkfilter and pkcrop
 +  * bash: environment variables
 +__Dilate cloud mask with circular kernel of size 5x5__
 +<code bash>
 +pkfilter -i ${OUTPUTDIR}/​exercise6/​cloudmask.tif -o ${OUTPUTDIR}/​exercise6/​cloudmask_dil.tif -f dilate -dx 5 -dy 5 -c
 +<note tip>
 +If slow computer, perform the morphological filter on subimage using pkcrop
 +<code bash>
 +pkcrop -i ${OUTPUTDIR}/​exercise6/​cloudmask.tif -o ${OUTPUTDIR}/​exercise6/​cloudmask_crop.tif -ulx $ULX -uly $ULY -lrx $LRX -lry $LRY
wiki/exercise6b.txt ยท Last modified: 2020/07/17 06:39 (external edit)