Translate this formula to Pix4DF language...

Hi all,

Anyone know how to translate the following to a custom index?

I tried: (nir/red-1) / (sqrt nir/red+1)

Told me the brackets were incorrect, so I also tried: ((nir/red)-1))/((sqrt nir/red)+1)) which also failed. Can someone correct my stupidness please?

That should be it, you forgot the brackets for sqrt():

(( nir / red ) - 1) / ( sqrt (nir / red )+1)

Ahhh so close! Thanks Julius.

1 Like