提交 b481f12d 编写于 作者: V Vadim Pisarevsky

fixed computation of feature vectors in self-similarity descriptor (max->min)

上级 f69514ee
......@@ -209,7 +209,7 @@ void SelfSimDescriptor::compute(const Mat& img, vector<float>& descriptors, Size
for( x = 0 ; x < ssd.cols; x++ )
{
int index = mappingMaskPtr[x];
feature[index] = std::max(feature[index], ssdPtr[x]);
feature[index] = std::min(feature[index], ssdPtr[x]);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册