IplImage *oMatDeltaImage = cvLoadImage("E:\\Wihart\\Car_Images\\(785).jpg",CV_LOAD_IMAGE_UNCHANGED);
IplImage *oMatDeltaImage = cvLoadImage("E:\\Wihart\\Car_Images\\(785).jpg",CV_LOAD_IMAGE_UNCHANGED);
To copy to clipboard, switch view to plain text mode
How do you know that "oMatDeltaImage" is a valid pointer? I presume that if cvLoadImage() fails, it will return a NULL pointer. You don't check the return value, you simply use it in the next line and in SVM_classifier() and assume it is OK.
The debugger would probably have found your error in less time than it took to make your post.
Bookmarks