【问题标题】:why did orb features size not decrease same times when I reduce the image's size?为什么当我减小图像大小时,球体特征大小不会同时减小?
【发布时间】:2013-08-15 09:27:29
【问题描述】:

大家!当我使用 ORB 特征提取时,我的图像是 640*480,并且 orb 描述符 Mat 是 500 行和 32 列,我认为当我使用 opencv::resize() 函数将图像大小减小到 320*240 时,图像 orb描述符将减少到 250 行和 32 列。但是答案是 420(不同的图像会有所不同,可能是 417、430)行和 32cols。 谁能告诉我这是为什么?

【问题讨论】:

    标签: opencv resize orb


    【解决方案1】:

    好问题。 Orb 检测到的点数默认为 500。

    在第一种情况下,它可能检测到超过 500 个点,但保留了最好的 500 个。

    【讨论】:

    • 谢谢 GilLevi,我想我可以使用 ORB::ORB(int nfeatures=500, float scaleFactor=1.2f, int nlevels=8, int edgeThreshold=31, int firstLevel=0, int WTA_K= 2, int scoreType=ORB::HARRIS_SCORE, int patchSize=31) 决定keypoints个数。
    猜你喜欢
    • 2014-10-08
    • 1970-01-01
    • 2017-05-27
    • 1970-01-01
    • 1970-01-01
    • 2017-02-06
    • 2019-04-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多