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:
7ca26c0
)
- serialize/deserialize the edge threshold too
author
Vincent Rabaud
<no@email>
Wed, 1 Jun 2011 03:26:08 +0000
(
03:26
+0000)
committer
Vincent Rabaud
<no@email>
Wed, 1 Jun 2011 03:26:08 +0000
(
03:26
+0000)
modules/features2d/src/detectors.cpp
patch
|
blob
|
history
diff --git
a/modules/features2d/src/detectors.cpp
b/modules/features2d/src/detectors.cpp
index
a1fa960
..
9c910fd
100644
(file)
--- a/
modules/features2d/src/detectors.cpp
+++ b/
modules/features2d/src/detectors.cpp
@@
-444,6
+444,7
@@
void ORB::CommonParams::read(const FileNode& fn)
scale_factor_ = fn["scaleFactor"];
n_levels_ = int(fn["nLevels"]);
first_level_ = int(fn["firsLevel"]);
+ edge_threshold_ = fn["edgeThreshold"];
patch_size_ = fn["patchSize"];
}
@@
-452,6
+453,7
@@
void ORB::CommonParams::write(FileStorage& fs) const
fs << "scaleFactor" << scale_factor_;
fs << "nLevels" << int(n_levels_);
fs << "firsLevel" << int(first_level_);
+ fs << "edgeThreshold" << int(edge_threshold_);
fs << "patchSize" << int(patch_size_);
}