![]() divide(landsat_lect('B4').add(landsat_lect('B3')))) Note: the normalized difference operation is available as a shortcut method: Index (NDVI) using Landsat imagery, where add(), subtract(),Īnd divide() operators are used: Code Editor (JavaScript) // Load a 5-year Landsat 7 composite 1999-2003. Operations are performedĪs a simple example, consider the task of calculating the Normalized Difference Vegetation Is interpreted as a single-band constant image with no masked pixels. They take two inputs:Įither two images or one image and a constant term, which Math operators perform basic arithmetic operations on image bands. Subtract(), but for complex computations with more than a couple of terms, theĮxpression() function provides a good alternative. Java is a registered trademark of Oracle and/or its affiliates.Image math can be performed using operators like add() and For details, see the Google Developers Site Policies. In addition to string and numeric literals, you can use the following literals inĮxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. The Edge UI does not support the literal or > If you use >= when defining the condition in the Edge UI, If you use > when defining the condition in the Edge UI, it is You can use the symbol or the word in your The following table lists the supported operators. Apigee Edge relies on regular expressions as implemented in.Arithmetic operators ( + * - / %) are not supported.To include an operator in a variable, a variable name must be enclosed in single quotes.A space character is required before and after an operator.Operators cannot be used as variable names.When using operators, observe the following restrictions: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |