added description of FAST 5/8 and FAST 7/12 (by Vincent)
authorVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Tue, 7 Aug 2012 14:17:30 +0000 (18:17 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Tue, 7 Aug 2012 14:17:30 +0000 (18:17 +0400)
modules/features2d/doc/common_interfaces_of_feature_detectors.rst
modules/features2d/doc/feature_detection_and_description.rst

index 5ee4da0..9a80a1d 100644 (file)
@@ -148,7 +148,7 @@ Wrapping class for feature detection using the
     class FastFeatureDetector : public FeatureDetector
     {
     public:
-        FastFeatureDetector( int threshold=1, bool nonmaxSuppression=true );
+        FastFeatureDetector( int threshold=1, bool nonmaxSuppression=true, type=FastFeatureDetector::TYPE_9_16 );
         virtual void read( const FileNode& fn );
         virtual void write( FileStorage& fs ) const;
     protected:
index 062228e..8c284e6 100644 (file)
@@ -7,7 +7,7 @@ FAST
 --------
 Detects corners using the FAST algorithm
 
-.. ocv:function:: void FAST( InputArray image, vector<KeyPoint>& keypoints, int threshold, bool nonmaxSupression=true )
+.. ocv:function:: void FAST( InputArray image, vector<KeyPoint>& keypoints, int threshold, bool nonmaxSupression=true, type=FastFeatureDetector::TYPE_9_16 )
 
     :param image: Image where keypoints (corners) are detected.
 
@@ -17,6 +17,8 @@ Detects corners using the FAST algorithm
 
     :param nonmaxSupression: If it is true, non-maximum suppression is applied to detected corners (keypoints).
 
+    :param type: one of the three neighborhoods as defined in the paper: ``FastFeatureDetector::TYPE_9_16``, ``FastFeatureDetector::TYPE_7_12``, ``FastFeatureDetector::TYPE_5_8``
+
 Detects corners using the FAST algorithm by [Rosten06]_.
 
 .. [Rosten06] E. Rosten. Machine Learning for High-speed Corner Detection, 2006.