Description Usage Arguments Value References Examples
MNDWI can enhance open water features while efficiently suppressing and even removing built-up land noise as well as vegetation and soil noise.
1 | MNDWI(G, SWIR1)
|
G |
A raster layer object with the reflectance values for the Green band. |
SWIR1 |
A raster layer object with the reflectance values for the Short Wave Infrared band. |
MNDWI - Normalized Difference Water Index
Xu, H. 2006. Modification of normalised difference water index (NDWI) to enhance open water features in remotely sensed imagery. International Journal of Remote Sensing, 27(14), 3025-3033.
1 2 3 4 5 | library(raster)
path_files <- system.file("extdata/", package="nightmares")
bands <- stack(list.files(path_files,".tif", full.names=TRUE))
x <- ref_oli(bands, sun.elev= 67.97)
MNDWI(x[[3]], x[[6]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.