sarn_classifyWater_unimodal | R Documentation |
Classifies a multi-band image into water/not water using Rosin's unimodal thresholding algorithm + an elevation cutoff.
sarn_classifyWater_unimodal(img, dem, maxElev = 4000)
img: |
Multi-band RS image to be classified. Required band names are 'green', 'nir', and 'red'. |
dem: |
DEM for elevation cutoff of same resolution as RS image |
maxElev: |
Maximum elevation for water (in meters). Default=4000 |
Binary river classification: 1 is water, 0 is land
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.