Learn R Programming

water (version 0.8)

cfmask: mask clouds

Description

This function mask clouds and other values using the cfmask

Usage

cfmask(path = getwd(), image, cfmask, keep = 0, buffer = 60)

Arguments

path

folder where band files are stored

image

L8 raw image

cfmask

Raster layer with the cfmask

keep

values in cfmask to preserve in the final output

buffer

buffer width around excluded values, numeric > 0. Unit is meter if x has a longitude/latitude CRS, or mapunits in other cases

See Also

Other remote sensing support functions: calcRadiance, calcSR, calcTOAr, loadImageSR, loadImage