From 9c12cc6b030b4c60877cd426c6da5862ee8221f2 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Wed, 28 Mar 2012 09:39:40 +0000 Subject: [PATCH] added doc on DenseFeatureDetector (#1311) --- .../doc/common_interfaces_of_feature_detectors.rst | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/modules/features2d/doc/common_interfaces_of_feature_detectors.rst b/modules/features2d/doc/common_interfaces_of_feature_detectors.rst index ab33f14..cdc9d37 100644 --- a/modules/features2d/doc/common_interfaces_of_feature_detectors.rst +++ b/modules/features2d/doc/common_interfaces_of_feature_detectors.rst @@ -309,6 +309,34 @@ Wrapping class for feature detection using the protected: ... }; + + +DenseFeatureDetector +-------------------- +.. ocv:class:: DenseFeatureDetector + +Class for generation of image features which are distributed densely and regularly over the image. :: + + class DenseFeatureDetector : public FeatureDetector + { + public: + DenseFeatureDetector( float initFeatureScale=1.f, int featureScaleLevels=1, + float featureScaleMul=0.1f, + int initXyStep=6, int initImgBound=0, + bool varyXyStepWithScale=true, + bool varyImgBoundWithScale=false ); + protected: + ... + }; + +The detector generates several levels (in the amount of ``featureScaleLevels``) of features. Features of each level are located in the nodes of a regular grid over the image (excluding the image boundary of given size). The level parameters (a feature scale, a node size, a size of boundary) are multiplied by ``featureScaleMul`` with level index growing depending on input flags, viz.: + +* Feature scale is multiplied always. + +* The grid node size is multiplied if ``varyXyStepWithScale`` is ``true``. + +* Size of image boundary is multiplied if ``varyImgBoundWithScale`` is ``true``. + SimpleBlobDetector ------------------- -- 2.7.4