NDVI值计算
根据http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=99423&highlight=rn实现:rnrnfloat get_ndvi(IplImage* img)rnrn CvScalar Scalar;rn Scalar = cvSum(img);波段和rn return float(Scalar.val[1]-Scalar.v…
根据http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=99423&highlight=rn实现:rnrnfloat get_ndvi(IplImage* img)rnrn CvScalar Scalar;rn Scalar = cvSum(img);波段和rn return float(Scalar.val[1]-Scalar.v…