Undefined Value??[cvFindContour],[contour]

Ask questions on using Emgu CV with C++
Post Reply
moc72
Posts: 1
Joined: Mon Dec 17, 2012 4:47 am

Undefined Value??[cvFindContour],[contour]

Post by moc72 » Mon Dec 17, 2012 5:01 am

I am using VS C++2010 Professional and SP1 .

My code is :

Code: Select all

 CvSeq *contours =0;	
cvFindContours (image, g_storage, &contours, sizeof(CvContour), CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE ,cvPoint(0,0));
Bu I get error after Run : An unhandled exception of type 'System.Runtime.InteropServices.SEHEcxeption' Occurred in Project.exe Addtional information:External component has thrown an exception

And Autos is showing me that : Contour value is undefined value .
But I dont understant beacuse I defined it. İf ı remove cvFindContours line dont give me undefined value. But ı want to use cvFindContours :((

Please help me , Please :(

Post Reply