Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
562a3bd5
Commit
562a3bd5
authored
Nov 23, 2010
by
Ethan Rublee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding stubb of documentation for the Dynamic feature detectors
parent
f5e5b677
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
features2d_common_detection_description.tex
doc/features2d_common_detection_description.tex
+41
-0
No files found.
doc/features2d_common_detection_description.tex
View file @
562a3bd5
...
...
@@ -308,6 +308,47 @@ protected:
}
;
\end{lstlisting}
\cvclass
{
DynamicDetectorAdaptor
}
An adaptively adjusting detector that iteratively detects until the desired number
of features are found.
Adapters can easily be implemented for any detector through the creation of an Adjuster
object.
Beware that this is not thread safe - as the adjustment of parameters breaks the const
of the detection routine...
\begin{lstlisting}
template<typename Adjuster>
class DynamicDetectorAdaptor: public FeatureDetector
{
public:
DynamicDetectorAdaptor(int min
_
features, int max
_
features, int max
_
iters,
const Adjuster
&
a = Adjuster());
...
}
;
//expected Adjuster interface
class MyAdjuster
{
public:
//this should call a FeatureDetector and populate keypoints
//e.g. FASTFeatureDetector(thresh).detect(img,mask,keypoints)
void detect(const Mat
&
img, const Mat
&
mask, std::vector<KeyPoint>
&
keypoints) const;
//called if there are too few features detected, should adjust feature detector params
//accordingly
void tooFew(int min, int n
_
detected);
//called if there are too many features detected, should adjust feature detector params
//accordingly
void tooMany(int max, int n
_
detected);
//return whether or not the threshhold is beyond
//a useful point
bool good() const;
\end{lstlisting}
\cvCppFunc
{
createFeatureDetector
}
Feature detector factory that creates
\cvCppCross
{
FeatureDetector
}
of given type with
default parameters (rather using default constructor).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment