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]);
1 | initial version |
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]);
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] -