【发布时间】:2011-06-22 12:27:12
【问题描述】:
以下 sn-p 来自 OpenCV find_obj.cpp 这是使用 SURF 的演示,
double
compareSURFDescriptors( const float* d1, const float* d2, double best, int length )
{
double total_cost = 0;
assert( length % 4 == 0 );
int i;
for( i = 0; i best )
break;
}
return total_cost;
}
据我所知,它检查欧几里得距离,我不明白为什么它以 4 人一组的方式进行?为什么不一次计算整个事情呢?
【问题讨论】: