Description Usage Arguments Details Value Examples
Creates a cloud and cloud shadow mask for Landsat MSS imagery.
1 | MSScvm(imgDir, demFile, classify = F)
|
imgDir |
directory name (character). Full path to a MSS image directory produced by the |
demFile |
filename (character). Full path to image-corresponding DEM file. |
classify |
logical. If TRUE clouds, cloud shadows, and clear pixels have unique values (0 = clear, 1 = cloud shadow, 2 = cloud). If FALSE obscured pixles = 0 and clear = 1. |
It is important that the input DEM file, specified by the 'demFile' parameter, be the same projection and pixel resolution as the
input image. It must also be >= in spatial extent, relative to the image. The program will check for these attributes and throw an error message if
there is a violation. There are two helper functions to prepare a suitable DEM. Use the reprojectDEM
function to ensure proper projection
and pixel resolution of an exisiting DEM, and the mosaicDEMs
function to create a mosaic from several DEMs to ensure proper extent, projection,
and pixel resolution.
A GeoTIFF raster image file with the same dimensions as the MSS image. The file will be placed in the 'imgDir' directory with the name equal to the image ID followed by '_msscvm'.
1 2 3 4 5 6 | ## Not run:
MSScvm(imgDir = "C:/mss/LM10360321973191AAA04",
demFile = "C:/mss/dem/wrs1_p036r032_dem.tif")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.