Description: CvSeq* lines = 0
int i
IplImage* src1=cvCreateImage(cvSize(src->width,src->height),IPL_DEPTH_8U,1)
cvCvtColor(src, src1, CV_BGR2GRAY) //把src转换成灰度图像保存在src1中,注意进行边缘检测一定要换成灰度图
cvCanny( src1, dst, 50, 200, 3 ) //参数,的灰度变换
cvCvtColor( dst, color_dst, CV_GRAY2BGR )
#if 1
To Search:
File list (Check if you may need any files):
canny detective.doc