Affinity-Based Matting Toolbox
=================================================================
About
------------
This toolbox includes a collection of common affinity-based image matting algorithms as well as matte refinement algorithms used by sampling-based image matting methods.
It features the only public (re-)implementation of information-flow matting [AAP17], a faster matting Laplacian [LLW08] computation and a faster trimap trimming [SRPC13].
The parameters for each algorithm are easily customizable.
The included matting algorithms are:
- Information-flow matting [AAP17]
- KNN matting [CLT13]
- Closed-form matting [LLW08]
The included matte refinement algorithms are:
- Information-flow matte refinement [AAP17]
- Shared matting matte refinement [GO10]
The included trimap trimming methods are:
- Patch-based trimming [AAP17]
- Trimming from known-unknown edges [SRPC13]
The toolbox is designed to be ease of use for an extended set of applications.
Sparse affinity matrices defined and used in [AAP17, CLT13, CZZT12, LLW08] can be obtained by calling the corresponding functions inside 'affinity' directory.
The functions in this directory allow defining regions for neighborhood search.
An example image-trimap pair from the alpha matting benchmark [RRW09] is provided.
Basic features are demonstrated in the demo file.
Each function features an explanation and definitions of related parameters.
The information-flow matting function in this toolbox is not the original implementation used in the paper.
These are reimplementations of the original methods and may not give the exact same results as reported in the corresponding papers.
Planned extensions
------------
I plan to add the layer color estimation methods, as well as LNSP matting and multiple-layer matte estimation methods in the near future.
I may tweak the information-flow matting implementation to achieve its original performance on the benchmark.
Feel free to contribute or propose a method to be added to the toolbox by [contacting me](http://people.inf.ethz.ch/aksoyy/contact/).
License and citing the toolbox
------------
This toolbox is provided for academic use only.
If you use this toolbox for an academic publication, please cite corresponding publications referenced in the description of each function, as well as this toolbox itself:
@MISC{abmt,
author={Ya\u{g}\{i}z Aksoy},
title={Affinity-based matting toolbox},
year={2017},
howpublished = {\url{https://github.com/yaksoy/AffinityBasedMattingToolbox}},
}
References
------------
[AAP17] Yagiz Aksoy, Tunc Ozan Aydin, Marc Pollefeys, "Designing Effective Inter-Pixel Information Flow for Natural Image Matting", CVPR, 2017. [[link](http://people.inf.ethz.ch/aksoyy/ifm/)]
[CLT13] Qifeng Chen, Dingzeyu Li, Chi-Keung Tang, "KNN Matting", IEEE TPAMI, 2013. [[link](http://dingzeyu.li/projects/knn/)]
[CZZT12] Xiaowu Chen, Dongqing Zou, Qinping Zhao, Ping Tan, "Manifold preserving edit propagation", ACM TOG, 2012 [[paper](http://www.cs.sfu.ca/~pingtan/Papers/sigasia12.pdf)]
[GO10] Eduardo S. L. Gastal, Manuel M. Oliveira, "Shared Sampling for Real-Time Alpha Matting", Computer Graphics Forum, 2010. [[link](http://www.inf.ufrgs.br/~eslgastal/SharedMatting/)]
[LLW08] Anat Levin, Dani Lischinski, Yair Weiss, "A Closed Form Solution to Natural Image Matting", IEEE TPAMI, 2008. [[paper](http://people.csail.mit.edu/alevin/papers/Matting-Levin-Lischinski-Weiss-PAMI.pdf)]
[RRW09] Christoph Rhemann, Carsten Rother, Jue Wang, Margrit Gelautz, Pushmeet Kohli, Pamela Rott, "A Perceptually Motivated Online Benchmark for Image Matting", CVPR 2009. [[link](http://alphamatting.com)]
[SRPC13] Ehsan Shahrian, Deepu Rajan, Brian Price, Scott Cohen, "Improving Image Matting using Comprehensive Sampling Sets", CVPR 2013 [[paper](http://www.cv-foundation.org/openaccess/content_cvpr_2013/papers/Shahrian_Improving_Image_Matting_2013_CVPR_paper.pdf)]
没有合适的资源?快使用搜索试试~ 我知道了~
一组常见的基于affinity的图像抠图和抠图细化算法_matlab_代码_下载
共24个文件
m:20个
png:2个
md:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 164 浏览量
2022-06-14
13:04:12
上传
评论
收藏 829KB ZIP 举报
温馨提示
该工具箱包括一组常见的基于亲和力的图像抠图算法以及基于采样的图像抠图方法使用的抠图细化算法。它具有信息流抠图[AAP17]的唯一公开(重新)实现、更快的抠图拉普拉斯[LLW08]计算和更快的trimap修剪[SRPC13]。每种算法的参数都可以轻松定制。 包含的抠图算法有: 信息流抠图 [AAP17] KNN 消光 [CLT13] 封闭式消光 [LLW08] 包含的遮罩细化算法是: 信息流遮罩细化 [AAP17] 共享哑光哑光细化【GO10】 包含的 trimap 修剪方法有: 基于补丁的修剪 [AAP17] 从已知未知边缘修剪 [SRPC13]
资源推荐
资源详情
资源评论
收起资源包目录
AffinityBasedMattingToolbox-master.zip (24个子文件)
AffinityBasedMattingToolbox-master
Training4Trimap.png 10KB
Training4.png 798KB
informationFlowMatting.m 4KB
demo.m 948B
LICENSE 1KB
closedFormMatting.m 1KB
informationFlowMatteRefinement.m 3KB
abmtSetup.m 188B
affinity
mattingAffinity.m 3KB
knownToUnknownColorMixture.m 2KB
colorSimilarityAffinities.m 2KB
colorMixtureAffinities.m 2KB
sharedMattingMatteRefinement.m 2KB
readme.md 4KB
common
affinityMatrixToLaplacian.m 120B
findNonlocalNeighbors.m 2KB
getMattingParams.m 2KB
localLinearEmbedding.m 918B
solveForAlphas.m 928B
localRGBnormalDistributions.m 915B
detectHighlyTransparent.m 1KB
KNNMatting.m 2KB
trimming
trimmingFromKnownUnknownEdges.m 3KB
patchBasedTrimming.m 3KB
共 24 条
- 1
资源评论
- xiaobaobao52102023-05-24资源质量不错,和资源描述一致,内容详细,对我很有用。
- weixin_418862712024-03-11这个资源对我启发很大,受益匪浅,学到了很多,谢谢分享~
快撑死的鱼
- 粉丝: 2w+
- 资源: 9148
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功