-
Notifications
You must be signed in to change notification settings - Fork 17
/
normalized_difference.json
86 lines (86 loc) · 2.51 KB
/
normalized_difference.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"id": "normalized_difference",
"summary": "Normalized difference",
"description": "Computes the normalized difference for two bands. The normalized difference is computed as *`(x - y) / (x + y)`*.\n\nThis process could be used for a number of remote sensing indices such as:\n\n* [NDVI](https://eos.com/ndvi/): `x` = NIR band, `y` = red band\n* [NDWI](https://eos.com/ndwi/): `x` = NIR band, `y` = SWIR band\n* [NDSI](https://eos.com/ndsi/): `x` = green band, `y` = SWIR band\n\nSome back-ends may have native processes such as ``ndvi()`` available for convenience.",
"categories": [
"math > indices",
"vegetation indices"
],
"parameters": [
{
"name": "x",
"description": "The value for the first band.",
"schema": {
"type": "number"
}
},
{
"name": "y",
"description": "The value for the second band.",
"schema": {
"type": "number"
}
}
],
"returns": {
"description": "The computed normalized difference.",
"schema": {
"type": "number",
"minimum": -1,
"maximum": 1
}
},
"links": [
{
"rel": "related",
"href": "https://eos.com/ndvi/",
"title": "NDVI explained by EOS"
},
{
"rel": "related",
"href": "https://eos.com/ndwi/",
"title": "NDWI explained by EOS"
},
{
"rel": "related",
"href": "https://eos.com/ndsi/",
"title": "NDSI explained by EOS"
}
],
"process_graph": {
"subtract": {
"process_id": "subtract",
"arguments": {
"x": {
"from_parameter": "x"
},
"y": {
"from_parameter": "y"
}
}
},
"add": {
"process_id": "add",
"arguments": {
"x": {
"from_parameter": "x"
},
"y": {
"from_parameter": "y"
}
}
},
"divide": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "subtract"
},
"y": {
"from_node": "add"
}
},
"result": true
}
}
}