Fix binary compatibility of opencv_features2d

This commit is contained in:
Andrey Kamaev
2012-10-15 21:09:24 +04:00
parent 88e9a072ec
commit 5a730d09cd
7 changed files with 52 additions and 18 deletions

View File

@@ -56,6 +56,19 @@ void makeOffsets(int pixel[25], int row_stride, int patternSize);
template<int patternSize>
int cornerScore(const uchar* ptr, const int pixel[], int threshold);
class FastFeatureDetector2 : public FastFeatureDetector
{
public:
CV_WRAP FastFeatureDetector2( int threshold=10, bool nonmaxSuppression=true);
CV_WRAP FastFeatureDetector2( int threshold, bool nonmaxSuppression, int type);
AlgorithmInfo* info() const;
protected:
virtual void detectImpl( const Mat& image, vector<KeyPoint>& keypoints, const Mat& mask=Mat() ) const;
short type;
};
}
#endif