Top
Menu

POF-ML

arvi - Atmospherically Resistant Vegetation Index

The arvi PU computes the Atmospherically Resistant Vegetation Index based on the following formula:

\( \mathit{ARVI} = \cfrac{ \mathit{NIR} \ - \ ( \mathit{Red} \ - \ g \ ( \mathit{Blue} \ - \ \mathit{Red} ))}{\mathit{NIR} \ + \ (\mathit{Red} \ - \ g \ ( \mathit{Blue} \ - \ \mathit{Red} )) } \)
where:
\( g = 1 \)

Syntax

arvi(nir,blue,red)

Input

This PU takes in input three PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • blue - is the child PU used as the Blue channel (~490nm).
  • red - is the child PU used as the Red channel (~665nm).

Output

The output is a PU with one float sample per pixel.

evi - Enhanced Vegetation Index

The evi PU computes the Enhanced Vegetation Index based on the following formula:

\( \mathit{EVI} = \mathit{G} \times \cfrac{\mathit{NIR} \ - \ \mathit{Red}}{\mathit{NIR} \ + \ \mathit{C_1} \times \mathit{Red} \ - \ \mathit{C_2} \times \mathit{Blue} \ + \ \mathit{L}}\)
where:
\( G = 2.5 \) / \( L = 1 \) / \( C_1 = 6 \) / \( C_2 = 7.5 \)

Syntax

evi(nir,red,blue)

Input

This PU takes in input three PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • red - is the child PU used as the Red channel (~665nm).
  • blue - is the child PU used as the Blue channel (~490nm).

Output

The output is a PU with one float sample per pixel.

gndvi - Green Normalized Difference Vegetation Index

The gndvi PU computes the Green Normalized Difference Vegetation Index based on the following formula:

\( \mathit{GNDVI} = \cfrac{\mathit{NIR} \ - \ \mathit{Green} }{ \mathit{NIR} \ + \ \mathit{Green}}\)

Syntax

gndvi(nir,green)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • green - is the child PU used as the Green channel (~560nm).

Output

The output is a PU with one float sample per pixel.

mndwi - Modified Normalized Difference Water Index

The mndwi PU computes the Modified Normalized Difference Water Index based on the following formula:

\( \mathit{MNDWI} = \cfrac{\mathit{Green} \ - \ \mathit{SWIR} }{ \mathit{Green} \ + \ \mathit{SWIR}}\)

Syntax

mndwi(green,swir)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • green - is the child PU used as the Green channel (~560nm).
  • swir - is the child PU used as the SWIR channel (~1640nm).

Output

The output is a PU with one float sample per pixel.

msavi2 - Modified Soil Adjusted Vegetation Index

The msavi2 PU computes the Modified Soil Adjusted Vegetation Index based on the following formula:

\( \mathit{MSAVI2} = \cfrac{ 2 \ \times \mathit{NIR} \ + \ 1 \ - \ \sqrt{(2 \ \times \ \mathit{NIR} \ - \ 1) ^ 2 \ - \ 8 \ \times \ (\mathit{NIR} \ - \ \mathit{Red})} }{ 2 } \)

Syntax

msavi2(nir,red)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • red - is the child PU used as the Red channel (~665nm).

Output

The output is a PU with one float sample per pixel.

ndre - Normalized Difference Red Edge Index

The ndre PU computes the Normalized Difference Red Edge Index based on the following formula:

\( \mathit{NDRE} = \cfrac{\mathit{NIR} \ - \ \mathit{RE} }{ \mathit{NIR} \ + \ \mathit{RE}} \)

Syntax

ndre(nir,rededge)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • rededge - is the child PU used as the Red-Edge channel (~715nm).

Output

The output is a PU with one float sample per pixel.

ndvi - Normalized Difference Vegetation Index

The ndvi PU computes the Normalized Difference Vegetation Index based on the following formula:

\( \mathit{NDVI} = \cfrac{\mathit{NIR} \ - \ \mathit{Red} }{ \mathit{NIR} \ + \ \mathit{Red}}\)

Syntax

ndvi(nir,red)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • red - is the child PU used as the Red channel (~665nm).

Output

The output is a PU with one float sample per pixel.

ndwiow - Normalized Difference Water Index for Open Water

The ndwiow PU computes the Normalized Difference Water Index for Open Water based on the following formula:

\( \mathit{NDWI_OW} = \cfrac{\mathit{Green} \ - \ \mathit{NIR} }{ \mathit{Green} \ + \ \mathit{NIR}}\)

Syntax

ndwiow(green,nir)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • green - is the child PU used as the Green channel (~560nm).
  • nir - is the child PU used as the NIR channel (~860nm).

Output

The output is a PU with one float sample per pixel.

ndwism - Normalized Difference Water Index for Soil Moisture

The ndwism PU computes the Normalized Difference Water Index for Soil Moisture based on the following formula:

\( \mathit{NDWI_SM} = \cfrac{\mathit{NIR} \ - \ \mathit{SWIR} }{ \mathit{NIR} \ + \ \mathit{SWIR}}\)

Syntax

ndwism(nir,swir)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • swir - is the child PU used as the SWIR channel (~1640nm).

Output

The output is a PU with one float sample per pixel.

nmdi - Normalized Multi‐band Drought Index

The nmdi PU computes the Normalized Multi‐band Drought Index based on the following formula:

\( \mathit{NMDI} = \cfrac{\mathit{NIR} \ - \ (\mathit{SWIR1} \ - \ \mathit{SWIR2} ) }{ \mathit{NIR} \ + \ (\mathit{SWIR1} \ - \ \mathit{SWIR2} ) }\)

Syntax

nmdi(nir,swir1,swir2)

Input

This PU takes in input three PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • swir1 - is the child PU used as the SWIR1 channel (~1640nm).
  • swir2 - is the child PU used as the SWIR2 channel (~2130nm).

Output

The output is a PU with one float sample per pixel.

reci - Red-Edge Chlorophyll Index

The reci PU computes the Red-Edge Chlorophyll Index based on the following formula:

\( \mathit{RECI} = \cfrac { \mathit{NIR} } { \mathit{RE} } \ - \ 1 \)

Syntax

reci(nir,rededge)

Input

This PU takes in input two PUs with one sample per pixel. The expected data type is integer.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • rededge - is the child PU used as the Red-Edge channel (~715nm).

Output

The output is a PU with one float sample per pixel.

s2fapar - Sentinel-2 Fraction of Absorbed Photosynthetically Active Radiation

The s2fapar computes the Fraction of Absorbed Photosynthetically Active Radiation indicator using a precomputed neural network. This neural network is tuned for Sentinel-2 L1C data.

Syntax

s2fapar(B03,B04,B05,B06,B07,B8A,B11,B12,BVZ,BSZ,BRA[,checkBound]) // where BRA = dif(BSA,BVA)

Input

This PU takes in input 11 PUs with one sample per pixel.

Parameters

  • B03 - is the child PU used as the Sentinel-2 B03 band.
  • B04 - is the child PU used as the Sentinel-2 B04 band.
  • B05 - is the child PU used as the Sentinel-2 B05 band.
  • B06 - is the child PU used as the Sentinel-2 B06 band.
  • B07 - is the child PU used as the Sentinel-2 B07 band.
  • B8A - is the child PU used as the Sentinel-2 B8A band.
  • B11 - is the child PU used as the Sentinel-2 B11 band.
  • B12 - is the child PU used as the Sentinel-2 B12 band.
  • BVZ - is the child PU used as the Sentinel-2 Viewing Zenith band.
  • BSZ - is the child PU used as the Sentinel-2 Sun Zenith band.
  • BRA - is the child PU used as the Sentinel-2 Relative Azimuth band.
  • checkBound - is a boolean which indicates if the defintion bound should be checked (0 - false / 1 - true).

Output

The output is a PU with one float sample per pixel.

s2fcover - Sentinel-2 Fraction of green vegetation cover

The s2fcover computes the Fraction of green vegetation cover indicator using a precomputed neural network. This neural network is tuned for Sentinel-2 L1C data.

Syntax

s2fcover(B03,B04,B05,B06,B07,B8A,B11,B12,BVZ,BSZ,BRA[,checkBound]) // where BRA = dif(BSA,BVA)

Input

This PU takes in input 11 PUs with one sample per pixel.

Parameters

  • B03 - is the child PU used as the Sentinel-2 B03 band.
  • B04 - is the child PU used as the Sentinel-2 B04 band.
  • B05 - is the child PU used as the Sentinel-2 B05 band.
  • B06 - is the child PU used as the Sentinel-2 B06 band.
  • B07 - is the child PU used as the Sentinel-2 B07 band.
  • B8A - is the child PU used as the Sentinel-2 B8A band.
  • B11 - is the child PU used as the Sentinel-2 B11 band.
  • B12 - is the child PU used as the Sentinel-2 B12 band.
  • BVZ - is the child PU used as the Sentinel-2 Viewing Zenith band.
  • BSZ - is the child PU used as the Sentinel-2 Sun Zenith band.
  • BRA - is the child PU used as the Sentinel-2 Relative Azimuth band.
  • checkBound - is a boolean which indicates if the defintion bound should be checked (0 - false / 1 - true).

Output

The output is a PU with one float sample per pixel.

s2lai - Sentinel-2 Leaf Area Index

The s2lai computes the Leaf Area Index indicator using a precomputed neural network. This neural network is tuned for Sentinel-2 L1C data.

Syntax

s2lai(B03,B04,B05,B06,B07,B8A,B11,B12,BVZ,BSZ,BRA[,checkBound]) // where BRA = dif(BSA,BVA)

Input

This PU takes in input 11 PUs with one sample per pixel.

Parameters

  • B03 - is the child PU used as the Sentinel-2 B03 band.
  • B04 - is the child PU used as the Sentinel-2 B04 band.
  • B05 - is the child PU used as the Sentinel-2 B05 band.
  • B06 - is the child PU used as the Sentinel-2 B06 band.
  • B07 - is the child PU used as the Sentinel-2 B07 band.
  • B8A - is the child PU used as the Sentinel-2 B8A band.
  • B11 - is the child PU used as the Sentinel-2 B11 band.
  • B12 - is the child PU used as the Sentinel-2 B12 band.
  • BVZ - is the child PU used as the Sentinel-2 Viewing Zenith band.
  • BSZ - is the child PU used as the Sentinel-2 Sun Zenith band.
  • BRA - is the child PU used as the Sentinel-2 Relative Azimuth band.
  • checkBound - is a boolean which indicates if the defintion bound should be checked (0 - false / 1 - true).

Output

The output is a PU with one float sample per pixel.

savi - Soil Adjusted Vegetation Index

The savi PU computes the Soil Adjusted Vegetation Index based on the following formula:

\( \mathit{SAVI} = \cfrac { \mathit{NIR} \ - \ \mathit{Red} } { \mathit{NIR} \ + \ \mathit{Red} \ + \ L} \times \ (1 \ + \ L) \)

Syntax

savi(nir,red,l)

Input

This PU takes in input two PUs with one sample per pixel.

Parameters

  • nir - is the child PU used as the NIR channel (~860nm).
  • red - is the child PU used as the Red channel (~665nm).
  • l - is a correction factor which ranges from 0 (very high vegatation cover) to 1 (very low vegetation cover).

Output

The output is a PU with one float sample per pixel.