:param image: grayscale image where keypoints (corners) are detected.
:param image: grayscale image where keypoints (corners) are detected.
:param keypoints: keypoints detected on the image.
:param keypoints: keypoints detected on the image.
...
@@ -22,6 +27,9 @@ Detects corners using the FAST algorithm
...
@@ -22,6 +27,9 @@ Detects corners using the FAST algorithm
Detects corners using the FAST algorithm by [Rosten06]_.
Detects corners using the FAST algorithm by [Rosten06]_.
..note:: In Python API, types are given as ``cv2.FAST_FEATURE_DETECTOR_TYPE_5_8``, ``cv2.FAST_FEATURE_DETECTOR_TYPE_7_12`` and ``cv2.FAST_FEATURE_DETECTOR_TYPE_9_16``. For corner detection, use ``cv2.FAST.detect()`` method.
.. [Rosten06] E. Rosten. Machine Learning for High-speed Corner Detection, 2006.
.. [Rosten06] E. Rosten. Machine Learning for High-speed Corner Detection, 2006.
...
@@ -65,6 +73,9 @@ The ORB constructor
...
@@ -65,6 +73,9 @@ The ORB constructor
.. ocv:function:: ORB::ORB(int nfeatures = 500, float scaleFactor = 1.2f, int nlevels = 8, int edgeThreshold = 31, int firstLevel = 0, int WTA_K=2, int scoreType=ORB::HARRIS_SCORE, int patchSize=31)
.. ocv:function:: ORB::ORB(int nfeatures = 500, float scaleFactor = 1.2f, int nlevels = 8, int edgeThreshold = 31, int firstLevel = 0, int WTA_K=2, int scoreType=ORB::HARRIS_SCORE, int patchSize=31)
:param nfeatures: The maximum number of features to retain.
:param nfeatures: The maximum number of features to retain.
:param scaleFactor: Pyramid decimation ratio, greater than 1. ``scaleFactor==2`` means the classical pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor will mean that to cover certain scale range you will need more pyramid levels and so the speed will suffer.
:param scaleFactor: Pyramid decimation ratio, greater than 1. ``scaleFactor==2`` means the classical pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor will mean that to cover certain scale range you will need more pyramid levels and so the speed will suffer.
...
@@ -87,6 +98,11 @@ Finds keypoints in an image and computes their descriptors
...
@@ -87,6 +98,11 @@ Finds keypoints in an image and computes their descriptors