Skip to main content
Question

How to use the NDVI calculator

  • February 26, 2021
  • 2 replies
  • 38 views

koenvdw
Contributor
Forum|alt.badge.img+6

Hi

 

I have a near infrared jpg.

In the data inspector it says Band 0 (GRAY8).

 

When I look at the NDVI calculator I see two ports (Red, Infrared).

I've seen somebody used something like this:

1 

I don't know how to configure the testfilters so they give the correct output.

 

Can somebody tell me if that's the way to go and if so how to configure the testfilters?

 

 

 

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+65
  • Celebrity
  • February 28, 2021

Is your JPEG only one band? NDVI calculations are usually done using multi spectral imagery. This images will included RGB and a range of other bands. the NDVI calculation requires the visible red spectrum as well as the near infrared spectrum


kailinatsafe
Safer
Forum|alt.badge.img+23

Hello @koenvdw​ ,

try adding a RasterBandPropertyExtractor before your Testfilter to get your raster feature information! Should be able to find band name or definition there.

Let me know if you have any success,

Kailin Opaleychuk.