opencv error :assertion faild (src.depth()==dst.depth()&&src.size==dst.size)
如果你用的是以下代码,cvSetImageROI(grayEqualizeImage,cvRect(cr->x,cr->y,IMG_WIDTH,IMG_HEIGHT));cvCopy(grayEqualizeImage,dstImage,0);cvResetImageROI(grayEqualizeImage);那么你要检查你cvSetImageROI这个函数是否执行成功,因为在cvSetIm