Reclassify each pixel of each image of a directory using the first level of the legend, which are the values less than ten. The output images are saved in the output directory.
1 | groupDirectoryToLevel1(inputDir, outputDir, legend)
|
inputDir |
Input directory. It must be a relative path within baseDir(). |
outputDir |
Output directory. It will be cleaned before processing the files. It must also be a relative path within baseDir(). |
legend |
A legend, that can be created with readLegend(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.