Commit 4187f116 authored by Victor Erukhimov's avatar Victor Erukhimov

Fixing a win compilation problem

parent 1058bc7f
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment