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:
b194345
)
fixed compilation problems with new SIFT on MacOs
author
Alexander Shishkov
<no@email>
Tue, 31 May 2011 22:03:55 +0000
(22:03 +0000)
committer
Alexander Shishkov
<no@email>
Tue, 31 May 2011 22:03:55 +0000
(22:03 +0000)
modules/features2d/src/sift.cpp
patch
|
blob
|
history
diff --git
a/modules/features2d/src/sift.cpp
b/modules/features2d/src/sift.cpp
index 5fd58ae87ab4d2260669c7ebd2065368df58a7a5..5ba472ca9d559d28d382bdad11b8475b307ac63e 100644
(file)
--- a/
modules/features2d/src/sift.cpp
+++ b/
modules/features2d/src/sift.cpp
@@
-1561,7
+1561,7
@@
static void fillFeatureData( feature& feat, const SiftParams& params )
ddata->intvl = is + 1;
ddata->subintvl = s - is;
- ddata->scl_octv = params.sigma0 * pow(2.0, s
/ params.S
);
+ ddata->scl_octv = params.sigma0 * pow(2.0, s
tatic_cast<double>(s / params.S)
);
}
inline void keyPointToFeature( const KeyPoint& keypoint, feature& feat, const SiftParams& params )