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

How to get a trimap when there no GT in the paper #19

Open
ypflll opened this issue Jan 31, 2018 · 8 comments
Open

How to get a trimap when there no GT in the paper #19

ypflll opened this issue Jan 31, 2018 · 8 comments

Comments

@ypflll
Copy link

ypflll commented Jan 31, 2018

It's an issue about the paper, maybe not appropriate here. But I can't get contact with the paper's author, so maybe some useful discussion here.
In the paper, three data-set used: alpha-matting, composition-1k and the real image. The first two have GT, so the trimap can be generated by dilation. However, the third one, i.e. the real image data-set, which is according to the paper "pulled from the internet as well as images provided by the ICCV 2013 tutorial on image matting", has no GT. So where is the tripmap come from when inferring?

@Sh0lim
Copy link

Sh0lim commented May 20, 2018

I wonder the same. Any help with this here?

@ypflll
Copy link
Author

ypflll commented May 21, 2018

@Sh0lim I get a GT using semantic segmentation network like mask-rcnn or mobilenet.

@Sh0lim
Copy link

Sh0lim commented May 23, 2018

@ypflll Thank you. What do you thing, can saliency detection be other approach. In that way we do not need is to train network for specific classes. What I mean is that, with saliency it can be generalize to any object. Am I right? For example using this: https://sites.google.com/site/ligb86/mdfsaliency/

@ypflll
Copy link
Author

ypflll commented May 24, 2018

Yes. Trimap can be generated by a rough mask, so I think saliency detection can be used here.

@Sh0lim
Copy link

Sh0lim commented May 24, 2018

Good. Thx

@wyk0517
Copy link

wyk0517 commented Dec 12, 2018

Yes. Trimap can be generated by a rough mask, so I think saliency detection can be used here.

Hi, I wanna know you generate a rough mask that only has foreground and background? How do you deal with the third class "unknown area", and if you don't have the "unknown area" class, your deep image matting model just care foreground and background? In this situation is the model work well?
Thanks!

@eguoguo321
Copy link

Yes. Trimap can be generated by a rough mask, so I think saliency detection can be used here.

I still don't understand how to get a trimap .Which net you use to get a mask?Pls let me know

@ypflll
Copy link
Author

ypflll commented Apr 18, 2019

I use mask-rcnn or deeplabv3+.

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

4 participants