Commit a94753c0 authored by Lluis Gomez-Bigorda's avatar Lluis Gomez-Bigorda

fix Win x64 warning

parent b19c6765
......@@ -371,8 +371,8 @@ private:
Mat interdist ((int)segmentation.size()-1, 1, CV_32F, 1);
for (size_t i=0; i<segmentation.size()-1; i++)
{
interdist.at<float>(i,0) = (float)oversegmentation[segmentation[(int)i+1]]*step_size -
(float)oversegmentation[segmentation[(int)i]]*step_size;
interdist.at<float>((int)i,0) = (float)oversegmentation[segmentation[(int)i+1]]*step_size
- (float)oversegmentation[segmentation[(int)i]]*step_size;
if ((float)interdist.at<float>((int)i,0)/win_size > 2.25) // TODO explain how did you set this thrs
{
return -DBL_MAX;
......
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