mirror of
https://github.com/opencv/opencv.git
synced 2025-01-20 07:34:42 +08:00
Fixing a win compilation problem
This commit is contained in:
parent
1058bc7f1f
commit
4187f11610
@ -2088,7 +2088,7 @@ void SIFT::operator()(const Mat& img, const Mat& mask,
|
||||
commParams.firstOctave, -1, commParams.nOctaveLayers+1);
|
||||
|
||||
vlsift.detectKeypoints(detectorParams.threshold, detectorParams.edgeThreshold);
|
||||
int d = std::abs(vlsift.keypointsBegin()-vlsift.keypointsEnd());
|
||||
int d = std::abs(int(vlsift.keypointsBegin()-vlsift.keypointsEnd()));
|
||||
keypoints.reserve(d);
|
||||
|
||||
for( VL::Sift::KeypointsConstIter iter = vlsift.keypointsBegin(); iter != vlsift.keypointsEnd(); ++iter )
|
||||
|
Loading…
Reference in New Issue
Block a user