projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb1bb3
)
Adding a default constructor to ORB that initializes. Had segfaults on non
author
Ethan Rublee
<no@email>
Fri, 27 May 2011 17:17:02 +0000
(17:17 +0000)
committer
Ethan Rublee
<no@email>
Fri, 27 May 2011 17:17:02 +0000
(17:17 +0000)
initialized orb detector.
modules/features2d/include/opencv2/features2d/features2d.hpp
patch
|
blob
|
history
diff --git
a/modules/features2d/include/opencv2/features2d/features2d.hpp
b/modules/features2d/include/opencv2/features2d/features2d.hpp
index
b24aabe
..
3f339f1
100644
(file)
--- a/
modules/features2d/include/opencv2/features2d/features2d.hpp
+++ b/
modules/features2d/include/opencv2/features2d/features2d.hpp
@@
-434,16
+434,11
@@
public:
int patch_size_;
};
- /** Default Constructor */
- ORB()
- {
- }
-
/** Constructor
* @param n_features the number of desired features
* @param detector_params parameters to use
*/
- ORB(size_t n_features, const CommonParams & detector_params = CommonParams());
+ ORB(size_t n_features
= 500
, const CommonParams & detector_params = CommonParams());
/** returns the descriptor size in bytes */
int descriptorSize() const;