how to calculate VARI using open cv ?
I try to calculate VARI (false-NDVI) in visual studio and coding like below but the result is not what I want
split(img, chanel); //split rgb to 3 bands
Mat vari = (chanel[1] - chanel[2]) / (chanel[1] + chanel[2] - chanel[0]);
add a comment