Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

short answer: avoid Iplimage, use cv::Mat (and the corresponding cv:: functions) wherever you can ! (also, reconsider using that *very old cvblob thing).

long answer: using 'new' for IplImage is totally wrong, use cvCreateImage(), and never forget to call cvReleaseImage() for anything you created like this !

short answer: avoid Iplimage, use cv::Mat (and the corresponding cv:: functions) wherever you can ! (also, reconsider using that *very old cvblob thing).

long answer: using 'new' for IplImage is totally wrong, wrong(it will produce a new IplImage , but never reserve space for any pixels), use cvCreateImage(), and never forget to call cvReleaseImage() for anything you created like this !