When I type the following code line.. where img_hsv is a Mat image...
IplImage abc=img_hsv;
// object that will contain blobs of inputImage
CBlobResult blobs;
// Extract the blobs using a threshold of 100 in the image
blobs = CBlobResult(&abc,NULL,100,true);
It displays the following error...
error C2661: 'CBlobResult::CBlobResult' : no overloaded function takes 4 arguments.. Any help is welcome...!!
You probably have code written for an older library. Have a look at the header file, I guess the constructor has only 3 arguments. Remove true
, then it should work.
This discussion might point out the problem with more details: http://tech.groups.yahoo.com/group/OpenCV/message/61534 to help you finding a maybe more suitable solution if simply removing the flag does have some undesirable side effects.