• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MKT-porter
博客园    首页    新随笔    联系   管理    订阅  订阅
sam3 (3)匹配mask

 

思路

1 本身的形状

2 本身尺寸3倍 周围的mask一起联合构成一个大的mask

联合作为本身的mask

 

 

匹配问题

和历史关键帧位置匹配,确定匹配区域,然后提取关键帧的目标

避免遍历

        
        # 使用历史特征计算最大相似度
        similarities = []
        for hist_feat in self.feature_history:
            if method == 'cosine':
                sim = np.dot(hist_feat, other_features) / (
                    np.linalg.norm(hist_feat) * np.linalg.norm(other_features) + 1e-8)
                similarities.append(sim)

  

问题

 

1 -1平移视角差异

1-2对应的还有大小

1-3 旋转

imageimage

 

imageimage

image

 

 

 

 

 

 

 2 残缺部分不全

image

 

image

 3 形状相似物体

image

 

posted on 2025-11-26 00:59  MKT-porter  阅读(1)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3