使用DDIS进行高效模板匹配

使用DDIS进行高效模板匹配

去发现同类优质开源项目:https://gitcode.com/

DDIS (Deformable Diversity Similarity) 是一个在复杂环境中实现快速模板匹配的MATLAB MEX版本算法。由Itamar Talmi, Roey Mechrez和Lihi Zelnik-Manor共同研发,并将在CVPR 2017上发表。这个开源项目旨在解决每个图像I中模板T的位置概率图计算问题,采用了一种扫描式的方法,并使用DDIS作为子窗口与模板之间相似度的衡量标准。

项目介绍

DDIS提供了一个内置的快速算法,能在不同的环境下进行模板匹配。它的核心是Deformable Diversity Similarity,一种处理形状变化和多样性特征的相似性度量方法。此外,项目还包含了用于计算RGB补丁和深度学习特征补丁的computeDDIS.mcomputeDDIS_deep.m函数。

项目技术分析

DDIS利用了树状CANNN(kd树一致性近邻搜索算法)以提高效率,并可选地结合MatConvNet库来处理深度学习特征。对于深度特征,它依赖于预训练的VGG-19模型,以及FLANN库(或提供的MEX文件)来进行L2距离计算。该项目中的关键创新在于其能够在存在变形和噪声的情况下,有效地进行相似性比较。

应用场景

该技术广泛适用于视觉检测、目标识别、图像检索等领域。例如,在自动驾驶系统中,可以用来定位路标或行人;在视频监控中,用于实时的目标跟踪;在图像编辑应用中,帮助精确地复制和粘贴图像元素等。

项目特点

  1. 高速度:通过采用先进的数据结构和算法,如TreeCANN,实现了快速的模板匹配。
  2. 适应性强:支持基于RGB像素和深度学习特征的模板匹配,能应对复杂的环境变化。
  3. 灵活性:提供对不同比例和角度的兼容性(虽目前未实现,但已在开发计划中)。
  4. 易于使用:只需运行DEMOrun.mDEMOrunALLData.m即可体验整个过程。
  5. 开放源代码:遵循LGPL许可,鼓励学术研究者使用并改进。

要开始使用DDIS,请确保安装所有必要的依赖项,并按照项目文档进行配置。为保证正确引用,请在相关出版物中引用作者的工作。

让我们一起探索DDIS带来的高效模板匹配体验,开启你的计算机视觉之旅吧!

去发现同类优质开源项目:https://gitcode.com/

Compared with homogeneous network-based methods, het- erogeneous network-based treatment is closer to reality, due to the different kinds of entities with various kinds of relations [22– 24]. In recent years, knowledge graph (KG) has been utilized for data integration and federation [11, 17]. It allows the knowledge graph embedding (KGE) model to excel in the link prediction tasks [18, 19]. For example, Dai et al. provided a method using Wasser- stein adversarial autoencoder-based KGE, which can solve the problem of vanishing gradient on the discrete representation and exploit autoencoder to generate high-quality negative samples [20]. The SumGNN model proposed by Yu et al. succeeds in inte- grating external information of KG by combining high-quality fea- tures and multi-channel knowledge of the sub-graph [21]. Lin et al. proposed KGNN to predict DDI only based on triple facts of KG [66]. Although these methods have used KG information, only focusing on the triple facts or simple data fusion can limit performance and inductive capability [69]. Su et al. successively proposed two DDIs prediction methods [55, 56]. The first one is an end-to-end model called KG2ECapsule based on the biomedical knowledge graph (BKG), which can generate high-quality negative samples and make predictions through feature recursively propagating. Another one learns both drug attributes and triple facts based on attention to extract global representation and obtains good performance. However, these methods also have limited ability or ignore the merging of information from multiple perspectives. Apart from the above, the single perspective has many limitations, such as the need to ensure the integrity of related descriptions, just as network-based methods cannot process new nodes [65]. So, the methods only based on network are not inductive, causing limited generalization [69]. However, it can be alleviated by fully using the intrinsic property of the drug seen as local information, such as chemical structure (CS) [40]. And a handful of existing frameworks can effectively integrate multi-information without losing induction [69]. Thus, there is a necessity for us to propose an effective model to fully learn and fuse the local and global infor- mation for improving performance of DDI identification through multiple information complementing.是什么意思
06-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

谢璋声Shirley

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值