lizhengwei1992 / Semantic_Human_Matting

Semantic Human Matting
527 stars 145 forks source link

about mask #31

Open tomorrow813 opened 4 years ago

tomorrow813 commented 4 years ago

hi I have a question about how the mask image is obtained.

tomorrow813 commented 4 years ago

Is it a binary mask, and what algorithm can I get? I look forward to your answer, thank you

xiankgx commented 4 years ago

You should obtain your own dataset. At the very least, you need a dataset of image files and their corresponding segmentation masks.

tomorrow813 commented 4 years ago

You should obtain your own dataset. At the very least, you need a dataset of image files and their corresponding segmentation masks.

Thank you for your answer! But what I am confused about is that these masks are marked with photoshop?

xiankgx commented 4 years ago

Any method of labeling is fine. As long as you can output the mask in the correct format, 1 for foreground pixels, 0 for background pixels, for each and every pixel in an image. So, ya, I believe you can do this with Photoshop.