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);
|
commParams.firstOctave, -1, commParams.nOctaveLayers+1);
|
||||||
|
|
||||||
vlsift.detectKeypoints(detectorParams.threshold, detectorParams.edgeThreshold);
|
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);
|
keypoints.reserve(d);
|
||||||
|
|
||||||
for( VL::Sift::KeypointsConstIter iter = vlsift.keypointsBegin(); iter != vlsift.keypointsEnd(); ++iter )
|
for( VL::Sift::KeypointsConstIter iter = vlsift.keypointsBegin(); iter != vlsift.keypointsEnd(); ++iter )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user