Ask Your Question

jobim's profile - activity

2016-06-22 03:43:16 -0600 received badge  Editor (source)
2016-06-22 03:06:56 -0600 asked a question Can't see new classes

Hi, I've created some new classes to include in the features2d package, but ,despite they are public, I can't call them in any other class. I created this class: header: http://pastebin.com/6p1QW9Ug cpp file: http://pastebin.com/eUjLMEZT Suggestions? Thank you.

2016-06-21 09:00:08 -0600 commented question How to overload a class

Thanks, but didn't worked. I tried to inherit the class instead of overloading it, but it's always the same error.

2016-06-20 10:29:08 -0600 asked a question How to overload a class

HI, I want to overload two methods (SimpleBlobDetectorImpl::detect and SimpleBlobDetectorImpl::findBlobs) and in the file features2d.hpp I have:

CV_WRAP virtual void detect( InputArray image,
                                 CV_OUT std::vector<KeyPoint>& keypoints,
                                 InputArray mask=noArray() );

and

 virtual void detect( InputArrayOfArrays images,
                         std::vector<std::vector<KeyPoint> >& keypoints,
                         InputArrayOfArrays masks=noArray() );

I add

virtual void detect(InputArray image, float& maxDistance,
        CV_OUT std::vector<KeyPoint>& keypoints,
        InputArray mask = noArray());

I get this during compilation:

Error   C2857   '#include' statement specified with the /YcE:/OpenCV/intatto/opencv-master/modules/features2d/src/precomp.hpp command-line option was not found in the source file  opencv_features2d_object    E:\OpenCV\intatto\build\modules\features2d\opencv_features2d_pch.cpp

Can someone help? Thanks.