opencv下图像叠加
void CPsView::ImgAdd(IplImage *inputImg,IplImage *inputImg1,IplImage *outputImg,double r)//图像叠加 { uchar *data= (uchar *)inputImg->imageData; int wp = inputImg->widthStep; uchar *data1= (uchar *)inputImg1->imageData; int wp1 = inputImg1->widthStep; uchar *data2= (uchar *)outputImg-