自己写了一个简单的opencv高斯处理图片的程序,但是出现问题了不知道该怎么办!新人求前辈们指导!
我的代码是这样的:
#include "stdafx.h"
#include "highgui.h"
#include "cv.h"
int main(int argc,char** argv){
//create some windows to show the input and output images in.
cvNamedWindow("input",CV_WINDOW_AUTOSIZE);
cvNamedWindow("output",CV_WINDOW_AUTOSIZE);
IplImage* in=cvLoadImage("fan.jpg");
cvShowImage("input",in);
IplImage* out=cvCreateImage(cvGetSize(in),IPL_DEPTH_8U,3);
//do the smoothing
cvSmooth(in,out,CV_GAUSSIAN,3,3);
cvShowImage("output",out);
cvReleaseImage(&in);
cvReleaseImage(&out);
cvWaitKey(0);
cvDestroyWindow("input");
cvDestroyWindow("output");
}
生成解决方案后出现了这个问题:
ntdll.dll!778315ee()
[下面的框架可能不正确和/或缺失,没有为ntdll.dll加载符号]
截图不知道为什么上传不了,我是新手对visual studio 调试什么的也不太明白,请各位前辈指教指教,非常谢谢大家!