opencv中ORB特征,
Ptr orb = ORB::create(10000);
orb->setFastThreshold(0);
orb->detectAndCompute(img1, Mat(), kp1, d1);
orb->detectAndCompute(img2, Mat(), kp2, d2);
为什么提取特征后访问输出的
for each (auto t in kp1)
{
cout << t.pt.x << " " << t.pt.y << endl;
}
处出现浮点数.5,不应该多是整数吗?
opencv中ORB特征问题点位置为小数
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-