R/radiometric_filtering.R
radiometric_filtering.Rd
Performs radiometric filtering based on three criteria: NDVI, NIR reflectance, Blue reflectance
radiometric_filtering(
input_raster_path,
output_dir,
input_rast_wl,
input_mask_path = NULL,
NDVI_Thresh = 0.65,
Blue_Thresh = 500,
NIR_Thresh = 1500,
Blue = 480,
Red = 670,
NIR = 835,
maxRows = 1000,
filetype = "GTiff",
maskfilename = "mask_update"
)
character. Path of the image to be processed
character. Path for output directory
numeric. spectral bands used to identify relevant bands
character. Path of the mask corresponding to the image
numeric. NDVI threshold applied to produce a mask (select pixels with NDVI>NDVI_Thresh)
numeric. Blue threshold applied to produce a mask (select pixels with Blue refl < Blue_Thresh –> filter clouds)
numeric. NIR threshold applied to produce a mask (select pixels with NIR refl > NIR_Thresh)
numeric. central wl corresponding to the blue spectral band
numeric. central wl corresponding to the red spectral band
numeric. central wl corresponding to the NIR spectral band
numeric. max number of rows in each block
character. GDAL driver
character. name of the updated mask file
MaskPath = updated mask file