IplImage* img = cvLoadImage("C:\\Users\\acer\\Desktop\\band1.tif");
          int n=img->depth;
CString st;
st.Format(L"%d",n);
AfxMessageBox(st);
错误原因为:opencv1.exe 中的 0x771915de 处未处理的异常: 0xC0000005: 读取位置 0x00000010 时发生访问冲突
        band1.tif是float还是double不知道,但知道是他两者之一,他们的DN值范围是0.8-3.8
        错在那里,我想读取里面的数值,现在我应该怎么肿么办了?