File size: 1,127 Bytes
7197cab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<?xml version="1.0"?>
<userplugin xmlns="http://cubert-gmbh.de/user/plugin/userplugin.xsd">
  <configuration name="Blood_OXY" citation="Oppelt02" plugin_author="Cubert" plugin_version="1.0.0" required_engine_version="2.3.0" comment="Hyperspectral NDVI">
    <comment>
    Hyperspectral NDVI
    ---
    hndvi:= ( ( CUBE(827 nm) - CUBE(668 nm) ) / ( CUBE(827 nm) + CUBE(668 nm) ) )
    ---
    Structure
  </comment>
    <input id="WL_1" type="wavelength">750</input>
    <input id="WL_2" type="wavelength">566</input>
    <input id="col" min="-0.7" max="0.5" default="ndvi" type="colormap">hsv</input>
    <evaluate id="hndvi">
      <operator type="divide">
        <operator type="subtract">
          <variable ref="WL_1" />
          <variable ref="WL_2" />
        </operator>
        <operator type="add">
          <variable ref="WL_1" />
          <variable ref="WL_2" />
        </operator>
      </operator>
    </evaluate>
    <output_image show="true">
      <gray ref_colormap="col">
        <variable ref="hndvi" />
      </gray>
    </output_image>
  </configuration>
</userplugin>