Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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]);

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]);

chanel[0]);