Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trimap 的生成方式 #35

Open
daeing opened this issue May 29, 2024 · 1 comment
Open

trimap 的生成方式 #35

daeing opened this issue May 29, 2024 · 1 comment

Comments

@daeing
Copy link

daeing commented May 29, 2024

感谢作者非常棒的项目,并且开源出来供大家学习交流!
有一点问题想和您讨论一下:
关于trimap的生成方式,您在这个项目和matte anything项目中好像有点不一样(https://github.com/hustvl/Matte-Anything/blob/7743e36c55f40902461c2854c97d3aea44725c9e/matte_anything.py#L78C1-L86C18)。想请问一下,如果想使用您这个项目,我已知mask的情况下,用matte anything的方式生成mask是不是也是可行的呢?

@JingfengYao
Copy link
Member

trimap是由人绘制的图像。matte anything是一种简单的根据mask生成伪trimap并进行抠图的方法。对一般情况来说,这样做是可行的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants