This function mask clouds and other values using the cfmask
cfmask(path = getwd(), image, cfmask, keep = 0, buffer = 60)
folder where band files are stored
L8 raw image
Raster layer with the cfmask
values in cfmask to preserve in the final output
buffer width around excluded values, numeric > 0. Unit is meter if x has a longitude/latitude CRS, or mapunits in other cases
Other remote sensing support functions: calcRadiance
,
calcSR
, calcTOAr
,
loadImageSR
, loadImage